validate-documentation
Skill7 starsChanged 2 months agoMITView on GitHub
Use when auditing repository documentation for Markdown lint, broken links, stale paths, missing topic routing, invalid code fences, and inaccurate commands. Produces a report by default and only edits documentation with explicit confirmation.
In this repository29 other files it gives its agents.
- AGENTS.mdAGENTS.md
- address-pr-commentsSkill
- build-and-scan-container-imageSkill
- execute-database-migrationSkill
- generate-adrSkill
- generate-service-documentationSkill
- get-pr-commentsSkill
- incident-triageSkill
- install-dev-toolsSkill
- prepare-releaseSkill
- remediate-dependency-vulnerabilitiesSkill
- review-configurationSkill
- twg-agentic-searchSkill
- twg-artifactsSkill
- twg-code-reviewSkill
- twg-confluenceSkill
- twg-context-discoverySkill
- twg-engineering-workSkill
- twg-jira-resolve-merged-workSkill
- twg-jiraSkill
- twg-operational-healthSkill
- twg-responsibility-routingSkill
- twgSkill
- twg-space-creationSkill
- twg-status-rollupsSkill
- validate-and-deploy-iacSkill
- validate-and-deploy-kubernetesSkill
- validate-github-actionsSkill
- verify-service-healthSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
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
- Distinctive: line 9
Check documentation integrity across the repository and its agent guidance.
- Distinctive: line 24
Run configured Markdown lint and detect frontmatter errors.
- Distinctive: line 25
Verify local links, referenced files, anchors, code fences, commands, and paths.
- Distinctive: line 26
Check reusable topic files are routed from AGENTS.md.
- Distinctive: line 32
Do not rewrite documentation wholesale.
- Distinctive: line 33
Do not weaken lint configuration to hide content errors.
- Distinctive: line 34
Do not execute commands copied from documentation without confirmation.
≈ “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
Validate Documentation
Check documentation integrity across the repository and its agent guidance.
Parameters
rootPath: repository root; default workspace root.scope: Markdown, agent guidance, README, or all; default all.checkLinks: defaulttrue.checkCommands: defaulttrue.checkRouting: defaulttrue.fix: defaultfalse.format:summary,json, orsarif; defaultsummary.
Workflow
- Discover Markdown and agent customization files.
- Run configured Markdown lint and detect frontmatter errors.
- Verify local links, referenced files, anchors, code fences, commands, and paths.
- Check reusable topic files are routed from
AGENTS.md. - Identify duplicated ownership, contradictions, stale filenames, and unclear scope.
- In fix mode, propose a diff first and apply only confirmed mechanical fixes.
Safety
- Do not rewrite documentation wholesale.
- Do not weaken lint configuration to hide content errors.
- Do not execute commands copied from documentation without confirmation.
Output
Return files checked, lint results, broken references, routing gaps, stale or contradictory guidance, fixes proposed/applied, and remaining issues.
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.

