AGENT SKILL

documentation-audit

Produces a committed audit log file enumerating documentation drift — inaccuracies, broken links, missing sections, and outdated information — with severity ratings and action taken. Use when: 'docs seem out of date', 'audit the documentation', 'is the README accurate', 'check for broken links', 'before onboarding a new team member'.

License 许可
Apache-2.0
最近更新
2026-10-25
Stars
★ 2
Forks
0

01 前言 Front Matter

name
documentation-audit
tier
1
model
sonnet
agents
[ "primary" ]
inputs
[ { "name": "docs_path", "type": "string", "required": true, "description": "Path to the documentation directory or file to audit" } ]
outputs
[ { "name": "audit_log", "type": "ref", "format": "cas-ref", "description": "Committed audit log enumerating documentation drift — inaccuracies, broken links, missing sections — with severity ratings and action taken" } ]
category
system-health
triggers
[ "docs seem out of date", "audit the documentation", "is the README accurate", "check for broken links", "before onboarding a new team member" ]
description
Produces a committed audit log file enumerating documentation drift — inaccuracies, broken links, missing sections, and outdated information — with severity ratings and action taken. Use when: 'docs seem out of date', 'audit the documentation', 'is the README accurate', 'check for broken links', 'before onboarding a new team member'.
tool_dependencies
[ "file_system", "bash" ]

03 SKILL.md 正文

Documentation Auditor Skill

I. Philosophy

Project documentation is a garden. When tended with care, it is a source of clarity, guidance, and shared understanding. When neglected, it becomes overgrown with outdated information, broken links, and misleading instructions — a phenomenon known as documentation drift. This drift erodes trust and creates confusion.

The Documentation Auditor skill is the practice of tending the garden. It is a recurring ritual where we mindfully walk through our documentation, pulling the weeds of inaccuracy and pruning the branches of irrelevance. It is an act of stewardship, ensuring that our shared garden of knowledge remains a welcoming and reliable resource for all agents and collaborators.

II. When to Use This Skill

  • After a major release: to ensure all documentation reflects the new features and changes.
  • Before a new team member or agent is onboarded: to ensure they are given accurate information.
  • As a scheduled, recurring task (e.g., on the first day of each month) to maintain a regular cadence of review.
  • When you have a feeling that the documentation is out of sync with the code.

III. The Audit Workflow

Step 1: Initiate the Audit

Announce the intention to perform a documentation audit. Define the scope of the audit (e.g., "a full audit of the Dojo Genesis repo" or "a targeted audit of the AROMA README").

Step 2: Create an Audit Log

Create a new markdown file to log the findings of the audit (e.g., docs/audits/YYYY-MM-DD_documentation_audit.md).

Use the template from references/audit-log-template.md in this skill directory. The template provides the table schema and severity definitions.

Step 3: Systematically Review Each Document

Using the checklist in Section V, go through each key document in the repository. For each document, check for:

  • Accuracy: Does the information reflect the current state of the code?
  • Completeness: Is anything missing?
  • Clarity: Is the language clear, concise, and easy to understand?
  • Broken Links: Do all internal and external links still work?

For each issue found, create an entry in the audit log.

Step 4: Prioritize and Address the Issues

Once the review is complete, review the audit log and prioritize the issues. Address the high-priority issues immediately by creating pull requests to update the documentation.

Step 5: Commit and Share the Findings

Commit the audit log and all documentation fixes to the repository. Share a summary of the findings, highlighting the key improvements made.

IV. Core Documentation Checklist

README.md

  • [ ] Is the project purpose clear?
  • [ ] Are the installation and quickstart instructions accurate and functional?
  • [ ] Does it link to other key documents (e.g., CONTRIBUTING.md, ARCHITECTURE.md)?
  • [ ] Is the status badge (if any) correct?

CONTRIBUTING.md

  • [ ] Are the guidelines for contributing clear?
  • [ ] Is the process for submitting a pull request well-defined?
  • [ ] Does it link to the code of conduct?

ARCHITECTURE.md

  • [ ] Does the high-level overview reflect the current system architecture?
  • [ ] Are all major components and their interactions documented?
  • [ ] Are diagrams up-to-date?

