Execute complete business analysis workflow. Auto-detects greenfield vs brownfield and runs appropriate analysis combining codebase analysis, stakeholder interviews, and documentation.
Executes comprehensive business analysis workflow, auto-detecting greenfield vs brownfield projects and adapting methodology accordingly.
/plugin marketplace add DoubleslashSE/claude-marketplace/plugin install business-analyst@doubleslash-pluginsExecute comprehensive business analysis for: $ARGUMENTS
IMPORTANT: Parse the arguments for an objective/context statement that explains WHY this analysis is being done. Look for patterns like:
--objective "..." or -o "..."--context "..." or -c "..."--reason "..." or -r "..."./src - refactoring for testabilityMyProject "adding real-time features"If an objective is provided, store it as the Analysis Objective and use it to:
Analysis Objective: {extracted from arguments, or ask during context assessment}
This command orchestrates the complete business analysis process, automatically detecting whether this is a greenfield (new) or brownfield (existing) project and adapting the workflow accordingly.
When an objective is provided, acknowledge it immediately and let it drive the analysis focus throughout all phases.
Greenfield indicators:
Brownfield indicators:
Determine Project Type
Identify Stakeholders
Define Objectives
For Greenfield Projects:
For Brownfield Projects:
Classify Requirements
Prioritize Using MoSCoW
Create Traceability
This phase implements an iterative improvement cycle until requirements meet quality standards.
┌─────────────────────────────────────────────────────────────────┐
│ VALIDATION FEEDBACK LOOP │
├─────────────────────────────────────────────────────────────────┤
│ │
│ ┌────────────┐ ┌────────────┐ ┌────────────┐ │
│ │ Validate │───▶│ Generate │───▶│ Apply │ │
│ │Requirements│ │ Feedback │ │Corrections │ │
│ └────────────┘ └────────────┘ └────────────┘ │
│ ▲ │ │
│ │ │ │
│ │ ┌────────────┐ │ │
│ └───────────│ Re-validate│◀──────────┘ │
│ │ (if needed)│ │
│ └────────────┘ │
│ │
│ EXIT CONDITION: Score >= 90% or User approves │
└─────────────────────────────────────────────────────────────────┘
Cycle Steps:
Run Validator
Process Feedback
Apply Corrections
Gather Missing Information
Re-validate
Quality Gates:
Present Findings Summary
Confirm Requirements
Final Assumption Review
Generate SRS Document
Final Validation Report
The workflow will pause for user confirmation at these points:
At the end of this workflow, you will have:
Stakeholder Register
Requirements Inventory
Codebase Analysis Report (brownfield only)
Traceability Matrix
SRS Document
Validation Report
If you need more focused analysis, use these commands:
/business-analyst:greenfield - Dedicated greenfield workflow/business-analyst:brownfield - Dedicated brownfield workflow/business-analyst:interview - Focused interview session/business-analyst:generate-srs - SRS generation only/business-analyst:validate - Validation onlyIf an objective was provided in the arguments, acknowledge it:
"I see you want to analyze this for: {objective}. I'll focus my analysis accordingly."
Then gather remaining context as needed.
If no objective was provided, begin with:
# Basic usage (will ask for objective)
/business-analyst:analyze MyProject
# With explicit objective
/business-analyst:analyze ./src --objective "Refactor payment module for PCI compliance"
/business-analyst:analyze CustomerPortal -o "Add real-time notifications feature"
# Natural language
/business-analyst:analyze ./legacy-api - modernize to REST standards