agentleFS
WncFhtWncFht/agent-maintenance/.agents/skills/maintain-decision-notes/SKILL.md

maintain-decision-notes

Skill5 starsChanged 34 days agoMITView on GitHub

创建、审阅、合并、修剪或封存 Agent Notes 时使用;按未来决策价值维护理由与替代方案。

The file

Files
SKILL.md

维护决策记录

读取记录规则和目标 note。新建前搜索 active 生命周期目录,确定是否已有同一决定,逐项判断完全或部分取代;不要为了数量新建重复文件。

仅为代码、测试与已有文档不能充分表达的长期理由创建。按提案、已实施和拒绝状态保留所需事实,正文自由组织;替代方案必须真实存在。状态改变时改写正文,不能仅改目录和 Status。

保留能指导未来的所有权、安全、持久化、wire 语义、否定保证、替代方案和重新引入条件。小补丁、性能修改或局部能力也可能有长期价值,不能按实现大小判断。机械与小 UI 流水删除。

完全取代可合并,但归属记录须保留独有理由、后果、验证及覆盖缺口并修复入链;部分取代保持两份互链。实际功能仍有数据或兼容承诺时不算完整移除。

只有已实施、理由不再指导未来而仍有历史价值的记录才封存。proposed 过时改 rejected,rejected 仅在阻止容易重犯的错误时保留。不使用年龄、字数和清理配额。

封存仅移动已核实的文件、添加归档日期、修复入链并追加哈希;检查附件登记与可信基线保护,遵循归档指令。工具不能判断价值或证明移动前后内容等价,仍需审阅完整封存 diff。新记录只触发相关主题审查,不扩大成全仓治理。

实施后的内容分配

用一句话说明本篇的选择、理由及代价。一个子决定可独立改变且有独立理由时才考虑拆分;不按会话、日期或字数机械拆分。完成提案时按交付流程把接口与配置交给当前参考,实验设置和结果交给报告,推导交给研究正文,过程交给工作目录。Note 保留理解决定所必需的机制、真实备选、后果、关键验证及缺口,链接详细证据。

逐项保留原验收的去向。未完成就仍为 proposed;独立后续研究另行归属,不能通过删条件或拆文档宣布完成。已有 implemented 记录更新当前实现事实,不追加实施流水;决策反转仍按原规则另建并互链。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.