docs-decide
Skill0 starsChanged 5 months agoMITView on GitHub
Log a technical decision to docs/DECISIONS.md with rationale, rejected alternatives, and provenance (who decided). Use when the user says log/record this decision, we're going with X, lock this choice, or when a significant choice gets made and should be remembered.
In this repository4 other files it gives its agents.
- templates/AGENTS.mdAGENTS.md
- docs-healthSkill
- docs-initSkill
- docs-wrapSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
If the decision contradicts the PRD or an ARCHITECTURE.md boundary, stop and tell the user — that's a scope change, not a log entry.
- Distinctive: line 25
If the decision changes how agents should work (new convention, new banned pattern), also add/update the one relevant line in AGENTS.md — …
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Log a decision
Append one entry to docs/DECISIONS.md (create from ${CLAUDE_PLUGIN_ROOT}/templates/DECISIONS.md if missing). Newest at top, next D-number in sequence.
Fill the entry honestly
- Decision: one imperative sentence ("Use X for Y"). If you can't state it in one sentence, it's two decisions — split them.
- Why: the deciding reason, not all reasons. What tipped it.
- Rejected: the real alternatives considered and the one-line reason each lost. "None considered" is a valid, honest entry — better than inventing a comparison that never happened.
- Decided-by:
humanonly if the user explicitly chose in conversation;agent-after-experimentif a spike/test produced the evidence (link it);agent-defaultfor everything else. When in doubt, downgrade — inflated provenance makes future sessions treat guesses as commandments. - Status:
lockedorrevisit-after-MVP. If this supersedes an older entry, mark that entrysuperseded-by D-<new>— never delete it.
Before appending
- Scan existing entries: if one already covers this topic, supersede it rather than adding a contradicting sibling.
- If the decision contradicts the PRD or an ARCHITECTURE.md boundary, stop and tell the user — that's a scope change, not a log entry.
After appending
If the decision changes how agents should work (new convention, new banned pattern), also add/update the one relevant line in AGENTS.md — the log is memory, AGENTS.md is behavior. One line, not a paragraph; respect the 150-line cap.
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
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.

