Thanks for your interest in contributing! Please take a moment to review this guide.
感谢你有兴趣贡献代码!请花一点时间阅读本指南。
- Check relevant project documentation for project-specific coding conventions.
- 查看相关项目文档,了解该项目专属的编码规范。
Open an Issue with the appropriate template — the more detail, the better.
通过 Issues 提交,请选择合适的模板,越详细越好。
- Fork → Feature branch (
feat/xxxorfix/xxx) - One PR = one thing / 一个 PR 只做一件事
- Read the project's coding guidelines first / 先阅读项目中的编码规范
- No hardcoded strings where avoidable (use constants, config, or resource files as the project prescribes) / 避免硬编码字符串(根据项目规范使用常量、配置或资源文件)
- Write clear comments / 写清晰的注释
- Build and test before submitting / 提交前先构建和测试
- Clear PR description — what & why / 清晰描述做了什么、为什么
- Follow the existing code style in the project (naming, formatting, comment style) / 遵循项目已有的代码风格(命名、格式、注释风格)
- Conventional Commits are recommended / 推荐使用 Conventional Commits
- Keep it clean and simple — no bloat / 保持代码简洁干净,避免冗余
Look for good first issue or help wanted tags in the Issues list.
在 Issues 列表中寻找 good first issue 或 help wanted 标签。