documentation-plan
Skill0 starsChanged 6 months agoApache-2.0View on GitHub
Use when designing documentation architecture for a project or team. Covers audience mapping, Diataxis framework classification, onboarding path design, format and location decisions, documentation testing, and maintenance scheduling. Do not use for recording individual architecture decisions (use adr-template) or creating versioned changelogs (use changelog-design).
In this repository65 other files it gives its agents.
- a11y-auditSkill
- i18n-reviewSkill
- interaction-designSkill
- journey-mappingSkill
- ml-workflowSkill
- pipeline-designSkill
- schema-evaluationSkill
- api-designSkill
- codebase-contextSkill
- distributed-patternsSkill
- schema-designSkill
- design-system-architectureSkill
- motion-designSkill
- visual-auditSkill
- adr-templateSkill
- changelog-designSkill
- crypto-reviewSkill
- pqc-readinessSkill
- protocol-analysisSkill
- e2e-testingSkill
- pattern-analysisSkill
- testing-strategySkill
- finance-close-checklistSkill
- finance-controls-auditSkill
- finance-journal-entriesSkill
- finance-reconciliationSkill
- finance-tax-researchSkill
- finance-variance-analysisSkill
- audit-trail-designSkill
- compliance-reviewSkill
- data-classificationSkill
- growth-engineeringSkill
- messaging-strategySkill
- monetization-designSkill
- cost-analysisSkill
- deployment-planSkill
- finops-analysisSkill
- observability-designSkill
- ai-evaluationSkill
- prompt-engineeringSkill
- rag-architectureSkill
- device-integrationSkill
- navigation-designSkill
- platform-auditSkill
- formal-specSkill
- invariant-analysisSkill
- competitive-analysisSkill
- enterprise-search-strategySkill
- library-evaluationSkill
- technology-radarSkill
- embedded-architectureSkill
- fleet-managementSkill
- protocol-designSkill
- edge-case-enumerationSkill
- failure-mode-analysisSkill
- threat-modelSkill
- analytics-designSkill
- impact-estimationSkill
- mvp-scopingSkill
- caching-strategySkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
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 36
No user-provided values are used in commands or file paths.
- Distinctive: line 94
Create an onboarding checklist that tracks progress
- Distinctive: line 98
Ensure documentation stays accurate:
- Distinctive: line 100
Code sample validation: Test that code examples compile/run (extract and execute in CI)
- Distinctive: line 109
Ownership per section: Every doc section has an owner responsible for accuracy
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Documentation Plan
Purpose
Design a comprehensive documentation architecture that maps content types to audiences, defines onboarding paths, and establishes maintenance schedules. Produces a documentation strategy that scales with the team and codebase.
Scope Constraints
Reads existing documentation, project structure, and team context to produce a documentation strategy. Does not create or modify actual documentation files or deploy documentation infrastructure.
Inputs
- Project type and scope (library, application, platform, API)
- Target audiences (developers, API consumers, end users, operators)
- Current documentation state (what exists, what's missing, what's stale)
- Team size and growth expectations
Input Sanitization
No user-provided values are used in commands or file paths. All inputs are treated as read-only analysis targets.
Procedure
Progress Checklist
- Step 1: Identify documentation audiences
- Step 2: Map documentation types needed
- Step 3: Define documentation structure
- Step 4: Specify format and location
- Step 5: Plan developer onboarding flow
- Step 6: Design documentation testing
- Step 7: Define maintenance schedule
Step 1: Identify Documentation Audiences
Map each audience and their needs:
- New developers: Getting started, local setup, architecture overview, "where is X?" answers
- Experienced team members: API reference, design decisions, runbooks, troubleshooting guides
- API consumers: Authentication, endpoint reference, rate limits, SDKs, changelog
- End users: Feature guides, FAQs, tutorials, release notes
- Operators/SREs: Deployment procedures, monitoring runbooks, incident response, infrastructure docs
- For each audience, define their entry point, primary tasks, and information needs
Step 2: Map Documentation Types Needed
Catalog required documentation:
- Getting started: Quick start, prerequisites, installation, "hello world" in under 5 minutes
- API reference: Endpoint docs, type definitions, error codes, authentication
- Architecture overview: System diagram, component responsibilities, data flow, key decisions
- Runbooks: Operational procedures, incident response, common troubleshooting steps
- User guides: Feature walkthroughs, best practices, common patterns
- Tutorials: Step-by-step learning paths, progressive complexity, working examples
Step 3: Define Documentation Structure
Apply the Diataxis framework:
- Tutorials: Learning-oriented — guided lessons that teach through doing
- How-to guides: Task-oriented — steps to achieve a specific goal
- Explanation: Understanding-oriented — background, context, design rationale
- Reference: Information-oriented — accurate, complete technical descriptions
- Map each existing and planned document to its Diataxis category, identify gaps
Step 4: Specify Format and Location
Define where each doc type lives:
- In-repo markdown: Architecture docs, ADRs, contributing guides (versioned with code)
- Generated API docs: Auto-generated from code/types (OpenAPI, TypeDoc, Storybook)
- Wiki/knowledge base: Runbooks, onboarding guides, team processes (frequently updated)
- Inline code docs: JSDoc/TSDoc for public APIs, README per module/package
- Establish naming conventions, directory structure, and linking strategy
Step 5: Plan Developer Onboarding Flow
Design progressive onboarding:
- Day 1: Environment setup, run the app locally, make a trivial change, deploy to dev
- Week 1: Architecture overview, codebase tour, key abstractions, first real task
- Month 1: Deep-dive into owned area, understand cross-cutting concerns, contribute to docs
- Include checkpoints, mentorship touchpoints, and feedback collection
- Create an onboarding checklist that tracks progress
Step 6: Design Documentation Testing
Ensure documentation stays accurate:
- Link checking: Automated broken link detection in CI
- Code sample validation: Test that code examples compile/run (extract and execute in CI)
- Freshness reviews: Flag docs not updated in N months, assign review owners
- Screenshot/diagram validation: Process for updating visual assets when UI changes
- Feedback mechanism: Easy way for readers to report issues ("Was this helpful?" + issue link)
Step 7: Define Maintenance Schedule
Establish ongoing documentation health:
- Review cadence: Quarterly full review, monthly spot-checks on high-traffic docs
- Ownership per section: Every doc section has an owner responsible for accuracy
- Staleness detection: Automated alerts when docs haven't been updated alongside related code changes
- Deprecation process: How to mark docs as outdated, redirect to replacements, eventually remove
- Contribution guidelines: How to write docs, style guide, review process for doc PRs
Compaction resilience: If context was lost during a long session, re-read the Inputs section to reconstruct what system is being analyzed, check the Progress Checklist for completed steps, then resume from the earliest incomplete step.
Output Format
# Documentation Plan: [Project Name]
## Documentation Map
| Doc Type | Audience | Format | Location | Owner | Status |
|----------|----------|--------|----------|-------|--------|
| Getting Started | New devs | Markdown | /docs/getting-started.md | [team] | [exists/needed/stale] |
| API Reference | API consumers | Generated | /docs/api/ | [team] | ... |
| Architecture | All devs | Markdown + diagrams | /docs/architecture/ | [team] | ... |
| Runbooks | Operators | Wiki | [wiki URL] | [team] | ... |
| ... | ... | ... | ... | ... | ... |
## Diataxis Mapping
| Category | Documents | Gap Analysis |
|----------|-----------|--------------|
| Tutorials | [list] | [what's missing] |
| How-to Guides | [list] | [what's missing] |
| Explanation | [list] | [what's missing] |
| Reference | [list] | [what's missing] |
## Onboarding Path
Day 1: [Setup] → [Run app] → [Trivial change] → [Deploy to dev] ↓ Week 1: [Architecture tour] → [Codebase walkthrough] → [First task] ↓ Month 1: [Deep-dive] → [Cross-cutting concerns] → [Doc contribution]
## Maintenance Schedule
| Cadence | Activity | Owner | Automation |
|---------|----------|-------|------------|
| Per PR | Link checking | CI | Automated |
| Monthly | High-traffic doc review | Rotating | Reminder |
| Quarterly | Full doc audit | Tech lead | Staleness report |
## Ownership Matrix
| Section | Primary Owner | Backup | Last Review |
|---------|--------------|--------|-------------|
| Getting Started | [name] | [name] | [date] |
| API Reference | [name] | [name] | [date] |
| ... | ... | ... | ... |Handoff
- Hand off to adr-template if the documentation plan reveals architectural decisions that need formal recording.
- Hand off to changelog-design if the documentation audit uncovers version upgrade communication gaps or missing migration guides.
Quality Checks
- All target audiences are identified with their specific documentation needs
- Documentation types are mapped to the Diataxis framework with gap analysis
- Format and location are specified for each doc type (in-repo, generated, wiki)
- Developer onboarding path covers day 1, week 1, and month 1 milestones
- Documentation testing includes link checking and code sample validation
- Maintenance schedule defines review cadence and staleness detection
- Every documentation section has an assigned owner
- Contribution guidelines exist for writing and reviewing documentation
Evolution Notes
<!-- Observations appended after each use -->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.

