AugmentClaude

Business Analyst Agent

Elicit requirements, identify hidden needs, and produce structured documentation before building.

Installation

  1. Make sure Claude is on your device and in your terminal.

    Skills load from ~/.claude/skills/ when Claude Code starts up β€” so you need it on your machine first. If you don't have it yet, install it once with the command below, then run claude in any terminal to verify.

    One-time setup
    npm i -g @anthropic-ai/claude-code

    Already have it? Skip ahead.

  2. Paste into Claude Code or into your terminal.

    This copies the whole skill folder into ~/.claude/skills/ba-rune-kit/ β€” the SKILL.md plus any scripts, reference docs, or templates the skill ships with. Works for every skill.

    What this command does
    1. Makes a new, empty temporary folder.
    2. Downloads the skill's folder, skills/ba, from github.com/Rune-kit/rune (branch master), the GitHub repository it's listed from. You get the version that is there now, not a copy we keep.
    3. Copies that folder to ~/.claude/skills/ba-rune-kit/.
    4. Deletes the temporary folder.

    Installing runs none of the skill's files; it only downloads and copies them. When you later use the skill, Claude follows its SKILL.md and may run scripts that come with it. Read them first.

    How we check skills, and what we don't Β· Report this skill

    Faster alternative (instruction-only skills)

    Skips the clone and grabs only the SKILL.md file. Don't use this if the skill ships Python scripts, reference markdowns, or asset templates β€” they won't be downloaded and the skill will fail when it tries to load them.

    Quick install (SKILL.md only)
    Sign up to copy
  3. Restart Claude Code.

    Quit and reopen Claude Code (or any other agent that loads from ~/.claude/skills/). New skills are picked up on startup.

  4. Just ask Claude.

    Skills auto-activate when your request matches the skill's description β€” no slash command needed. Trigger phrases live in the skill's own frontmatter; you can read them in the β€œWhat this skill does” section above.

Prefer to read the source first? Open on GitHub.

When Claude uses it

Business Analyst agent. Use when starting a new feature requiring requirements elicitation BEFORE plan or cook. Asks probing questions, identifies hidden requirements, maps stakeholders, defines scope boundaries, and produces a structured Requirements Document that plan and cook consume.

What this skill does

ba

Purpose

Business Analyst agent β€” the ROOT FIX for "Claude works a lot but produces nothing." BA forces deep understanding of WHAT to build before any code is written. It asks probing questions, identifies hidden requirements, maps stakeholders, defines scope boundaries, and produces a structured Requirements Document.

Wrong requirements shipped correctly is the most expensive bug. BA's job is to prevent it β€” measure clarity (Step 2.5), measure completeness (Step 3.5), and measure cross-dimension consistency (Step 3.6) before handoff.

Goal-first (advisory, 2026). The Requirements Document is the goal spec current models want up front. Where the platform has a native goal/outcome command β€” Claude Code /goal, Managed Agents Outcomes (rubric) β€” seed it from this document's scope boundaries + acceptance criteria so the whole run stays anchored to the agreed WHAT.

<HARD-GATE> BA produces WHAT, not HOW. Never write code. Never plan implementation. Output is a Requirements Document β†’ hand off to rune:plan for implementation planning. </HARD-GATE>

Triggers

  • Called by cook Phase 1 when task is product-oriented (not a simple bug fix)
  • Called by scaffold Phase 1 before any project generation
  • /rune ba <requirement> β€” manual invocation
  • Auto-trigger: when user description is > 50 words OR contains business terms (users, revenue, workflow, integration)

Calls (outbound)

  • scout (L2): scan existing codebase for context
  • research (L3): look up similar products, APIs, integrations
  • plan (L2): hand off Requirements Document for implementation planning
  • brainstorm (L2): when multiple approaches exist for a requirement
  • design (L2): when requirements include UI/UX components β€” hand off visual requirements

