documentation-criteria
Skill38 starsChanged 2 months agoMITView on GitHub
Determines which PRD, ADR, UI Spec, Design Doc, and Work Plan a change requires and where each document lives. Use when deciding documentation scope or creating or reviewing one of these artifacts.
3 other projects use a version of this, 3 of them edited.
Adopted by
Most recently taken up by
- shinpr/ai-coding-project-boilerplateedited, first seen Oct 3, 2026
- shinpr/agentic-codeedited, first seen Aug 29, 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 · 3
- shinpr/claude-code-workflows★ 68827% same
- shinpr/ai-coding-project-boilerplate★ 23113% same
- shinpr/agentic-code★ 4928% same
Wrote their own version · 0
None found.
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 repository29 other files it gives its agents.
- ai-development-guideSkill
- coding-rulesSkill
- external-resource-contextSkill
- implementation-approachSkill
- integration-e2e-testingSkill
- llm-friendly-contextSkill
- recipe-add-integration-testsSkill
- recipe-buildSkill
- recipe-designSkill
- recipe-diagnoseSkill
- recipe-front-adjustSkill
- recipe-front-buildSkill
- recipe-front-designSkill
- recipe-front-planSkill
- recipe-front-reviewSkill
- recipe-fullstack-buildSkill
- recipe-fullstack-implementSkill
- recipe-implementSkill
- recipe-planSkill
- recipe-prepare-implementationSkill
- recipe-quality-profileSkill
- recipe-reverse-engineerSkill
- recipe-reviewSkill
- recipe-update-docSkill
- requirement-convergenceSkill
- reviewee-judgmentSkill
- subagent-delegationSkill
- subagents-orchestration-guideSkill
- testingSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
2
Distinctive
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 51
Create one ADR for each topic that passes both filters.
- Distinctive: line 53
Treat choices as one decision point when they must be selected or reconsidered together.
“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
Templates
- prd-template.md - Product Requirements Document template
- adr-template.md - Architecture Decision Record template
- ui-spec-template.md - UI Specification template (frontend/fullstack features)
- design-template.md - Technical Design Document template
- plan-template.md - Work Plan template
Creation Decision Matrix [MANDATORY]
| Structural Scale | Base Documents | Creation Order |
| Small | None | N/A |
| Medium | Design Doc -> Work Plan | Start with Design Doc |
| Large | PRD* -> Design Doc -> Work Plan | Continue after product-scope approval |
Build one path in this order:
- Select the base path from Structural Scale.
- Frontend or fullstack scope inserts UI Spec immediately before the Design Doc.
- One or more qualifying ADR decision points insert an ADR batch immediately before the Design Doc. A qualifying decision point sets the scale floor to Medium.
* A design recipe that does not create PRDs may carry the confirmed convergence record directly only after the user explicitly authorizes proceeding without a PRD.
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 |
A qualifying ADR decision point sets the floor at Medium because it creates a durable decision. Large applies when multiple independently valuable outcomes require separate design decisions; one coherent outcome remains Medium across multiple layers. ADR decision points come from the Choice and Durability filters independently of scale.
ADR Creation Conditions
First check accepted ADRs that govern the changed responsibility. Then apply both filters in order for each technical topic within the confirmed implementation scope:
- Choice requires judgment — current requirements, accepted decisions, and representative repository patterns support at least two credible materially distinct options whose selection requires comparison.
- Decision is durable — choosing among those options materially changes a responsibility, dependency direction, shared contract, persistence model, technology dependency, reversibility, or lifecycle cost that future work must understand or preserve.
Create one ADR for each topic that passes both filters. Route topics with one evident choice, generic technical concerns, operational possibilities, and rejected activities directly to the Design Doc or out of current design as applicable.
Treat choices as one decision point when they must be selected or reconsidered together. Use separate decision points when each choice can be selected and revisited independently.
Qualifying durable choices include:
- introducing or replacing a technology, library, platform, storage model, or external dependency;
- changing ownership, dependency direction, trust boundary, or a shared public contract in a way with credible materially different alternatives;
- replacing an accepted architecture decision with a new choice that passes both filters;
- choosing an irreversible or high-cost-to-reverse data or compatibility strategy.
A local contract, data-flow, state, or component change that follows an accepted design, has one evident repository-supported implementation, or remains cheaply reversible belongs in the Design Doc. Counts of files, consumers, nesting levels, states, steps, and Structural Scale remain supporting evidence rather than ADR criteria.
What Each Document Records
Each document records one class of decision needed by its downstream consumer. Phase passage permits progression, not permanent preservation of its technical means. For reductions, preserve user outcomes and explicit constraints and update affected sources and proof. The decision matrix determines whether the document is required; the template defines its content.
| Document | Decision it records | Consumer and effect when missing |
| PRD | Confirmed product outcome, requirements, acceptance criteria, and exclusions | Design and test selection 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 implementation choice |
| UI Spec | Approved UI structure, states, interactions, and visual acceptance | Frontend design and implementation would have to infer user-interface decisions |
| Design Doc | Repository-grounded implementation approach, contracts, change surface, and verification strategy | Planning and implementation would have to make technical design decisions locally |
| Work Plan | Implementation outcome order, dependencies, and executable verification | Task decomposition and execution would have to choose sequencing and proof boundaries locally |
Storage Locations
| Document | Path | Naming Convention |
| PRD | docs/prd/ | [feature-name]-prd.md |
| ADR | docs/adr/ | ADR-[4-digits]-[title].md |
| UI Spec | docs/ui-spec/ | [feature-name]-ui-spec.md |
| Design Doc | docs/design/ | [feature-name]-design.md |
| Work Plan | docs/plans/ | YYYYMMDD-{type}-{description}.md |
ADR Status
Proposed -> Accepted -> Deprecated/Superseded/Rejected
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.

