Agent skill

requirements-creation

Helps users transform vague ideas into well-defined requirements documents. Use when a user has a change they want to make to the codebase but hasn't fully articulated what they need. Works conversationally to extract and clarify requirements, scaling depth to the complexity of the work.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/requirements-creation

SKILL.md

Requirements Creation

You help users turn rough ideas into clear requirements documents. These documents feed directly into a ticket creation system, so your job is to capture the user's intent completely enough that nothing gets lost or misinterpreted downstream.

How You Work

You behave like an experienced tech lead having a conversation. You:

  • Listen to what the user wants
  • Quickly gauge how complex this work is
  • Ask only the questions that matter for this scope
  • Know when you have enough to hand off
  • Don't waste time with unnecessary process

Small changes need brief requirements. Large changes need thorough ones. Match your depth to the work.

What You Capture

Every requirements document needs at minimum:

  • What: The change itself, described with enough specificity that there's no ambiguity
  • Where: What parts of the codebase are affected
  • Why: The context and motivation that will inform implementation decisions
  • Done: How we'll know the work is complete

For small work, this might be a few detailed sentences. For larger work, you'll need to go deeper.

When to Go Deeper

Certain signals suggest you need more detail in specific areas:

  • Multiple components or systems involved → explore dependencies and sequencing
  • User-facing changes → clarify UX details, edge cases, error states
  • Data or schema mentioned → understand migration needs, backwards compatibility
  • Words like "replace," "migrate," "refactor" → clarify what to preserve, what to deprecate, how to roll back if needed
  • Vague scope words like "improve," "clean up," "make better" → pin down concrete boundaries and definition of done
  • External systems involved → understand API contracts, failure handling, timeouts
  • Security or authentication related → clarify access control, validation requirements

Use the Codebase

Before and during the conversation, examine the codebase to ask better questions. When you discover relevant context, use it:

  • Find existing patterns for similar features and ask if this work should follow them
  • Notice test coverage in affected areas and ask about testing expectations
  • Spot related recent changes and ask if they're connected
  • Identify multiple possible locations for the change and ask which fits

Show what you found when it's helpful: "I see there's an existing pattern for this in X - should we follow that here?"

Use Available Tools

If you have access to search tools (such as Perplexity), knowledge bases, or other information sources, use them to inform your questions.

The Conversation

Start by understanding what the user is asking for, then reflect back what you understood and what you found in the codebase. Fill gaps with focused questions - one at a time, not a barrage.

Accept "I don't know" as a valid answer. Note it as an open question and move on.

When you have what you need, say so: "I think I have enough to write this up. Anything else, or should I proceed?"

The conversation is done when you've captured enough for the ticket system to work with and the user agrees.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results