# 贡献指南 感谢你对 Claude Code Rust 项目的兴趣!本文档指导如何为项目贡献代码。 ## 🚀 快速开始 ### 1. 设置开发环境 ```bash # 克隆仓库 git clone https://github.com/yourusername/claude-code-rust.git cd claude-code-rust # 安装 Rust (如果未安装) curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh # 构建项目 cargo build # 运行测试 cargo test # 检查代码质量 cargo clippy ``` ### 2. 开发工作流 ```bash # 创建特性分支 git checkout -b feature/your-feature-name # 进行更改并提交 git add . git commit -m "feat: 描述你的改进" # 推送分支 git push origin feature/your-feature-name # 创建 Pull Request # 在 GitHub 上提交 PR ``` ## 📋 提交规范 我们遵循 [Conventional Commits](https://www.conventionalcommits.org/) 规范: ``` ():