Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
添加 AGENTS.md 文件,为 Devin 提供上下文和操作说明
AGENTS.md
# AGENTS.md ## 设置命令 - 安装依赖项:`npm install` - 启动开发服务器:`npm run dev` - 运行测试:`npm test` - 构建生产版本:`npm run build` ## 代码规范 - 使用 TypeScript 严格模式 - React 中优先使用函数组件 - 使用 ESLint 和 Prettier 配置 - 遵循约定式提交规范 ## 测试指南 - 为所有新函数编写单元测试 - 使用 Jest 测试框架 - 代码覆盖率目标 >80% - 提交前运行测试 ## 项目结构 - `/src` - 主应用代码 - `/tests` - 测试文件 - `/docs` - 文档 - `/public` - 静态资源 ## 开发工作流程 - 从 `main` 分支创建功能分支 - 使用 Pull Request 进行代码审查 - 合并前压缩提交记录 - 为新功能更新文档