initlisted
Install: claude install-skill Ian-Louw/potion
# Potion Init
Inherit `${CLAUDE_PLUGIN_ROOT}/core/CORE.md`. Creates the project's durable memory.
**Emission contract — all of these exist before exit:** `.potion/PROJECT.md`
(goals, Key Decisions, Out of Scope, `## Phases` checklist);
`.potion/STATE.md` (position: phase 1); `.potion/verify-env.md` (recipe or
`none-needed: <why>` — never absent); `.potion/phases/01-{slug}/` directory;
the `merge=union` line in `.gitattributes`; the `verify-env.local` line in
`.gitignore`; the init commit. Before finishing, re-read the emitted files
against this block; fix in place, or regenerate —
at most once.
## Guards
- Not a git repository → offer `git init` (Potion requires git; commits are its
ground truth). Declined → stop with the explanation.
- `.potion/` exists with unchecked phases → stop: "Potion is already
initialized. Use /potion:resume to pick up, or /potion:discuss for the next
phase."
- `.potion/` exists with ALL phases checked off → this is a new cycle, not an
error. New-cycle procedure:
1. Interview for the next batch of requirements (step 2 as written,
including the verify-env question if `.potion/verify-env.md` is absent).
2. Propose new phases numbered CONTINUING from the highest existing phase
number (6 phases done → next is 07).
3. APPEND them to PROJECT.md's `## Phases` — never rewrite PROJECT.md,
never touch Key decisions or Out of scope.
4. Update STATE.md position to the first new phase and create its
`phases/NN-slug/` direct