agentleFS
veep2012veep2012/doc_mcp/.agents/skills/docs-guardian/SKILL.md

docs-guardian

Skill0 starsChanged 3 months agoMITView on GitHub

Standardize and review repository documentation against documentation/_documentation_template.md and documentation/_documentation_standards.md. Use when creating, updating, or reviewing files in documentation/.

The file

Show its rules and text

We split this skill into the rules it gives an agent

18 rules. About 0 are common, 16 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈16

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill to keep project documentation consistent, complete, and aligned with:

    line 10
  2. Distinctive:

    When creating or updating a story, issue, or implementation brief, identify only the repository docs that describe the area being developed.

    line 31
  3. Distinctive:

    Read the relevant existing docs first and cite them in the story text instead of restating requirements from memory.

    line 32
  4. Distinctive:

    Prefer an explicit "Pre-Development Reading" or equivalent section that lists only the docs needed for that scope before implementation …

    line 33
  5. Distinctive:

    Do not require unrelated documentation links.

    line 34
  6. Distinctive:

    If the story touches setup, runtime behavior, troubleshooting, or test flow, include the current canonical docs for those areas in the …

    line 35
  7. Very specific:

    Run find documentation -type f -name '*.md' | rg '[A-Z]' and require empty output.

    line 47
  8. Distinctive:

    Keep wording implementation-focused and concise.

    line 55
  9. Very specific:

    Use explicit requirement language (must, should, may) where applicable.

    line 56
  10. Distinctive:

    Remove sections that are not applicable.

    line 57
  11. Distinctive:

    Keep Mermaid diagrams only when they add clarity.

    line 58
  12. Distinctive:

    Keep at most one Change Log entry per calendar date in each document.

    line 60
  13. Distinctive:

    Keep the newest Change Log entry first.

    line 61
  14. Distinctive:

    If the document already has an entry for today's date, merge the new change into that existing entry instead of adding another row.

    line 62
  15. Distinctive:

    Add a new Change Log entry only when the calendar date changes.

    line 63
  16. Distinctive:

    When editing docs, mention which sections were added or normalized.

    line 73
  17. Distinctive:

    When reviewing only, provide a checklist of pass/fail items from the standards.

    line 74
  18. Distinctive:

    Do not invent requirements that conflict with repository standards.

    line 75

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Docs Guardian

Overview

Use this skill to keep project documentation consistent, complete, and aligned with:

  • documentation/_documentation_template.md
  • documentation/_documentation_standards.md
  • documentation/_naming_convention.md
  • documentation/_documentation-index.md

Workflow (Required)

Step 1: Classify the doc task

Choose one:

  • New document
  • Update existing document
  • Review existing document

Step 2: Load standards and template

  • Read documentation/_documentation_standards.md.
  • Read documentation/_documentation_template.md.
  • Read documentation/_naming_convention.md.
  • Read documentation/_documentation-index.md.

Step 2b: Reference existing docs before drafting new story content

  • When creating or updating a story, issue, or implementation brief, identify only the repository docs that describe the area being developed.
  • Read the relevant existing docs first and cite them in the story text instead of restating requirements from memory.
  • Prefer an explicit "Pre-Development Reading" or equivalent section that lists only the docs needed for that scope before implementation begins.
  • Do not require unrelated documentation links; keep the reference list scoped to the feature, workflow, or subsystem under development.
  • If the story touches setup, runtime behavior, troubleshooting, or test flow, include the current canonical docs for those areas in the reference list.

Step 3: Validate required structure

For each target file in documentation/:

  • Confirm required sections from standards exist.
  • Confirm one H1 heading only.
  • Confirm Document Control is present with status, owner, and dates.
  • Confirm References section exists.
  • Confirm filename follows lowercase underscore convention.
  • Confirm no uppercase characters exist in any documentation/*.md filename.
  • Confirm helper/control files use _ prefix.
  • Confirm any new/renamed documentation files are added to documentation/_documentation-index.md.
  • Run find documentation -type f -name '*.md' | rg '[A-Z]' and require empty output.
  • Confirm examples, schema tables, and API descriptions do not expose database-only audit metadata as end-user fields. The following columns must not appear in public payload examples or workflow-view documentation:
    • created_at
    • updated_at
    • created_by
    • updated_by

Step 4: Normalize and tighten content

  • Keep wording implementation-focused and concise.
  • Use explicit requirement language (must, should, may) where applicable.
  • Remove sections that are not applicable; do not leave placeholder text in final docs.
  • Keep Mermaid diagrams only when they add clarity.
  • Change Log update policy:
    • Keep at most one Change Log entry per calendar date in each document.
    • Keep the newest Change Log entry first.
    • If the document already has an entry for today's date, merge the new change into that existing entry instead of adding another row.
    • Add a new Change Log entry only when the calendar date changes.

Step 5: Report result

State one outcome:

  • Compliant
  • Updated to compliant
  • Partially compliant (list exact gaps)

Response Requirements

  • When editing docs, mention which sections were added or normalized.
  • When reviewing only, provide a checklist of pass/fail items from the standards.
  • Do not invent requirements that conflict with repository standards.

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.