Elicit requirements

From faizkhairi/claude-code-blueprint · View interactive version

Elicit requirements is an AI agent skill from the GitHub repository faizkhairi/claude-code-blueprint. Structured pre-feature requirements gathering. Run before writing any new feature or API endpoint to clarify scope, acceptance criteria, and technical constraints. Produces: a Requirements Summary (Problem | Scope | Stories | Acceptance Criteria | Out of Scope | Open Questions), presented to the use

How to use this skill

Skill file

Elicit Requirements: Structured Pre-Feature Clarification

Run this before writing any new feature to avoid scope creep, missed edge cases, and

mid-implementation discoveries that force rewrites.

Elicitation Workflow

Work through these sections with the user. Ask grouped questions; do not ask one at a time.


1. Problem Statement

Ask:


2. User Roles and Stakeholders

Ask:


3. Technical Constraints

For integration or API features, always clarify:

| Constraint | Questions |

|---|---|

| System | Which external system? |

| Direction | INBOUND (system pushes to us) or OUTBOUND (we push to system)? |

| Trigger | API call, webhook, scheduled job, file arrival? |

| Data format | JSON? XML? CSV? Other? |

| Auth | JWT? API key? mTLS? None (internal only)? |

| Error handling | Retry? Dead-letter queue? Alert? Silent fail? |

| Idempotency | Must duplicate calls be safe? |


4. Acceptance Criteria

For each piece of functionality, define:

Acceptance criteria must be verifiable without human judgement. If it says "looks good" or "works correctly" it is not an acceptance criterion.

Good: POST /api/v1/orders returns 202 with { "jobId": "<uuid>" } and creates job row with status='PENDING'

Bad: "The endpoint should handle the data correctly"


5. Out of Scope

Explicitly list what is NOT included in this feature to prevent scope creep:


6. Dependencies and Ordering


Output

After elicitation, produce a structured summary:

## Requirements Summary: [Feature Name]

### Problem
[1-2 sentences]

### Scope
- System: [external system if applicable]
- Direction: [inbound/outbound]
- Trigger: [how it starts]

### Stories (ordered by dependency)
1. [Story 1 title]: [one-line description]
2. [Story 2 title]: [one-line description]

### Acceptance Criteria (per story)
**Story 1:**
- ...

### Out of Scope
- ...

### Open Questions
- ...

Step 7: Confirmation Before Saving

After drafting the Requirements Summary, present it to the user in readable markdown and ask:

"Does this requirements summary look complete and accurate? Should I save it?"

Do NOT save until the user confirms (yes / save / proceed / looks good). If the user wants revisions, loop back to the relevant section, update the draft, and re-present.

Only after confirmation: save the requirements to a structured markdown file the user can reference during implementation.

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.