| name | docs-refresh |
| description | Refresh documentation with deterministic generation from source files. Use when user says /docs-refresh. Use when this capability is needed. |
| metadata | {"author":"genlayerlabs"} |
Docs Refresh
Purpose
Keep generated documentation in sync with source files. Manages skill reference documentation and project-level Claude instructions.
Quick Reference
- Manages:
docs/skills/REFERENCE.md, CLAUDE.md (skills table)
- Sources:
.claude/skills/*/skill.yaml
- Stop hook:
task claude:validate-skill -- --skill docs-refresh
Commands
task docs:refresh
task docs:refresh-check
task claude:skills-reference
Outputs
| Artifact | Purpose |
|---|
docs/skills/REFERENCE.md | Generated skill inventory with patterns and ownership |
CLAUDE.md | Project instructions for Claude (includes skills table) |
CLAUDE.md Skills Table
The skills table in CLAUDE.md lists all skills and when to use them. When adding/removing skills:
- Update the skills table in
CLAUDE.md
- Run
task docs:refresh to regenerate REFERENCE.md
- Commit both files together
When It Fails
- Skill reference out of sync: Run
task docs:refresh to regenerate
- Skill YAML invalid: Fix syntax errors in skill.yaml files
Automation
See skill.yaml for the full procedure and patterns.
See sharp-edges.yaml for common failure modes.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.