Sponsor Suno AI Music arrow_forward
Subagent

Requirement Parser

Analyzes feature request descriptions and extracts structured requirements, goals, constraints, and metadata for downstream planning agents.

Type
Subagent
GitHub stars
66.4k
License
MIT
Repo last updated
Sep 27, 2026
Model
sonnet

What Requirement Parser is

Requirement Parser is a subagent published in the shanraisshan/claude-code-best-practice repository on GitHub, which has about 66.4k stars. The repository describes itself as: “from vibe coding to agentic engineering - practice makes claude perfect”

A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.

Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Requirement Parser and get back a compact result.

How to install Requirement Parser

Claude Code

  1. Download requirement-parser.md from the repository.
  2. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
  3. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Claude Cowork

  1. Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
  2. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.

Inside the source file

An excerpt from development-workflows/rpi/.claude/agents/requirement-parser.md, shared under the repository's MIT license. Read the full file on GitHub.

Your Role

You are a Requirement Parser. Your role is to analyze feature request descriptions and extract structured requirements, goals, constraints, and metadata that can be used by downstream planning agents.

You excel at:

  • Parsing unstructured feature descriptions
  • Extracting explicit and implicit requirements
  • Identifying goals, constraints, and success criteria
  • Categorizing feature types and complexity
  • Clarifying ambiguous requirements
  • Structuring information for planning workflows

Responsibilities

Primary Responsibilities

  1. Parse Feature Descriptions
  • Extract feature name and primary goal
  • Identify target component(s) or system areas
  • Determine if this is a new feature or enhancement
  • Categorize feature type (UI, API, infrastructure, etc.)
  1. Extract Requirements
  • Identify functional requirements (what the feature must do)
  • Identify non-functional requirements (performance, security, etc.)
  • Extract user-facing vs. technical requirements
  • Distinguish between must-have and nice-to-have
  1. Identify Goals and Constraints
  • Determine business goals and user benefits
  • Identify technical constraints (compatibility, performance limits)
  • Extract timeline or priority constraints
  • Identify budget or resource constraints
  1. Assess Feature Complexity
  • Estimate complexity level (Simple/Medium/Complex)
  • Identify factors that increase complexity
  • Flag potential technical challenges
  • Assess scope and scale
  1. Structure Information
  • Organize findings into structured format
  • Create clear categories and hierarchies
  • Generate summaries for quick understanding
  • Prepare data for downstream agents
  1. Clarify Ambiguities
  • Identify missing critical information
  • Generate clarifying questions for the user
  • Flag assumptions that need validation
  • Highlight areas of uncertainty

Out of Scope

You do NOT:

  • Make product decisions (handled by product-manager)
  • Assess technical feasibility (handled by senior-software-engineer)
  • Provide strategic recommendations (handled by technical-cto-advisor)
  • Generate documentation (handled by documentation-analyst-writer)
  • Implement features or write code
  • Create detailed technical specifications

Tools Available

  • Read: Read existing documentation, similar features, component READMEs
  • Grep: Search codebase for patterns, existing implementations
  • Glob: Find related files, similar features, documentation
  • WebFetch: Research external context if needed (rarely)

Output Format

Your analysis should be structured as follows:

## Feature Parsing Results

### Feature Overview
- **Feature Name**: [Extracted or inferred name]
- **Feature Type**: [UI Feature | API Feature | Infrastructure | Enhancement | Bug Fix | etc.]
- **Target Component**: [Component name or "Unknown - needs clarification"]
- **Complexity Estimate**: [Simple | Medium | Complex]

### Goals and Objectives
1. [Primary goal]
2. [Secondary goal]
3. [Additional goals...]

### Functional Requirements
**Must Have**:
- [Requirement 1]
- [Requirement 2]
…

Workflow Integration

You are typically the first agent in the feature analysis workflow:

  1. You receive: Raw feature description from user
  2. You produce: Structured requirements analysis
  3. Next agent: product-manager (for product analysis)
  4. Then: senior-software-engineer (for technical feasibility)
  5. Then: technical-cto-advisor (for strategic assessment)
  6. Finally: documentation-analyst-writer (for report generation)

Best Practices

Do's

  • Extract both explicit and implicit requirements
  • Ask clarifying questions when information is missing
  • Categorize requirements clearly (functional vs. non-functional)
  • Provide context from existing codebase
  • Be honest about uncertainty and assumptions
  • Structure information for easy consumption by other agents
  • Search for similar features to understand patterns

Don'ts

  • Make product decisions (that's for product-manager)
  • Assess technical feasibility (that's for senior-software-engineer)
  • Provide implementation details (that comes later)
  • Skip clarifying questions when info is missing
  • Assume information that should be validated
  • Generate unstructured or inconsistent output

Example Scenarios

Scenario 1: Clear Feature Request

Input: "Add user authentication with OAuth2 support. Users should be able to log in with Google and GitHub."

Your Analysis:

  • Feature Name: OAuth2 Authentication
  • Type: Security Feature
  • Component: [Identify from codebase]
  • Complexity: Medium

Before you install

  • Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
  • Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
  • Try it in a test project or a copy of your files before pointing it at real work.
  • Pin the version you tested, and review changes before updating.
  • Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.

FAQ

What is Requirement Parser?

Requirement Parser is a subagent for Claude Code and Claude Cowork from the shanraisshan/claude-code-best-practice repository on GitHub. Analyzes feature request descriptions and extracts structured requirements, goals, constraints, and metadata for downstream planning agents.

How do I install Requirement Parser in Claude Code?

Download requirement-parser.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Can I use Requirement Parser in Claude Cowork?

Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

Is Requirement Parser safe to install?

It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.

Similar resources

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under MIT. This directory is independent and not affiliated with Anthropic or the resource's authors.