con un clic
standards-index
Maintain the documentation index to prevent orphaned standards
Menú
Maintain the documentation index to prevent orphaned standards
Wire standards into CLAUDE.md, AGENTS.md, and .cursor/rules/ using references
Write a well-structured standard document with headers, rules, and examples
Design a quality ceremony that drives standards compliance
Run a thorough drift audit to detect standards divergence
Review a PR for standards compliance during code review
Build a project-specific standards enforcement agent
| name | standards-index |
| description | Maintain the documentation index to prevent orphaned standards |
Keep all standard documents indexed and discoverable by maintaining category README files.
Every standard document must appear in the appropriate category README, or it becomes "orphaned" — undiscovered and unused. This skill teaches you to scan, verify, and fix the standards index structure.
Standards are organized in docs/standards/ by category:
engineering/ — Code patterns, architecture, APIsdesign/ — UI, styling, accessibilityquality/ — Testing, governance, documentationoperations/ — Deployment, monitoring, incidentsarchitecture/ — Module boundaries, package designEach category has a README.md that indexes all documents in that category. The index is the discoverable interface to all standards.
Reference: levels/L1-context/library/ structure
Scan all category directories — Find every .md file that is not named README.md
find docs/standards -type f -name "*.md" ! -name "README.md" | sort
Verify each file in the README — Check that each .md appears in its category's README.md
README.md- [Title](./filename.md) — DescriptionRun check-doc-index.sh — Use verification script to catch any misses
./levels/L2-ceremonies/scripts/check-doc-index.sh
Fix orphaned documents — For each orphaned file:
- [Standard Name](./filename.md) — One sentence descriptionVerify index coherence — Check that category READMEs are well-formed
Orphaned standards — Documents that exist but are not indexed
.md file in docs/standards/, plan its README entryStale index entries — README links to files that no longer exist
Inconsistent formatting — README entries don't follow a pattern
- [Title](./file.md) — Descriptionlevels/L2-ceremonies/scripts/check-doc-index.sh — Verification scriptlevels/L1-context/library/README.md — Example of well-maintained indexAGENTS.md — How agent files reference the standards index