docs: 同步提交规范到 AGENTS/ITERATION/cli 清单
This commit is contained in:
@@ -29,6 +29,8 @@
|
||||
|
||||
**门禁一条龙**:`npm run check` = build + style + typecheck + smoke + index + verify,提交前必过。`ua verify` 校验清单 ↔ 文档 ↔ 演示一致(docs.components 的 id 必须在 api.exports 有对应条目、props 必须带 n/t/d、demo 锚点必须在 `apps/demo/main.ts` 中存在),检查皮肤包样式表无硬编码颜色(`#hex` 一律禁止,必须走 `--ua-*` 令牌),并核对 README 的 `<!-- ua:components -->` 区块与清单组件集合完全一致。
|
||||
|
||||
**提交信息规范**:`COMMITTING.md`(`<type>(<scope>): <中文祈使句>`),`ua commit-lint` + commit-msg 钩子自动校验,迭代提交用 `iter(<条目id>): <subject>`。
|
||||
|
||||
## Agent 查询组件库的三种方式
|
||||
|
||||
1. **MCP(推荐)**:在 `~/.workbuddy/mcp.json` 注册:
|
||||
|
||||
Reference in New Issue
Block a user