CONTRIBUTING

离线资料 · 01-ai-agent-handbook/CONTRIBUTING.html

← 返回离线资料

贡献指南 / Contributing Guide

首先,感谢你愿意为 AI Agent 实战手册 贡献力量!🎉 你的每一个 PR、Issue 或建议,都在帮助更多中文开发者进入 AI Agent 的世界。

English version available at the bottom of this file.


🧭 项目结构速览

ai-agent-handbook/
├── chapters/        # 中文教程章节(01-18 + 00 快速上手 + 99 术语表)
├── en/              # 英文版(chapters/ 为已翻译章节)
├── docs/            # 参考文档(框架对比 / 工具调用 / 最佳实践)
├── appendix/        # 附录(错误排查 / 学习资源)
├── examples/        # 可运行示例代码(Python)
├── scripts/         # 工具脚本(如文档站点暂存构建)
└── mkdocs.yml       # 在线文档站点配置(GitHub Pages)

🚀 快速开始(本地开发)

# 1. 克隆仓库
git clone https://github.com/Xwh630/ai-agent-handbook.git
cd ai-agent-handbook

# 2.(可选)本地预览在线文档站点
pip install mkdocs-material
python scripts/build_docs.py     # 暂存文档内容到 site-content/
mkdocs serve                     # 打开 http://127.0.0.1:8000

📝 如何贡献

1. 报告 Bug / 提出问题(Issue)

2. 提交代码(Pull Request)

git checkout -b feat/your-feature    # 或 fix/xxx, docs/xxx
# ... 做出你的改动 ...
git add .
git commit -m "✨ 描述你的改动"
git push origin feat/your-feature

然后在 GitHub 上创建 Pull Request(使用 PR 模板)。

3. 我们欢迎的贡献类型

类型 示例
📖 新增章节 新的框架教程、新玩法实战
✏️ 内容修正 错别字、过时 API、失效链接
🌐 翻译 将中文章节翻译为英文(见下方翻译约定)
💻 示例代码 新增 examples/ 下的可运行 demo
🛠️ 基础设施 文档站点、CI、Docker 配置优化
💡 想法建议 新框架覆盖、路线图讨论

🌐 翻译约定(English Translation)

✅ 提交前检查清单

🤝 行为准则


English Version

Thank you for contributing to the AI Agent Practical Handbook! ❤️

All contributions, big or small, are deeply appreciated. Star the repo if you find it helpful! ⭐