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/.
In this repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- backend-doc-syncSkill
- check-documentation-gapsSkill
- check-test-gapsSkill
- commiterSkill
- monthly-doc-actualizerSkill
- release-note-writerSkill
- story-checkSkill
- story-guardianSkill
- story-updateSkill
- tech-debtSkill
- test-scenario-guardianSkill
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
- Distinctive: line 10
Use this skill to keep project documentation consistent, complete, and aligned with:
- Distinctive: line 31
When creating or updating a story, issue, or implementation brief, identify only the repository docs that describe the area being developed.
- Distinctive: line 32
Read the relevant existing docs first and cite them in the story text instead of restating requirements from memory.
- Distinctive: line 33
Prefer an explicit "Pre-Development Reading" or equivalent section that lists only the docs needed for that scope before implementation …
- Distinctive: line 34
Do not require unrelated documentation links.
- Distinctive: line 35
If the story touches setup, runtime behavior, troubleshooting, or test flow, include the current canonical docs for those areas in the …
- Very specific: line 47
Run find documentation -type f -name '*.md' | rg '[A-Z]' and require empty output.
- Distinctive: line 55
Keep wording implementation-focused and concise.
- Very specific: line 56
Use explicit requirement language (must, should, may) where applicable.
- Distinctive: line 57
Remove sections that are not applicable.
- Distinctive: line 58
Keep Mermaid diagrams only when they add clarity.
- Distinctive: line 60
Keep at most one Change Log entry per calendar date in each document.
- Distinctive: line 61
Keep the newest Change Log entry first.
- Distinctive: line 62
If the document already has an entry for today's date, merge the new change into that existing entry instead of adding another row.
- Distinctive: line 63
Add a new Change Log entry only when the calendar date changes.
- Distinctive: line 73
When editing docs, mention which sections were added or normalized.
- Distinctive: line 74
When reviewing only, provide a checklist of pass/fail items from the standards.
- Distinctive: line 75
Do not invent requirements that conflict with repository standards.
≈ “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.
Files
Docs Guardian
Overview
Use this skill to keep project documentation consistent, complete, and aligned with:
documentation/_documentation_template.mddocumentation/_documentation_standards.mddocumentation/_naming_convention.mddocumentation/_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 Controlis present with status, owner, and dates. - Confirm
Referencessection exists. - Confirm filename follows lowercase underscore convention.
- Confirm no uppercase characters exist in any
documentation/*.mdfilename. - 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_atupdated_atcreated_byupdated_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.
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.

