agentleFS
brittbritt/agent-skills/skills/requirement-elicitation/SKILL.md

requirement-elicitation

Skill11 starsChanged 7 days agoMITView on GitHub

Use when gathering project requirements, or when a user says 'help me define requirements' or 'figure out what to build' - adaptive wizard covering functional, nonfunctional, constraints, and edge cases with domain-specific questions for web apps, APIs, CLIs, mobile, and data pipelines

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 11 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈11

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Domain Selection: Ask what type of project they're building

    line 13
  2. Distinctive:

    When the user wants to define requirements:

    line 23
  3. Distinctive:

    Ask the user what type of project they're building

    line 24
  4. Distinctive:

    Ask the first question

    line 26
  5. Distinctive:

    Ask clearly and conversationally (not robotically)

    line 41
  6. Distinctive:

    After the user answers, mentally note the response and continue

    line 44
  7. Distinctive:

    When a section is complete:

    line 48
  8. Distinctive:

    Ask if they want to add anything else to this section

    line 50
  9. Distinctive:

    DO:: Ask one question at a time.

    line 65
  10. Distinctive:

    When asking the user what type of project they're building, present these options:

    line 71
  11. Distinctive:

    When generating the final document, use this structure:

    line 123

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Requirement Elicitation Wizard

You are guiding the user through a comprehensive requirement elicitation process. Your goal is to capture all functional, nonfunctional, and edge-case requirements before they start building.

How This Works

  1. Start: User says something like "Let's define requirements" or "Help me figure out what to build"
  2. Domain Selection: Ask what type of project they're building
  3. Guided Questions: Walk through each section, asking questions one at a time
  4. Adaptive Flow: Branch based on answers (e.g., if they mention integrations, ask which ones)
  5. Refinement: Allow revisiting any section
  6. Output: Generate a comprehensive requirements document saved as requirements-<project>.md in the working directory

Conversation Flow

Starting the Session

When the user wants to define requirements:

  1. Ask the user what type of project they're building
  2. Explain what you'll cover: Overview, Functional, Nonfunctional, Constraints, Edge Cases
  3. Ask the first question

Sections to Cover

Walk through these five sections in order:

  1. Project Overview - Name, purpose, target users, success criteria
  2. Functional Requirements - Features, endpoints, integrations, user workflows
  3. Nonfunctional Requirements - Performance, security, reliability, scalability
  4. Constraints - Timeline, budget, technical requirements, team size
  5. Edge Cases & Risks - Error handling, failure modes, boundary conditions

Asking Questions

For each question:

  1. Ask clearly and conversationally (not robotically)
  2. Include context explaining why you're asking
  3. Indicate if it's required or optional
  4. After the user answers, mentally note the response and continue

Section Transitions

When a section is complete:

  1. Summarize what was captured: "Great, for the overview I captured: [summary]"
  2. Ask if they want to add anything else to this section
  3. Append the completed section to requirements-<project>.md in the working directory
  4. Introduce the next section briefly

User Commands

Handle these natural language requests:

  • "Skip this section" - Move to next section, note it was skipped
  • "Let's revisit [section]" - Re-read requirements-<project>.md to find the saved section, then update it
  • "What have we captured?" - Summarize all captured requirements from requirements-<project>.md
  • "Generate the document" - Compile all captured sections into the final requirements document
  • "Save this" - Write current state to requirements-<project>.md

Question Style

DO: Ask one question at a time; be conversational ("Tell me about..."); provide context ("This helps us understand scale requirements"); accept natural language answers.

DON'T: Dump all questions at once; be robotic or form-like; require yes/no when open answers are better; skip ahead without confirmation.

Domain Options

When asking the user what type of project they're building, present these options:

DomainDescription
web-appFrontend web applications
apiREST or GraphQL backend services
full-stackCombined frontend and backend applications
cliCommand-line tools and terminal applications
mobileiOS, Android, or cross-platform mobile apps
data-pipelineETL processes, data transformations, analytics pipelines
libraryReusable packages, SDKs, or libraries
infrastructureDevOps, cloud infrastructure, platform tools
ai-mlAI/ML applications, model training, inference services
generalProjects that don't fit the above categories

Domain-Specific Questions

Web App / Full-Stack

  • What framework/tech stack?
  • What pages/views are needed?
  • Authentication requirements?
  • Third-party integrations?

API

  • REST or GraphQL?
  • What endpoints are needed?
  • Authentication method (JWT, OAuth, API key)?
  • Rate limiting requirements?
  • Versioning strategy?

CLI

  • What commands are needed?
  • Interactive or batch mode?
  • Configuration file format?
  • Output formats (JSON, table, plain text)?

Mobile

  • iOS, Android, or cross-platform?
  • Offline support needed?
  • Push notifications?
  • Device features (camera, GPS, etc.)?

Data Pipeline

  • Data sources and destinations?
  • Batch or streaming?
  • Volume and frequency?
  • Error handling and retry strategy?

For library, infrastructure, ai-ml, full-stack (beyond the web-app questions above), and general projects, there is no dedicated question set — walk through the generic five sections, adapting questions to the domain.

Requirements Document Format

When generating the final document, use this structure:

# Requirements: [Project Name]

## 1. Project Overview
- **Name**: [name]
- **Purpose**: [description]
- **Target Users**: [who]
- **Success Criteria**: [how to measure success]

## 2. Functional Requirements
### [Feature Group 1]
- FR-1: [requirement]
- FR-2: [requirement]

## 3. Nonfunctional Requirements
- NFR-1: [performance/security/reliability requirement]

## 4. Constraints
- CON-1: [constraint]

## 5. Edge Cases & Risks
- RISK-1: [risk and mitigation]

## 6. Open Questions
- [any unresolved items]

Persistence

Append each completed section to requirements-<project>.md in the working directory so nothing is lost if the session ends. To revisit or summarize earlier work, re-read that file. When finished, compile all sections into the final document in the same file and confirm with the user:

"I've compiled your requirements document into requirements-<project>.md. Want to review or adjust anything?"

After Completing Requirements

Suggest natural next steps:

  • issue-decomposition skill (if available) to break requirements into actionable work items
  • architecture-diagramming skill (if available) to visualize the system

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.