感谢你对 HumanAPI 的贡献!我们欢迎任何形式的帮助。
点击 GitHub 仓库右上角的 "Fork" 按钮
git checkout -b feature/your-feature-namegit commit -m "Add some feature"git push origin feature/your-feature-name在 GitHub 上创建 Pull Request
- 使用 TypeScript
- 遵循 ESLint 规则
- 使用 Prettier 格式化
- 添加必要的注释
使用清晰的提交信息:
feat: add user authentication
fix: resolve booking status bug
docs: update README
style: format code
refactor: simplify API logic
test: add unit tests
chore: update dependencies
feature/- 新功能fix/- 修复 bugdocs/- 文档更新refactor/- 重构test/- 测试相关chore/- 其他任务
提交 Bug 时请包含:
- 描述 - 清晰描述问题
- 重现步骤 - 如何重现问题
- 预期行为 - 应该发生什么
- 实际行为 - 实际发生了什么
- 环境信息 - 操作系统、Node.js 版本等
- 截图/日志 - 如果适用
提交功能建议时请包含:
- 功能描述 - 详细描述建议的功能
- 使用场景 - 在什么场景下使用
- 优先级 - 低/中/高
- 可能的实现方式(可选)
欢迎改进文档:
- 修正错误
- 添加示例
- 改进说明
- 翻译文档
所有 Pull Request 都需要经过代码审查。
- 代码质量
- 测试覆盖
- 文档更新
- 性能影响
- 安全性
- 确保你的代码通过所有测试
- 不要提交敏感信息(API keys 等)
- 保持提交历史清晰
- 及时响应审查意见
如有疑问,请:
- 创建 GitHub Issue
- 发送邮件到 support@humanapi.com
- 加入 Discord 社区
再次感谢你的贡献!🎉