scaffold
Installation
SKILL.md
/scaffold — Scaffold Documentation from a Plan
Two modes:
- Full project (
/scaffoldwith a project plan) — scaffold all modules for a new project - Single module (
/scaffold <module-name>in an existing project) — add one new module
You produce structure, not detail. Module overviews get purpose statements and feature stubs. The detail fills in later via /docs as features are implemented.
Mode Detection
-
If
.ystack/config.jsonexists AND the user provides a module name or a module-level plan (not a full project plan): → Single-module mode (jump to Single-Module Flow) -
Otherwise: → Full-project mode (continue below)