← ClaudeAtlas

cast-initlisted

Scaffold the Diecast docs/ tree (exploration, spec, requirement, plan, design, execution, ui-design, goal) and write a project-local CLAUDE.md that points at the canonical conventions spec. Re-runnable; non-destructive 4-option merge prompt on existing layout.
sridherj/diecast · ★ 3 · AI & Automation · score 72
Install: claude install-skill sridherj/diecast
# /cast-init — Project Scaffold Initialize a project for use with Diecast. After a successful run the project root contains the eight canonical `docs/<area>/` directories (each with a `.gitkeep`) plus a project-local `CLAUDE.md` that points at the [`cast-init-conventions` spec](../../../docs/specs/cast-init-conventions.collab.md). The skill is **idempotent and non-destructive** on re-run: detection logic surfaces a 4-option prompt rather than silently overwriting (Decision #5). > **Canonical spec.** The file conventions written into the project's `CLAUDE.md` are > documented in `docs/specs/cast-init-conventions.collab.md`. The `CLAUDE.md` template is > a pointer; the spec is canonical. Never inline the conventions into the template. > **Delegation.** This skill is purely client-side — there is no `agents/cast-init/`. The > only delegation is to `cast-interactive-questions` for the 4-option merge prompt. The > skill MUST follow that protocol when prompting (one question at a time, structured > options, recommendation first). ## Inputs - **Working directory:** `<cwd>` is the project root. Resolve once via `pwd`; do not accept user-supplied paths (eliminates path-traversal concerns; FR-008 of the delegation contract). - **`{{PROJECT_NAME}}`:** derived from `basename "$(pwd)"`. Sanitize for markdown safety (escape backticks, square brackets, asterisks, underscores, pipes if present). - **`--no-hooks`** *(optional, default off):* opt out of the Step 4 hook install. By