project-scaffold
Lay down a standard set of empty project docs (CLAUDE, PURPOSE, RULES, GUARDRAILS, CONVENTIONS, DECISIONS, DOCS, CHANGELOG, MAP). Use when the operator says "scaffold this project" or "add the standar
Files1
View on GitHubSKILL.mdskills/project-scaffold/SKILL.md
GitHubproject-scaffold
Runs cut-project.sh --generic to lay down empty, well-formed project docs.
It only copies templates. It never fills them and never overwrites a file that
already exists and differs. To also fill them from a project description, use project-bootstrap.
Files
- Core, always:
CLAUDE.md,PURPOSE.md,RULES.md,GUARDRAILS.md,CONVENTIONS.md,DECISIONS.md,DOCS.md,CHANGELOG.md,MAP.md(generated),scripts/map.py. - Optional, only when asked:
design,agents,logs,humans,context,calculations,assumptions,learnings,memory(each becomes<NAME>.md).
Steps
Confirm the target directory with the operator. Default is the current directory; it may be new or hold an existing project.
Ask which optional files they want, if any. Do not assume. Name the nine and say that none is the default.
Find the script:
project-factory/scripts/cut-project.sh, which sits beside theskills/directory this skill lives in (resolve symlinks first, e.g.cd -P <this skill dir>/../..). If it is not there, ask the operator for the path.Run it, adding
--with design,humans(comma list) or--all-optionalonly as chosen:bash <project-factory>/scripts/cut-project.sh --generic [--with a,b | --all-optional] <target-dir>Report from its output:
- Created: each
wrote:line. - Skipped: each
SKIPPEDline, meaning the file exists and differs; say it was left untouched. - Unchanged: the
unchanged:count (a re-run is a clean no-op). - Any
warning:ornote:line (for exampleMAP.mdnot generated), verbatim.
- Created: each
Tell the operator the files hold
<fill: ...>markers and are not usable until filled. Do not fill them here. Do not edit a skipped file.
Rules
- Never overwrite, merge into or delete an existing file. A differing file is the operator's to reconcile.
- Never run in a directory the operator has not named.
- To regenerate the map later:
python3 scripts/map.pyin the target.