Transform Jira tickets into production-ready pull requests with AI-powered development workflow
An intelligent development pipeline that orchestrates specialized AI agents to handle the complete software development lifecycle - from understanding requirements to creating pull requests. Each phase is handled by specialized agents that work in parallel when possible, with human oversight at critical decision points.
Now includes: The Strategic Business Analyst command (/analyst) for interactive brainstorming, market research, and AI-optimized documentation generation!
- 🧠 Smart Agent Discovery: Matches tasks to agents based on their descriptions, not naming conventions
- ⚡ Parallel Execution: Development and review tasks run simultaneously
- 🔄 Human-in-the-Loop: Approval checkpoints at critical stages
- 📈 Progressive Enhancement: Start generic, evolve with specialized agents
- 🎨 Creative Freedom: Name your agents anything -
api-wizard,bug-whisperer,style-maestro! - 📊 Business Analysis: Interactive brainstorming and strategic documentation with
/analyst
graph TD
A[🎫 Jira Ticket] --> B[Phase 1: Requirements Gathering]
B --> C{Human Approval}
C --> D[Phase 2: Task Planning]
D --> E{Human Approval}
E --> F[Phase 3: Parallel Development]
F --> G[Phase 4: Parallel Review]
G --> H{Human Review Cycle}
H -->|Changes Needed| F
H -->|Approved| I[Phase 5: Documentation & PR]
I --> J[✅ Pull Request Ready]
# Clone this repository
git clone https://github.com/yourusername/claude-dev-pipeline.git
# Copy agents to your project
cp -r claude-dev-pipeline/agents .claude/agents/
# Or symlink for updates
ln -s /path/to/claude-dev-pipeline/agents .claude/agents# Start development from a Jira ticket
/dev-orchestrator <ticket-id>
# Or start a brainstorming session
/analyst brainstorm
# Or create project documentation
/analyst- Have a Jira ticket ready
- Run
/dev-orchestrator <ticket-id> - Answer clarifying questions
- Approve the task plan
- Watch parallel development happen
- Review and iterate
- Get a ready-to-merge PR!
Orchestrates the complete development workflow from Jira ticket to pull request. Manages all 5 phases with human checkpoints.
Your Strategic Business Analyst "Mary" for:
- Brainstorming - Interactive ideation sessions with 20+ techniques (SCAMPER, Mind Mapping, Six Thinking Hats, etc.)
- Project Briefs - Comprehensive project documentation
- Market Research - Market analysis and opportunity identification
- Competitive Analysis - Systematic competitor evaluation
- Research Prompts - Deep research question generation
- Project Documentation - AI-optimized codebase documentation
- Requirements Elicitation - Advanced requirements gathering
Start with /analyst to see all modes or jump directly to a mode with /analyst brainstorm.
Understands what needs to be built
- jira-analyst: Extracts ticket details, epic context
- context-analyzer: Scans codebase for patterns
- requirements-clarifier: Asks targeted questions
- Human checkpoint: Confirm understanding
Creates optimal task breakdown
- agent-discoverer: Finds all available agents
- story-analyzer: Proposes phases for complex stories
- architect: Validates technical approach
- duplication-checker: Identifies reusable code
- task-planner: Assigns tasks to best agents
- Human checkpoint: Approve plan
Implements all tasks simultaneously
- Multiple specialized agents work in parallel
- 2 retry attempts on failure
- Isolated commits for safety
- No human intervention needed
Ensures quality through parallel reviews
- performance-reviewer: Algorithm and query analysis
- security-reviewer: Vulnerability scanning
- maintainability-reviewer: Code quality checks
- test-validator: Coverage verification
- Human checkpoint: Approve or request changes (∞ cycles)
Prepares everything for merge
- doc-generator: Updates all documentation
- changelog-writer: Creates release notes
- pr-creator: Formats perfect pull request
- Human checkpoint: Final approval
Agents are matched to tasks by analyzing their descriptions, not their names. This means you can name them anything memorable while the system still finds the right agent for each task.
---
name: your-creative-name
description: What this agent does. Expert in [technologies]. Handles [specific tasks]. Specializes in [domains]. PROACTIVELY USED for [when to trigger].
tools: cody, file_editor, [other tools]
---
# Agent Name
Detailed instructions following your project patterns...API Specialist (api-wizard.md):
---
name: api-wizard
description: Master of REST and GraphQL APIs. Expert in Express.js, FastAPI, authentication, JWT tokens, rate limiting. Handles endpoint creation, API documentation, error handling. PROACTIVELY USED for all API development tasks.
tools: cody, file_editor, curl, npm
---State Management (state-alchemist.md):
---
name: state-alchemist
description: Redux and state management expert. Handles Redux Toolkit, MobX, Zustand, Context API. Specializes in state design, performance optimization, and preventing unnecessary re-renders. PROACTIVELY USED for state management tasks.
tools: cody, file_editor, npm
---When a task needs to be assigned:
-
Task Analysis: "Implement secure payment processing"
- Keywords: ["payment", "secure", "processing"]
-
Agent Scoring:
payment-ninja: "Handles Stripe, PayPal, payment flows..." → Score: 180 (payment + processing + flows) security-guardian: "Security expert, handles payments..." → Score: 140 (secure + payments) backend-developer: "General backend development" → Score: 10 (generic fallback) -
Result:
payment-ninjaselected with explanation!
- Begin with generic agents
- Create specialists as patterns emerge
- Share successful agents across projects
# ❌ Poor description
description: Does React stuff
# ✅ Rich description
description: React components with TypeScript, hooks, Redux Toolkit, React Query. Handles component architecture, performance optimization, accessibility. Expert in atomic design, styled-components. PROACTIVELY USED for all React UI tasks..claude/agents/
├── README.md # Your agent documentation
├── api-wizard.md # API development
├── style-maestro.md # UI/CSS expert
├── data-sculptor.md # Database specialist
├── bug-whisperer.md # Debugging expert
└── ... # Your creative agents
# Override defaults
test_coverage_threshold: 85
pr_template_path: .github/pull_request_template.md
architecture_docs_path: docs/architecture
# Phase controls
max_parallel_tasks: 4
review_parallel: true
auto_retry_attempts: 2- Project agents (
.claude/agents/) - Highest - User agents (
~/.claude/agents/) - Medium - Generic agents (built-in) - Fallback
The pipeline now includes comprehensive logging and analytics capabilities:
- Session tracking: Complete lifecycle with git branch, working directory
- Agent invocations: 19 fields including prompts, responses, timing
- Tool usage: Detailed tracking within agent context
- Token usage: Full cost analysis with cache efficiency metrics
sessions: Session lifecycle and metadataagent_invocations: Complete agent execution historyagent_tool_uses: Tool usage within agentstranscript_events: Rich data from Claude transcripts (22+ fields)thinking_logs: Claude's internal reasoning processtool_relationships: UUID-based parent-child tracking
tools/verify_hook_data.py: Verifies data completenesstools/parse_transcript.py: Extracts rich metrics from transcriptstools/prometheus_exporter.py: Exports metrics to Prometheus/Grafana
- Token Usage: Track millions of tokens per session (example: 39.9M)
- Cache Efficiency: Monitor cache hit rates (90%+ achievable)
- Performance: Duration tracking for every operation
- Agent Patterns: Most used agents, success rates, error frequencies
- Workflow Analysis: Phase transitions, complexity patterns
- Cost Tracking: Full token accounting for budget management
# Parse transcript for rich analytics
python3 tools/parse_transcript.py --session <session-id> --analyze
# Verify hook data completeness
python3 tools/verify_hook_data.py --latest
# View Prometheus metrics
curl http://localhost:9090/metricsTrack your pipeline performance:
- Time per phase
- Agent utilization
- Review cycles needed
- Success rates by agent
- Common failure patterns
We welcome contributions! Here's how:
- New Agent Templates: Add specialized agents for different tech stacks
- Improvements: Enhance existing agents based on real usage
- Documentation: Share your success stories and patterns
- Bug Fixes: Help make the pipeline more robust
- Test agents with real tasks
- Include clear descriptions
- Document any new patterns
- Share performance metrics
Use /analyst before starting development to:
- Brainstorm feature ideas and approaches
- Create comprehensive project briefs
- Research market opportunities
- Analyze competitive landscape
- Generate AI-ready documentation
Example workflow:
# 1. Start with brainstorming
/analyst brainstorm
# 2. Create project brief from ideas
/analyst 2 # Select Project Brief mode
# 3. Then run development pipeline
/dev-orchestrator <ticket-id>Large stories are automatically broken into value-delivering phases:
Phase 1: Backend API Foundation
Phase 2: Frontend Implementation
Phase 3: Advanced FeaturesAdd specialized reviewers:
accessibility-auditori18n-validatorperformance-profiler
- CI/CD pipeline triggers
- Slack notifications
- Jira status updates
- Automated deployments
- Check agent descriptions contain relevant keywords
- Consider creating a specialized agent
- Generic fallbacks always available
- Review task decomposition
- Ensure true independence
- Check dependency mapping
- Clarify acceptance criteria
- Document coding standards
- Add examples to agents