ai-development-guide
Applies language-agnostic and backend technical decision criteria, anti-pattern detection, debugging, and quality gates. Use when…
Determines which of PRD, ADR, UI Spec, Design Doc, and Work Plan a change requires, and where each is stored. Use when deciding documentation scope, or when creating or reviewing a technical document.
Claude Code
$ npx -y skills add shinpr/claude-code-workflows --skill documentation-criteria --agent claude-code
Codex
$ npx skills add shinpr/claude-code-workflows --skill documentation-criteria -a codex -y
Cursor
$ npx skills add shinpr/claude-code-workflows --skill documentation-criteria -a cursor -y
Gemini CLI
$ npx skills add shinpr/claude-code-workflows --skill documentation-criteria -a gemini-cli -y
GitHub Copilot
$ npx skills add shinpr/claude-code-workflows --skill documentation-criteria -a github-copilot -y
OpenCode
$ npx skills add shinpr/claude-code-workflows --skill documentation-criteria -a opencode -y
Windsurf
$ npx skills add shinpr/claude-code-workflows --skill documentation-criteria -a windsurf -y
name: documentation-criteria description: Determines which of PRD, ADR, UI Spec, Design Doc, and Work Plan a change requires, and where each is stored. Use when deciding documentation scope, or when creating or reviewing a technical document.
This file holds the routing decision: which documents a change requires and where they live. What to write inside one is defined by its template, linked from Storage Locations.
Each document fixes one class of decision that the repository alone cannot supply. An unfilled section becomes a guess made later by the consumer named below, with no record of what was assumed.
| Structural Scale | Base Documents | Creation Order | |------------------|----------------|----------------| | Small | None | Direct implementation | | Medium | Design Doc → Work Plan | Start with Design Doc | | Large | PRD → Design Doc → Work Plan | Continue after PRD approval |
Build one path in this order:
1. Select the base path from Structural Scale. 2. Insert an applicable UI Spec immediately before the Design Doc. 3. 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.
Classify the decision burden, not repository layout. File count is supporting evidence only.
| Scale | Structural condition | |-------|----------------------| | Small | One coherent outcome has one evident repository-supported implementation within one responsibility boundary and no unresolved durable choice | | Medium | One coherent outcome coordinates across a boundary or requires investigation of a potentially durable choice | | 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. One coherent outcome remains Medium when it crosses multiple layers; Large requires independently valuable outcomes with separate design decisions.
Apply the Choice filter, then the Durability filter, to each technical topic inside the implementation scope. Apply them independently from Structural Scale, and check existing ADRs first.
1. **Choice requires judgment** — current requirements, accepted decisions, and representative repository evidence support at least two credible, materially distinct options whose selection requires comparison. 2. **Decision is durable** — choosing among those options materially changes responsibility, dependency direction, a shared contract, persistence, a technology dependency, reversibility, or lifecycle cost that future work must preserve or understand.
Create one ADR for each topic that passes both filters, and review the complete batch together. Treat choices as one decision point when they must be selected or reconsidered together;
Claude Code can explore a codebase deeply. On non-trivial work, the harder problem is convergence.
Applies language-agnostic and backend technical decision criteria, anti-pattern detection, debugging, and quality gates. Use when…
Language-agnostic coding principles for maintainability, readability, and quality. Use when implementing features, refactoring…
Records where resources outside the repository live (design source, design system, API schema, IaC source, secret store) and how…
Applies React/TypeScript-specific technical decision criteria, anti-pattern detection, debugging, and frontend quality gates. Use…
Implementation strategy selection framework. Use when planning implementation strategy, selecting development approach, or…
Defines integration/E2E skeleton annotations, lane and file contracts, and route-parity review criteria. Use when generating or…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.