Agent Skills: Documentation Guidelines

Coordinator-routed specialist for documentation architecture, broad audits, canonical ownership, module/feature docs, contracts, workflows, runbooks, or stale-content consolidation. Use after project-development-mindset makes documentation the primary deliverable, or directly when explicitly invoked or installed standalone. Do not use for routine docs alignment accompanying code or configuration changes.

UncategorizedID: thienanblog/awesome-ai-agent-skills/documentation-guidelines

Install this agent skill to your local

pnpm dlx add-skill https://github.com/thienanblog/awesome-ai-agent-skills/tree/HEAD/plugins/project-development-skills/skills/documentation-guidelines

Skill Files

Browse the full folder contents for documentation-guidelines.

Download Skill

Loading file tree…

plugins/project-development-skills/skills/documentation-guidelines/SKILL.md

Skill Metadata

Name
documentation-guidelines
Description
Create, audit, or consolidate durable project documentation, including feature rules, contracts, workflows, and runbooks. Use when documentation is the main deliverable; routine code changes can update their owning docs directly.

Documentation Guidelines

Capture durable meaning that code alone does not explain: business intent, ownership, invariants, permissions, contracts, and operational decisions. Let source and tests own implementation details and executable evidence.

Delegation

Run in the main conversation by default. Delegation can increase usage: obtain explicit approval for the proposed agent count and scope before using subagents. Reuse that approval within its bounds; ask again before expanding the approved count or scope.

Find the owner and evidence

Read the relevant documentation index and owner when present, then verify affected facts against source, tests, schemas, configuration, and runtime evidence. Follow links needed to understand the changed contract; stop when further reading no longer affects the result. Missing or stale documentation is a reason to inspect source, not a prerequisite that blocks work.

For the scope at hand, identify applicable actors, triggers, rules, state transitions, inputs/outputs, side effects, failure paths, ownership, and compatibility requirements. Omit irrelevant categories; record unresolved material facts without inventing them.

Change docs when durable meaning changes

| Change | Documentation action | |---|---| | Internal refactor, formatting, or fix restoring documented behavior | Update only affected paths or evidence anchors, if any | | User behavior, business rule, or workflow | Update its existing owner | | API, schema, permissions, events, or compatibility | Update the contract and affected consumer mappings | | Setup, migration, deployment, backup, or recovery | Update the owning runbook | | Entity renamed, moved, or removed | Repair discovery routes and stale references | | Duplicate or contradictory docs | Preserve valid facts in one owner, repair links, then remove stale copies within scope |

Avoid docs changes that merely record task activity. Keep transient plans, command logs, and CI output in the task, PR, or an existing evidence surface unless they represent a durable operating requirement.

Write for discovery and maintenance

  • Give each durable fact a clear owner. Consumers link to it and document only their own mapping or constraints.
  • Follow the repository's layout. Add routers, registries, or metadata only when a real discovery or tooling need justifies their upkeep.
  • Use concrete rules, stable searchable headings, examples, and a few source/test anchors. Prefer symbols and paths over brittle line numbers.
  • Separate facts, recommendations, and unknowns. Remove generic tutorials, speculative requirements, copied implementation, and status metadata that will rot.
  • Preserve historical records when they still serve an audit, migration, or operational purpose. Use Git history for superseded tracked content when sufficient.

Read templates.md for the document type, architecture.md for multi-owner structure, or audit-cleanup.md for consolidation.

Verify and report

Trace discovery from the existing entrypoint to the updated owner. Check links, identifiers, commands, evidence anchors, and any affected consumer contracts. Search for contradictory copies and old names. Run focused doc or generation validators plus applicable required gates; application tests are warranted only if the change affects executable behavior or their contract.

Report the durable facts changed, important removals or consolidations, verification, and remaining gaps.