Update repo documentation and agent-facing guidance such as AGENTS.md, README.md, docs/, specs, plans, and runbooks. Use when code, skill, or infrastructure changes risk doc drift or when documentation needs cleanup or restructuring. Do not use for code review, runtime verification, or `agent-readiness` setup.
97
97%
Does it follow best practices?
Impact
100%
1.06xAverage score across 3 eval scenarios
Passed
No known issues
Lightweight file shapes for specs, plans, and decisions. Templates, not ceremony.
docs/
├── specs/ # WHAT + WHY — long-lived contracts
├── plans/ # HOW + WHEN — tactical, deleted when done
└── decisions/ # WHY we chose X — ADR-liteContracts that define "done." Stable after agreement. Change only when requirements change.
# <feature-name>
## Problem
One paragraph. What's wrong and for whom.
## Requirements
- R1: <requirement>
- R2: <requirement>
## Acceptance Criteria
- AC1: <observable, testable outcome>
- AC2: <observable, testable outcome>
## Constraints
- <what must be true: perf, compat, security>
## Non-goals
- <what this explicitly does NOT cover>specs/<feature-slug>.md — e.g. specs/password-reset.md
Write → review → agree → implement. Update only when requirements change, not when the plan changes.
Tactical execution strategy. Evolves during implementation. Delete when implemented — the branch/PR tells the story.
# <feature-name> — Plan
Spec: `specs/<feature-slug>.md`
## Approach
2-3 sentences on the strategy.
## Tasks
- [ ] <task> → <files/modules>
- [ ] <task> → <files/modules>
## Order
What depends on what. What can run in parallel.
## Risks
- <what could go wrong and how to mitigate>plans/YYYY-MM-DD-<feature-slug>.md — e.g. plans/2026-04-17-password-reset.md
Write → implement → delete. The PR/commit history is the record. Plans are working documents, not archives.
Why, not what. ADR-lite.
# <NNNN>-<slug>
## Context
What forced the decision.
## Decision
What we chose.
## Consequences
What this enables and what it blocks.decisions/NNNN-slug.md — e.g. decisions/0003-use-sqlite-not-json.md
Append-only. New decisions get the next number. Never edit a past decision — add a new one if you reverse course.
Agents find these through AGENTS.md pointers, not filesystem scanning.
When the docs skill audits a repo and finds (or creates) specs/plans/decisions directories, it adds a routing entry to AGENTS.md:
## Docs
- Specs: docs/specs/
- Plans: docs/plans/
- Decisions: docs/decisions/No deep linking in AGENTS.md. Just the directory + one-line description. One pointer per directory, never per file.