Agent skill
docs-refresh
Auto-generate skill reference docs and keep CLAUDE.md skills table in sync. Use when user says /docs-refresh.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/docs-refresh
SKILL.md
Docs Refresh
Purpose
Auto-generate docs/skills/REFERENCE.md from skill.yaml files and keep the CLAUDE.md skills table in sync between <!-- SKILLS_TABLE_START --> / <!-- SKILLS_TABLE_END --> markers.
Quick Reference
task docs:refresh # Generate REFERENCE.md + update CLAUDE.md table
task docs:refresh-check # Verify docs are in sync (CI gate)
task claude:skills-reference # Generate REFERENCE.md only
Pipeline
generate-skill-reference.shreads all.claude/skills/*/skill.yamland writesdocs/skills/REFERENCE.mdupdate-claude-md.shreads skill.yaml files and updates the table between CLAUDE.md markersdocs-refresh-check.shregenerates both to temp and diffs against committed versions
When to Run
- After creating, renaming, or removing a skill
- After changing a skill's
description,kind, orwhen_to_usein skill.yaml - Before committing skill changes (Stop hook runs automatically)
Automation
See skill.yaml for patterns, ownership, and anti-patterns.
See sharp-edges.yaml for common failure modes.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?