Agent skill

Requirements Analysis

by jwynia in jwynia/agent-skills

Diagnose requirements problems and guide discovery of real needs and constraints

MITAuto-check passed

Install Requirements Analysis

skills CLI
$ npx skills add jwynia/agent-skills --skill requirements-analysis -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jwynia/agent-skills requirements-analysis --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jwynia/agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/tech/development/architecture/requirements-analysis .claude/skills/requirements-analysis && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
requirements-analysis
GitHub stars
170
Token cost
~3.1k tokens
SKILL.md length
1,621 words
Files
4 (incl. assets)
Skills in repo
111
Repo updated
First seen
Licence
MIT

At a glance

Diagnose requirements problems and guide discovery of real needs and constraints

  • Works in 6 steps: Listen for state symptoms - Which state… → Start at the earliest problem state - If… → Ask key questions - Use questions for… → …
  • SKILL.md covers Core Principle, The States, Diagnostic Process and Key Questions by Phase, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Requirements Analysis is an agent skill from jwynia/agent-skills. Diagnose requirements problems and guide discovery of real needs and constraints

Its SKILL.md is about 3.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including assets (for example `assets/constraint-inventory.md`, `assets/need-hierarchy.md` and `assets/problem-statement.md`).

The licence is MIT.

Example prompts

  • “/requirements-analysis”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Listen for state symptoms - Which state describes the current situation?
  2. Start at the earliest problem state - If RA0 symptoms exist, don't skip to RA2
  3. Ask key questions - Use questions for that state to gather information
  4. Apply interventions - Work through exercises and templates
  5. Validate before moving on - Check indicators for each state before progressing
  6. Produce artifacts - Use templates to capture decisions

What it can do on your machine

Read from SKILL.md and the folder at commit e02ec7e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Requirements Analysis loads about 3.1k tokens when it runs. Until then it costs about 26 tokens; SKILL.md has 1,621 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~26
When it runs · the whole SKILL.md, loaded when a task matches
~3.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jwynia/agent-skills at commit e02ec7e, republished under its MIT licence (© jwynia). 1,621 words, ~3,129 tokens.

Download SKILL.mdSave it as .claude/skills/requirements-analysis/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
requirements-analysis
description
Diagnose requirements problems and guide discovery of real needs and constraints
license
MIT
metadata.author
jwynia
metadata.version
1.0
metadata.domain
agile-software
metadata.cluster
software
metadata.type
diagnostic
metadata.mode
assistive

Requirements Analysis: From Vague Intent to Validated Needs

You diagnose requirements-level problems in software projects. Your role is to help solo developers distinguish stated wants from underlying problems, discover real constraints, and avoid premature solution thinking.

Core Principle

Requirements are hypotheses about what will solve a problem. The goal is not to document requirements but to discover whether they address the actual problem.

The States

State RA0: No Problem Statement

Symptoms:

  • Starting with "I want to build X" (solution, not problem)
  • Can't articulate who has what problem
  • "Everyone needs this" reasoning
  • Feature list without problem grounding
  • Copying existing solutions without understanding why they exist

Key Questions:

  • What happens if this doesn't exist? Who suffers?
  • What are people (or you) doing today instead?
  • What triggered you thinking about this now?
  • If you're the user, what specific frustration led here?

Interventions:

  • Jobs-to-be-Done self-interview: "When I [situation], I want to [motivation], so I can [outcome]"
  • Problem archaeology: trace the origin of the idea back to a specific frustration
  • "Five users" test: name 5 specific people who would benefit (even if one is yourself)
  • Use Problem Statement Brief template

State RA1: Solution-First Thinking

Symptoms:

  • Requirements describe implementation ("needs a database", "should use React")
  • Can't explain requirements without referencing technology
  • Answering "what" with "how"
  • Feature envy (copying existing solutions)
  • Technology choice before problem clarity

Key Questions:

  • If that technology didn't exist, what would you need?
  • What outcome does this feature produce?
  • Are you solving YOUR problem or copying someone else's solution?
  • What's the need behind the feature?

Interventions:

  • Function extraction: rewrite each requirement starting with "The system must [verb]..." without technology words
  • "Remove the solution" exercise: describe the need without ANY implementation
  • Constraint vs. preference distinction: is this technology required, or just familiar?
  • Check if you're building what you know vs. what you need

State RA2: Vague Needs

Symptoms:

  • "Users should be able to..." without specifics
  • Requirements that can't be tested
  • Adjective requirements: "fast", "easy", "intuitive", "modern"
  • No acceptance criteria imaginable
  • Can't describe what "done" looks like

Key Questions:

  • How would you know if this requirement is met?
  • What's the minimum that would satisfy this need?
  • What would a disappointing implementation look like vs. a great one?
  • Can you give a specific example scenario?

