requirements-generator
Skill1 starsChanged 2 months agoMITView on GitHub
Generates structured requirements documents with functional and non-functional requirements, Gherkin acceptance criteria, edge cases, and out-of-scope items.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- jieun994/zinis_claude_skillstheir own version, first seen Oct 28, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- jieun994/zinis_claude_skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository22 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- accessibilitySkill
- adrSkill
- api-designSkill
- architecture-designSkill
- architecture-reviewSkill
- best-practicesSkill
- changelog-generatorSkill
- code-reviewSkill
- database-designSkill
- dependency-auditSkill
- doc-refreshSkill
- example-skillSkill
- full-security-reviewSkill
- git-workflowSkill
- golden-rulesSkill
- incident-reportSkill
- log-correlationSkill
- mvp-readinessSkill
- onboardingSkill
- pre-commitSkill
- test-writerSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Gather input: Ask the user what they want to build if no description has been provided.
- Very specific: line 25
If the user invoked with --interview, skip this prompt and proceed to the Interview Mode section below instead.
- Very specific: line 29
Check for existing requirements: Use Glob on docs/requirements//*.md.
- Very specific: line 92
Write the document: Ensure docs/requirements/ exists (it may need to be created).
- Very specific: line 100
When invoked with --interview, conduct a structured interview by asking each question below one at a time.
≈ “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.
Files
Requirements Generator
Take a project idea, feature description, or user story and generate a structured requirements document with functional requirements, non-functional requirements, Gherkin acceptance criteria, edge cases, and out-of-scope items.
Instructions
Two modes:
- Description mode (default): user provides a free-form description or pastes a Jira/Confluence URL. Claude generates requirements from that.
- Interview mode (
/requirements-generator --interview): Claude asks a structured set of questions one at a time, then generates requirements from the answers.
Gather input. Ask the user what they want to build if no description has been provided. Accept any of:
- A pasted feature description or user story
- A Jira ticket URL or Confluence page URL (read via available MCP tools if present)
- A brief verbal description of the feature
Prompt: "Describe the feature or system you want to build. Include the user need it addresses and any known constraints."
If the user invoked with
--interview, skip this prompt and proceed to the Interview Mode section below instead.- Understand the existing codebase (if one exists). Use Glob on
*to detect the project structure. Readpackage.json,pyproject.toml, orgo.modto identify the tech stack. Read 3–5 representative files fromsrc/orapp/— entry points first (index.*,main.*,app.*), then one route/handler file and one model/schema file — to understand patterns and conventions. Do not read the whole source tree. This ensures requirements fit what already exists. - Check for existing requirements. Use Glob on
docs/requirements/**/*.md. If matching files exist, read them to avoid duplicating requirements already captured. Note any related requirements in the new document. - Determine the feature name. Derive a kebab-case feature name from the description (e.g., "user authentication" →
user-authentication). This becomes the output filename. Generate the requirements document with the following sections:
Overview
One paragraph summarizing what is being built, the user need it addresses, and why it matters.
Stakeholders
A table of who uses this feature and what they need from it.
Stakeholder Role Primary Need End User ... ... Functional Requirements
Numbered list using the prefix
FR-NNN(e.g., FR-001, FR-002). Each requirement must be:- Specific and testable
- Implementation-agnostic (describe what, not how)
- Written in the form: "The system shall..."
Non-Functional Requirements
Cover all four dimensions:
- Performance: specific response time targets (e.g., "API responses under 200ms at p95")
- Security: authentication requirements, data sensitivity classification, encryption requirements
- Accessibility: WCAG AA compliance, keyboard navigation, screen reader support
- Scalability: expected concurrent users, request volume, data growth projections
Acceptance Criteria
Gherkin format (Given/When/Then) — one scenario per key functional requirement. Use this format exactly:
Scenario: <short description> Given <precondition> And <additional precondition if needed> When <action> Then <expected outcome> And <additional outcome if needed>Edge Cases & Error Scenarios
Bulleted list covering:
- Invalid or malformed input
- System failures (database down, third-party API timeout)
- Concurrent access and race conditions
- Boundary conditions (empty state, maximum limits)
- Unauthorized access attempts
Out of Scope
Explicitly list what this feature does NOT include. This prevents scope creep during implementation. Be specific.
Assumptions
List any assumptions made during requirements generation. For each:
- State the assumption clearly
- Note what would change if the assumption is wrong
Open Questions
List questions that require stakeholder input before implementation can begin. For each question, note:
- Who is the right person to answer it
- What the impact is if it is not answered before development starts
- Write the document. Ensure
docs/requirements/exists (it may need to be created). Use Write to save the document todocs/requirements/<feature-name>-requirements.md. - Offer Jira/Confluence integration (if MCP tools for Atlassian are available in the session). Ask: "Would you like me to publish this to Confluence or create a Jira epic?" If yes, use the available MCP tools to do so.
- Confirm completion. Tell the user the file path, how many functional requirements were generated, and how many acceptance criteria scenarios were written.
Interview Mode
When invoked with --interview, conduct a structured interview by asking each question below one at a time. Wait for the user's full answer before proceeding to the next question. Do not ask multiple questions at once.
- Who is the primary user? "Describe the person or system that will use this feature. What is their role, technical level, and what are they trying to accomplish?"
- What problem does this solve? "What is the user currently unable to do, or what pain point does this address? What happens today without this feature?"
- What does success look like? "How will you know this feature is working correctly? What would a user be able to do that they couldn't before?"
- What are the constraints? "Are there technology choices already made (language, framework, cloud provider)? Any performance requirements? Any compliance or regulatory constraints (GDPR, HIPAA, SOC2)?"
- What is explicitly out of scope? "What are you deliberately NOT building in this version? What might people assume is included but isn't?"
- What could go wrong? "What edge cases or error scenarios do you anticipate? What happens if the user provides invalid input? What if a dependency is unavailable?"
- Who else is affected? "Are there other systems, teams, or users impacted by this change? Any backwards compatibility concerns?"
After collecting all answers, generate the full requirements document using the same format as description mode (FR-NNN requirements, NFRs, Gherkin scenarios, etc.), grounded in the interview answers. Include an Interview Summary section at the very top of the generated document (before Overview) that captures each answer in 1–2 sentences.
## Interview Summary
**Primary user:** ...
**Problem being solved:** ...
**Success criteria:** ...
**Constraints:** ...
**Out of scope:** ...
**Risk areas:** ...
**Other affected parties:** ...Then continue with the standard sections (Overview, Stakeholders, Functional Requirements, etc.) as defined in the Output Format Reference.
Output Format Reference
# Requirements: <Feature Name>
**Version**: 1.0
**Date**: <today's date>
**Status**: Draft
---
## Overview
...
## Stakeholders
| Stakeholder | Role | Primary Need |
...
## Functional Requirements
**FR-001**: The system shall...
**FR-002**: The system shall...
## Non-Functional Requirements
### Performance
...
### Security
...
### Accessibility
...
### Scalability
...
## Acceptance Criteria
```gherkin
Scenario: ...
Given ...
When ...
Then ...Edge Cases & Error Scenarios
- ...
Out of Scope
- ...
Assumptions
- ...
Open Questions
- ...
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
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.

