Skip to content

Commit 6461a47

Browse files
authored
docs: refine contributing guide and mark MCP integration as WIP (#61)
1 parent 23f46ed commit 6461a47

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
- **会话式分析**:SSE 流式回答,会话历史可追溯、可调试。
2222
- **报表生成**:内置报表工具与配套前端报表视图。
2323
- **Skill 系统**:从文件系统 / Git / Nacos 多源加载可复用的查询流程("已验证查询模式")。
24-
- **MCP 集成**:可注册并连接外部 MCP Server,把外部工具纳入 Agent 工具箱。
24+
- **MCP 集成(开发中)**:可注册并连接外部 MCP Server,把外部工具纳入 Agent 工具箱。当前能力仍在打磨,欢迎参与共建。
2525

2626
## 💡 核心设计亮点
2727

‎docs/contributing.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@
3737
- **为下一个读者写**:命名揭示意图,复杂逻辑拆小步。
3838
- 已启用 **Checkstyle**(含方法长度检查),CI 会拦截不合规代码。
3939

40+
### AI 辅助编码(推荐 ponytail)
41+
42+
我们**不反对**用 AI 辅助编写代码——欢迎用 AI 提升效率。但为了让 AI 产出的代码保持简洁、不堆砌多余抽象与样板,请在提交前用 **ponytail** skill 过一遍:
43+
44+
- **写代码时**:加载 [ponytail](https://github.com/DietrichGebert/ponytail),让它约束 AI 只写当下需要的最小实现,避免违背 YAGNI、过度封装与冗余样板。
45+
- **提交前审查**:用 ponytail 对自己的改动做一遍 review,删掉冗余代码、未使用的抽象与样板,再提 PR。
46+
47+
这与本仓库 `AGENTS.md` 的"保持简单 / YAGNI / 优先复用"原则一致。AI 写的代码同样需要满足 Checkstyle 与 CI 要求。
48+
4049
前端:ESLint + Prettier 统一风格,组件用 PascalCase,公共组件放 `components/`、页面组件放 `views/xxx/components/`。
4150

4251
## 3. 提交信息约定

0 commit comments

Comments
 (0)