What problem does it solve?
After adding, removing, or curating skills in a managed library workspace, the workspace documentation (README.md and WORK_AREAS.md) drifts out of sync with the actual skills catalog. This Skill regenerates those docs from the catalog so they always reflect the current state, with a dry-run preview to prevent unwanted changes.
Core Features & Use Cases
- Dry-Run Preview: Run
npx ai-agent-skills build-docs --dry-run to see exactly what will change before writing anything.
- Catalog-Driven Regeneration: Rebuilds the generated sections of README.md and WORK_AREAS.md from the current skills catalog after
add, catalog, vendor, or curate operations.
- Structured JSON Output: Use
--format json to capture results for automation pipelines, including a currentlyInSync flag.
- Use Case: After bulk-importing skills from a remote library, run the dry-run to preview doc changes, regenerate the docs, then verify sync status before committing the workspace to git.
Quick Start
Run a dry-run of the docs build inside my initialized library workspace, then regenerate README.md and WORK_AREAS.md and confirm they are in sync.