release-setuplisted
Install: claude install-skill Roxabi/roxabi-plugins
# Release Setup
Let:
F := `--force` flag present in `$ARGUMENTS`
σ := `.claude/stack.yml`
D✅(label) := Display: `{label} ✅ Configured`
D⏭(label) := Display: `{label} ⏭ Already configured`
D⚠(label) := Display: `{label} ⚠��� Install failed — check network/lockfile`
Configure commit standards and release automation: Commitizen + commitlint, hook runner (Lefthook or Husky), and semantic-release or Release Please.
Can run standalone (`/release-setup`) or be called by `/init` after `/ci-setup`.
## Phase 0 — Pre-check (idempotency)
Check prerequisites and per-component state before any installation.
1. Verify σ exists:
```bash
test -f .claude/stack.yml && echo "found" || echo "missing"
```
missing → warn: "stack.yml not found — release-setup reads runtime and hook runner from it."
→ DP(A) **Run `/env-setup` first** | **Proceed manually**
Proceed manually → continue with defaults (runtime: node, package_manager: npm, hooks.tool: none).
2. Check per-component config file existence in parallel:
```bash
test -f .lefthook.yml && echo "has_lefthook" || echo "no_lefthook"
test -d .husky && echo "has_husky" || echo "no_husky"
test -f .commitlintrc.cjs && echo "has_commits" || echo "no_commits"
test -f release.config.cjs && echo "has_sr" || echo "no_sr"
test -f release-please-config.json && echo "has_rp" || echo "no_rp"
test -f .github/workflows/release-please.yml && echo "has_rp_wf" || echo "no_rp_wf"
test -x tools/check_fi