/** * SF-Analyze-Blockers Command Template * * Template for analyzing blockers and dependency bottlenecks. */ export const SF_ANALYZE_BLOCKERS_CONTENT = `# Analyze Blockers (SpecForge) Analyze dependency bottlenecks and identify critical path tickets. ## Task ### 1. Get Implementation Data **MCP Calls:** \`\`\`typescript // Read project config const config = readFile('.specforge.json') const specificationId = config.activeSpecification?.id get_specification({ specificationId }) list_epics({ specificationId }) list_tickets({ specificationId }) \`\`\` ### 2. Analyze Dependencies **Logic:** - Build dependency graph - Calculate blocking relationships - Identify critical path - Find bottleneck tickets ### 3. Display Analysis Results **Output:** \`\`\` ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BLOCKER ANALYSIS ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Specification: {title} CRITICAL PATH ───────────────────────────────────────────────────────────────── Length: {pathLength} tickets Impact: {blockedCount} tickets blocked E{n}-T{m} → E{n}-T{m} → E{n}-T{m} → ... HIGH-IMPACT BLOCKERS ───────────────────────────────────────────────────────────────── E{n}-T{m} │ {title} │ Blocking {count} tickets ↳ E{n}-T{m}, E{n}-T{m}, E{n}-T{m} BLOCKED TICKETS ───────────────────────────────────────────────────────────────── E{n}-T{m} │ {title} ⚠ Waiting on: E{n}-T{m} ({status}) RECOMMENDATIONS ───────────────────────────────────────────────────────────────── • Prioritize E{n}-T{m} to unblock {count} tickets • Review dependency chain for E{n}-T{m} ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ \`\`\` ## Notes - Identifies tickets blocking the most work - Shows critical path through implementation - Provides actionable recommendations `;