From acc
Audits version consistency across composer.json, README, CHANGELOG, docs, and config files. Verifies component counts in docs and CHANGELOG completeness for release preparation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/acc:check-version-consistencyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Analyze project files for version number synchronization across all locations where version is referenced.
Analyze project files for version number synchronization across all locations where version is referenced.
// composer.json says:
{ "version": "2.10.0" }
<!-- README.md says: -->
Current version: **2.9.0** <!-- OUTDATED! -->
<!-- CHANGELOG.md -->
## [2.9.0] - 2025-01-15
- Added feature X
<!-- Missing entry for 2.10.0! -->
<!-- docs/getting-started.md -->
composer require vendor/package:^2.8
<!-- Should be ^2.10 -->
<!-- README.md says: -->
| Skills | 200 |
<!-- docs/quick-reference.md says: -->
| Skills | 222 |
<!-- Out of sync! -->
# Version in composer.json
Grep: "\"version\"" --glob "composer.json"
# Version in README
Grep: "version|v[0-9]+\.[0-9]+\.[0-9]+" -i --glob "README.md"
# Version in CHANGELOG
Grep: "## \[" --glob "CHANGELOG.md"
# Version in docs
Grep: "version|v[0-9]+\.[0-9]+" -i --glob "docs/**/*.md"
# Version in configuration
Grep: "version" --glob "**/*.json" --glob "**/*.yaml" --glob "**/*.yml"
# Primary source of truth: composer.json or latest CHANGELOG entry
Read: composer.json
# Extract version field
# Or from git tags
# git describe --tags --abbrev=0
For each location where version appears:
# Count actual components
Glob: commands/*.md # Commands count
Glob: agents/*.md # Agents count
Glob: skills/*/SKILL.md # Skills count
# Check documented counts in all files
Grep: "commands.*[0-9]+|agents.*[0-9]+|skills.*[0-9]+" -i --glob "README.md"
Grep: "commands.*[0-9]+|agents.*[0-9]+|skills.*[0-9]+" -i --glob "docs/quick-reference.md"
Grep: "commands.*[0-9]+|agents.*[0-9]+|skills.*[0-9]+" -i --glob "composer.json"
# Check CHANGELOG has entry for current version
Grep: "## \[" --glob "CHANGELOG.md"
# Check comparison links at bottom
Grep: "\[.*\]: https://.*compare" --glob "CHANGELOG.md"
| File | What to Verify |
|---|---|
composer.json | version field, description with counts |
README.md | Version badges, component counts, install examples |
CHANGELOG.md | Latest version section, comparison links |
docs/quick-reference.md | Statistics table, version references |
llms.txt | Quick Facts section, component counts |
CLAUDE.md | Architecture section counts |
docs/*.md | Version references in examples |
| Pattern | Severity |
|---|---|
| composer.json version wrong | 🔴 Critical |
| CHANGELOG missing latest version | 🔴 Critical |
| README version mismatch | 🟠 Major |
| Component count mismatch | 🟠 Major |
| Docs referencing old version | 🟡 Minor |
| Badge showing wrong version | 🟡 Minor |
### Version Consistency: [Description]
**Severity:** 🔴/🟠/🟡
**Canonical Version:** X.Y.Z
**Mismatches Found:**
| File | Expected | Found | Line |
|------|----------|-------|------|
| `README.md` | 2.10.0 | 2.9.0 | 15 |
| `docs/guide.md` | ^2.10 | ^2.8 | 23 |
**Component Count Sync:**
| File | Commands | Agents | Skills | Status |
|------|----------|--------|--------|--------|
| Actual | 26 | 56 | 222 | Source |
| README.md | 26 | 56 | 222 | OK |
| composer.json | 26 | 56 | 200 | MISMATCH |
**Fix:**
Update all listed files to version X.Y.Z.
npx claudepluginhub dykyi-roman/awesome-claude-code --plugin accEnforces README.md consistency with actual skills, agents, and commands counts using bash verification and pytest tests. Activates on doc updates, commits, or skill work.
Enforces validation rules for Claude Code tools (Edit, Write, Bash, NotebookEdit) to prevent errors like unread files before edits, non-unique old_strings, and missing directories. Useful before file changes or after failures.
Updates READMEs, ADRs, docstrings, and docs after code changes using consolidation detection, slop scanning, accuracy verification, and quality gates.