agentleFS
Khubaib7-delKhubaib7-del/agent-docs-kit/skills/docs-decide/SKILL.md

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.

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
  1. Distinctive:

    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.

    line 21
  2. Distinctive:

    If the decision changes how agents should work (new convention, new banned pattern), also add/update the one relevant line in AGENTS.md — …

    line 25

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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: human only if the user explicitly chose in conversation; agent-after-experiment if a spike/test produced the evidence (link it); agent-default for everything else. When in doubt, downgrade — inflated provenance makes future sessions treat guesses as commandments.
  • Status: locked or revisit-after-MVP. If this supersedes an older entry, mark that entry superseded-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.

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.