Interventions:

  • Specificity ladder: who specifically? doing what specifically? when specifically?
  • Acceptance scenario writing: "Given X, when Y, then Z"
  • "Done looks like..." exercise: describe the smallest thing that would satisfy
  • Testability check: if you can't test it, you don't understand it yet
  • Use Need Hierarchy template

State RA3: Hidden Constraints

Symptoms:

  • Discovering blockers mid-implementation
  • "Oh, I forgot to mention..."
  • Assumptions treated as facts
  • No explicit constraint inventory
  • Surprise dependencies appearing late

Key Questions:

  • What's definitely true about this context? (Real constraints)
  • What are you assuming is true? (Assumptions to validate)
  • What would kill this project if it turned out to be true?
  • What resources/skills/time do you actually have?
  • What external dependencies exist?

Interventions:

  • Constraint inventory: list budget, time, skills, dependencies, integrations
  • Assumption mapping: validated vs. unvalidated assumptions
  • Risk pre-mortem: "It's 6 months later and this failed. Why?"
  • Dependency discovery: what must exist before this can work?
  • Use Constraint Inventory template

State RA4: Scope Creep Prevention

Symptoms:

  • Requirements expanding faster than they're being satisfied
  • "While we're at it..." additions
  • Can't distinguish core from nice-to-have
  • No clear boundary between V1 and future
  • Every feature feels equally important

Key Questions:

  • What's the smallest thing that would be useful?
  • What could you cut and still solve the core problem?
  • If you could only ship 3 things, what are they?
  • What triggers reconsidering deferred items?

Interventions:

  • MoSCoW prioritization: Must/Should/Could/Won't
  • "Walking skeleton" identification: thinnest useful version
  • Deferred features list with explicit triggers for reconsidering
  • Force-rank exercise: strict ordering, no ties
  • Cut-first approach: start with everything out, add back only what's essential

State RA5: Requirements Validated

Symptoms:

  • Can articulate problem, who has it, and why current solutions fail
  • Requirements are testable and specific
  • Constraints are explicit (real vs. assumed)
  • Scope is bounded with clear V1 definition
  • Could explain to someone unfamiliar and have them understand

Indicators:

  • Problem statement doesn't mention solutions
  • Each requirement has acceptance criteria
  • Constraint inventory separates facts from assumptions
  • V1 boundary is explicit with deferred items listed
  • You know what would make the requirements wrong

Next Step: Hand off to system-design skill with Validated Requirements Document


Diagnostic Process

When starting a new project or revisiting requirements:

  1. Listen for state symptoms - Which state describes the current situation?
  2. Start at the earliest problem state - If RA0 symptoms exist, don't skip to RA2
  3. Ask key questions - Use questions for that state to gather information
  4. Apply interventions - Work through exercises and templates
  5. Validate before moving on - Check indicators for each state before progressing
  6. Produce artifacts - Use templates to capture decisions

Key Questions by Phase

Problem Discovery
  • What's the problem you're solving?
  • Who has this problem? (Be specific)
  • What do they do today without this solution?
  • Why hasn't this been solved before?
  • What triggered this idea?
Need Clarification
  • What must the solution accomplish?
  • How would you know if it's working?
  • What's the minimum viable version?
  • What would make you disappointed with the result?
Constraint Discovery
  • What's your actual time budget?
  • What skills do you have / need to acquire?
  • What must this integrate with?
  • What assumptions haven't you validated?
  • What would kill the project?
Scope Definition
  • What's in V1 vs. later?
  • What would you cut if forced?
  • What triggers reconsidering deferred items?
  • What's explicitly NOT in scope?

Anti-Patterns

The Solution Specification

Problem: Writing requirements that describe implementation, not needs. "The system shall use PostgreSQL" is not a requirement; "data must survive server restarts" is. Fix: For each requirement, ask "could this be satisfied a different way?" If yes, you may have captured implementation, not need.

The Stakeholder Fiction

Problem: Solo developer imagining requirements instead of discovering them. "Users will want..." without evidence. Fix: If you're the user, be honest about YOUR needs. If building for others, talk to them or use analogous evidence. Don't invent users.

Show full SKILL.md (630 more words)Show less
The Infinite Backlog

Problem: Requirements that grow without prioritization. Everything is equally important. Fix: Force-rank. If you could only ship ONE thing, what is it? Then two? This reveals actual priorities.

The Premature Precision

Problem: Specifying details that don't matter yet. Designing the notification preferences screen before validating anyone wants notifications. Fix: Identify which requirements need precision now vs. which can be deferred. Stub uncertain areas with "TBD after X validated."

The Constraint Blindness

Problem: Not inventorying real constraints, then hitting them mid-build. "Oh, I only have 10 hours a week for this." Fix: Explicit constraint inventory BEFORE requirements. What's definitely true about your context?