docs/ Directory

  • [ ] Are all specifications for past releases present?
  • [ ] Are all retrospective documents present?
  • [ ] Is there any outdated information in the guides or tutorials?

SKILLS/ Directory

  • [ ] Does each skill have a clear SKILL.md file?
  • [ ] Is the description and purpose of each skill accurate?

V. Best Practices

  • Audit in Small, Regular Batches: It is less daunting to audit one section of the documentation each week than to audit the entire repository once a year.
  • Automate Where Possible: Use tools like lychee to check for broken links automatically.
  • Link, Don't Copy: When information needs to exist in multiple places, link to a single source of truth rather than copying and pasting it. This makes updates much easier.
  • Every Fix is a Good Fix: Even fixing a small typo improves the quality of the garden.

VI. Quality Checklist

  • [ ] Scope defined before starting (full repo or targeted area)
  • [ ] Audit log file created using the template from references/audit-log-template.md
  • [ ] Every key document reviewed against the checklist in Section IV
  • [ ] Each finding has a severity rating (High / Medium / Low)
  • [ ] High-priority issues addressed immediately or assigned with clear next steps
  • [ ] Audit log committed to the repository
  • [ ] Summary shared with stakeholders

Output

  • A committed audit log file at docs/audits/YYYY-MM-DD_documentation_audit.md containing a findings table (file, line, issue, severity, action taken) and a summary (total issues found, resolved, deferred).
  • Pull requests or direct fixes for high-severity findings made during the audit.

Examples

Scenario 1: "Audit the README before we onboard a new contributor" → Audit log created with 4 findings: outdated installation command (High), missing link to CONTRIBUTING.md (High), stale architecture diagram reference (Medium), minor typo (Low). High-severity issues fixed in the same session. Scenario 2: "Monthly documentation maintenance" → Targeted audit of docs/ directory reveals 2 specs that reference deprecated API endpoints. Findings logged, issues created for follow-up in the next sprint.

Edge Cases

  • If the repo has no docs/ directory yet, note this in the audit log as a structural gap rather than a per-file finding — recommend creating the directory.
  • External links may be behind auth or rate-limited; note failed verification rather than marking all links broken by default.

Anti-Patterns

  • Copying the audit log template inline into the SKILL.md itself — the template lives in references/audit-log-template.md to avoid duplication and enable independent updates.
  • Auditing only the README — documentation drift typically hides in architecture docs, changelogs, and skill files, not just the front-door document.

04 同仓库更多 Skills

DojoGenesis
DojoGenesis/gateway

kata-test-echo

暂无简介

★ 2
DojoGenesis
DojoGenesis/gateway

kata-plain

An ordinary prose skill; not dispatchable.

★ 2
DojoGenesis
DojoGenesis/gateway

kata-broken

暂无简介

★ 2
DojoGenesis
DojoGenesis/gateway

voice-before-structure

Read the project's design language and philosophy before writing structural artifacts. Ground manifests, READMEs, and descriptions in the project's voice, not boilerplate. Use when creating manifests or READMEs for established projects, writing ecosystem-level documentation, building plugin descriptions or marketplace metadata, or authoring metadata that carries a project's identity. Trigger phrases: 'write the manifest', 'create a README', 'describe this plugin', 'ground yourself in the philosophy', 'ecosystem-level work'.

★ 2
DojoGenesis
DojoGenesis/gateway

system-prompt-archaeology

Produces a named ADA disposition preset (YAML) and a layered behavioral analysis (structural decomposition + evidence-cited classifications) from a system prompt. Use when: "analyze this system prompt", "extract disposition from prompt", "reverse-engineer agent behavior", "what patterns does this prompt use", "build a preset from this prompt".

★ 2
DojoGenesis
DojoGenesis/gateway

session-lifecycle-automation

Designs and configures all three loops of solo-operator session automation — session bookends, background maintenance agents, and a delegation flywheel. Use when setting up a new workspace, recovering from the 44% zero-artifact session leak, or preparing to scale delegation across multiple concurrent agents.

★ 2