setup-docs
Installation
SKILL.md
One-shot bootstrap that deeply analyzes the codebase and populates all .chalk/docs/ PROFILE stubs with real, project-specific content. Also enriches chalk.json with any fields that setup-chalk couldn't auto-detect.
When to Use
- After running
/setup-chalkornpx create-chalkto generate stub docs - When PROFILE docs contain
<!-- STUB -->markers or placeholder content - When
chalk.jsonhas missing fields (routes, sourceLayout, etc.) - To refresh docs after significant codebase changes
Workflow
Step 1: Read existing state
- Read
chalk.json— Check which fields are populated vs missing. Note any that need enrichment (especiallyroutes,sourceLayout,dev). - Read each PROFILE doc — Skip any that are already populated (no
<!-- STUB -->comment and more than 20 lines of real content). Note which verticals need work. - Read the codebase —
package.json,README.md,src/directory structure, config files, and any existing docs.