agentic-sdlc 1.0.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agent/ide-integration/INTEGRATION-SUMMARY.md +309 -0
- package/.agent/ide-integration/KIRO-IDE.md +381 -0
- package/.agent/ide-integration/README.md +256 -209
- package/.agent/knowledge-base/AUTO-LEARNING-GUIDE.md +327 -0
- package/.agent/knowledge-base/HOW-IT-WORKS.md +365 -0
- package/.agent/knowledge-base/INDEX.md +43 -0
- package/.agent/knowledge-base/README.md +47 -7
- package/.agent/knowledge-base/architecture/KB-2026-01-01-003-neo4j-graph-database-skills.md +1146 -0
- package/.agent/knowledge-base/architecture/README.md +98 -0
- package/.agent/knowledge-base/bugs/KB-2026-01-02-yaml-special-character-escaping.md +56 -0
- package/.agent/knowledge-base/bugs/medium/KB-2026-01-01-001-example-auto-learned.md +198 -0
- package/.agent/knowledge-base/features/KB-2026-01-01-001-landing-page-design-trends-2026.md +646 -0
- package/.agent/knowledge-base/features/KB-2026-01-01-004-uiux-design-skills-2026.md +945 -0
- package/.agent/knowledge-base/features/KB-2026-01-01-005-modern-ai-landing-page-ui.md +310 -0
- package/.agent/knowledge-base/features/KB-2026-01-01-006-award-winning-landing-page-patterns.md +324 -0
- package/.agent/knowledge-base/features/KB-2026-01-02-001-cleanup-workflow.md +242 -0
- package/.agent/knowledge-base/features/KB-2026-01-02-002-landing-page-monorepo-architecture.md +148 -0
- package/.agent/knowledge-base/features/KB-2026-01-02-003-premium-glassmorphism-patterns.md +58 -0
- package/.agent/knowledge-base/features/KB-2026-01-04-ai-agent-enforcement.md +46 -0
- package/.agent/knowledge-base/features/README.md +83 -0
- package/.agent/knowledge-base/features/figma-landing-page-workflow.md +311 -0
- package/.agent/knowledge-base/features/figma-mcp-sa-guide.md +673 -0
- package/.agent/knowledge-base/features/figma-mcp-uiux-guide.md +459 -0
- package/.agent/knowledge-base/performance/KB-2026-01-02-lazy-loading-optimization.md +80 -0
- package/.agent/knowledge-base/platform-specific/KB-2026-01-02-windows-console-encoding.md +56 -0
- package/.agent/knowledge-base/role-guides/DEV-KB-Guide.md +527 -0
- package/.agent/knowledge-base/role-guides/DEVOPS-KB-Guide.md +491 -0
- package/.agent/knowledge-base/role-guides/PM-KB-Guide.md +299 -0
- package/.agent/knowledge-base/role-guides/SECA-KB-Guide.md +555 -0
- package/.agent/knowledge-base/role-guides/TESTER-KB-Guide.md +519 -0
- package/.agent/knowledge-base/security/KB-2026-01-02-input-validation-sanitization.md +74 -0
- package/.agent/rules/AUTO-LEARNING.md +418 -0
- package/.agent/rules/ai-enforcement.md +11 -0
- package/.agent/rules/artifacts.md +77 -58
- package/.agent/rules/git-workflow.md +25 -65
- package/.agent/rules/global.md +18 -13
- package/.agent/skills/role-ba.md +76 -0
- package/.agent/skills/role-brain.md +470 -0
- package/.agent/skills/role-dev.md +338 -0
- package/.agent/skills/role-devops.md +122 -0
- package/.agent/skills/role-orchestrator.md +223 -0
- package/.agent/skills/role-pm.md +258 -0
- package/.agent/skills/role-po.md +237 -0
- package/.agent/skills/role-qa.md +81 -0
- package/.agent/skills/role-reporter.md +117 -0
- package/.agent/skills/role-sa.md +277 -0
- package/.agent/skills/role-seca.md +294 -0
- package/.agent/skills/role-stakeholder.md +105 -0
- package/.agent/skills/role-tester.md +294 -0
- package/.agent/skills/role-uiux.md +264 -0
- package/.agent/templates/CHANGELOG-Template.md +83 -0
- package/.agent/templates/Knowledge-Entry-Template.md +3 -0
- package/.agent/workflows/brain.md +84 -53
- package/.agent/workflows/compound.md +51 -0
- package/.agent/workflows/cycle.md +61 -0
- package/.agent/workflows/emergency.md +114 -0
- package/.agent/workflows/explore.md +147 -0
- package/.agent/workflows/housekeeping.md +105 -0
- package/.agent/workflows/metrics.md +179 -0
- package/.agent/workflows/orchestrator.md +68 -0
- package/.agent/workflows/preflight.md +35 -0
- package/.agent/workflows/release.md +153 -0
- package/.agent/workflows/route.md +160 -0
- package/.agent/workflows/sprint.md +125 -0
- package/.agent/workflows/validate.md +146 -0
- package/CHANGELOG.md +349 -6
- package/README.md +171 -86
- package/bin/CROSS-PLATFORM-CLI.md +526 -0
- package/bin/README.md +525 -0
- package/bin/cli.js +65 -90
- package/bin/kb +34 -0
- package/bin/kb.bat +28 -0
- package/bin/kb_cli.py +226 -0
- package/bin/lib/README.md +411 -0
- package/bin/lib/__init__.py +7 -0
- package/bin/lib/__pycache__/kb_add.cpython-313.pyc +0 -0
- package/bin/lib/__pycache__/kb_common.cpython-313.pyc +0 -0
- package/bin/lib/__pycache__/kb_compound.cpython-313.pyc +0 -0
- package/bin/lib/__pycache__/kb_index.cpython-313.pyc +0 -0
- package/bin/lib/__pycache__/kb_list.cpython-313.pyc +0 -0
- package/bin/lib/__pycache__/kb_search.cpython-313.pyc +0 -0
- package/bin/lib/__pycache__/kb_stats.cpython-313.pyc +0 -0
- package/bin/lib/kb_add.py +203 -0
- package/bin/lib/kb_common.py +224 -0
- package/bin/lib/kb_compound.py +250 -0
- package/bin/lib/kb_index.py +193 -0
- package/bin/lib/kb_list.py +144 -0
- package/bin/lib/kb_search.py +121 -0
- package/bin/lib/kb_stats.py +153 -0
- package/docs/AGENT-MANAGEMENT-GUIDE.md +298 -0
- package/docs/ARCHITECTURE-OVERVIEW.md +350 -0
- package/docs/BRAIN-ARCHITECTURE.md +396 -0
- package/docs/COMPOUND-ENGINEERING-SETUP.md +326 -0
- package/docs/KNOWLEDGE-BASE-GUIDE.md +330 -0
- package/docs/KNOWLEDGE-BASE-SIMPLE.md +248 -0
- package/docs/MONOREPO-ARCHITECTURE.md +492 -0
- package/docs/PROJECT-DOCUMENTATION-INDEX.md +540 -0
- package/docs/SDLC-Diagram.md +235 -0
- package/docs/analysis/Workflow-Optimization-Diagram.md +524 -0
- package/docs/analysis/Workflows-Deep-Analysis-2026-01-03.md +604 -0
- package/docs/architecture/{brain.md → BRAIN.md} +1 -1
- package/docs/global/Master-Documentation.md +307 -0
- package/docs/global/reports/Final-Approval-Report.md +257 -0
- package/docs/guides/AUTO-LEARNING-COMPLETE-GUIDE.md +519 -0
- package/docs/guides/AUTO-LEARNING-SYSTEM.md +322 -0
- package/docs/guides/LEARNING-FLOW.md +0 -0
- package/docs/guides/MCP-QUICK-REFERENCE.md +104 -0
- package/docs/guides/MCP-SETUP.md +139 -0
- package/docs/guides/QUICK-START.md +4 -0
- package/docs/guides/ROLE-COMMUNICATION-SYSTEM.md +71 -0
- package/docs/reports/Metrics-Dashboard-2026-01-02.md +66 -0
- package/docs/reports/Metrics-Dashboard-2026-01-04.md +68 -0
- package/docs/reports/UIUX-Design-Skills-Research-Report-2026.md +91 -0
- package/docs/reports/Validation-Report-2026-01-04.md +23 -0
- package/docs/research-reports/research-20260103-101315.json +95 -0
- package/docs/research-reports/research-20260103-101315.md +78 -0
- package/docs/research-reports/research-20260103-183837.json +95 -0
- package/docs/research-reports/research-20260103-183837.md +78 -0
- package/docs/research-reports/research-20260103-190346.json +100 -0
- package/docs/research-reports/research-20260103-190346.md +83 -0
- package/docs/setup/{github-management.md → GITHUB-MANAGEMENT.md} +1 -1
- package/docs/setup/RESEARCH-AGENT-SETUP.md +575 -0
- package/docs/sprints/{sprint-github-issues.md → SPRINT-GITHUB-ISSUES.md} +1 -1
- package/docs/sprints/{sprint-leann-integration.md → SPRINT-LEANN-INTEGRATION.md} +1 -1
- package/docs/sprints/sprint-1/designs/Backend-Design-Spec-Sprint-1-v1.md +1206 -0
- package/docs/sprints/sprint-1/designs/System-Design-Spec-Sprint-1-v1.md +439 -0
- package/docs/sprints/sprint-1/designs/System-Design-Spec-v1.0.md +425 -0
- package/docs/sprints/sprint-1/designs/UIUX-Design-Spec-Sprint-1-v1.md +55 -0
- package/docs/sprints/sprint-1/designs/UIUX-Design-Spec-v1.0.md +644 -0
- package/docs/sprints/sprint-1/logs/DevOps-Plan-and-Log-Sprint-1-v1.md +253 -0
- package/docs/sprints/sprint-1/logs/Development-Log-Phase1.md +433 -0
- package/docs/sprints/sprint-1/logs/Development-Log-Sprint-1-v1.md +181 -0
- package/docs/sprints/sprint-1/logs/Development-Log-Sprint-1.md +548 -0
- package/docs/sprints/sprint-1/logs/Orchestration-Log-Sprint-1.md +46 -0
- package/docs/sprints/sprint-1/logs/Phase1-Summary.md +84 -0
- package/docs/sprints/sprint-1/plans/Product-Backlog-Sprint-1-v1.md +40 -0
- package/docs/sprints/sprint-1/plans/Product-Backlog-v1.0.md +613 -0
- package/docs/sprints/sprint-1/plans/Project-Plan-Sprint-1-v1.0.md +210 -0
- package/docs/sprints/sprint-1/plans/Project-Plan-Sprint-1-v1.md +377 -0
- package/docs/sprints/sprint-1/reports/Design-Verification-Report-v1.0.md +220 -0
- package/docs/sprints/sprint-1/reports/Phase-Report-Sprint-1-v1.md +238 -0
- package/docs/sprints/sprint-1/reports/Security-Review-Report-v1.0.md +285 -0
- package/docs/sprints/sprint-1/reports/Sprint-Report-Sprint-1.md +74 -0
- package/docs/sprints/sprint-1/reports/Test-Report-v1.0.md +346 -0
- package/docs/sprints/sprint-1/reviews/Design-Verification-Report.md +508 -0
- package/docs/sprints/sprint-1/reviews/Security-Review-Report.md +589 -0
- package/docs/sprints/sprint-1/sprint-current/logs/WORKFLOW-CLEANUP-FINAL.md +121 -0
- package/docs/sprints/sprint-1/sprint-current/logs/WORKFLOW-OPTIMIZATION-COMPLETE.md +224 -0
- package/docs/sprints/sprint-1/sprint-current/logs/Workflow-Optimization-Progress.md +310 -0
- package/docs/sprints/sprint-1/sprint-current/logs/Workflow-Optimization-Session-Summary.md +420 -0
- package/docs/sprints/sprint-1/sprint-current/plans/Workflow-Optimization-Implementation-Plan.md +1124 -0
- package/docs/sprints/sprint-2/SPRINT-SUMMARY.md +150 -0
- package/docs/sprints/sprint-2/designs/UIUX-Design-Spec-Sprint-2-v1.md +352 -0
- package/docs/sprints/sprint-2/logs/Development-Log-Sprint-2-v1.md +293 -0
- package/docs/sprints/sprint-2/plans/Product-Backlog-Sprint-2-v1.md +62 -0
- package/docs/sprints/sprint-2/plans/Project-Plan-Sprint-2-v1.md +228 -0
- package/docs/sprints/sprint-2/reports/Phase-Report-Sprint-2-v1.md +303 -0
- package/docs/sprints/sprint-3/designs/UIUX-Design-Spec-Sprint-3-v1.md +160 -0
- package/docs/sprints/sprint-3/logs/Development-Log-Sprint-3-v1.md +249 -0
- package/docs/sprints/sprint-3/logs/Testing-Report-Sprint-3-v1.md +244 -0
- package/docs/sprints/sprint-3/plans/Product-Backlog-Sprint-3-v1.md +95 -0
- package/docs/sprints/sprint-3/reports/Final-Approval-Report-Sprint-3-v1.md +299 -0
- package/docs/sprints/sprint-3/reports/Sprint-Summary-Sprint-3-v1.md +276 -0
- package/docs/sprints/sprint-3/reviews/Design-Verification-Report-Sprint-3-v1.md +122 -0
- package/docs/sprints/sprint-3/reviews/Security-Review-Report-Sprint-3-v1.md +67 -0
- package/docs/sprints/sprint-5/designs/Backend-Design-Spec-Sprint-5-v1.md +1734 -0
- package/docs/sprints/sprint-5/designs/Design-Verification-Report.md +101 -0
- package/docs/sprints/sprint-5/designs/Security-Review-Report.md +84 -0
- package/docs/sprints/sprint-6/.brain-state.json +29 -0
- package/package.json +92 -16
- package/.agent/ide-integration/aider-commands.md +0 -40
- package/.agent/ide-integration/cline-config.json +0 -108
- package/.agent/ide-integration/cursor-rules.md +0 -63
- package/.agent/ide-integration/github-copilot-instructions.md +0 -75
- package/.agent/ide-integration/vscode-commands.json +0 -190
- package/.agent/ide-integration/windsurf-cascade.md +0 -125
- package/.agent/knowledge-base/index.md +0 -202
- package/.agent/legacy/roles/designer.md +0 -311
- package/.agent/legacy/roles/dev.md +0 -177
- package/.agent/legacy/roles/devops.md +0 -146
- package/.agent/legacy/roles/orchestrator.md +0 -339
- package/.agent/legacy/roles/pm.md +0 -120
- package/.agent/legacy/roles/po.md +0 -89
- package/.agent/legacy/roles/qa.md +0 -108
- package/.agent/legacy/roles/reporter.md +0 -70
- package/.agent/legacy/roles/sa.md +0 -118
- package/.agent/legacy/roles/seca.md +0 -112
- package/.agent/legacy/roles/stakeholder.md +0 -111
- package/.agent/legacy/roles/tester.md +0 -129
- package/.agent/rules/global.md.bak +0 -154
- package/.agent/usage.md +0 -653
- package/.agent/workflows/auto.md +0 -35
- package/.agent/workflows/dev.md +0 -30
- package/.agent/workflows/devops.md +0 -28
- package/.agent/workflows/kb-search.md +0 -22
- package/.agent/workflows/pm.md +0 -42
- package/.agent/workflows/po.md +0 -21
- package/.agent/workflows/qa.md +0 -31
- package/.agent/workflows/reporter.md +0 -21
- package/.agent/workflows/sa.md +0 -51
- package/.agent/workflows/seca.md +0 -21
- package/.agent/workflows/stakeholder.md +0 -26
- package/.agent/workflows/tester.md +0 -21
- package/.agent/workflows/uiux.md +0 -38
- package/.cursorrules +0 -49
- package/.env.template +0 -10
- package/.github/ISSUE_TEMPLATE/bug_report.yml +0 -47
- package/.github/ISSUE_TEMPLATE/config.yml +0 -8
- package/.github/ISSUE_TEMPLATE/feature_request.yml +0 -33
- package/.github/ISSUE_TEMPLATE/security_alert.yml +0 -28
- package/.github/ISSUE_TEMPLATE/task_implementation.yml +0 -37
- package/.github/copilot-instructions.md +0 -60
- package/bin/commands/create.js +0 -96
- package/bin/commands/help.js +0 -69
- package/bin/commands/ide.js +0 -116
- package/bin/commands/init-kb.js +0 -74
- package/bin/commands/install.js +0 -68
- package/bin/commands/list.js +0 -35
- package/bin/graph_brain.py +0 -86
- package/bin/sync_github.py +0 -75
- package/bin/utils/args-parser.js +0 -33
- package/bin/utils/colors.js +0 -21
- package/bin/verify_neo4j.py +0 -25
- /package/.agent/rules/{knowledge-base.md → KNOWLEDGE-BASE.md} +0 -0
- /package/docs/architecture/{neo4j-learning-queries.md → NEO4J-LEARNING-QUERIES.md} +0 -0
- /package/docs/reports/{comparison-leann-neo4j.md → COMPARISON-LEANN-NEO4J.md} +0 -0
- /package/docs/sprints/{sprint-neo4j-brain.md → SPRINT-NEO4J-BRAIN.md} +0 -0
|
@@ -0,0 +1,524 @@
|
|
|
1
|
+
# Workflow Optimization: Visual Comparison
|
|
2
|
+
|
|
3
|
+
## Current State (33 Workflows) - BLOATED ❌
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
┌────────────────────────────────────────────────────────────────────┐
|
|
7
|
+
│ CURRENT STRUCTURE │
|
|
8
|
+
│ (33 FILES) │
|
|
9
|
+
├────────────────────────────────────────────────────────────────────┤
|
|
10
|
+
│ │
|
|
11
|
+
│ Role Workflows (13) - Mixed Complexity │
|
|
12
|
+
│ ┌────────────────────────────────────────────────────────────┐ │
|
|
13
|
+
│ │ pm.md, ba.md, po.md, sa.md, uiux.md, qa.md, seca.md, │ │
|
|
14
|
+
│ │ dev.md, devops.md, tester.md, reporter.md, stakeholder.md, │ │
|
|
15
|
+
│ │ orchestrator.md │ │
|
|
16
|
+
│ └────────────────────────────────────────────────────────────┘ │
|
|
17
|
+
│ │
|
|
18
|
+
│ Process Workflows (10) - Many Duplicates │
|
|
19
|
+
│ ┌────────────────────────────────────────────────────────────┐ │
|
|
20
|
+
│ │ auto.md ⚠️ (dup with orchestrator) │ │
|
|
21
|
+
│ │ cycle.md ✅ │ │
|
|
22
|
+
│ │ compound.md ✅ │ │
|
|
23
|
+
│ │ auto-learning-workflow.md ⚠️ (dup with compound+brain) │ │
|
|
24
|
+
│ │ explore.md ✅ │ │
|
|
25
|
+
│ │ emergency.md ✅ │ │
|
|
26
|
+
│ │ sprint.md ✅ (too minimal) │ │
|
|
27
|
+
│ │ route.md ✅ │ │
|
|
28
|
+
│ │ cleanup.md ⚠️ (dup with housekeeping) │ │
|
|
29
|
+
│ │ housekeeping.md ✅ │ │
|
|
30
|
+
│ └────────────────────────────────────────────────────────────┘ │
|
|
31
|
+
│ │
|
|
32
|
+
│ Utility/Meta (10) - BLOAT │
|
|
33
|
+
│ ┌────────────────────────────────────────────────────────────┐ │
|
|
34
|
+
│ │ brain.md ✅ │ │
|
|
35
|
+
│ │ research.md ⚠️ (already in roles) │ │
|
|
36
|
+
│ │ kb-search.md ⚠️ (659 bytes - trivial) │ │
|
|
37
|
+
│ │ git-kb-integration.md ⚠️ (setup, not workflow) │ │
|
|
38
|
+
│ │ kb-hooks-setup.md ⚠️ (setup, not workflow) │ │
|
|
39
|
+
│ │ cleanup-quick-reference.md ⚠️ (just reference) │ │
|
|
40
|
+
│ │ documentation-updates.md ⚠️ (should be in release) │ │
|
|
41
|
+
│ │ validate.md ✅ │ │
|
|
42
|
+
│ │ metrics.md ✅ │ │
|
|
43
|
+
│ │ release.md ✅ │ │
|
|
44
|
+
│ └────────────────────────────────────────────────────────────┘ │
|
|
45
|
+
│ │
|
|
46
|
+
│ PROBLEMS: │
|
|
47
|
+
│ • Too many files (cognitive overload) │
|
|
48
|
+
│ • No clear hierarchy │
|
|
49
|
+
│ • Duplicate functionality │
|
|
50
|
+
│ • Mixing concerns (roles + processes + utilities) │
|
|
51
|
+
│ • Setup guides mixed with workflows │
|
|
52
|
+
└────────────────────────────────────────────────────────────────────┘
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## Proposed State (20 Workflows) - OPTIMIZED ✅
|
|
58
|
+
|
|
59
|
+
```
|
|
60
|
+
┌────────────────────────────────────────────────────────────────────┐
|
|
61
|
+
│ OPTIMIZED STRUCTURE (20 FILES) │
|
|
62
|
+
├────────────────────────────────────────────────────────────────────┤
|
|
63
|
+
│ │
|
|
64
|
+
│ 📁 core/ (8 Core SDLC Roles) │
|
|
65
|
+
│ ┌──────────────────────────────────────────────────────────────┐ │
|
|
66
|
+
│ │ 1. pm.md ← merged: po, reporter, stakeholder │ │
|
|
67
|
+
│ │ 2. ba.md ← GOLD STANDARD (586 lines) │ │
|
|
68
|
+
│ │ 3. sa.md ← System Analyst │ │
|
|
69
|
+
│ │ 4. uiux.md ← UI/UX Designer │ │
|
|
70
|
+
│ │ 5. dev.md ← Developer │ │
|
|
71
|
+
│ │ 6. devops.md ← DevOps Engineer │ │
|
|
72
|
+
│ │ 7. tester.md ← merged: qa │ │
|
|
73
|
+
│ │ 8. seca.md ← Security Analyst │ │
|
|
74
|
+
│ └──────────────────────────────────────────────────────────────┘ │
|
|
75
|
+
│ │
|
|
76
|
+
│ 📁 process/ (5 Core Processes) │
|
|
77
|
+
│ ┌──────────────────────────────────────────────────────────────┐ │
|
|
78
|
+
│ │ 1. orchestrator.md ← merged: auto.md │ │
|
|
79
|
+
│ │ 2. cycle.md ← Task Lifecycle (Plan→Work→Review) │ │
|
|
80
|
+
│ │ 3. explore.md ← Deep Investigation (3-order analysis) │ │
|
|
81
|
+
│ │ 4. emergency.md ← Incident Response (P0/P1/P2) │ │
|
|
82
|
+
│ │ 5. sprint.md ← Sprint Management (expanded) │ │
|
|
83
|
+
│ └──────────────────────────────────────────────────────────────┘ │
|
|
84
|
+
│ │
|
|
85
|
+
│ 📁 support/ (5 Support Tools) │
|
|
86
|
+
│ ┌──────────────────────────────────────────────────────────────┐ │
|
|
87
|
+
│ │ 1. compound.md ← Knowledge Capture (learning core) │ │
|
|
88
|
+
│ │ 2. brain.md ← merged: auto-learning-workflow │ │
|
|
89
|
+
│ │ 3. route.md ← Workflow Selection Intelligence │ │
|
|
90
|
+
│ │ 4. release.md ← merged: documentation-updates │ │
|
|
91
|
+
│ │ 5. housekeeping.md ← merged: cleanup, cleanup-quick-ref │ │
|
|
92
|
+
│ └──────────────────────────────────────────────────────────────┘ │
|
|
93
|
+
│ │
|
|
94
|
+
│ 📁 utilities/ (2 System Utilities) │
|
|
95
|
+
│ ┌──────────────────────────────────────────────────────────────┐ │
|
|
96
|
+
│ │ 1. validate.md ← System Health Check │ │
|
|
97
|
+
│ │ 2. metrics.md ← Analytics & Reporting │ │
|
|
98
|
+
│ └──────────────────────────────────────────────────────────────┘ │
|
|
99
|
+
│ │
|
|
100
|
+
│ IMPROVEMENTS: │
|
|
101
|
+
│ ✅ Clear 4-tier hierarchy (core/process/support/utilities) │
|
|
102
|
+
│ ✅ No duplicates (merged overlapping functions) │
|
|
103
|
+
│ ✅ Focused responsibilities (each file has clear purpose) │
|
|
104
|
+
│ ✅ Better discoverability (organized by type) │
|
|
105
|
+
│ ✅ Reduced cognitive load (33 → 20 = 39% reduction) │
|
|
106
|
+
└────────────────────────────────────────────────────────────────────┘
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
## SDLC Phase Mapping (Strict Compliance)
|
|
112
|
+
|
|
113
|
+
```
|
|
114
|
+
┌─────────────────────────────────────────────────────────────────────┐
|
|
115
|
+
│ STRICT SDLC FLOW MAPPING │
|
|
116
|
+
├─────────────────────────────────────────────────────────────────────┤
|
|
117
|
+
│ │
|
|
118
|
+
│ Phase 1: PLANNING Workflows: @PM, @BA │
|
|
119
|
+
│ ┌─────────────────────────────────────────────────────────────┐ │
|
|
120
|
+
│ │ User Request → @PM gathers → @BA analyzes → Project Plan │ │
|
|
121
|
+
│ │ Tools: pm.md (planning), ba.md (requirements) │ │
|
|
122
|
+
│ └─────────────────────────────────────────────────────────────┘ │
|
|
123
|
+
│ ↓ [User Approval Gate] │
|
|
124
|
+
│ │
|
|
125
|
+
│ Phase 2: DESIGN Workflows: @SA, @UIUX │
|
|
126
|
+
│ ┌─────────────────────────────────────────────────────────────┐ │
|
|
127
|
+
│ │ @SA designs architecture ║ @UIUX designs interface │ │
|
|
128
|
+
│ │ Tools: sa.md, uiux.md (parallel execution) │ │
|
|
129
|
+
│ └─────────────────────────────────────────────────────────────┘ │
|
|
130
|
+
│ ↓ │
|
|
131
|
+
│ │
|
|
132
|
+
│ Phase 3: VERIFICATION Workflows: @TESTER, @SECA │
|
|
133
|
+
│ ┌─────────────────────────────────────────────────────────────┐ │
|
|
134
|
+
│ │ @TESTER reviews design ║ @SECA security review │ │
|
|
135
|
+
│ │ Tools: tester.md (QA merged), seca.md │ │
|
|
136
|
+
│ └─────────────────────────────────────────────────────────────┘ │
|
|
137
|
+
│ ↓ [Design Approval Gate] │
|
|
138
|
+
│ │
|
|
139
|
+
│ Phase 4: IMPLEMENTATION Workflows: @DEV, @DEVOPS │
|
|
140
|
+
│ ┌─────────────────────────────────────────────────────────────┐ │
|
|
141
|
+
│ │ @DEV codes ║ @DEVOPS prepares infrastructure │ │
|
|
142
|
+
│ │ Tools: dev.md, devops.md + /cycle (for tasks) │ │
|
|
143
|
+
│ │ Support: /compound (capture learnings) │ │
|
|
144
|
+
│ └─────────────────────────────────────────────────────────────┘ │
|
|
145
|
+
│ ↓ │
|
|
146
|
+
│ │
|
|
147
|
+
│ Phase 5: TESTING Workflows: @TESTER │
|
|
148
|
+
│ ┌─────────────────────────────────────────────────────────────┐ │
|
|
149
|
+
│ │ @TESTER runs E2E tests, functional tests, integration │ │
|
|
150
|
+
│ │ Tools: tester.md │ │
|
|
151
|
+
│ └─────────────────────────────────────────────────────────────┘ │
|
|
152
|
+
│ ↓ │
|
|
153
|
+
│ (Bug Found?) → @DEV fixes (using /cycle or /emergency if P0) │
|
|
154
|
+
│ ↓ │
|
|
155
|
+
│ │
|
|
156
|
+
│ Phase 6: DEPLOYMENT Workflows: @DEVOPS │
|
|
157
|
+
│ ┌─────────────────────────────────────────────────────────────┐ │
|
|
158
|
+
│ │ @DEVOPS deploys to staging → production │ │
|
|
159
|
+
│ │ Tools: devops.md, /release (changelog, versioning) │ │
|
|
160
|
+
│ └─────────────────────────────────────────────────────────────┘ │
|
|
161
|
+
│ ↓ │
|
|
162
|
+
│ │
|
|
163
|
+
│ Phase 7: REPORTING Workflows: @PM │
|
|
164
|
+
│ ┌─────────────────────────────────────────────────────────────┐ │
|
|
165
|
+
│ │ @PM generates reports, updates CHANGELOG │ │
|
|
166
|
+
│ │ Tools: pm.md (reporting merged), /release │ │
|
|
167
|
+
│ └─────────────────────────────────────────────────────────────┘ │
|
|
168
|
+
│ ↓ [Final Approval Gate] │
|
|
169
|
+
│ │
|
|
170
|
+
│ Phase 8: APPROVAL Workflows: @PM │
|
|
171
|
+
│ ┌─────────────────────────────────────────────────────────────┐ │
|
|
172
|
+
│ │ @PM (representing stakeholder) approves final delivery │ │
|
|
173
|
+
│ │ Tools: pm.md (stakeholder merged) │ │
|
|
174
|
+
│ └─────────────────────────────────────────────────────────────┘ │
|
|
175
|
+
│ ↓ │
|
|
176
|
+
│ ✅ COMPLETE │
|
|
177
|
+
│ or │
|
|
178
|
+
│ ↻ REPEAT CYCLE (if rejected) │
|
|
179
|
+
│ │
|
|
180
|
+
├─────────────────────────────────────────────────────────────────────┤
|
|
181
|
+
│ EMERGENCY PATH: /emergency (bypasses normal flow for P0/P1) │
|
|
182
|
+
│ ┌─────────────────────────────────────────────────────────────┐ │
|
|
183
|
+
│ │ Incident → Assess → Hotfix → Deploy → Postmortem │ │
|
|
184
|
+
│ │ Tools: emergency.md + /compound (learn from incident) │ │
|
|
185
|
+
│ └─────────────────────────────────────────────────────────────┘ │
|
|
186
|
+
└─────────────────────────────────────────────────────────────────────┘
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
---
|
|
190
|
+
|
|
191
|
+
## Workflow Decision Tree
|
|
192
|
+
|
|
193
|
+
```
|
|
194
|
+
USER REQUEST
|
|
195
|
+
│
|
|
196
|
+
▼
|
|
197
|
+
┌──────────────────────┐
|
|
198
|
+
│ Is this PRODUCTION │
|
|
199
|
+
│ emergency (P0/P1)? │
|
|
200
|
+
└──────────────────────┘
|
|
201
|
+
YES │ │ NO
|
|
202
|
+
│ │
|
|
203
|
+
/emergency │
|
|
204
|
+
(Hotfix) ▼
|
|
205
|
+
│
|
|
206
|
+
┌────────────────────────┐
|
|
207
|
+
│ Do you know which │
|
|
208
|
+
│ workflow to use? │
|
|
209
|
+
└────────────────────────┘
|
|
210
|
+
NO │ │ YES
|
|
211
|
+
│ │
|
|
212
|
+
/route │
|
|
213
|
+
(Intelligence) ▼
|
|
214
|
+
│ │
|
|
215
|
+
│ ┌────────────────────┐
|
|
216
|
+
│ │ Is this a new │
|
|
217
|
+
│ │ project/feature? │
|
|
218
|
+
│ └────────────────────┘
|
|
219
|
+
│ YES │ │ NO
|
|
220
|
+
│ │ │
|
|
221
|
+
│ Is complex? │
|
|
222
|
+
│ YES│ NO │
|
|
223
|
+
│ │ │
|
|
224
|
+
│ /explore │
|
|
225
|
+
│ (Analyze) │
|
|
226
|
+
│ │ │
|
|
227
|
+
│ ▼ ▼
|
|
228
|
+
│ @PM creates
|
|
229
|
+
│ Project Plan
|
|
230
|
+
│ │
|
|
231
|
+
│ ▼
|
|
232
|
+
│ ┌────────────────────┐
|
|
233
|
+
│ │ SDLC Flow Starts │
|
|
234
|
+
│ │ (See above) │
|
|
235
|
+
│ └────────────────────┘
|
|
236
|
+
│ │
|
|
237
|
+
│ ▼
|
|
238
|
+
│ For each task < 4h:
|
|
239
|
+
│ Use /cycle
|
|
240
|
+
│ │
|
|
241
|
+
│ ▼
|
|
242
|
+
│ After solving problem:
|
|
243
|
+
│ Use /compound
|
|
244
|
+
│ │
|
|
245
|
+
└────────────┴──────────────┐
|
|
246
|
+
│
|
|
247
|
+
▼
|
|
248
|
+
┌──────────────────────────┐
|
|
249
|
+
│ End of Sprint? │
|
|
250
|
+
└──────────────────────────┘
|
|
251
|
+
YES │ │ NO
|
|
252
|
+
│ │
|
|
253
|
+
/sprint └─→ Continue
|
|
254
|
+
(Review+Retro)
|
|
255
|
+
│
|
|
256
|
+
▼
|
|
257
|
+
Need to release version?
|
|
258
|
+
YES │ │ NO
|
|
259
|
+
│ │
|
|
260
|
+
/release └─→ Done
|
|
261
|
+
(Changelog+Tag)
|
|
262
|
+
│
|
|
263
|
+
▼
|
|
264
|
+
COMPLETE
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
---
|
|
268
|
+
|
|
269
|
+
## Role Consolidation Rationale
|
|
270
|
+
|
|
271
|
+
### ❌ DELETE: po.md (Product Owner) → ✅ MERGE into pm.md
|
|
272
|
+
|
|
273
|
+
**Reasoning:**
|
|
274
|
+
```
|
|
275
|
+
PM Duties:
|
|
276
|
+
├── Project Planning
|
|
277
|
+
├── Scope Management
|
|
278
|
+
├── Timeline Management
|
|
279
|
+
├── Resource Allocation
|
|
280
|
+
└── ⭐ Backlog Prioritization (overlaps with PO)
|
|
281
|
+
|
|
282
|
+
PO Duties:
|
|
283
|
+
├── ⭐ Backlog Management (overlaps with PM)
|
|
284
|
+
├── User Story Prioritization
|
|
285
|
+
├── Business Value Assessment
|
|
286
|
+
└── Stakeholder Communication (overlaps with PM)
|
|
287
|
+
|
|
288
|
+
Overlap: ~70%
|
|
289
|
+
Decision: PM should own entire backlog lifecycle
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
### ❌ DELETE: qa.md (Quality Assurance) → ✅ MERGE into tester.md
|
|
293
|
+
|
|
294
|
+
**Reasoning:**
|
|
295
|
+
```
|
|
296
|
+
QA Duties:
|
|
297
|
+
├── Design Verification
|
|
298
|
+
├── Test Strategy
|
|
299
|
+
├── Quality Gates
|
|
300
|
+
└── Acceptance Criteria
|
|
301
|
+
|
|
302
|
+
TESTER Duties:
|
|
303
|
+
├── Test Execution
|
|
304
|
+
├── Bug Reporting
|
|
305
|
+
├── Test Automation
|
|
306
|
+
└── Regression Testing
|
|
307
|
+
|
|
308
|
+
Timeline: QA (before testing) → TESTER (during testing)
|
|
309
|
+
Reality: Same person/phase in SDLC
|
|
310
|
+
Decision: Unified Testing workflow (Design Review + Execution)
|
|
311
|
+
```
|
|
312
|
+
|
|
313
|
+
### ❌ DELETE: reporter.md (Reporter) → ✅ MERGE into pm.md
|
|
314
|
+
|
|
315
|
+
**Reasoning:**
|
|
316
|
+
```
|
|
317
|
+
REPORTER Duties:
|
|
318
|
+
├── Generate progress reports
|
|
319
|
+
├── Update CHANGELOG
|
|
320
|
+
├── Create documentation
|
|
321
|
+
└── Communicate status
|
|
322
|
+
|
|
323
|
+
PM Duties:
|
|
324
|
+
├── Project oversight
|
|
325
|
+
├── Stakeholder communication
|
|
326
|
+
├── Status tracking
|
|
327
|
+
└── ⭐ Should naturally own reporting
|
|
328
|
+
|
|
329
|
+
Decision: Reporting is administrative PM duty, not separate role
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
### ❌ DELETE: stakeholder.md → ✅ MERGE into pm.md
|
|
333
|
+
|
|
334
|
+
**Reasoning:**
|
|
335
|
+
```
|
|
336
|
+
STAKEHOLDER is not an AI agent role - it's an APPROVAL GATE
|
|
337
|
+
|
|
338
|
+
Current flow:
|
|
339
|
+
@PM creates plan → USER approves → @SA designs → ...
|
|
340
|
+
↑
|
|
341
|
+
(This is "stakeholder")
|
|
342
|
+
|
|
343
|
+
Stakeholder = User who gives approval
|
|
344
|
+
PM = Agent who represents user interests in the team
|
|
345
|
+
|
|
346
|
+
Decision: PM handles stakeholder communication and approval flow
|
|
347
|
+
```
|
|
348
|
+
|
|
349
|
+
---
|
|
350
|
+
|
|
351
|
+
## File Size & Quality Comparison
|
|
352
|
+
|
|
353
|
+
```
|
|
354
|
+
BEFORE (33 files): AFTER (20 files):
|
|
355
|
+
───────────────── ──────────────────
|
|
356
|
+
|
|
357
|
+
Top Quality (> 400 lines): Expanded to Standard:
|
|
358
|
+
ba.md 586 lines ⭐⭐⭐⭐⭐ ba.md 586 lines ⭐⭐⭐⭐⭐
|
|
359
|
+
compound.md 432 lines ⭐⭐⭐⭐⭐ compound.md 432 lines ⭐⭐⭐⭐⭐
|
|
360
|
+
emergency.md 420 lines ⭐⭐⭐⭐⭐ emergency.md 420 lines ⭐⭐⭐⭐⭐
|
|
361
|
+
pm.md 400+ lines ⭐⭐⭐⭐ (merged PO+Reporter+Stakeholder)
|
|
362
|
+
Good Quality (200-400 lines): tester.md 350+ lines ⭐⭐⭐⭐ (merged QA)
|
|
363
|
+
route.md 330 lines ⭐⭐⭐⭐ sprint.md 300+ lines ⭐⭐⭐⭐ (expanded)
|
|
364
|
+
explore.md 268 lines ⭐⭐⭐⭐
|
|
365
|
+
cycle.md 173 lines ⭐⭐⭐⭐ Same High Quality:
|
|
366
|
+
pm.md 169 lines ⭐⭐⭐ route.md 330 lines ⭐⭐⭐⭐
|
|
367
|
+
explore.md 268 lines ⭐⭐⭐⭐
|
|
368
|
+
Adequate (100-200 lines): cycle.md 173 lines ⭐⭐⭐⭐
|
|
369
|
+
Most role workflows ⭐⭐⭐
|
|
370
|
+
Rest Standardized (200-300 lines):
|
|
371
|
+
Poor Quality (< 100 lines): sa.md, uiux.md, dev.md, devops.md, seca.md,
|
|
372
|
+
sprint.md 88 lines ⚠️ orchestrator.md, brain.md, release.md,
|
|
373
|
+
validate.md 82 lines ⚠️ housekeeping.md, validate.md, metrics.md
|
|
374
|
+
orchestrator.md 60 lines ⚠️
|
|
375
|
+
ALL workflows aim for ⭐⭐⭐⭐ quality
|
|
376
|
+
Trivial (< 50 lines):
|
|
377
|
+
kb-search.md ~30 lines ❌
|
|
378
|
+
```
|
|
379
|
+
|
|
380
|
+
---
|
|
381
|
+
|
|
382
|
+
## Migration Path
|
|
383
|
+
|
|
384
|
+
### Step 1: Backup
|
|
385
|
+
```bash
|
|
386
|
+
# Create backup
|
|
387
|
+
cp -r .agent/workflows .agent/workflows.backup-2026-01-03
|
|
388
|
+
```
|
|
389
|
+
|
|
390
|
+
### Step 2: Merge Files
|
|
391
|
+
```bash
|
|
392
|
+
# Merge PO into PM
|
|
393
|
+
cat .agent/workflows/po.md >> .agent/workflows/pm.md
|
|
394
|
+
# (clean up duplicates, organize sections)
|
|
395
|
+
|
|
396
|
+
# Merge QA into Tester
|
|
397
|
+
cat .agent/workflows/qa.md >> .agent/workflows/tester.md
|
|
398
|
+
|
|
399
|
+
# Merge auto into orchestrator
|
|
400
|
+
cat .agent/workflows/auto.md >> .agent/workflows/orchestrator.md
|
|
401
|
+
|
|
402
|
+
# Merge auto-learning into brain
|
|
403
|
+
cat .agent/workflows/auto-learning-workflow.md >> .agent/workflows/brain.md
|
|
404
|
+
|
|
405
|
+
# Merge cleanup into housekeeping
|
|
406
|
+
cat .agent/workflows/cleanup.md >> .agent/workflows/housekeeping.md
|
|
407
|
+
|
|
408
|
+
# Merge docs-updates into release
|
|
409
|
+
cat .agent/workflows/documentation-updates.md >> .agent/workflows/release.md
|
|
410
|
+
```
|
|
411
|
+
|
|
412
|
+
### Step 3: Reorganize
|
|
413
|
+
```bash
|
|
414
|
+
# Create new structure
|
|
415
|
+
mkdir -p .agent/workflows/{core,process,support,utilities}
|
|
416
|
+
|
|
417
|
+
# Move to new locations
|
|
418
|
+
mv .agent/workflows/{pm,ba,sa,uiux,dev,devops,tester,seca}.md .agent/workflows/core/
|
|
419
|
+
mv .agent/workflows/{orchestrator,cycle,explore,emergency,sprint}.md .agent/workflows/process/
|
|
420
|
+
mv .agent/workflows/{compound,brain,route,release,housekeeping}.md .agent/workflows/support/
|
|
421
|
+
mv .agent/workflows/{validate,metrics}.md .agent/workflows/utilities/
|
|
422
|
+
```
|
|
423
|
+
|
|
424
|
+
### Step 4: Archive
|
|
425
|
+
```bash
|
|
426
|
+
# Archive deleted workflows
|
|
427
|
+
mkdir -p .agent/archive/workflows-consolidated-2026-01-03
|
|
428
|
+
mv .agent/workflows/{po,qa,reporter,stakeholder,auto,auto-learning-workflow,cleanup,documentation-updates,research,kb-search,cleanup-quick-reference}.md .agent/archive/workflows-consolidated-2026-01-03/
|
|
429
|
+
|
|
430
|
+
# Move setup guides to docs
|
|
431
|
+
mv .agent/workflows/{git-kb-integration,kb-hooks-setup}.md docs/setup/
|
|
432
|
+
```
|
|
433
|
+
|
|
434
|
+
### Step 5: Update References
|
|
435
|
+
```bash
|
|
436
|
+
# Update .cursorrules, .windsurfrules to reference new paths
|
|
437
|
+
# Update global.md role list
|
|
438
|
+
# Create INDEX.md in each folder
|
|
439
|
+
# Run /validate to check for broken references
|
|
440
|
+
```
|
|
441
|
+
|
|
442
|
+
---
|
|
443
|
+
|
|
444
|
+
## Quality Standards (All Workflows)
|
|
445
|
+
|
|
446
|
+
### Required Sections
|
|
447
|
+
```markdown
|
|
448
|
+
---
|
|
449
|
+
description: [Brief one-line description]
|
|
450
|
+
---
|
|
451
|
+
|
|
452
|
+
# Workflow Title (@ROLE or /workflow)
|
|
453
|
+
|
|
454
|
+
## Role Description / Overview
|
|
455
|
+
[What this workflow does, when to use]
|
|
456
|
+
|
|
457
|
+
## MCP Intelligence Setup (for roles)
|
|
458
|
+
[Which MCPs to leverage]
|
|
459
|
+
|
|
460
|
+
## Key Duties / Workflow Steps
|
|
461
|
+
### 0. RESEARCH FIRST (MANDATORY) - for complex tasks
|
|
462
|
+
[Research agent integration]
|
|
463
|
+
|
|
464
|
+
### 1-N. [Step Name]
|
|
465
|
+
[Detailed instructions]
|
|
466
|
+
|
|
467
|
+
## Artifact Templates (if applicable)
|
|
468
|
+
[Code/document templates]
|
|
469
|
+
|
|
470
|
+
## Integration with Roles
|
|
471
|
+
[Which other workflows this collaborates with]
|
|
472
|
+
|
|
473
|
+
## Strict Rules
|
|
474
|
+
[Dos and don'ts]
|
|
475
|
+
|
|
476
|
+
## Neo4j Skills Integration (for roles)
|
|
477
|
+
[How to query and sync skills]
|
|
478
|
+
|
|
479
|
+
## Success Criteria
|
|
480
|
+
[Checklist for completion]
|
|
481
|
+
|
|
482
|
+
## Handoff Template
|
|
483
|
+
[Communication format for next role]
|
|
484
|
+
|
|
485
|
+
#tags #workflow
|
|
486
|
+
```
|
|
487
|
+
|
|
488
|
+
### Minimum Length
|
|
489
|
+
- Core Roles: 250+ lines (BA is 586 lines - gold standard)
|
|
490
|
+
- Processes: 200+ lines
|
|
491
|
+
- Support: 150+ lines
|
|
492
|
+
- Utilities: 100+ lines
|
|
493
|
+
|
|
494
|
+
### Quality Checks
|
|
495
|
+
- [ ] All sections present
|
|
496
|
+
- [ ] Clear step-by-step instructions
|
|
497
|
+
- [ ] Examples provided
|
|
498
|
+
- [ ] MCP integration specified
|
|
499
|
+
- [ ] Research mandate (for complex work)
|
|
500
|
+
- [ ] Handoff template defined
|
|
501
|
+
- [ ] Success criteria clear
|
|
502
|
+
- [ ] Related workflows linked
|
|
503
|
+
|
|
504
|
+
---
|
|
505
|
+
|
|
506
|
+
## Expected Benefits
|
|
507
|
+
|
|
508
|
+
### Quantitative
|
|
509
|
+
- **39% reduction** in file count (33 → 20)
|
|
510
|
+
- **90% reduction** in duplicate content
|
|
511
|
+
- **50% increase** in average workflow quality (more comprehensive)
|
|
512
|
+
- **80% discoverability improvement** (clear hierarchy)
|
|
513
|
+
|
|
514
|
+
### Qualitative
|
|
515
|
+
- ✅ Reduced cognitive load (easier to find right workflow)
|
|
516
|
+
- ✅ No confusion about overlapping roles
|
|
517
|
+
- ✅ Clear SDLC compliance mapping
|
|
518
|
+
- ✅ Easier onboarding for new users
|
|
519
|
+
- ✅ Better maintainability (fewer files to update)
|
|
520
|
+
- ✅ Professional appearance
|
|
521
|
+
|
|
522
|
+
---
|
|
523
|
+
|
|
524
|
+
#workflow-optimization #sdlc #architecture #visual-guide
|