Called By (inbound)

  • cook (L1): before Phase 2 PLAN, when task is non-trivial
  • scaffold (L1): Phase 1, before any project generation
  • plan (L2): when plan receives vague requirements
  • brainstorm (L2): standalone ideation that picked an approach for a new feature with no spec β€” hands the chosen approach to ba for requirements before plan
  • mcp-builder (L2): requirements elicitation before MCP server design
  • User: /rune ba direct invocation

Cross-Hub Connections

  • ba β†’ plan β€” ba produces requirements, plan produces implementation steps
  • ba β†’ brainstorm β€” ba calls brainstorm when multiple requirement approaches exist
  • ba ↔ cook β€” cook calls ba for non-trivial tasks, ba feeds requirements into cook's pipeline
  • ba β†’ scaffold β€” scaffold requires ba output before project generation

Executable Steps

Step 1 β€” Intake & Classify

Read the user's request. Classify the requirement type:

TypeSignalDepth
Feature Request"add X", "build Y", "I want Z"Full BA cycle (Steps 1-7)
Bug Fix"broken", "error", "doesn't work"Skip BA β†’ direct to debug
Refactor"clean up", "refactor", "restructure"Light BA (Step 1 + Step 4 only)
Integration"connect X to Y", "integrate with Z"Full BA + API research
Greenfield"new project", "build from scratch"Full BA + market context

If Bug Fix β†’ skip BA, route to cook/debug directly. If Refactor β†’ light version (Step 1 + Step 4 only). Skip Steps 2, 2.5, 3, 5, 6.

If existing codebase β†’ invoke rune:scout for context before proceeding.

Step 1.4 β€” Synthesis Trigger Check

Full detail moved to references/synthesis-trigger.md (progressive disclosure). Read that file before executing this section.

Step 1.5 β€” Out-of-Scope Match Check (READ)

