jira issue triage and routing
2
总安装量
0
周安装量
#69830
全站排名
安装命令
npx skills add https://github.com/lobbi-docs/claude --skill 'Jira Issue Triage and Routing'
Skill 文档
Jira Issue Triage and Routing Skill
Intelligent classification, prioritization, and routing system for Jira issues.
Triage Decision Tree
START: New Jira Issue
ââ Step 1: ISSUE TYPE CLASSIFICATION
â ââ Bug? â Classify severity (Blocker/Critical/Major/Minor) â HIGH Priority if Critical
â ââ Story/Feature? â Check requirements clarity, sprint scope, dependencies
â ââ Epic? â Route to epic-decomposer (NEVER implement directly)
â ââ Task? â Route by category (Tech Debt/Config/Docs/Infrastructure)
â ââ Spike? â Time-box (1-2 days max) â Document findings â Create stories
â
ââ Step 2: COMPLEXITY ASSESSMENT (0-100 scale)
â ââ Code Impact: Single file (2) â Multiple services (10)
â ââ Integration: None (0) â Multiple external APIs (10)
â ââ Risk: None (0) â Critical/Data loss (10)
â ââ Testing: No tests (0) â Complex E2E scenarios (10)
â ââ Dependencies: None (0) â Multiple blocking (10)
â ââ Uncertainty: Known (0) â Complete unknown (10)
â
â Scoring: (CodeÃ0.25 + IntegrationÃ0.20 + RiskÃ0.20 + TestingÃ0.15 + DependenciesÃ0.10 + UncertaintyÃ0.10) Ã 10
â
â Categories:
â ⢠1-20: SIMPLE â Quick-Fix Path (2-3 agents, 2-4 hrs)
â ⢠21-40: MODERATE â Standard Workflow (3-5 agents, 2-5 days)
â ⢠41-70: COMPLEX â Extended Workflow (5-10 agents, 5-10 days)
â ⢠71+: VERY COMPLEX â Decomposition Path
â
ââ Step 3: PRIORITY & SEVERITY ASSESSMENT
â ââ Business Impact: Blocks production (BLOCKER) â Nice-to-have (LOW)
â ââ Urgency: Immediate (hours) â Backlog (months)
â ââ Bug Severity Matrix:
â ⢠BLOCKER: Production down, data loss, security breach (1-4 hr SLA)
â ⢠CRITICAL: Major functionality broken (4-8 hr SLA)
â ⢠MAJOR: Important feature degraded (1-3 days)
â ⢠MINOR: Cosmetic issues (next sprint)
â
ââ Step 4: WORKFLOW ROUTING
â ââ QUICK-FIX: Simple (1-20), <50 LOC, low risk â EXPLOREâCODEâTESTâCOMMIT
â ââ STANDARD: Moderate (21-40) â EXPLOREâPLANâCODEâTESTâFIXâCOMMIT
â ââ EXTENDED: Complex (41-70), high risk â All phases + extended thinking + checkpoints
â ââ RESEARCH: Spike/POC â RESEARCHâDOCUMENTâCREATE STORIES (time-boxed)
â ââ DECOMPOSITION: Epic (71+) â ANALYZEâDECOMPOSEâCREATE STORIESâTRIAGE EACH
â
ââ Step 5: AGENT SELECTION
â ââ By Type: Bugâtriage-agent; Storyârequirements-analyzer; Epicâepic-decomposer; Spikeârequirements-analyzer
â ââ By Tech: Frontendâreact-specialist; Backendânodejs/python/java-specialist; DevOpsâk8s-specialist
â ââ By Phase: EXPLOREârequirements-analyzer; PLANâarchitect; CODEâtech-specific; TESTâtest-strategist; COMMITâcommit-orchestrator
â ââ By Complexity: SIMPLEâ2-3 junior agents; COMPLEXâ5-10 seniors + extended thinking
â
ââ Step 6: RISK & ESCALATION
â ââ Risk Factors: Security, breaking changes, data migrations, compliance issues
â ââ Level 1 (IMMEDIATE STOP): Security vulnerability, data loss, compliance breach
â ââ Level 2 (CHECKPOINT): Complexity +50%, blocker >4hrs, breaking changes
â ââ Level 3 (POST-COMPLETION): Standard bugs, docs, minor refactoring
â
ââ Step 7: OUTPUT ROUTING PACKAGE
ââ Classification, complexity score, priority, workflow path
ââ Agent selection, risk assessment, escalation triggers
ââ Update Jira labels, assign workflow, spawn agents
Issue Type Routing Matrix
| Type | Detection | Routing | Agents |
|---|---|---|---|
| Bug | Title: “bug”, “broken”, “error”; Stack trace present | Route by severity + “Can reproduce?” check | triage-agent, hypothesis-debugger, root-cause-analyzer |
| Story | “Add”, “implement”, “create”; User story format | Check requirements, sprint scope, decompose if >13 pts | requirements-analyzer, requirements-analyzer, task-enricher |
| Epic | Type=Epic; Multi-sprint scope | DECOMPOSE into 3-8 stories (FoundationâCoreâEnhancementâPolish phases) | epic-decomposer, strategic-planner |
| Task | No user-facing change | Tech Debtâcode-quality; Configâdevops; Docsâdoc-writer | domain-specialists |
| Spike | “Investigate”, “research”, “POC”; Unknown outcome | Time-box 1-2 days, document findings, create stories | requirements-analyzer, requirements-analyzer |
Complexity Scoring Example
Issue: Add CSV export functionality
Code Impact: 5 (3-4 files, 200-300 LOC) Ã 0.25 = 1.25
Integration: 3 (internal APIs) Ã 0.20 = 0.60
Risk: 4 (file generation, perf) Ã 0.20 = 0.80
Testing: 6 (unit + integration) Ã 0.15 = 0.90
Dependencies: 2 (DB query opt) Ã 0.10 = 0.20
Uncertainty: 3 (format details) Ã 0.10 = 0.30
Score: 3.65 Ã 10 = 36.5 â MODERATE (5 story points)
â Standard Workflow, 3-5 agents, 2-5 days
Epic Decomposition Example
Epic: User Management System
Phase 1 (Sprint 1): PROJ-101 Profile CRUD (5pts), PROJ-102 RBAC (8pts), PROJ-103 Password Policy (3pts)
Phase 2 (Sprint 2): PROJ-104 Audit Logging (5pts), PROJ-105 MFA (8pts)
Phase 3 (Sprint 3): PROJ-106 Bulk Ops (5pts), PROJ-107 Import/Export (5pts)
Phase 4 (Sprint 4): PROJ-108 Analytics (8pts)
Dependencies: PROJ-102 blocks PROJ-106; PROJ-101 blocks PROJ-104
Total: 8 stories, 47 points, 4 sprints, 2-3 developers
Workflow Paths
| Path | Criteria | Phases | Agents | Duration |
|---|---|---|---|---|
| Quick-Fix | Complexity 1-20, <50 LOC, low risk | EXPLOREâCODEâTESTâCOMMIT | 2-3 | 2-4 hrs |
| Standard | Complexity 21-40, moderate risk | EXPLOREâPLANâCODEâTESTâFIXâCOMMIT | 3-5 | 2-5 days |
| Extended | Complexity 41-70, high risk | All phases + extended thinking + checkpoints | 5-13 | 5-10 days |
| Research | Spike/POC, time-boxed | RESEARCHâDOCUMENTâCREATE STORIES | 1-3 | 1-5 days |
| Decomposition | Epic, complexity 71+ | ANALYZEâDECOMPOSEâCREATE STORIESâTRIAGE | 2-4 | 1-2 days |
Agent Selection by Phase
| Phase | SIMPLE | MODERATE | COMPLEX | VERY COMPLEX |
|---|---|---|---|---|
| EXPLORE | requirements-analyzer (1) | requirements-analyzer, requirements-analyzer (2) | requirements-analyzer, dep-mapper, architect (3) | architect, senior-analyst (3) |
| PLAN | â | requirements-analyzer (1) | requirements-analyzer, code-architect (2) | senior-architect (2) |
| CODE | junior-dev (1-2) | task-enricher (2-4) | task-enricher (3-6) | senior-specialists (4-6) |
| TEST | test-runner (1) | test-strategist (1-2) | test-strategist, qa-ticket-reviewer (2-3) | comprehensive-tester (2-4) |
| FIX | â | hypothesis-debugger (1) | hypothesis-debugger, code-quality-enforcer (1-2) | senior-debugger (1-2) |
| COMMIT | commit-orchestrator (1) | commit-orchestrator (1) | commit-orchestrator, documentation-hub (1-2) | commit-orchestrator, documentation-hub (1-2) |
Escalation Matrix
| Trigger | Level | Action | Timeline | Notify |
|---|---|---|---|---|
| Security vulnerability | 1 IMMEDIATE | STOP work, create incident | Immediate | Security, management |
| Data loss risk | 1 IMMEDIATE | STOP work, document | Immediate | Ops, management |
| Complexity +50% | 2 CHECKPOINT | Pause, request decision | Same day | Tech lead, product owner |
| Blocker >4 hrs | 2 CHECKPOINT | Escalate blocker | Within 4 hrs | Blocking team, manager |
| Breaking change | 2 CHECKPOINT | Document impact, approve | 1-2 days | Affected teams |
| Standard bug fix | 3 POST-COMPLETION | Complete, notify | After done | Reviewer |
Bug Routing Decision
Bug Detected
ââ Can reproduce consistently? NO â Gather reproduction steps
ââ Security vulnerability? YES â IMMEDIATE ESCALATION
ââ Severity?
â ââ BLOCKER/CRITICAL â Extended workflow, root-cause analysis, human checkpoints
â ââ MAJOR â Standard workflow, add regression tests
â ââ MINOR â Quick-Fix path, batch with similar fixes
ââ Root cause known? NO â Extend EXPLORE phase with hypothesis-debugger/profiler
Feature Routing Decision
Story/Feature Detected
ââ Requirements clear? NO â Route to requirements-analyzer first
ââ Single sprint scope? NO â Consider epic decomposition
ââ Tech complexity?
â ââ Frontend â UI specialists
â ââ Backend â API specialists
â ââ Full-stack â Both
â ââ Infrastructure â DevOps specialists
ââ Integration complexity?
â ââ None â SIMPLE (1-20 pts)
â ââ Internal APIs â MODERATE (21-40 pts)
â ââ External APIs â COMPLEX (41-70 pts)
â ââ Multiple external â VERY COMPLEX (71+ pts)
ââ Score 1-100 and route to appropriate workflow
Spike Handling
Spike Detected
ââ Time-Box Definition (CRITICAL)
â ââ Small: 1 day max
â ââ Medium: 2-3 days max
â ââ Large: 1 week max (justify)
ââ Research Phase: Investigate tech/approach, build POC if needed
ââ Document Phase: Write findings, recommend approach, estimate effort
ââ Output: Go/No-Go decision OR implementation stories with estimates
Triage Output Checklist
- Issue classification (type, subtype, confidence)
- Complexity score (0-100) with factor breakdown
- Priority & severity assessment
- Workflow path selection (Quick-Fix/Standard/Extended/Research/Decomposition)
- Agent recommendations per phase
- Risk assessment and escalation level
- Dependencies and blockers
- Jira labels and field updates
- Execute workflow with selected agents