Validates that Markdown files are in standard locations by scanning for .md files outside predefined allowed directories and outputting warnings to prevent documentation sprawl.
How this skill is triggered — by the user, by Claude, or both
Slash command
/bodangren-git-workflow:doc-validatorThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Scan the repository for Markdown files (`.md`) located outside of predefined, allowed directories. This skill helps prevent documentation sprawl and enforces a consistent repository structure by warning about `.md` files in non-standard locations.
Scan the repository for Markdown files (.md) located outside of predefined, allowed directories. This skill helps prevent documentation sprawl and enforces a consistent repository structure by warning about .md files in non-standard locations.
Use this skill in the following situations:
find, bash)Execute the validator script to scan for misplaced Markdown files:
bash skills/doc-validator/scripts/doc-validator.sh
The script outputs warnings for any .md files found in non-standard locations:
WARNING: Markdown file in non-standard location: ./src/notes.md
WARNING: Markdown file in non-standard location: ./scripts/temp-docs.md
For each warning:
docs/ or appropriate skill directoryThe validator considers these locations as standard and will not warn about them:
README.md, LICENSE, AGENTS.md, RETROSPECTIVE.mddocs/**/*.md (all subdirectories)skills/*/SKILL.mdskills/*/references/*.mdskills/*/examples/*.md.claude/skills/*/SKILL.md.claude/skills/*/references/*.md.claude/skills/*/examples/*.mdSymptom: The validator warns about a file that should be allowed
Solution:
doc-validator.shALLOWED_PATTERNS arraySymptom: The script runs but finds no files or fewer files than expected
Solution:
.md files exist in the repositorySymptom: Script cannot access certain directories
Solution:
chmod +x skills/doc-validator/scripts/doc-validator.sh.git/ and .agenticdev-backup-* directoriesCreates, edits, and verifies skills using a test-driven development approach with pressure scenarios and subagents.
npx claudepluginhub joshuarweaver/cascade-code-devops-misc-1 --plugin bodangren-git-workflow