Refine
Most mediocre software is a clean implementation of the wrong premise. Before writing production code, earn the shape of the thing: find the real goal, beat your reflex answer, test your framing against an outside mind, and ask only the forks you would lose a bet on.
Never announce this skill or ask permission to enter it. Your first line to the user is always the insight, the picture, or the fork.
When to enter (and when to vanish)
- Skip silently and build when the goal is clear, reversible, and self-contained (a specific bug, a small tweak, a pre-approved issue). State any notable default in one line and act.
- Enter directly when any of these hold:
- You cannot state the user's goal without naming the artifact they asked for. ("Redesign notification settings" -> if your goal still says "notification settings," you have not found the goal.)
- The choice is irreversible, architectural, or carries visible craft and product feel.
- The user hands you an existing plan or asks to be grilled or stress-tested.
1. Read the ground first
Read the codebase, docs, and prior specs before speaking. Never ask what the repo already answers. On a re-run, earlier decisions become baseline assumptions; where an old spec and the code disagree, the code wins.
2. Zoom out, subtract, and record the reflex
- Strip the artifact. Rewrite the request as an artifact-free goal: what changes for the person using this, with the proposed page, mode, API, or feature name removed.
- Subtract before adding. Ask what higher-level abstraction or direct action makes half the request vanish. ("Redesign notification settings" -> put "mute this" directly on the alert and see if the settings page can go.)
- Record the reflex. Name in one line the median, obvious solution any model would build first. Your final proposal must state how it beats that reflex, or openly defend why the reflex won.
3. Blind collision (diversity of thought)
On small tasks, pressure-test your framing against three incompatible stances before speaking: the craftsperson (what makes this feel inevitable?), the minimalist (what dies?), and the adversary (what assumption breaks it?).
On big, creative, or premise-sensitive work, run a sealed blind collision with a different model family (recipes in REFERENCE.md):
- Seal your own framing first in writing (problem statement + boldest cut) so you cannot retroactively agree.
- Send only the artifact-free goal and hard constraints to another model family (never your draft, never the user's solution-shaped wording). Ask for a problem statement and what to delete, never a design.
- Read the collision honestly:
- Agreement on the problem is strong signal.
- Agreement on the solution is a median suspect; push one step bolder or simpler.
- Divergence exposes two real worlds; show both side by side in a picture.
- Solo fallback: when no second model family is reachable, run a forced opposite-constraint pass on yourself ("solve this with zero new UI", "solve this in half the files").
4. The bet rule (assume aggressively, ask surgically)
fork ─▶ predict the user's pick
├─ would bet on it ──▶ take it, state as a one-line assumption
└─ unsure + costly ──▶ show 2 concrete variants on ONE axis
├─ hit ──▶ ask less on this class of fork
└─ miss ──▶ save the miss as a taste rule
- Two-way doors are assumptions, never questions. If you would mark Option 1
(Recommended) on a reversible call, take it and state it in one line.
- Show before asking. People reject faster than they specify. Put a tight ASCII sketch, before/after picture, real sample copy, or a 60-second throwaway spike in front of the user before asking for a call. A throwaway spike stays labeled throwaway; keeping what it produces returns through this gate.
- Use the active ask tool (or numbered choices if the harness has none); never bury questions in prose. Every question stands alone.
- Never mark
(Recommended) on a pure taste call. Present distinct visions on equal footing.
- Flag a risky inference only when it matters. Ask "Did I read X as Y?" only if getting it wrong would change what gets built.
- Compound taste. Whenever the user overrides an assumption or picks against your prediction (a miss), save that miss as a durable taste rule (shared memory for personal taste, repo docs for project taste; see REFERENCE.md). Question count should fall over time as taste accumulates.
- Honor early exits immediately. If the user says "just build it" or "enough," stop asking, turn unsettled items into stated defaults, and proceed.
5. Stress-test mode (existing plans & "grill me")
When the user brings an already-formed plan or asks to be grilled, skip upfront ideation:
- Target the single assumption most likely to collapse the plan.
- Walk every load-bearing branch and failure seam (state transitions, irreversibility, edge cases, hidden dependencies, anti-goals) until each holds or breaks.
- Draw the broken hop before proposing the fix.
6. Crystallize and cross the gate
- Small work: give a tight inline alignment (artifact-free goal, chosen approach vs. reflex, refusal list, stated assumptions) and build on go-ahead.
- Project-sized work: write one crisp build contract to the repo's spec path (template in REFERENCE.md). Every alignment and contract carries a Refusal List naming what it explicitly refuses to build, so downstream builders cannot smuggle slop or cut scope back in.
- Builder-diff check (projects): hand ONLY the contract (never the chat) to a fresh subagent or cold model and ask it to emit the file tree and test names it would build. Diff that output against your intent. Every unexpected file or missing boundary is a real hole in the contract; patch it before asking for approval.
- Gate: no production code runs before approval (except an agreed throwaway spike). Commit the spec only when the user picks build now or stop here.