agentleFS
Ian-LouwIan-Louw/potion/skills/init/SKILL.md

init

Skill1 starsChanged 4 days agoMITView on GitHub

Use when starting Potion on a project for the first time — when the user says "potion init", "set up potion", or asks to start a new project with the Potion workflow and no .potion/ directory exists yet.

156 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use daily-arxiv, exp-eval and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • LambenthanSkill

    daily-arxiv

    每日从 arXiv 拉取新论文,过滤相关性,auto-ingest 高优先级论文,检测 SOTA 更新

    Also in 5 projects that use this

  • LambenthanSkill

    exp-eval

    实验判决门:Review LLM 独立评判实验结果 → 4 种判决路径 → 自动更新 claims confidence、ideas status、graph edges

    Also in 5 projects that use this

  • skyllwtSkill

    exp-pilot-eval

    Pilot result evaluation — read pilot results, apply success criteria, update idea page (pilot_result, failure_reason if failed), generate PILOT_VERDICT_REPORT. Called by /ideate Phase 5 after /exp-pilot-run.

    Also in 4 projects that use this

  • skyllwtSkill

    exp-pilot-run

    Pilot experiment execution — read Pilot Spec YAML, write pilot code, run experiment(Confirm with the user before operation and require the applicant to conduct manual inspection), return results. Called by /ideate Phase 5. Does NOT modify wiki pages or judge pass/fail.

    Also in 4 projects that use this

  • gaebalaiSkill

    codex-system

    PROACTIVELY consult Codex CLI, your highly capable supporter with exceptional reasoning and task completion abilities. Codex is a trusted expert you should ALWAYS consult BEFORE making decisions on: design choices, implementation approaches, debugging strategies, refactoring plans, or any non-trivial problem. When uncertain, consult Codex. Don't hesitate - Codex provides better analysis. Explicit triggers: "think deeper", "analyze", "second opinion", "consult codex".

    Also in 4 projects that use this

  • gaebalaiSkill

    design-tracker

    PROACTIVELY track and document project design decisions without being asked. Activate automatically when detecting architecture discussions, implementation decisions, pattern choices, library selections, or any technical decisions. Also use when user explicitly says "記録して", "設計どうなってる", "record this". Do NOT wait for user to ask - record important decisions immediately.

    Also in 4 projects that use this

  • +5 more from Lambenthan
  • +1 more from skyllwt

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 143 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Not a git repository → offer git init (Potion requires git.

    line 23
  2. Very specific:

    Update STATE.md position to the first new phase and create its phases/NN-slug/ directory.

    line 39
  3. Distinctive:

    Run step 6's commit.

    line 41
  4. Distinctive:

    Understand the project: If the repo has code, spend a few minutes mapping it (stack, entry points, conventions) — do not launch a research …

    line 45
  5. Distinctive:

    If the user asks whether the idea is worth building, be direct — interest is not demand.

    line 60

“Common” is measured: kept by at least 6 in 10 of the 143 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 installed repo-side pre-commit hook (.git/hooks/pre-commit shim + .potion/scripts/pre-commit.cjs, or a surfaced refusal); 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). If a .planning/ or superpowers-style grammar already exists, name the bridge explicitly — one line in PROJECT.md stating which grammar is source of truth for what; never pay a silent dual-grammar tax.
    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/ directory.
    5. Run step 6's commit.

Steps

  1. Understand the project. If the repo has code, spend a few minutes mapping it (stack, entry points, conventions) — do not launch a research pipeline; one pass is enough. If it's empty, this is greenfield. Done when: you can state stack + entry points in two lines (or "greenfield").
  2. Interview — one question at a time, per the question contract. You need:
    • What is this? (2-3 sentences)
    • The core value — the single thing that must work.
    • 3-7 active requirements as user-observable truths.
    • What is explicitly out of scope, and why.
    • How does a verifier get a live runtime session? (test account / seed command / emulator recipe — or explicitly nothing: a no-auth CLI needs only none-needed: <why>.) Done when: every bullet above has an answer you could paste into PROJECT.md — then stop asking. If the user asks whether the idea is worth building, be direct — interest is not demand; behavior counts, money counts. Unsolicited, keep it to one sentence at most.
  3. Propose phases. Break active requirements into 2-6 phases, each with a goal stated as an outcome ("users can authenticate") not an activity ("build auth"). Present the list, adjust once, lock it. Done when: the user has approved the phase list.
  4. Write the state from ${CLAUDE_PLUGIN_ROOT}/templates/:
    • .potion/PROJECT.md — filled template, phases appended as a ## Phases list with checkboxes.
    • .potion/STATE.md — position: Phase 1, no plans yet, status: planning.
    • .potion/verify-env.md — from templates/verify-env.md, filled with the interview answer (recipe or none-needed: <why>).
    • .potion/phases/01-{slug}/ — empty directory for the first phase. Done when: all four paths exist on disk.
  5. Housekeeping: append .potion/learnings.jsonl merge=union to .gitattributes (append-only files merge sanely across branches). Append .potion/verify-env.local to .gitignore (create .gitignore if absent) — one line, with the comment "secret values for the runtime session recipe". Install the repo-side hooks: run sh "${CLAUDE_PLUGIN_ROOT}/scripts/install-repo-hooks.sh" from the repo root (installs the pre-commit secret mirror + ci-verify copy into .potion/scripts/). If it refuses over an existing pre-commit hook, surface the refusal to the human and ask before re-running with --force — never force unprompted. Then offer CI adoption as ONE question: copy ${CLAUDE_PLUGIN_ROOT}/templates/ci.yml to .github/workflows/potion-verify.yml? (Mechanical verify on push/PR; no key needed.) Skip silently only if the user already declined CI. Done when: grep merge=union .gitattributes and grep verify-env.local .gitignore each print one line, and the installer reported the pre-commit shim installed (or its refusal was surfaced).
  6. Commit. Done when: git log -1 --oneline shows chore(potion): initialize project memory.

Exit

Report what was created and the phase list. Next up: /potion:discuss for the next unchecked phase.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.