仅讨论术语也可能触发未经逐次确认的仓库文件写入
原文依据:3 处Skill 的适用范围包含一般的代码库术语讨论,但它同时要求概念一旦明确就立即更新 CONTEXT.md;如果文件不存在,还要求创建它。这些指令没有要求在每次写入前展示补丁或取得明确确认。
在仅希望讨论或探索领域模型时,用户的仓库可能被创建或修改文档。尚未最终确认的表述也可能成为后续开发者或 AI 代理依赖的正式词汇。
该风险有源码支持。Skill 可在用户仅讨论代码库术语时启用,却要求术语一旦确定就立即修改 `CONTEXT.md`,文件不存在时还会创建它;指令未要求在写入前逐次征得同意。因此,普通讨论可能造成用户仓库中的持久变更。用户可要求作者将讨论模式设为只读,并仅在用户明确要求后展示并应用补丁。
name: domain-modelingdescription: Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a CONTEXT.md, or recording or editing an ADR.---查看另外 2 个位置
Create files lazily: only when you have something to write. If no `CONTEXT.md` exists, create one when the first term is resolved. If no `docs/adr/` exists, create it when the first ADR is needed.### Update CONTEXT.md inlineWhen a term is resolved, update `CONTEXT.md` right there. Don't batch these up: capture them as they happen. Use the format in [CONTEXT-FORMAT.md](./CONTEXT-FORMAT.md).