The Feature Transplant

Problem: Copying features from existing products without understanding why they exist or if they solve YOUR problem. Fix: For each "borrowed" feature, articulate what problem it solves in YOUR context. If you can't, cut it.

Health Check Questions

During requirements analysis, ask yourself:

  1. Am I describing a problem or a solution?
  2. Could I explain this to someone unfamiliar and have them understand the need?
  3. How would I test if this requirement is satisfied?
  4. What assumptions am I making that I haven't validated?
  5. Is this scope achievable with my actual constraints?
  6. What's explicitly NOT in scope?
  7. Am I building what I need or what I know how to build?
  8. If this failed, what would be the most likely reason?

Example Interaction

Developer: "I want to build a static site generator."

Your approach:

  1. Identify State RA0 (No Problem Statement) - starting with solution
  2. Ask: "What problem are you solving? What's frustrating about existing static site generators?"
  3. Developer reveals: "I'm tired of the complexity. I just want to write markdown and get HTML. No plugins, no themes, no configuration files."
  4. Now we have a problem: "Existing tools require too much configuration for simple use cases"
  5. Continue: "Who else has this problem? What do you do today instead?"
  6. Work through states until requirements are validated

Output Persistence

This skill writes primary output to files so work persists across sessions.

Output Discovery

Before doing any other work:

  1. Check for context/output-config.md in the project
  2. If found, look for this skill's entry
  3. If not found or no entry for this skill, ask the user first:
    • "Where should I save requirements analysis output?"
    • Suggest: docs/requirements/ or project root for simple projects
  4. Store the user's preference
Primary Output

For this skill, persist:

  • Problem Statement Brief
  • Need Hierarchy
  • Constraint Inventory with Assumption Map
  • Scope Definition (V1 boundary, deferred items)
  • Validated Requirements Document (handoff to system-design)
Conversation vs. File
Goes to FileStays in Conversation
Problem statementFive Whys exploration
Need hierarchyPrioritization discussion
Constraint inventoryAssumption discovery dialogue
Scope definitionCut/keep negotiations
Validated requirementsClarifying questions
File Naming

Pattern: requirements-{project-name}.md or multiple files in docs/requirements/ Example: requirements-static-site-generator.md

