REQUIREMENTS-WORKFLOW
Lightweight alternative to BMAD for rapid prototyping and simple feature development
> /plugin marketplace add cexll/myclaudeHow it fires
How this agent gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition โ
- You can call itInvoke it directly when you want it.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Lightweight alternative to BMAD for rapid prototyping and simple feature development
Agent definition
REQUIREMENTS-WORKFLOW.mdRequirements-Driven Workflow Guide
> Lightweight alternative to BMAD for rapid prototyping and simple feature development
๐ฏ What is Requirements Workflow?
A streamlined 4-phase workflow that focuses on getting from requirements to working code quickly:
**Requirements โ Implementation โ Review โ Testing**
Perfect for:
- Quick prototypes
- Small features
- Bug fixes with clear scope
- Projects without complex architecture needs
๐ Quick Start
Basic Command
/requirements-pilot "Implement JWT authentication with refresh tokens"
# Automated workflow:
# 1. Requirements generation (90% quality gate)
# 2. Code implementation
# 3. Code review
# 4. Testing strategy
When to Use
**Use Requirements Workflow** when:
- Feature scope is clear and simple
- No complex architecture design needed
- Fast iteration is priority
- You want minimal workflow overhead
**Use BMAD Workflow** when:
- Complex business requirements
- Multiple systems integration
- Architecture design is critical
- Need detailed sprint planning
๐ Workflow Phases
Phase 1: Requirements Generation
- **Agent**: `requirements-generate`
- **Quality Gate**: Requirements score โฅ 90/100
- **Output**: Functional requirements document
- **Focus**:
- Clear functional requirements
- Acceptance criteria
- Technical constraints
- Implementation notes
**Quality Criteria (100 points)**:
- Clarity (30): Unambiguous, well-defined
- Completeness (25): All aspects covered
- Testability (20): Clear verification points
- Technical Feasibility (15): Realistic implementation
- Scope Definition (10): Clear boundaries
Phase 2: Code Implementation
- **Agent**: `requirements-code`
- **Quality Gate**: Code completion
- **Output**: Implementation files
- **Process**:
1. Read requirements + repository context 2. Implement features following requirements 3. Create or modify code files 4. Follow existing code conventions
Phase 3: Code Review
- **Agent**: `requirements-review`
- **Quality Gate**: Pass / Pass with Risk / Fail
- **Output**: Review report
- **Focus**:
- Code quality
- Requirements alignment
- Security concerns
- Performance issues
- Best practices compliance
**Review Status**:
- **Pass**: Meets standards, ready for testing
- **Pass with Risk**: Minor issues noted
- **Fail**: Requires implementation revision
Phase 4: Testing Strategy
- **Agent**: `requirements-testing`
- **Quality Gate**: Test execution
- **Output**: Test report
- **Process**:
1. Create test strategy from requirements 2. Generate test cases 3. Execute tests (unit, integration) 4. Report results
๐ Workflow Artifacts
Generated in `.claude/requirements/{feature-name}/`:
.claude/requirements/jwt-authentication/
โโโ 01-requirements.md # Functional requirements (score โฅ 90)
โโโ 02-implementation.md # Implementation summary
โโโ 03-review.md # Code review report
โโโ 04-testing.md # Test strategy and results
๐ง Command Options
# Standard workflow
/requirements-pilot "Add API rate limiting"
# With specific technology
/requirements-pilot "Redis caching layer with TTL management"
# Bug fix with requirements
/requirements-pilot "Fix login session timeout issue"
๐ Quality Scoring
Requirements Score (100 points)
| Category | Points | Description | |----------|--------|-------------| | Clarity | 30 | Unambiguous, well-defined requirements | | Completeness | 25 | All functional aspects covered | | Testability | 20 | Clear acceptance criteria | | Technical Feasibility | 15 | Realistic implementation plan | | Scope Definition | 10 | Clear feature boundaries |
**Threshold**: โฅ 90 points to proceed
Automatic Optimization
If initial score < 90: 1. User provides feedback 2. Agent revises requirements 3. System recalculates score 4. Repeat until โฅ 90 5. User confirms โ Save โ Next phase
๐ฏ Comparison: Requirements vs BMAD
| Aspect | Requirements Workflow | BMAD Workflow | |--------|----------------------|---------------| | **Phases** | 4 (Requirements โ Code โ Review โ Test) | 6 (PO โ Arch โ SM โ Dev โ Review โ QA) | | **Duration** | Fast (hours) | Thorough (days) | | **Documentation** | Minimal | Comprehensive | | **Quality Gates** | 1 (Requirements โฅ 90) | 2 (PRD โฅ 90, Design โฅ 90) | | **Approval Points** | None | Multiple (after PRD, Architecture, Sprint Plan) | | **Best For** | Simple features, prototypes | Complex features, enterprise projects | | **Artifacts** | 4 documents | 6 documents | | **Planning** | Direct implementation | Sprint planning included | | **Architecture** | Implicit in requirements | Explicit design phase |
๐ก Usage Examples
Example 1: API Feature
/requirements-pilot "REST API endpoint for user profile updates with validation"
# Generated requirements include:
# - Endpoint specification (PUT /api/users/:id/profile)
# - Request/response schemas
# - Validation rules
# - Error handling
# - Authentication requirements
# Implementation follows directly
# Review checks API best practices
# Testing includes endpoint testing
Example 2: Database Schema
/requirements-pilot "Add audit logging table for user actions"
# Generated requirements include:
# - Table schema definition
# - Indexing strategy
# - Retention policy
# - Query patterns
# Implementation creates migration
# Review checks schema design
# Testing verifies logging behavior
Example 3: Bug Fix
/requirements-pilot "Fix race condition in order processing queue"
# Generated requirements include:
# - Problem description
# - Root cause analysis
# - Solution approach
# - Verification steps
# Implementation applies fix
# Review checks concurrency handling
# Testing includes stress tests
๐ Iterative Refinement
Each phase supports feedback:
Agent: "Requirements complete (Score: 85/100)"
User: "Add error handling for network failures"
Agent: "Updated requirements (Score: 93/100) โ
"
``
Read more
Requirements-Driven Workflow Guide
> Lightweight alternative to BMAD for rapid prototyping and simple feature development
๐ฏ What is Requirements Workflow?
A streamlined 4-phase workflow that focuses on getting from requirements to working code quickly:
**Requirements โ Implementation โ Review โ Testing**
Perfect for:
- Quick prototypes
- Small features
- Bug fixes with clear scope
- Projects without complex architecture needs
๐ Quick Start
Basic Command
/requirements-pilot "Implement JWT authentication with refresh tokens" # Automated workflow: # 1. Requirements generation (90% quality gate) # 2. Code implementation # 3. Code review # 4. Testing strategy
When to Use
**Use Requirements Workflow** when:
- Feature scope is clear and simple
- No complex architecture design needed
- Fast iteration is priority
- You want minimal workflow overhead
**Use BMAD Workflow** when:
- Complex business requirements
- Multiple systems integration
- Architecture design is critical
- Need detailed sprint planning
๐ Workflow Phases
Phase 1: Requirements Generation
- **Agent**: `requirements-generate`
- **Quality Gate**: Requirements score โฅ 90/100
- **Output**: Functional requirements document
- **Focus**:
- Clear functional requirements
- Acceptance criteria
- Technical constraints
- Implementation notes
**Quality Criteria (100 points)**:
- Clarity (30): Unambiguous, well-defined
- Completeness (25): All aspects covered
- Testability (20): Clear verification points
- Technical Feasibility (15): Realistic implementation
- Scope Definition (10): Clear boundaries
Phase 2: Code Implementation
- **Agent**: `requirements-code`
- **Quality Gate**: Code completion
- **Output**: Implementation files
- **Process**:
1. Read requirements + repository context 2. Implement features following requirements 3. Create or modify code files 4. Follow existing code conventions
Phase 3: Code Review
- **Agent**: `requirements-review`
- **Quality Gate**: Pass / Pass with Risk / Fail
- **Output**: Review report
- **Focus**:
- Code quality
- Requirements alignment
- Security concerns
- Performance issues
- Best practices compliance
**Review Status**:
- **Pass**: Meets standards, ready for testing
- **Pass with Risk**: Minor issues noted
- **Fail**: Requires implementation revision
Phase 4: Testing Strategy
- **Agent**: `requirements-testing`
- **Quality Gate**: Test execution
- **Output**: Test report
- **Process**:
1. Create test strategy from requirements 2. Generate test cases 3. Execute tests (unit, integration) 4. Report results
๐ Workflow Artifacts
Generated in `.claude/requirements/{feature-name}/`:
.claude/requirements/jwt-authentication/ โโโ 01-requirements.md # Functional requirements (score โฅ 90) โโโ 02-implementation.md # Implementation summary โโโ 03-review.md # Code review report โโโ 04-testing.md # Test strategy and results
๐ง Command Options
# Standard workflow /requirements-pilot "Add API rate limiting" # With specific technology /requirements-pilot "Redis caching layer with TTL management" # Bug fix with requirements /requirements-pilot "Fix login session timeout issue"
๐ Quality Scoring
Requirements Score (100 points)
| Category | Points | Description | |----------|--------|-------------| | Clarity | 30 | Unambiguous, well-defined requirements | | Completeness | 25 | All functional aspects covered | | Testability | 20 | Clear acceptance criteria | | Technical Feasibility | 15 | Realistic implementation plan | | Scope Definition | 10 | Clear feature boundaries |
**Threshold**: โฅ 90 points to proceed
Automatic Optimization
If initial score < 90: 1. User provides feedback 2. Agent revises requirements 3. System recalculates score 4. Repeat until โฅ 90 5. User confirms โ Save โ Next phase
๐ฏ Comparison: Requirements vs BMAD
| Aspect | Requirements Workflow | BMAD Workflow | |--------|----------------------|---------------| | **Phases** | 4 (Requirements โ Code โ Review โ Test) | 6 (PO โ Arch โ SM โ Dev โ Review โ QA) | | **Duration** | Fast (hours) | Thorough (days) | | **Documentation** | Minimal | Comprehensive | | **Quality Gates** | 1 (Requirements โฅ 90) | 2 (PRD โฅ 90, Design โฅ 90) | | **Approval Points** | None | Multiple (after PRD, Architecture, Sprint Plan) | | **Best For** | Simple features, prototypes | Complex features, enterprise projects | | **Artifacts** | 4 documents | 6 documents | | **Planning** | Direct implementation | Sprint planning included | | **Architecture** | Implicit in requirements | Explicit design phase |
๐ก Usage Examples
Example 1: API Feature
/requirements-pilot "REST API endpoint for user profile updates with validation" # Generated requirements include: # - Endpoint specification (PUT /api/users/:id/profile) # - Request/response schemas # - Validation rules # - Error handling # - Authentication requirements # Implementation follows directly # Review checks API best practices # Testing includes endpoint testing
Example 2: Database Schema
/requirements-pilot "Add audit logging table for user actions" # Generated requirements include: # - Table schema definition # - Indexing strategy # - Retention policy # - Query patterns # Implementation creates migration # Review checks schema design # Testing verifies logging behavior
Example 3: Bug Fix
/requirements-pilot "Fix race condition in order processing queue" # Generated requirements include: # - Problem description # - Root cause analysis # - Solution approach # - Verification steps # Implementation applies fix # Review checks concurrency handling # Testing includes stress tests
๐ Iterative Refinement
Each phase supports feedback:
Agent: "Requirements complete (Score: 85/100)" User: "Add error handling for network failures" Agent: "Updated requirements (Score: 93/100) โ " ``
AI-powered development automation with multi-backend execution (Codex/Claude/Gemini/OpenCode)
Repo: cexll/myclaude
Other agents on myclaude.
- BMAD-WORKFLOW
**BMAD (Business-Minded Agile Development)** - AI-driven agile development automation with role-based agents
Open agent - bmad-architect
Interactive System Architect agent for technical design with quality scoring and user confirmation
Open agent - bmad-dev
Automated Developer agent for implementing features based on PRD, architecture, and sprint plan
Open agent - bmad-orchestrator
Repository-aware orchestrator agent for workflow coordination, repository analysis, and context management
Open agent - bmad-po
Interactive Product Owner agent for requirements gathering with quality scoring and user confirmation
Open agent - bmad-qa
Automated QA Engineer agent for comprehensive testing based on requirements and implementation
Open agent

