Requirements elicitation

From andreaswasita/copilot-agents-dojo · View interactive version

Requirements elicitation is an AI agent skill from the GitHub repository andreaswasita/copilot-agents-dojo. Turns vague intent into testable requirements.

How to use this skill

Skill file

Requirements Elicitation

Turns vague intent into precise, testable, engineer-ready requirements. This is a technique skill — not a role. Both the TPM and Architect invoke it at different stages of the requirements pipeline.

Requirements are delivery contracts, not meeting minutes.

Every requirement must be testable, traceable, and unambiguous before it reaches engineering.

When to Use

Prerequisites

How to Run

1. DISCOVER   — Ask 3–5 problem-framing questions; never accept solutions-disguised-as-requirements.
2. INTERROGATE — Drive Socratic questions across scope, edges, success, failure, dependencies, constraints.
3. STRUCTURE  — Write user stories + Given/When/Then acceptance criteria + assumptions + out-of-scope.
4. VALIDATE   — Read each AC back in plain language and capture written sign-off.
5. GATE       — Walk the Definition of Ready checklist. If anything fails, return to step 2.
6. HAND OFF   — TPM passes to Architect; Architect may return stories that are not technically achievable.

Quick Reference

| Artefact | Mandatory format |

|---|---|

| User story | As a [specific role], I want to [action], so that [measurable outcome]. |

| Acceptance criterion | Given [precondition], When [action], Then [expected result]. (≥ 3 per story) |

| Non-functional requirement | Numeric threshold + measurement method (no adjectives) |

| Assumption | Statement + owner + expiry date |

| Out of scope | Explicit boundary list (never implied) |

| Pipeline stage | Owner | Outputs |

|---|---|---|

| Business elicitation | TPM | Feature brief + story cards + sign-off log |

| System specification | Architect | Impact assessment + feasibility note + revised ACs |

Procedure

Step 1: DISCOVER — Understand the problem, not the solution

Step 2: INTERROGATE — Socratic elicitation

Use structured questions to surface hidden requirements:

Step 3: STRUCTURE — Write requirements in standard form

User Story format (mandatory):

As a [specific user role],
I want to [action],
So that [measurable outcome].

Acceptance Criteria format (mandatory, minimum 3 per story):

Given [precondition],
When [action],
Then [expected result].

Additional artefacts:

Step 4: VALIDATE — Confirm before proceeding

Step 5: GATE — Definition of Ready checklist

See Verification below. If any gate fails → return to INTERROGATE. Do not proceed.

Output Templates

Feature Brief (one-pager):

## Feature: [Name]
**Business Objective:** [Measurable outcome]
**Primary User:** [Specific role]
**Problem Statement:** [What breaks without this?]
**In Scope:** [Explicit list]
**Out of Scope:** [Explicit list]
**Success Metric:** [Threshold + measurement method]
**Target Sprint / Date:** [Committed delivery window]

Story Card:

## Story: [ID] [Title]
**As a** [role], **I want to** [action], **so that** [outcome].

**Acceptance Criteria:**
- Given [X], when [Y], then [Z].
- Given [X], when [Y], then [Z].
- Given [X], when [Y], then [Z].

**Edge Cases:** [List]
**Out of Scope:** [List]
**Dependencies:** [List]
**Definition of Done:** [List]

Two-Agent Contract

This skill is invoked at two stages of the requirements pipeline:

| Stage | Agent | Purpose |

|-------|-------|---------|

| Business elicitation | TPM | DISCOVER → INTERROGATE → STRUCTURE → VALIDATE → GATE. Produces the handoff package. |

| System specification | Architect | Receives the handoff, runs impact assessment, feasibility check, and specification. Can return stories to TPM if ACs aren't technically achievable. |

The bidirectional gate between TPM and Architect is what prevents bad requirements from silently becoming bad code.

Worked Examples

Bad story (fails gate):

As a user, I want the page to load fast so it's a good experience.

Problems: "user" is unspecific, "fast" is unmeasurable, "good experience" is subjective.

Good story (passes gate):

As a retail customer on mobile, I want the product listing page to render within 2 seconds on 3G, so that I can browse without abandoning the session.

Pitfalls

Verification

Requirements MUST pass all gates before handoff:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.