Validates that Markdown files are in standard locations by scanning for .md files outside predefined allowed directories and outputting warnings to prevent documentation sprawl.
Ships in bodangren-git-workflow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
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-* directoriesWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
13 skills in this plugin
/agent-integratorUse this skill to create or update the root AGENTS.md file to register AgenticDev skills for AI agent discovery. Triggers include "register AgenticDev", "update AGENTS.md", "setup agent guide", or initializing a new project./change-integratorUse this skill after a code PR is merged to integrate approved specs, update the retrospective with learnings, and clean up branches. It now automatically summarizes the retrospective file to keep it concise. Triggers include "integrate change", "post-merge cleanup", or completing a feature implementation./doc-indexerUse this skill at the beginning of any session or when needing to understand available project documentation. Provides just-in-time context by scanning YAML frontmatter from all markdown files in the docs/ directory without loading full content./bodangren-git-workflow:doc-validatorfrom bodangren-git-workflow
bodangren-git-workflow@cascade-code-devops-misc-1 is listed by joshuarweaver/cascade-code-devops-misc-1 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-code-devops-misc-1 --plugin bodangren-git-workflow