plugins/autonomous-dev/skills/archived/consistency-enforcement/SKILL.md
Documentation consistency enforcement - prevents drift between README.md and actual codebase state. Auto-activates when updating docs, committing changes, or working with skills/agents/commands.
npx skillsauth add akaszubski/autonomous-dev consistency-enforcementInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Layer 4 Defense Against Documentation Drift
Auto-activates to maintain documentation consistency when working on docs, skills, agents, or commands.
See: workflow.md for step-by-step scenarios See: templates.md for checklists and commands
Keywords: "readme", "documentation", "docs", "commit", "sync", "update", "skill", "agent", "command", "count", "marketplace", "consistency", "drift"
All counts must match reality:
# Count actual resources
ls -d plugins/autonomous-dev/skills/*/ | wc -l # Skills
ls plugins/autonomous-dev/agents/*.md | wc -l # Agents
ls plugins/autonomous-dev/commands/*.md | wc -l # Commands
These files MUST show the same counts:
README.md (primary source)docs/SYNC-STATUS.mddocs/UPDATES.mdINSTALL_TEMPLATE.md.claude-plugin/marketplace.json (metrics)# Verify skill exists before referencing
ls -1 plugins/autonomous-dev/skills/
{
"metrics": {
"agents": 8,
"skills": 12,
"commands": 21
}
}
| Layer | Location | Purpose |
|-------|----------|---------|
| 1 | tests/test_documentation_consistency.py | Automated CI/CD enforcement |
| 2 | agents/doc-master.md | Agent memory checklist |
| 3 | hooks/validate_docs_consistency.py | Pre-commit hook (optional) |
| 4 | This skill | Auto-reminder during work |
pytest tests/test_documentation_consistency.py -v
When adding/removing skills, agents, or commands:
See: workflow.md for detailed scenarios
Documentation drift causes user confusion:
With 4-layer defense:
Result: Documentation always matches reality
Works with:
development
GenAI-first testing with structural assertions, congruence validation, and tier-based test structure. Use when writing tests, setting up test infrastructure, or validating coverage. TRIGGER when: test, pytest, coverage, TDD, test patterns, congruence, validation. DO NOT TRIGGER when: production code implementation, documentation, config-only changes.
development
One topic, one home. Routes content to its canonical store (CLAUDE.md, PROJECT.md, MEMORY.md, docs/, memory/) and audits for duplication. TRIGGER when: auditing CLAUDE.md/PROJECT.md/MEMORY.md sizes, deduplicating docs, applying the content-allocation pattern to a new repo, running /align --content. DO NOT TRIGGER when: implementing features, writing tests, routine code edits, debugging.
testing
Prompt engineering patterns for writing agent prompts and skill files — constraint budgets, register shifting, HARD GATE patterns, anti-personas. Use when writing or reviewing agents/*.md or skills/*/SKILL.md. TRIGGER when: agent prompt, skill file, prompt engineering, model-tier compensation, HARD GATE, prompt quality. DO NOT TRIGGER when: user-facing docs, README, CHANGELOG, config files.
testing
JSON persistence, atomic writes, file locking, crash recovery, and state versioning patterns. Use when implementing stateful libraries or features requiring persistent state. TRIGGER when: state persistence, atomic write, file locking, crash recovery, checkpoint. DO NOT TRIGGER when: stateless utilities, pure functions, config reads, documentation.