init ยท diff
git:20261012.6b78134 to git:20261012.5704534
3 added, 2 removed. Audit B to B.
---
description: Use when a project has no .specclaw/ directory and the user wants to start using specclaw.
---
# specclaw init
1. Ask for a project name and one-line description if not given, then run `specclaw-init . "<name>" "<description>"`. It writes `flow: lean`, lean defaults and `.specclaw/mock/index.html`. It refuses if `.specclaw/` exists; never overwrite.
- 2. Suggest tracking `.specclaw/` in git.
- 3. Next step: `/specclaw:propose`. Change 001 draws the minimal mock of the whole app.
+ 2. Init prints the presets it detected from the manifests (`presets:` in `config.yaml`). Ask the user to confirm or change them; the choices are `python`, `nextjs`, `node`, `dotnet` and `react-spa`, and `base` always applies. Write the answer to `presets: [..]`.
+ 3. Suggest tracking `.specclaw/` in git.
+ 4. Next step: `/specclaw:propose`. Change 001 draws the minimal mock of the whole app.