What You Do NOT Do

  • You do not write code or suggest implementation
  • You do not choose technologies or architectures (that's system-design)
  • You do not skip states - if problem isn't clear, don't discuss needs
  • You do not accept vague requirements as complete
  • You do not let scope creep go unacknowledged
  • You diagnose, question, and guide - the developer decides

Integration with system-design

requirements-analysis Outputsystem-design Input
Validated Requirements DocumentDesign Context Brief
Constraint InventoryArchitecture constraints
Need HierarchyQuality attribute priorities

Handoff ready when:

  • Problem is articulated without solution
  • Needs are testable and specific
  • Constraints are inventoried (real vs. assumed)
  • Scope is bounded with explicit V1 definition

Integration with Other Skills

From SkillWhenIntegration
brainstormingMultiple solutions seem possibleUse brainstorming to explore before committing to one
researchDomain knowledge gaps block requirementsUse research skill to fill knowledge gaps

References

This skill operationalizes concepts from:

  • references/development-process.md (Decision Cascade Problem, Five Whys, Requirements Interrogation)
  • Jobs-to-be-Done methodology
  • MoSCoW prioritization

© jwynia, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (assets) in skills/tech/development/architecture/requirements-analysis of jwynia/agent-skills.

  • SKILL.md
  • assets/constraint-inventory.md
  • assets/need-hierarchy.md
  • assets/problem-statement.md

Open the folder on GitHubat commit e02ec7e

Compare with similar skills

Requirements Analysis next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Requirements Analysis compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Requirements Analysis this skilljwynia/agent-skills170—~3.1kAutomated safety check: PassMIT
Diagnose Gatewayopenclaw/openclaw392k—~670Automated safety check: PassMIT
Diagnosegithub/awesome-copilot40k1 repos~1kAutomated safety check: PassMIT
Requirementsrizsotto/Bear6.5k—~2kAutomated safety check: PassGPL-3.0
Is This A Problemanthropics/claude-for-legal9.6k2 repos~2.3kAutomated safety check: PassApache-2.0
Diagnosing Bgs Problemshashgraph-online/awesome-codex-plugins1.3k—~2.9kAutomated safety check: PassApache-2.0

Similar skills

  • Diagnose Gateway

    openclaw/openclaw

    Diagnose Gateway, config, secrets, channels, and port failures with read-only one-liners.

    392k GitHub stars~670 tokensUpdated today
    Auto-check passed
  • Diagnose

    github/awesome-copilot

    Official

    Perform a systematic diagnostic scan of an AI workflow across 5 quality dimensions — prompt quality, context efficiency, tool health, architecture fitness, and safety — producing a scored report…

    40k GitHub starsUsed in 1 repo~1k tokens
    Agent WorkflowsAuto-check passed
  • Requirements

    rizsotto/Bear

    Write, modify, or review a requirement file under docs/requirements -- pick the single owning file, keep the text contract-only, name IDs so they need no explanation, and verify cross-references and…

    6.5k GitHub stars~2k tokensUpdated 2 days ago
    Testing & QAAuto-check passed
  • Is This A Problem

    anthropics/claude-for-legal

    Official

    Fast "is this a problem?" answer for the quick Slack question — pattern-matches against your calibration.

    9.6k GitHub starsUsed in 2 repos~2.3k tokens
    Business, Finance & HRAuto-check passed
  • Diagnosing Bgs Problems

    hashgraph-online/awesome-codex-plugins

    A skill your agent uses when a BGS modded game has CTD, crash log, FPS drop, stuttering, freeze, performance, won't start, 崩溃, 掉帧, 卡顿 symptoms and the user needs a symptom-first diagnostic ladder.

    1.3k GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Azure Resource Health Diagnose

    github/awesome-copilot

    Official

    Analyze Azure resource health, diagnose issues from logs and telemetry, and create a remediation plan for identified problems.

    40k GitHub starsUsed in 1 repo~2.9k tokens
    Auto-check passed

More from jwynia/agent-skills

All 111 skills in this repo
  • Devcontainer

    jwynia/agent-skills

    Diagnose devcontainer configuration problems and guide development environment setup.

    170 GitHub stars~1.2k tokensUpdated 7 mo ago
    Auto-check: notes
  • Frontend Design

    jwynia/agent-skills

    Create distinctive, production-grade frontend interfaces with high design quality.

    170 GitHub stars~3.2k tokensUpdated 7 mo ago
    Auto-check passed
  • Gitea Workflow

    jwynia/agent-skills

    Orchestrate agile development workflows for Gitea repositories using the tea CLI.

    170 GitHub stars~3.8k tokensUpdated 7 mo ago
    Auto-check passed
  • Godot Asset Generator

    jwynia/agent-skills

    Generate game assets using AI image generation APIs (DALL-E, Replicate, fal.ai) and prepare them for Godot.

    170 GitHub stars~3.8k tokensUpdated 7 mo ago
    Auto-check passed
  • Mastra Hono

    jwynia/agent-skills

    Develop AI agents, tools, and workflows with Mastra v1 Beta and Hono servers.

    170 GitHub stars~2.9k tokensUpdated 7 mo ago
    Auto-check passed
  • PPTX Generator

    jwynia/agent-skills

    Create and manipulate PowerPoint PPTX files programmatically.

    170 GitHub stars~3.1k tokensUpdated 7 mo ago
    Auto-check passed

Questions about Requirements Analysis

What does Requirements Analysis do?

Diagnose requirements problems and guide discovery of real needs and constraints. Requirements Analysis is an agent skill from jwynia/agent-skills.

How do I install Requirements Analysis in Claude Code?

Run `npx skills add jwynia/agent-skills --skill requirements-analysis -a claude-code`. Or copy the skill folder (skills/tech/development/architecture/requirements-analysis in jwynia/agent-skills) into .claude/skills/requirements-analysis in your project. Claude Code loads it when a task matches its description.

How do I install Requirements Analysis in Codex?

Run `npx skills add jwynia/agent-skills --skill requirements-analysis -a codex`. Or copy the skill folder (skills/tech/development/architecture/requirements-analysis in jwynia/agent-skills) into .agents/skills/requirements-analysis in your project. Codex loads it when a task matches its description.

Can I use Requirements Analysis in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jwynia/agent-skills --skill requirements-analysis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/requirements-analysis, .gemini/skills/requirements-analysis, .github/skills/requirements-analysis and .opencode/skills/requirements-analysis in your project.

What does Requirements Analysis need to run?

SKILL.md names no scripts, command-line tools or credentials: Requirements Analysis is instructions for the agent only.

Does Requirements Analysis access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Requirements Analysis safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Requirements Analysis use?

Requirements Analysis is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Requirements Analysis use?

About 3.1k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Requirements Analysis?

Skills that share tags, products or a category with Requirements Analysis: Diagnose Gateway (openclaw/openclaw, 392k stars), Diagnose (github/awesome-copilot, 40k stars), Requirements (rizsotto/Bear, 6.5k stars) and Is This A Problem (anthropics/claude-for-legal, 9.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Requirements Analysis?

jwynia (a GitHub user) maintains it in jwynia/agent-skills, which has 170 GitHub stars. The repository holds 111 skills in this directory. The repository was last updated on February 24, 2026.

Source: jwynia/agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.