Before any elicitation, check whether the request matches a concept previously rejected.

  1. Glob .out-of-scope/*.md β€” if directory absent, skip silently.
  2. For each file, parse YAML frontmatter (concept, aliases).
  3. Build a token map (lowercased, split on - and whitespace).
  4. Tokenize the user's request the same way.
  5. Compute lexical overlap per concept; keep the top match's confidence (0.0–1.0).

Action by confidence:

ConfidenceVerdictAction
β‰₯ 0.8exact-matchSurface to user: "This matches a prior rejection (.out-of-scope/<slug>.md) β€” closed because [body's "Why out of scope" first sentence]. Do you still feel the same way?" Pause for user response before continuing.
0.5 – 0.79similarMention inline: "This is similar to a prior rejection (<slug>). Would you like to review it before we proceed?" Continue regardless of answer.
< 0.5no-matchContinue silently, no user-facing mention.

Emit outofscope.match signal with {concept, confidence, verdict} so downstream skills (cook, plan) inherit the context.

If verdict is exact-match AND user says "yes I still want it" β†’ record their override reason in the Requirements Document ## Risks section AND mark priority_to_revisit: high in the existing .out-of-scope/<slug>.md (do NOT delete the file). The override forces the candidate up the revisit ladder; it doesn't erase the prior decision.

If verdict is exact-match AND user accepts the prior rejection β†’ end the BA session with a one-line summary referencing the file. No further questions.

Format reference: references/out-of-scope-format.md.

Step 1.6 β€” Mid-Elicitation Reject WRITE Path

Full detail moved to references/reject-write-path.md (progressive disclosure). Read that file before executing this section.

<HARD-GATE> Mid-elicitation rejection MUST produce a `.out-of-scope/<slug>.md` file before session end. A rejection without a written record is a rejection that didn't happen. </HARD-GATE>

Step 2.0 β€” Explore-First Pre-Check (HARD-GATE)

Before emitting ANY of the 5 elicitation questions, run the 4-item pre-check on each intended question:

  1. Is the answer in package.json / pyproject.toml / Cargo.toml / go.mod / pom.xml?
  2. Is the answer in README.md / CLAUDE.md / docs/?
  3. Is it inferable from file extensions, directory structure, or config files?
  4. Has the user answered it earlier in this conversation?
<HARD-GATE> For every question Q the agent intends to ask, there MUST be prior tool-call evidence in the same session: - At least 1 Read / Glob / Grep related to Q's domain, OR - Explicit declaration: "Q cannot be answered from project artifacts because [specific reason]." Without one of these, Q is BLOCKED β€” re-route to inference. </HARD-GATE>

The gate is "tried to infer" β€” not "must succeed in inferring." If the file genuinely doesn't have the answer, the attempt itself is the gate.

Cache inferred answers in the requirements doc:

**Inferred from package.json**: TypeScript 5.4, Next.js 14.2, React 18.3
**Inferred from .github/workflows/**: CI runs on PRs targeting main

Worked examples + edge cases: references/explore-first.md.

Step 2 β€” Requirement Elicitation (the "5 Questions")

Ask exactly 5 probing questions, ONE AT A TIME (not all at once):

  1. WHO β€” "Who is the end user? What's their technical level? What are they doing right before and after using this feature?"
  2. WHAT β€” "What specific outcome do they need? What does 'done' look like from the user's perspective?"
  3. WHY β€” "Why do they need this? What problem does this solve? What happens if we don't build it?"
  4. BOUNDARIES β€” "What should this NOT do? What's explicitly out of scope?"
  5. CONSTRAINTS β€” "Any technical constraints? (existing APIs, performance requirements, security needs, deadlines)"
<HARD-GATE> Do NOT skip questions. Do NOT answer your own questions. If user says "just build it" β†’ respond with: "I'll build it better with 2 minutes of context. Question 1: [WHO]" Each question must be asked separately, wait for answer before next. Exception: if user provides a detailed spec/PRD β†’ extract answers from it, confirm with user. </HARD-GATE>

Question Discipline (MANDATORY)

Every question the user answers burns attention you don't get back. Protect it.

  1. Max 5 questions total across the whole BA session. If you find yourself wanting a 6th, the answer is in the first 5 or you're stalling β€” re-read, don't re-ask.
  2. Prefer yes/no or multiple-choice over open-ended. An open-ended question is a last resort when no reasonable option set exists.
    • BAD: "What auth strategy do you want?"
    • GOOD: "Auth: (a) email+password with JWT, (b) OAuth (Google/GitHub), (c) magic link, (d) I'll decide β€” pick one."
  3. Never ask what you can infer. If the answer is in the repo, the user's message, or the classification from Step 1 β€” don't ask it.
    • Wrong stack? β†’ read package.json, don't ask.
    • Wrong audience? β†’ check the README, don't ask.
    • Wrong framework? β†’ check config files, don't ask.
  4. Cache the answer. Write each Q→A pair into the Requirements Document verbatim. If the user restarts the BA session on the same feature, reuse the cached answers — never re-ask what was already answered.
  5. Bundle yes/no questions after Q1 if the user is concise. A user who replies "y" / "n" / "skip" in 1-2 words tolerates a bundle. A user who replies with paragraphs wants the slow pace β€” keep one-at-a-time.

Every Q should earn its slot: removing it must leave the Requirements Document materially worse. If it wouldn't, cut the question.

Structured Elicitation Frameworks

Full detail moved to references/elicitation-frameworks.md (progressive disclosure). Read that file before executing this section.

Step 2.5 β€” Ambiguity Scoring (Execution Gate)

After each question round, compute an Ambiguity Score to determine if requirements are clear enough to proceed. This prevents premature handoff to plan with vague inputs.

Scoring Formula

Full detail moved to references/ambiguity-scoring.md (progressive disclosure). Read that file before executing this section.

Dimension Scoring (0.0 – 1.0)

Full detail moved to references/ambiguity-scoring.md (progressive disclosure). Read that file before executing this section.

Threshold Gate

AmbiguityLevelAction
< 15%Crystal ClearProceed to Step 3 immediately
15-25%AcceptableProceed with noted assumptions β€” flag gaps in Requirements Doc
25-40%UnclearAsk 1-2 targeted follow-up questions on weakest dimension
> 40%BlockedDo NOT proceed. Re-ask the weakest dimension question with examples
<HARD-GATE> NEVER hand off to plan with Ambiguity > 40%. If user insists "just build it" at > 40%, respond: "Ambiguity is [X]% β€” the weakest area is [dimension]. One more answer cuts this in half: [targeted question]" </HARD-GATE>

Scoring After Each Question

Full detail moved to references/ambiguity-scoring.md (progressive disclosure). Read that file before executing this section.

Display Format

Full detail moved to references/ambiguity-scoring.md (progressive disclosure). Read that file before executing this section.

Step 2.6 β€” CONTEXT.md Cross-Reference Gate

After elicitation, before hidden-requirement discovery, scan the user's answers for assertions about current behavior β€” phrasings like "the system X", "the code does X", "we already X", "right now it X".

For each such assertion:

  1. Grep the codebase for evidence (function names, route handlers, schema definitions matching the asserted behavior).
  2. Compare grep results to the user's claim.
OutcomeAction
Grep confirms claimProceed; record term in CONTEXT.md if domain-relevant
Grep contradicts claim<HARD-GATE>Surface the conflict immediately. "You said the system does X, but the code path I see does Y. Which is canonical?" Pause until resolved.</HARD-GATE>
Grep returns nothingNote as unverified; ask user for the file/function name; do not record in CONTEXT.md until verified

This gate prevents the agent from silently transcribing user-asserted behavior that contradicts code β€” a common source of "the docs say X but the code does Y" drift.

Step 3 β€” Hidden Requirement Discovery

After the 5 questions, analyze for requirements the user DIDN'T mention:

Technical hidden requirements:

  • Authentication/authorization needed?
  • Rate limiting needed?
  • Data persistence needed? (what DB, what schema)
  • Error handling strategy?
  • Offline/fallback behavior?
  • Mobile responsiveness?
  • Accessibility requirements?
  • Internationalization?

Business hidden requirements:

  • What happens on failure? (graceful degradation)
  • What data needs to be tracked? (analytics events)
  • Who else is affected? (other teams, other systems)
  • What are the edge cases? (empty state, max limits, concurrent access)
  • Regulatory/compliance needs? (GDPR, PCI, HIPAA)

Present discovered hidden requirements to user: "I found N additional requirements you may not have considered: [list]. Which are relevant?"

Step 3.5 β€” Completeness Scoring (Options & Alternatives)

Full detail moved to references/completeness-scoring.md (progressive disclosure). Read that file before executing this section.

Step 3.6 β€” Logic Consistency Check

After ambiguity + completeness pass, scan for cross-dimension contradictions. Ambiguity measures CLARITY of each dimension in isolation; this step measures CONSISTENCY across dimensions. A perfectly clear requirement can still contradict itself.

Checks

Run each, label verdict 🟒 pass / 🟑 warn / πŸ”΄ fail:

#CheckπŸ”΄ Fail🟒 Pass
1Every Acceptance Criterion traces to a User StoryAC orphaned1:N mapping clear
1bEvery EARS FR-n (Step 4.5) traces up to a User Story AND down to an ACFR has no AC (untested promise) or no story (orphan behavior)FR β†’ story + AC both present
2Every Business Rule (Q5) is enforced in an AC or Exception FlowRule has no enforcement pathRule β†’ specific AC or exception
3Scope IN ∩ Scope OUT = βˆ…Direct overlap in phrasingSets disjoint
4Every user-story flow has a terminal stateState loop without exit conditionTerminal state explicit
5Dependencies (Step 4) βŠ‚ Constraints acknowledged (Q5)Dependency never mentioned in constraintsAll deps covered
6NFRs measurable against at least one ACNFR has no test hookEvery NFR β†’ testable AC
7Hidden requirements (Step 3) resolved in/outSilent inclusionUser confirmed inclusion or exclusion
0Prior rejection check (Step 1.5) β€” exact-match resolved with explicit override or session endedSilent re-litigation of rejected conceptUser chose: override (priority bumped) OR accept prior decision (session ends)

Output Format

Full detail moved to references/completeness-scoring.md (progressive disclosure). Read that file before executing this section.

Gate Rule

ResultAction
0 πŸ”΄Proceed to Step 4 β€” 🟑 warnings become "Risks" in Requirements Doc
1-2 πŸ”΄BLOCK β€” ask targeted question or re-scope to resolve each πŸ”΄
3+ πŸ”΄Scrap Steps 2-3 and restart β€” requirements structurally incoherent
<HARD-GATE> NEVER hand off to plan with unresolved πŸ”΄. Ambiguity ≀ 40% does not imply consistency β€” they are orthogonal gates. If user pushes "just build it" with πŸ”΄ present, respond: "Contradiction in [dimension]: [specific conflict]. One clarification fixes this: [targeted question]" </HARD-GATE>

Step 4 β€” Scope Definition

Based on all gathered information, produce:

In-Scope (explicitly included):

  • [list of features/behaviors that WILL be built]

Out-of-Scope (explicitly excluded):

  • [list of things we WON'T build β€” prevents scope creep]

Assumptions (things we're assuming without proof):

  • [each assumption is a risk if wrong]

Dependencies (things that must exist before we can build):

  • [APIs, services, libraries, access, existing code]

Step 4.5 β€” Functional Requirements (EARS)

Full detail moved to references/ears-requirements.md (progressive disclosure). Read that file before executing this section.

Step 5 β€” User Stories & Acceptance Criteria

For each in-scope feature, generate:

US-1 [P1]: As a [persona], I want to [action] so that [benefit]
  Independent Test: [specific action proving this story works end-to-end on its own β€”
                     e.g., "submit the form with valid data and see the saved record listed"]
  AC-1.1: GIVEN [context] WHEN [action] THEN [result]
  AC-1.2: GIVEN [error case] WHEN [action] THEN [error handling]
  AC-1.3: GIVEN [edge case] WHEN [action] THEN [graceful behavior]

Rules:

  • Primary user story first, then edge cases
  • Every story carries a priority: P1 = MVP-critical (the P1 set alone must be a viable, demoable product), P2 = important, P3 = nice-to-have. Implementing ONLY the P1 stories must still yield a working feature
  • Every story carries an Independent Test β€” one concrete user action that proves the story end-to-end (through UI, logic, AND data if the story touches them). If no single action can prove it, the story is sliced wrong β€” split or merge until it can. This field is what downstream verification gates (plan's Coverage Gate, converge's gap scan, completion-gate's evidence trail) trace against
  • Every user story has at least 2 acceptance criteria (happy path + error)
  • Acceptance criteria are TESTABLE β€” they become test cases in Phase 3
  • Each AC proves a specific FR-n from Step 4.5 β€” cite it (AC-1.2 β†’ FR-3). Every unwanted-behavior FR (the If … lines) needs an error-path AC; that's where EARS earns its keep
  • An AC whose THEN clause stops at the UI ("THEN the button shows a spinner") for a story that persists or fetches data is INCOMPLETE β€” the THEN must name the observable outcome ("THEN the order appears in the list / the record is persisted")

Step 5.5 β€” Key Entities (mandatory if feature involves data)

Full detail moved to references/key-entities.md (progressive disclosure). Read that file before executing this section.

Step 6 β€” Non-Functional Requirements (NFRs)

Assess and document ONLY relevant NFRs:

NFRRequirementMeasurement
PerformancePage load < Xs, API response < YmsLighthouse, k6
SecurityAuth required, input validation, OWASP top 10sentinel scan
ScalabilityExpected users, data volumeLoad test target
ReliabilityUptime target, error budgetMonitoring threshold
AccessibilityWCAG 2.2 AAAxe audit

Only include NFRs relevant to this specific task. Don't generate a generic checklist.

Step 6.5 β€” Tiered Recommendations

Full detail moved to references/tiered-recommendations.md (progressive disclosure). Read that file before executing this section.

Step 7 β€” Artifact Triad

Full detail moved to references/artifact-triad.md (progressive disclosure). Read that file before executing this section. Mesh links used there: rune:plan.

Step 7.5 β€” Glossary Sharpen (CONTEXT.md update)

Full detail moved to references/artifact-triad.md (progressive disclosure). Read that file before executing this section.

Output Format

Triad of artifacts under .rune/features/<feature-name>/:

FileTemplate Reference
requirements.mdStep 7 Artifact 1
requirements.mermaidStep 7 Artifact 2 (sequence + optional state machine)
tasks.mdStep 7 Artifact 3 (Data / Logic / Interface / Test / NFR layers)

Inside requirements.md the Decision Classification table MUST appear verbatim β€” plan gates on Decision compliance, Discretion items skip approval:

CategoryMeaningExample
Decisions (locked)User confirmed β€” agent MUST follow"Use PostgreSQL, not MongoDB"
Discretion (agent decides)User trusts agent judgment"Pick the best validation library"
Deferred (out of scope)Explicitly NOT this task"Mobile app β€” future phase"

Constraints

  1. MUST ask up to 5 probing questions before producing requirements β€” never more, skip any you can infer from context
  2. MUST prefer yes/no or multiple-choice questions β€” open-ended only when no reasonable option set exists
  3. MUST NOT ask for information already present in the user's message, the repo, or classification β€” read/grep first, ask second
  4. MUST cache each Q→A pair in the Requirements Document and reuse on subsequent BA sessions for the same feature
  5. MUST identify hidden requirements β€” the obvious ones are never the full picture
  6. MUST define out-of-scope explicitly β€” prevents scope creep
  7. MUST produce testable acceptance criteria β€” they become test cases
  8. MUST NOT write code or plan implementation β€” BA produces WHAT, plan produces HOW
  9. MUST ask ONE question at a time by default; bundle yes/no batches only after user shows concise replies
  10. MUST NOT skip BA for non-trivial tasks β€” "just build it" gets redirected to Question 1
  11. MUST assign [P1|P2|P3] priority to every user story β€” the P1 set alone must be a viable, demoable product
  12. MUST give every user story an Independent Test β€” one concrete action proving it end-to-end
  13. MUST list Key Entities when any story touches data (Step 5.5) β€” a data-touching story with no entity is a spec gap
  14. MUST group tasks.md by user story (vertical slices), never by layer

Returns

ArtifactFormatLocation
Requirements documentMarkdown.rune/features/<feature-name>/requirements.md
Visual modelMermaid (sequence + optional state machine).rune/features/<feature-name>/requirements.mermaid
Implementation task backboneMarkdown checklist by user story (vertical slices — Data→Logic→Endpoint→UI→Test per US-n).rune/features/<feature-name>/tasks.md
Logic Consistency ReportMarkdown sectionEmbedded in requirements.md
Ambiguity + Completeness scoresMarkdown display blocksEmbedded in requirements.md

Sharp Edges

Known failure modes for this skill. Check these before declaring done.

Failure ModeSeverityMitigation
Skipping questions because "requirements are obvious"CRITICALHARD-GATE: 5 questions mandatory, even for "simple" tasks
Answering own questions instead of asking userHIGHQuestions require USER input β€” BA doesn't guess
Producing implementation details (HOW) instead of requirements (WHAT)HIGHBA outputs requirements doc β†’ plan outputs implementation
All-at-once question dump (asking 5 questions in one message)MEDIUMOne question at a time, wait for answer before next
Asking open-ended questions when yes/no or multiple-choice would workHIGHQuestion Discipline rule 2 β€” option sets are faster to answer and easier to cache
Asking for info already in the repo/message (stack, framework, audience)HIGHQuestion Discipline rule 3 β€” read package.json/README/config first, ask only what you genuinely can't find
Exceeding 5 questions when the user seems "engaged"MEDIUMQuestion Discipline rule 1 β€” hard cap at 5. A 6th question is a sign of stalling, not thoroughness
Re-asking on session restart when answers were cachedMEDIUMQuestion Discipline rule 4 — load .rune/features/<name>/requirements.md and reuse cached Q→A pairs
Missing hidden requirements (auth, error handling, edge cases)HIGHStep 3 checklist is mandatory scan
Requirements doc too verbose (>500 lines)MEDIUMMax 200 lines β€” concise, actionable, testable
Skipping BA for "simple" features that turn out complexHIGHLet cook's complexity detection trigger BA, not user judgment
Recommending shortcuts without Completeness ScoreMEDIUMStep 3.5: every option needs X/10 score + dual effort estimate (human vs AI). "90% coverage" is a red flag when 100% costs 15 min more
Handing off to plan with ambiguity > 40%CRITICALStep 2.5 HARD-GATE: compute ambiguity score after elicitation, block handoff if > 40%, ask targeted follow-up on weakest dimension
Skipping ambiguity scoring because "user seems clear"HIGHAlways compute the score β€” perceived clarity β‰  measured clarity. The formula catches gaps humans miss
Tiered recommendations too vague ("improve things")MEDIUMEach tier needs specific Action + measurable Expected Impact. "Build better UX" β†’ "Reduce checkout steps from 5 to 3, targeting 15% conversion lift"
All three tiers have same resources/effortMEDIUMQuick Win should be low-effort. If all tiers need "2 engineers, 3 months" β†’ re-scope Quick Win to something achievable in 1 sprint
Skipping Logic Consistency check because ambiguity is lowCRITICALStep 3.6 HARD-GATE: clarity β‰  consistency. A 90% clarity spec can still contain pairwise contradictions (scope IN/OUT overlap, rules with no enforcement, orphan ACs)
Handing off to plan with unresolved πŸ”΄ consistency failsCRITICALStep 3.6 gate: 1+ πŸ”΄ = BLOCK. 🟑 allowed only when logged as Risk in requirements.md
Vague functional requirements ("system shall be fast/user-friendly") instead of EARSMEDIUMStep 4.5: every FR uses an EARS template with a named subject + testable response; vague targets move to NFRs (Step 6)
Compound EARS requirement ("shall do A and B and C") hiding untested behaviorMEDIUMStep 4.5: one shall per FR-n β€” split compounds so each behavior gets its own AC
EARS FR-n with no acceptance criterion (untested promise)MEDIUMStep 3.6 check 1b: every FR traces down to an AC and up to a User Story
Manufacturing EARS requirements for a bug fix or refactorLOWStep 4.5: skip EARS when there's no new behavior to specify β€” format recommendation, not ceremony
Producing only requirements.md, skipping mermaid and tasks.mdHIGHStep 7 is a triad β€” plan's contract expects all 3. Sequence diagram is always produced; state machine only if stateful; tasks.md always produced
Mermaid diagram unrelated to actual user stories (decorative only)MEDIUMSequence must trace AC-1.1 of US-1; state machine nodes must map to state-bearing ACs. Auditable by pattern-match
tasks.md grouped by layer instead of by storyHIGHStory-grouped derivation: 1 US → 1 section with ALL its layers (Data→Logic→Interface→Test). Layer-grouped backbones invite "finish the UI layer and stop" — the dead-button root cause
Story with UI tasks but no Logic/Data/Test tasks (broken slice)HIGHStep 7 Artifact 3 rule: a ## US-n section containing only UI/Endpoint tasks is invalid β€” the UI element and the endpoint it calls belong to the SAME story
Story without an Independent Test (unprovable slice)HIGHStep 5 rule: every story names one concrete action proving it end-to-end. Can't name one β†’ story is sliced wrong
AC whose THEN stops at the UI for a data-touching storyHIGHStep 5 rule: THEN must name the observable outcome (record persisted / data returned), not just the widget state
Data-touching story with no Key Entity listedMEDIUMStep 5.5: plan bounces specs where a story touches data absent from Key Entities
Re-litigating a previously rejected concept without surfacing itHIGHStep 1.5 HARD-GATE: scan .out-of-scope/ first; exact match (β‰₯0.8) MUST be surfaced before elicitation begins
Skipping Step 1.5 because .out-of-scope/ directory looks emptyMEDIUMEmpty directory is silent-skip OK; directory absent entirely is silent-skip OK; never skip due to "I don't think this matches anything" β€” let the matcher decide
User asserts behavior; agent records user's version without grep verificationHIGHStep 2.6 HARD-GATE: every "the system does X" assertion gets grep'd; conflicts surface to user before recording
Silently re-defining an existing CONTEXT.md termHIGHStep 7.5 conflict gate: β‰₯0.7 overlap β†’ user chooses merge/rename/keep-distinct
Auto-creating an empty CONTEXT.md when no terms emergedLOWLazy creation rule: only write when there's a non-trivial term to record
Mid-elicitation rejection ("scrap it") that ends the session without writing .out-of-scope/CRITICALStep 1.6 HARD-GATE: explicit rejection MUST produce .out-of-scope/<slug>.md before session end β€” oral rejections vanish, force re-litigation next session
Writing .out-of-scope/ for a deferral instead of routing to backlogMEDIUMStep 1.6 procedure step 1: confirm "out of scope" vs "deferred" β€” temporary reasons go to backlog, not the rejection KB
Running 5-question elicitation when conversation already contains rich contextHIGHStep 1.4: synthesis-trigger check fires before Step 2 β€” pasted spec / >1000 words / continuation / explicit "synthesize" β†’ switch to Synthesis Mode (extract + cite + confirm), don't re-interview
Synthesizing requirements without source citationsHIGHSynthesis Mode requires citing source for every dimension (user message N, pasted doc, continuation file). User cannot verify interpretation without citations
Auto-handoff to plan after synthesis without explicit user "go"/"locked" confirmationHIGHSynthesis is interpretation, not transcription. Without explicit confirmation, drift becomes a downstream bug
Asking inferable questions ("what stack are you using?") without first checking package.jsonHIGHStep 2.0 HARD-GATE β€” every question requires prior tool-call evidence (Read/Glob/Grep) or explicit unavailability declaration
Re-asking a question already answered earlier in the conversationMEDIUMStep 2.0 check 4 β€” cache and reuse, never re-ask

Done When

  • Requirement type classified (feature/refactor/integration/greenfield)
  • 5 probing questions asked and answered (or extracted from spec/PRD)
  • Ambiguity Score computed and displayed β€” must be ≀ 40% before proceeding (≀ 25% preferred)
  • Hidden requirements discovered and confirmed with user
  • Scope defined (in/out/assumptions/dependencies)
  • Functional requirements written in EARS format (FR-n) β€” skip for Bug Fix/Refactor
  • User stories with testable acceptance criteria produced, each AC citing the FR-n it proves
  • Every story has a [P1|P2|P3] priority and an Independent Test; P1 set alone = viable MVP
  • Key Entities listed (if feature involves data) β€” seeds plan's data-model.md
  • tasks.md grouped by user story (vertical slices), Foundational section minimal
  • Non-functional requirements assessed (relevant ones only)
  • Logic Consistency Report produced β€” 0 πŸ”΄ before handoff (🟑 logged as Risks)
  • Tiered recommendations generated (Quick Win / Differentiation / Moat) β€” skip for Bug Fix/Refactor
  • Artifact triad saved: requirements.md + requirements.mermaid + tasks.md
  • Out-of-scope match check completed (verdict logged: no-match | similar | exact-match-overridden | exact-match-accepted)
  • Handed off to plan for implementation planning

Cost Profile

~3000-6000 tokens input, ~1500-3000 tokens output. Opus for deep requirement analysis β€” understanding WHAT to build is the most expensive mistake to get wrong.

Related skills