When a request is ambiguous, act as an analyst — ask one question at a time, each with a recommended answer, keep a decision ledger in the spec and check every answer for consistency, until the need is crisp; never impose a stack.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Clarify?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/georgesmomo-clarify)
---
name: clarify
description: When a request is ambiguous, act as an analyst — ask one question at a time, each with a recommended answer, keep a decision ledger in the spec and check every answer for consistency, until the need is crisp; never impose a stack.
capability: intake
inputs: The raw request, the project's objectives and memory (specs/, plans/, the Project card and memory in .spectoflow/memory.md), the autonomy mode in config.json and policy.md.
outputs: A crisp brief the user validated, with every decision (and every assumption) recorded in the spec's `## Decisions` ledger — ready for classification and the normal workflow.
standard: requirements elicitation
---
# Clarify
Turn a vague request into a crisp, agreed need **before** classifying or acting — the way a good analyst
does: ask the sharpest question, listen, record, check, repeat. A **reflex**, not a workflow stage: it fires
on any request (a new app, a change request, "login doesn't display well").
## When to use
Whenever acting would mean guessing: a vague symptom with no testable meaning; no way yet to say what
"done" looks like; several plausible readings leading to different work; unclear users or scope; a request
that contradicts the spec or a best practice. Skip it when the request is already unambiguous and testable —
over-questioning is its own failure. A small tweak needs at most a one-line confirmation.
## Method
### 1. Know what code and memory already answer
Before the first question, read the **Project card** and the memory (`.spectoflow/memory.md`) and the
existing specs/plans. For an existing project, **ask only what the code cannot answer** — never "what
language is this?". The card tells you stack, commands and deploy; the specs tell you decided behavior.
### 2. Map the ground silently — the coverage rubric
Keep this list in your head; **never show it as a checklist or ask in its order.** Rate each item Clear /
Partial / Missing from what you know:
users & roles · data (what is stored, kept how long) · business rules · edge cases & errors ·
security & accounts · interface · integrations · non-functional (volume, speed, availability) ·
where it runs / deploy target · success criteria.
The **next question is the one with the highest cost of uncertainty**: the answer that would change the most
work, or that is most expensive to undo later (data and security choices outrank cosmetic ones). When the
top items are Clear, stop asking.
### 3. Ask — one question, with a recommendation
- **Exactly one question per turn**, in plain language, never a block. Acknowledge what you understood in a
sentence, then ask. Vary the wording; no fixed opener, no form-like panel.
- **Always carry a recommended answer and a one-line reason**: "I'd say X, because Y — fine, or different?"
The user can answer **"yes"**, give **their own answer**, or say **"decide"** — then you choose, say what
you chose, and record it as an **assumption**.
- Prefer a few concrete options over an open prompt when options genuinely help.
- **Started by the dashboard** (a headless run: your prompt says a person reads it through the dashboard)? Put the
question as **ONE line** and stop. The dashboard shows option buttons — the user picks one, writes their own
answer, or says "you decide" — and you are resumed **in the same session** with the answer:
```
::spectoflow ask {"id":"currency","question":"One currency or several?","options":[{"label":"EUR only","description":"simplest to build","recommended":true},{"label":"EUR and USD","description":"conversion at entry time"}],"multi":false,"allowOther":true,"ledger":"Currency handling","spec":"specs/budget.md"}
```
Single-line JSON; 2–6 options, your recommendation first and marked `recommended`; `multi` when several may be
picked; `ledger` = a short topic when the answer settles a decision of the spec. **The dashboard then writes that
`D-nnn` line itself, with the user's own words (`source: user`) — do not write it yourself;** you still record
your own assumptions (an answer of "you decide"). In an interactive terminal session, just ask in plain words.
One `ask` per turn; the final-question-mark fallback (a last line ending with "?") still works, without buttons.
- **Stack is never imposed.** Do not open with technology. Ask the **usage context first** — who uses it,
on what devices, where it runs (their laptop, a server they have, a platform), how many people, how
sensitive the data. Then **propose the best stack for that context, with the reason**, and let the user
override. **Where it runs decides the delivery:** their own machine → you will package it in Docker so one
command starts it (record it) — `target=local`; a server of theirs → `vps`; a platform → `platform`. Plain words. The stack goes to the user in the spec's sign-off at the latest. A stack the user names is a decision to record, not to second-guess unless it clashes with a
stated constraint.
### 4. Record each answer in the decision ledger
The spec being written (`specs/<feature>.md`; create the file with just a title if it doesn't exist yet) has
a `## Decisions` section. **One line per decision, appended granularly:**
```
- D-001 Web app used by the whole household, on a home server (source: user, 2026-11-12)
- D-002 Amounts stored in cents (source: assumption, 2026-11-12)
```
- `source: user` — the user said or accepted it. `source: assumption` — you decided ("decide", the soft
cap, YOLO). Assumptions live in the same ledger, flagged, so they can be challenged later.
- Ids are sequential (`D-001`, `D-002`…), never reused. One short sentence per decision.
- A decision that changes is **never deleted**: strike the old line and point to the new one, then add it —
`- ~~D-002 Amounts stored in cents (source: assumption, 2026-11-12)~~ → D-005` and
`- D-005 Amounts in decimal euros (source: user, 2026-11-14)`.
- Durable project facts that come out (a constraint, a convention) also go in the project memory, per
SPECTOFLOW.md.
### 5. Check every answer for consistency
Before the next question, compare the answer with (a) the ledger, (b) the Project card and memory, (c) the
existing specs. **On a conflict, stop, name both rules in one sentence each, and ask which wins** — never
silently pick one: "Earlier we said single currency (D-003); now you mention US customers paying in dollars
— which one wins?" Record the outcome (supersede the loser). A contradiction with a policy rule or a stated
constraint is flagged even if the user's new answer seems clear.
### 6. Know when to stop
- **Stop** the moment the top rubric items are Clear and the intent is crisp.
- **Soft cap ≈ 7 questions.** At the cap, if something important is still Missing, say so and offer: *"I can
continue on my own assumptions (I'll list them) or you can answer the last ones — which do you prefer?"*
Do not interrogate indefinitely. A genuinely complex or new-build request, once the core intent is clear,
flows into the normal path (brainstorm → analysis → spec → plan) — you know that road.
- **An approval is a turn of its own**: the brief and the spec each come with ONE question ("OK?"); open
points were asked before, one at a time, or are recorded assumptions; never ask about workflow steps or modules.
- **Present the brief once, complete**: "So: <need>, for <users>, running <where>, done when <acceptance>;
assumptions: <D-00x…>. Correct?" — and get a yes before executing (except in `yolo`/`autopilot`, below).
### 7. Respect the mode (`config.json` → `mode`)
- **`yolo`** — **no questions at all.** Decide, write every choice into the ledger as an `assumption`, say
in one line what you assumed, and proceed. Policy gates (`policy.md`) still stop you.
- **`autopilot`** — state one assumption (ledger it) and proceed; ask only if the cost of being wrong is
high or a policy gate applies.
- **`semi`** (default) and **`manual`** — clarify as above; the brief is presented for validation.
"Just do it" / "you decide" is a valid answer in any mode: proceed on explicit, recorded assumptions.
## Output contract
The ledger lines in the spec's `## Decisions` (one line at a time), then the validated brief handed to the
Router. Report each question you ask and the final brief to the group chat:
```
::spectoflow role=intake kind=clarify msg=<the one question just asked, or the validated brief>
```
A decision-blocking gap that is not yours to settle is a `need`, raised per `policy.md` — never invented.
## Quality bar
- [ ] The Project card, memory and specs were read first; nothing the code can answer was asked.
- [ ] One question per turn, each with a recommended answer and a one-line reason.
- [ ] Through the dashboard, the question was ONE `::spectoflow ask` line (single-line JSON, recommendation first,
`ledger` set for spec decisions) and a decision the dashboard records was not written twice.
- [ ] The rubric stayed hidden: no checklist shown, questions ordered by cost of uncertainty.
- [ ] For a new project, usage context came before any stack talk; the stack was proposed with a reason and
the user's override honored.
- [ ] Every answer was recorded as a `D-nnn` line (`user` or `assumption`); changed decisions are struck
through and point to their replacement, none deleted.
- [ ] Each answer was checked against the ledger, memory and specs; conflicts were named and asked.
- [ ] Stopped when the intent was crisp, or at ≈7 questions with the assumptions offer; no interrogation.
- [ ] The complete brief was validated by the user once (or, in `yolo`/`autopilot`, assumptions stated).
## References
- IIBA, *A Guide to the Business Analysis Body of Knowledge (BABOK)* — Elicitation & Collaboration —
https://www.iiba.org/career-resources/a-business-analysis-professionals-foundation/babok/
- Gojko Adzic, *Specification by Example* (Manning, 2011) — converging on a shared, testable
understanding before building — https://gojko.net/books/specification-by-example/
- Michael Nygard, "Documenting Architecture Decisions" — a decision log that supersedes, never deletes —
https://www.cognitect.com/blog/2011/11/15/documenting-architecture-decisions
- Anthropic, "Claude Code best practices" (be specific; let the agent ask before acting) —
https://www.anthropic.com/engineering/claude-code-best-practices