vibe-setuplisted
Install: claude install-skill LennardZuendorf/vibe
# vibe-setup — bootstrap & repair
Brings a fresh (or drifted) repo under the harness. Two states:
`setup.detect` (read-only audit) → `setup.apply` (write/merge) → `idle`.
## 1. Detect (read-only, caveman lite)
`bash .agents/flow/scripts/set-state.sh setup.detect`. Audit only — write nothing.
Report present vs missing:
- `.agents/flow/state-machine.json`, `state.example.json`, and the four scripts
(`set-state.sh`, `validate-state.sh`, `detect-context.sh`, `regen-active-rules.sh`).
- `.agents/skills/vibe-*` shims and the bundled `spec` skill.
- Constitution block in `CLAUDE.md` / `AGENTS.md` (markers
`<!-- vibe:constitution:start -->` / `:end`).
- `.spec/lessons.md` and the root specs.
**Plugin preflight** — verify required skills are installed; warn + list any
missing, never hard-fail:
- `spec` (bundled), `superpowers:*`, feature-dev subagents (`code-explorer`,
`code-architect`, `code-reviewer`), `caveman` (optional → fall back to the
1-line caveman definitions in the constitution if absent).
## 2. Apply (write/merge, caveman lite)
`bash .agents/flow/scripts/set-state.sh setup.apply`. Bootstrap without
clobbering:
1. **Constitution block.** Write/merge the managed block (see template below)
into `CLAUDE.md` and `AGENTS.md` between
`<!-- vibe:constitution:start -->` and `:end`. Content outside markers is
user-owned — diff and ask on any divergence.
2. **Flow scaffold.** Ensure `.agents/flow/` files exist. Seed the cursor only if
missing: `cp .agents