code-documentation
Installation
SKILL.md
Code Documentation
Conventions and templates for README.md files that serve as LLM-optimized navigation documents for codebase directories.
When to Use
- After implementing code that creates or deletes files in a directory
- When a new directory is created that contains code or configuration
- When reviewing documentation freshness during development
- When
/m:devStep 8 triggers documentation updates
Purpose
README.md files are LLM-optimized navigation documents. They allow an agent to:
- Scan frontmatter across many directories to decide which are relevant (fast)
- Read full content of relevant READMEs to understand module structure (deep)
- Navigate diagrams to understand relationships, data flow, and state machines