agentleFS
dtsongdtsong/agentic-council/skills/chronicler-documentation-plan/SKILL.md

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).

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
  1. Distinctive:

    No user-provided values are used in commands or file paths.

    line 36
  2. Distinctive:

    Create an onboarding checklist that tracks progress

    line 94
  3. Distinctive:

    Ensure documentation stays accurate:

    line 98
  4. Distinctive:

    Code sample validation: Test that code examples compile/run (extract and execute in CI)

    line 100
  5. Distinctive:

    Ownership per section: Every doc section has an owner responsible for accuracy

    line 109

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 -->

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.