From zie-framework
Verify CLAUDE.md and README.md are in sync with actual commands/skills/hooks on disk. Returns JSON verdict.
How this skill is triggered — by the user, by Claude, or both
Slash command
/zie-framework:docs-sync-checkhaikuThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Verify that `CLAUDE.md` and `README.md` reflect the actual state of commands,
Verify that CLAUDE.md and README.md reflect the actual state of commands,
skills, and hooks on disk. Called by /retro and /release as a
parallel fork.
$ARGUMENTS (optional JSON from caller):
{
"changed_files": ["commands/zie-foo.md", "skills/bar/SKILL.md"]
}
If empty or unparseable: run full check across all commands/skills/hooks.
Read CLAUDE.md (project root) — extract lines mentioning commands/,
skills/, hooks/. If missing → note in details, set claude_md_stale: false.
Read README.md (project root) — extract commands table if present.
If missing → note in details, set readme_stale: false.
Enumerate actual state:
commands/*.md → extract base filenames (strip .md).skills/*/SKILL.md → extract parent directory names.hooks/*.py → extract base filenames (exclude utils.py).3b. Read PROJECT.md — parse Commands and Skills tables:
- Read PROJECT.md at the project root. If missing → set project_md_stale: false,
append "PROJECT.md not found — skipped" to details, skip cross-reference.
- Extract Commands table: every | /command | row. Skip header rows
(| Command |, | --- |). Strip the leading / from each command name.
Strip .md suffix from disk basenames before comparing.
- Extract Skills table: every | skill-name | row. Skip header rows
(| Skill |, | --- |). Skill names are bare (no path prefix).
- If a Commands or Skills table is absent from PROJECT.md, treat as empty
(all disk items → missing_from_project_md).
- Cross-reference:
- missing_from_project_md: commands/skills on disk NOT in PROJECT.md tables.
- extra_in_project_md: entries in PROJECT.md tables NOT found on disk.
- Set project_md_stale: true if either list is non-empty; false otherwise.
Compare each category: docs vs. actual.
missing_from_docs: items on disk not mentioned in the doc.extra_in_docs: items mentioned in doc but not on disk.Return JSON:
{
"claude_md_stale": false,
"readme_stale": false,
"project_md_stale": false,
"missing_from_docs": [],
"extra_in_docs": [],
"missing_from_project_md": [],
"extra_in_project_md": [],
"details": "CLAUDE.md in sync | README.md in sync | PROJECT.md in sync"
}
Set claude_md_stale: true if missing_from_docs or extra_in_docs has entries
relating to CLAUDE.md; readme_stale: true for README.md entries.
npx claudepluginhub zierocode/zie-plugins-claude-code --plugin zie-frameworkProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.