/powerups-requirements:gathering-requirementsfrom powerups-requirements
Elicits structured requirements through iterative questioning, producing requirements.md. Useful when starting a project or extracting implicit requirements from existing docs.
Ships in powerups-requirements. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Extract structured requirements from a human stakeholder's head (and their existing documentation) through iterative questioning. The human has domain knowledge. You have structure. Together you produce a requirements.md and optionally systems.md that an LLM can use to build the thing.
This is the Capture and Challenge phase. The requirements-management skill handles everything after this — maintenance during development, subagent updates, session startup.
You do: Ask questions. Listen. Compile. Filter noise from signal. Identify gaps. Draft structured requirements text. Propose open questions for things you can't resolve.
The human does: Supply domain knowledge. Correct your misunderstandings. Answer questions. Provide existing documentation. Confirm or reject your interpretations.
You never: Guess at business rules. Invent requirements the human didn't imply. Assume you understand a domain term without confirming. Skip to implementation.
As you extract requirements, continuously filter:
Requirement = behaviour observable from outside. "Display client name in task list." Decision = how the system achieves a requirement. "Store config at ~/.cu/config.json." Style = formatting/presentation. "Truncate names at 45 characters with '...' suffix." Non-Goal = something explicitly rejected. "Font size buttons (old platform constraint, unnecessary on web)." Scenario = a concrete example that illustrates a business rule with specific data. "Given a VIP customer with 5 books in their cart, when they checkout, they should be offered free delivery." Scenarios sit inside their FR — they're not separate artefacts.
The litmus test: "If I changed this, would the user notice a different capability?" If yes → requirement. If no → decision or style.
When extracting from existing code or documentation, implementation details will dominate. Record the user need, not the implementation. See requirements-management skill for the full "Requirements vs Spec vs Style" guide.
Start with the broadest questions. Get the shape of the problem before details.
After these answers, draft:
Present this draft to the human for correction. Don't proceed until they confirm the problem framing is right.
Now drill into specifics. One topic at a time. One question at a time.
The braindump invitation: Ask the human to describe the process in their own words. Accept messy, non-linear, stream-of-consciousness answers. Your job is to listen and then organize — not to force the human into your structure.
From the braindump, extract:
Draft a requirements.md after enough material has accumulated. Use the template
from assets/requirements-template.md. Present it to the human. Expect corrections.
As functional requirements take shape, ask for concrete examples that illustrate the business rules. This is the "Illustrate" step — turning abstract rules into specific, testable scenarios.
For each must-priority FR:
Scenarios should be concrete (specific data), not abstract ("a valid input"). Record them in Given/When/Then format or as examples tables — whichever fits the rule better. See the requirements-management skill for format guidance.
Don't overspecify. Two to three key scenarios per FR is usually enough. The goal is to illustrate the rule unambiguously, not to enumerate every permutation. If a rule needs more than five scenarios to explain, it probably contains implied concepts that should be separate FRs.
Don't write scripts. Scenarios describe what the system does, not how the user clicks through it. "Given a VIP customer with 5 books" — not "Given the user logs in and navigates to the cart page and adds items one by one."
After the initial draft, challenge it systematically. Ask about:
Each answer either resolves an open question, adds a requirement, or adds a decision. Update the draft.
When the human provides existing documentation (howtos, config files, runbooks, wikis, code), ingest it:
Update the requirements.md draft. Tell the human what you added and what you're unsure about.
Key insight from experience: Documents contain the "actually" and "except when" cases that humans forget to mention. A config file or runbook is often more accurate than memory for per-entity rules and edge cases. Treat documents as a primary source, conversation as clarification.
If the project interacts with external systems (databases, APIs, file servers,
auth providers), create systems.md. This documents topology — what exists,
where it lives, how to reach it. It is NOT an API reference or integration guide.
# External Systems
## [System Name]
- **What it is:** [brief description]
- **Server/hostname:** [actual name, not what an LLM might guess]
- **Access method:** [API / SQL / file share / etc.]
- **Auth model:** [token / OAuth / session JWT / etc.]
- **Credential location:** [where tokens/passwords live]
- **Used for:** [what this project needs from it]
- **Gotchas:** [anything non-obvious about access or naming]
Include: How to reach the system, how to authenticate, naming surprises. Do not include: Endpoint tables, request/response formats, integration flow diagrams. Those are API docs and implementation spec respectively — they belong in the API's own documentation or in design docs.
Why this matters: LLMs will guess wrong about server names, paths, and access methods. An LLM seeing "MiddleEarth database" might assume the server is called "middleearth" — but if it's actually on a server called "Treebeard", that's a session-ending mistake. Document what is NOT where you'd guess.
Before declaring requirements complete, check:
must requirement has concrete acceptance criteriamust requirement has at least one scenario (concrete example with specific data)must-priority workPresent the final requirements.md (and systems.md if applicable) to the human. Ask: "Does this capture what you need? Anything missing or wrong?"
One question at a time. Don't overwhelm with a list of 10 questions. Ask the most important one, let the human answer, then ask the next. Their answer to question 1 often answers questions 2-4 and raises question 11.
Accept messy answers. The human's job is to know things, not to structure them. If they give you a wall of text with 15 embedded facts, your job is to parse it into structured requirements — not to ask them to be more organized.
Prefer concrete follow-ups over abstract ones. Instead of "can you elaborate on the billing process?", ask "when you open the Xero invoice, what's the first thing you check?" Concrete questions get concrete answers with real detail.
When they say "it depends" — that's a gold mine. Ask what it depends ON. The answer is usually a per-entity rule or a domain quirk that needs to be in the config.
When they say "it's complicated" — they're right, and they're also worried about overwhelming you. Say "give me the messy version, I'll organize it." Then actually do.
When they provide a document — read it thoroughly before asking questions about it. Summarize what you learned, flag what contradicts prior conversation, ask about gaps. Don't make them re-explain what the document already says.
At the end of gathering, you should have produced:
The requirements.md should be ready for the requirements-management skill to maintain during development, and for a coding agent to build from.
Don't interview-dump. Asking 20 questions in the first message is overwhelming and the human will skip most of them. Start broad, narrow based on answers.
Don't over-formalize too early. The first draft should capture the messy reality. Clean it up in later passes, not in real-time as the human is talking.
Don't assume the happy path. The human will describe how things work when everything goes right. The bugs live in what happens when things go wrong.
Don't skip the glossary. If a domain has more than 3 specialized terms, the glossary will prevent more bugs than any other section. Every time the human uses a word you're not 100% sure about, ask.
Don't treat the human's answer as the only source. When they provide a document, it may contradict what they said. The document is usually more accurate for specific details (names, paths, rules). The human is more accurate for intent and priorities.
Don't generate requirements the human didn't imply. You can ask "should the system also do X?" but don't silently add X to the doc. Every requirement should be traceable to something the human said, a document they provided, or a question you asked that they confirmed.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub njt/powerups-requirements --plugin powerups-requirements3 skills in this plugin
/requirements-managementSkill for creating, maintaining, and working with structured project requirements documents. Use when: creating a new project and need to capture requirements; starting a coding session and need to load/understand existing requirements; a requirement needs to be added, changed, or resolved; an open question needs to be raised or answered; a design decision has been made and should be recorded; reviewing requirements for completeness or consistency. Triggers include mentions of "requirements", "requirements.md", "req", or when beginning work on a project that has a requirements.md file.
/reverse-engineering-requirementsExtract structured requirements from existing source code through iterative subagent review. Use when: re-implementing an existing system; migrating from one tech stack to another; inheriting a codebase with no documentation; user says "extract requirements from this code" or "what does this system actually do"; user has working software but no spec. NOT for greenfield projects — use gathering-requirements for those. NOT for maintaining requirements during development — use requirements-management for that.
Other plugins' skills for the same job