documentation-criteria
Skill49 starsChanged 3 months agoMITView on GitHub
Determines which PRD, ADR, Design Doc, and Work Plan a change requires. Use when deciding documentation scope or creating technical documents.
3 other projects use a version of this, 2 of them edited.
Adopted by
Most recently taken up by
- shinpr/ai-coding-project-boilerplatetheir own version, first seen Oct 3, 2026
- shinpr/codex-workflowsedited, first seen Oct 2, 2026
- shinpr/claude-code-workflowsedited, first seen Mar 23, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- shinpr/claude-code-workflows★ 68813% same
- shinpr/codex-workflows★ 3828% same
Wrote their own version · 1
- shinpr/ai-coding-project-boilerplate★ 231same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ai-development-guideSkill
- coding-rulesSkill
- implementation-approachSkill
- integration-e2e-testingSkill
- metacognitionSkill
- testingSkill
- testing-strategySkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 7 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 32
Check accepted ADRs that govern the changed responsibility, then apply both filters to each technical topic in the confirmed scope:
- Distinctive: line 37
Create one ADR for each topic that passes both filters.
- Distinctive: line 50
Create an artifact only when its downstream consumer would otherwise need to infer the named decision.
- Distinctive: line 80
Add a change-impact map, field-propagation map, API matrix, or diagram when the relationship would otherwise be difficult for the next …
- Distinctive: line 91
Create only the documents selected by the decision matrix.
- Very specific: line 109
When a new ADR supersedes an accepted ADR, retain the old ADR, mark it Superseded with a reference to the new ADR, and add a reference to …
- Distinctive: line 113
Every document serves a named downstream consumer.
- Distinctive: line 114
Every retained section changes a decision, protects a boundary, or supplies necessary proof.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Documentation Creation Criteria
Creation Decision Matrix
| Structural Scale | Required Documents | Creation Order |
| Small | None | Direct task execution |
| Medium | Design Doc → Work Plan | Start with Design Doc |
| Large | PRD → Design Doc → Work Plan | Continue after PRD approval |
Insert an ADR immediately before the Design Doc only when a current-scope decision passes both ADR filters below. A qualifying ADR decision sets the scale floor to Medium.
Structural Scale
Classify the decision burden, not repository layout. File count is supporting evidence only.
| Scale | Structural condition |
| Small | One coherent outcome follows existing patterns within one responsibility boundary |
| Medium | One coherent outcome coordinates across a boundary or requires a durable design decision |
| Large | Multiple independently valuable outcomes require separate design decisions |
Multiple files or layers that serve one coherent outcome remain Medium. Large applies only when separate outcomes require separate design decisions.
ADR Creation Conditions
Check accepted ADRs that govern the changed responsibility, then apply both filters to each technical topic in the confirmed scope:
- Choice requires judgment: Current requirements, accepted decisions, and representative repository patterns support at least two credible, materially distinct options.
- Decision is durable: The choice materially changes a responsibility, dependency direction, shared contract, persistence model, technology dependency, reversibility, or lifecycle cost that future work must preserve.
Create one ADR for each topic that passes both filters. Keep a topic in the Design Doc when one repository-supported implementation is evident or the choice remains cheaply reversible.
Qualifying durable choices can include:
- introducing or replacing a technology, platform, storage model, or external dependency;
- changing ownership, dependency direction, a trust boundary, or a shared public contract when credible alternatives exist;
- reversing or superseding an accepted architecture decision;
- selecting an irreversible or high-cost compatibility or data migration strategy.
Counts of files, consumers, nesting levels, states, or processing steps do not independently require an ADR.
What Each Document Fixes
Create an artifact only when its downstream consumer would otherwise need to infer the named decision.
| Document | Decision it fixes | Consumer effect when missing |
| PRD | Product outcome, current requirements, acceptance criteria, and exclusions | Design would have to infer product scope |
| ADR | One qualifying durable technical choice and the alternatives it resolves | Design and future changes could not distinguish an accepted decision from a local choice |
| Design Doc | Repository-grounded implementation approach, contracts, change surface, and verification strategy | Planning and implementation would make design decisions locally |
| Work Plan | Implementation order, real dependencies, and executable verification | Execution would choose sequencing and proof boundaries locally |
Document Boundaries
PRD
Include product outcome, current requirements, success criteria, user-visible scope, exclusions, and unresolved product decisions. Keep technical implementation choices in the Design Doc or ADR.
ADR
Include the durable choice, materially distinct options, trade-offs, decision, consequences, and reversal conditions. Evaluate the number of options established by evidence; do not manufacture alternatives to satisfy a fixed count.
Design Doc
Include only information that constrains implementation or verification:
- confirmed outcome and non-goals;
- relevant existing code and accepted decisions;
- selected implementation approach and contracts;
- affected responsibility boundaries and integration points;
- acceptance criteria and the narrowest sufficient verification strategy;
- material risks, unknowns, and decisions deferred to implementation.
Add a change-impact map, field-propagation map, API matrix, or diagram when the relationship would otherwise be difficult for the next consumer to reconstruct.
Work Plan
Include the fewest implementation units needed to preserve real dependencies and observable proof. Each task names its source, intended result, scope, dependencies, and verification.
Creation Process
- Confirm the outcome, current requirements, and non-goals.
- Determine Structural Scale from repository evidence.
- Apply the ADR choice and durability filters.
- Create only the documents selected by the decision matrix.
- Obtain approval for product requirements and major durable design decisions before they authorize implementation.
Storage Locations
| Document | Path | Naming Convention |
| PRD | docs/prd/ | [feature-name]-prd.md |
| ADR | docs/adr/ | ADR-[4-digits]-[title].md |
| Design Doc | docs/design/ | [feature-name]-design.md |
| Work Plan | docs/plans/ | YYYYMMDD-{type}-{description}.md |
Work Plans are transient execution state and remain excluded by .gitignore unless the repository explicitly chooses to version them.
ADR Status
Proposed → Accepted → Deprecated / Superseded / Rejected
When a new ADR supersedes an accepted ADR, retain the old ADR, mark it Superseded with a reference to the new ADR, and add a reference to the old ADR in the new ADR.
Quality Check
- Every document serves a named downstream consumer.
- Every retained section changes a decision, protects a boundary, or supplies necessary proof.
- Repository observations, inferences, and unknowns are distinguishable.
- Reuse and no-document outcomes remain valid when evidence supports them.
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.

