agents-united 1.0.0 → 1.2.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.
Files changed (250) hide show
  1. package/LICENSE +21 -201
  2. package/README.md +627 -2
  3. package/dist/cli.d.ts +4 -1
  4. package/dist/cli.js +3826 -260
  5. package/dist/cli.js.map +1 -1
  6. package/package.json +9 -3
  7. package/registry/agents/orchestrator-business.md +151 -11
  8. package/registry/agents/orchestrator-design.md +127 -12
  9. package/registry/agents/orchestrator-engineering.md +129 -13
  10. package/registry/agents/orchestrator-marketing.md +134 -11
  11. package/registry/agents/orchestrator-research.md +159 -11
  12. package/registry/agents/orchestrator-security.md +150 -12
  13. package/registry/agents/orchestrator-system-architecture.md +131 -12
  14. package/registry/agents/subagent-accessibility-lead.md +40 -0
  15. package/registry/agents/subagent-ai-model-architect.md +76 -0
  16. package/registry/agents/subagent-android-architect.md +40 -0
  17. package/registry/agents/subagent-backend-architect.md +342 -9
  18. package/registry/agents/subagent-business-panel-experts.md +114 -8
  19. package/registry/agents/subagent-code-reviewer.md +181 -8
  20. package/registry/agents/subagent-cross-platform-specialist.md +40 -0
  21. package/registry/agents/subagent-data-engineer.md +40 -0
  22. package/registry/agents/subagent-deep-research.md +65 -8
  23. package/registry/agents/subagent-design-ops-lead.md +109 -8
  24. package/registry/agents/subagent-design-researcher.md +121 -8
  25. package/registry/agents/subagent-design-systems-architect.md +120 -8
  26. package/registry/agents/subagent-designer-toolkit-expert.md +335 -8
  27. package/registry/agents/subagent-devops-engineer.md +403 -0
  28. package/registry/agents/subagent-distributed-systems-architect.md +40 -0
  29. package/registry/agents/subagent-e2e-tester.md +40 -0
  30. package/registry/agents/subagent-frontend-architect.md +337 -8
  31. package/registry/agents/subagent-interaction-designer.md +288 -8
  32. package/registry/agents/subagent-ios-architect.md +40 -0
  33. package/registry/agents/subagent-lifecycle-email-specialist.md +40 -0
  34. package/registry/agents/subagent-marketing-campaign-specialist.md +66 -8
  35. package/registry/agents/subagent-marketing-content-strategist.md +171 -8
  36. package/registry/agents/subagent-marketing-conversion-specialist.md +66 -8
  37. package/registry/agents/subagent-marketing-creative-designer.md +85 -0
  38. package/registry/agents/subagent-marketing-growth-strategist.md +125 -8
  39. package/registry/agents/subagent-ml-platform-engineer.md +74 -0
  40. package/registry/agents/subagent-paid-acquisition-specialist.md +40 -0
  41. package/registry/agents/subagent-plg-strategist.md +40 -0
  42. package/registry/agents/subagent-prototype-tester.md +114 -8
  43. package/registry/agents/subagent-qa-automation-lead.md +40 -0
  44. package/registry/agents/subagent-repo-index.md +169 -8
  45. package/registry/agents/subagent-security-engineer.md +117 -8
  46. package/registry/agents/subagent-seo-specialist.md +40 -0
  47. package/registry/agents/subagent-socratic-mentor.md +91 -8
  48. package/registry/agents/subagent-sysops-sre-lead.md +62 -0
  49. package/registry/agents/subagent-system-architect.md +106 -8
  50. package/registry/agents/subagent-ui-designer.md +135 -8
  51. package/registry/agents/subagent-ux-strategist.md +75 -8
  52. package/registry/bundles.json +818 -154
  53. package/registry/rules/AGENTS.md +41 -0
  54. package/registry/rules/CLAUDE.md +12 -0
  55. package/registry/rules/CURSOR.md +12 -0
  56. package/registry/rules/GEMINI.md +40 -5
  57. package/registry/rules/clean-code-and-architecture.md +25 -0
  58. package/registry/rules/domain-modeling-and-adr.md +27 -0
  59. package/registry/rules/git-guardrails.md +19 -0
  60. package/registry/rules/multi-agent-coordination.md +33 -0
  61. package/registry/rules/quality-aesthetics-accessibility.md +29 -0
  62. package/registry/rules/skill-attribution.md +27 -0
  63. package/registry/rules/test-driven-development.md +41 -0
  64. package/registry/skills/ab-test-setup/SKILL.md +140 -6
  65. package/registry/skills/accessibility-audit/SKILL.md +147 -0
  66. package/registry/skills/ad-attribution-modeling/SKILL.md +202 -0
  67. package/registry/skills/ad-creative-design/SKILL.md +24 -0
  68. package/registry/skills/ai-prototype-refactoring/SKILL.md +25 -0
  69. package/registry/skills/architecture-design/SKILL.md +133 -7
  70. package/registry/skills/azure-infrastructure-bicep/SKILL.md +24 -0
  71. package/registry/skills/backend-api-design/SKILL.md +148 -0
  72. package/registry/skills/chaos-engineering/SKILL.md +38 -0
  73. package/registry/skills/churn-prevention-playbook/SKILL.md +177 -0
  74. package/registry/skills/ci-cd-pipeline-automation/SKILL.md +37 -0
  75. package/registry/skills/clickable-prototype-spec/SKILL.md +147 -0
  76. package/registry/skills/code-refactoring/SKILL.md +132 -0
  77. package/registry/skills/component-library-management/SKILL.md +147 -0
  78. package/registry/skills/component-playground-setup/SKILL.md +147 -0
  79. package/registry/skills/content-calendar-strategy/SKILL.md +147 -0
  80. package/registry/skills/conversion-funnel-optimization/SKILL.md +147 -0
  81. package/registry/skills/copywriting-frameworks/SKILL.md +147 -0
  82. package/registry/skills/database-design/SKILL.md +132 -0
  83. package/registry/skills/dependency-management/SKILL.md +133 -7
  84. package/registry/skills/design-handoff-spec/SKILL.md +147 -0
  85. package/registry/skills/design-ops-workflow/SKILL.md +147 -0
  86. package/registry/skills/design-system-governance/SKILL.md +147 -0
  87. package/registry/skills/design-system-tokens/SKILL.md +147 -0
  88. package/registry/skills/design-tokens-management/SKILL.md +147 -0
  89. package/registry/skills/design-version-control/SKILL.md +147 -0
  90. package/registry/skills/diagnosing-bugs/SKILL.md +43 -0
  91. package/registry/skills/docker-deployment/SKILL.md +141 -0
  92. package/registry/skills/domain-modeling/SKILL.md +50 -0
  93. package/registry/skills/email-drip-sequences/SKILL.md +177 -0
  94. package/registry/skills/email-marketing-automation/SKILL.md +147 -0
  95. package/registry/skills/finishing-a-development-branch/SKILL.md +123 -7
  96. package/registry/skills/frontend-component-design/SKILL.md +150 -0
  97. package/registry/skills/git-guardrails/SKILL.md +38 -0
  98. package/registry/skills/google-ads-optimization/SKILL.md +24 -0
  99. package/registry/skills/graphql-schema-design/SKILL.md +143 -0
  100. package/registry/skills/grill-me/SKILL.md +51 -0
  101. package/registry/skills/grill-with-docs/SKILL.md +78 -0
  102. package/registry/skills/growth-experiment-design/SKILL.md +147 -0
  103. package/registry/skills/handoff/SKILL.md +41 -0
  104. package/registry/skills/hf-model-evaluation/SKILL.md +80 -0
  105. package/registry/skills/interaction-pattern-library/SKILL.md +147 -0
  106. package/registry/skills/interactive-prototype-builder/SKILL.md +147 -0
  107. package/registry/skills/local-llm-inference/SKILL.md +74 -0
  108. package/registry/skills/maestro-mobile-testing/SKILL.md +37 -0
  109. package/registry/skills/marketing-creative-design/SKILL.md +182 -0
  110. package/registry/skills/meta-ad-creative-testing/SKILL.md +23 -0
  111. package/registry/skills/micro-interaction-design/SKILL.md +147 -0
  112. package/registry/skills/microservices-architecture/SKILL.md +138 -0
  113. package/registry/skills/mobile-android-design/SKILL.md +37 -0
  114. package/registry/skills/mobile-first-design/SKILL.md +147 -0
  115. package/registry/skills/mobile-ios-design/SKILL.md +37 -0
  116. package/registry/skills/mobile-platform-offline-validate/SKILL.md +37 -0
  117. package/registry/skills/modal-serverless-python/SKILL.md +78 -0
  118. package/registry/skills/onboarding-cro/SKILL.md +175 -7
  119. package/registry/skills/paid-acquisition-ppc/SKILL.md +167 -0
  120. package/registry/skills/performance-optimization/SKILL.md +132 -7
  121. package/registry/skills/playwright-best-practices/SKILL.md +36 -0
  122. package/registry/skills/product-launch-playbook/SKILL.md +147 -0
  123. package/registry/skills/programmatic-seo/SKILL.md +203 -7
  124. package/registry/skills/rag-vector-pipeline/SKILL.md +80 -0
  125. package/registry/skills/react-best-practices/SKILL.md +37 -0
  126. package/registry/skills/receiving-code-review/SKILL.md +121 -7
  127. package/registry/skills/replicate-model-inference/SKILL.md +73 -0
  128. package/registry/skills/requesting-code-review/SKILL.md +128 -7
  129. package/registry/skills/responsive-design-audit/SKILL.md +147 -0
  130. package/registry/skills/runpod-gpu-orchestration/SKILL.md +81 -0
  131. package/registry/skills/schema-markup-strategy/SKILL.md +190 -0
  132. package/registry/skills/security-audit/SKILL.md +136 -0
  133. package/registry/skills/seo-audit/SKILL.md +140 -6
  134. package/registry/skills/signup-flow-cro/SKILL.md +140 -6
  135. package/registry/skills/social-media-campaign/SKILL.md +147 -0
  136. package/registry/skills/state-driven-ui-animation/SKILL.md +147 -0
  137. package/registry/skills/subagent-driven-development/SKILL.md +126 -7
  138. package/registry/skills/supabase-backend-architecture/SKILL.md +25 -0
  139. package/registry/skills/systematic-debugging/SKILL.md +129 -7
  140. package/registry/skills/technical-documentation/SKILL.md +133 -0
  141. package/registry/skills/technical-seo-audit/SKILL.md +24 -0
  142. package/registry/skills/telemetry-monitoring/SKILL.md +37 -0
  143. package/registry/skills/test-driven-development/SKILL.md +127 -7
  144. package/registry/skills/to-spec/SKILL.md +43 -0
  145. package/registry/skills/to-tickets/SKILL.md +45 -0
  146. package/registry/skills/turso-distributed-sqlite/SKILL.md +23 -0
  147. package/registry/skills/ui-component-spec/SKILL.md +147 -0
  148. package/registry/skills/usability-testing-protocol/SKILL.md +147 -0
  149. package/registry/skills/user-flow-mapping/SKILL.md +147 -0
  150. package/registry/skills/user-journey-mapping/SKILL.md +147 -0
  151. package/registry/skills/vector-database-design/SKILL.md +80 -0
  152. package/registry/skills/vercel-deploy-best-practices/SKILL.md +24 -0
  153. package/registry/skills/viral-referral-loops/SKILL.md +205 -0
  154. package/registry/workflows/workflow-analyze.md +53 -8
  155. package/registry/workflows/workflow-api-contract-design.md +48 -0
  156. package/registry/workflows/workflow-app-store-release.md +48 -0
  157. package/registry/workflows/workflow-brainstorm.md +53 -8
  158. package/registry/workflows/workflow-build.md +53 -8
  159. package/registry/workflows/workflow-business-panel.md +53 -8
  160. package/registry/workflows/workflow-cleanup.md +53 -8
  161. package/registry/workflows/workflow-deploy-staging.md +49 -0
  162. package/registry/workflows/workflow-design-code.md +53 -8
  163. package/registry/workflows/workflow-design-ops--handoff.md +53 -8
  164. package/registry/workflows/workflow-design-ops--plan-sprint.md +53 -8
  165. package/registry/workflows/workflow-design-ops--setup-workflow.md +53 -8
  166. package/registry/workflows/workflow-design-orchestrate.md +53 -8
  167. package/registry/workflows/workflow-design-systems--audit-system.md +53 -8
  168. package/registry/workflows/workflow-design-systems--create-component.md +53 -8
  169. package/registry/workflows/workflow-design-systems--tokenize.md +53 -8
  170. package/registry/workflows/workflow-diagnose.md +45 -0
  171. package/registry/workflows/workflow-e2e-testing.md +49 -0
  172. package/registry/workflows/workflow-email-drip-sequence.md +65 -0
  173. package/registry/workflows/workflow-estimate.md +53 -8
  174. package/registry/workflows/workflow-explain.md +53 -8
  175. package/registry/workflows/workflow-frontend-audit.md +49 -0
  176. package/registry/workflows/workflow-git.md +53 -8
  177. package/registry/workflows/workflow-grill.md +51 -0
  178. package/registry/workflows/workflow-implement.md +54 -8
  179. package/registry/workflows/workflow-incident-triage.md +49 -0
  180. package/registry/workflows/workflow-interaction-design--design-interaction.md +53 -8
  181. package/registry/workflows/workflow-interaction-design--error-flow.md +53 -8
  182. package/registry/workflows/workflow-interaction-design--map-states.md +53 -8
  183. package/registry/workflows/workflow-marketing-audit.md +53 -8
  184. package/registry/workflows/workflow-marketing-campaign-builder.md +53 -8
  185. package/registry/workflows/workflow-marketing-content-pipeline.md +53 -8
  186. package/registry/workflows/workflow-marketing-growth-experiment.md +53 -8
  187. package/registry/workflows/workflow-marketing-launch.md +53 -8
  188. package/registry/workflows/workflow-marketing-panel.md +53 -8
  189. package/registry/workflows/workflow-ml-eval.md +51 -0
  190. package/registry/workflows/workflow-mobile-build.md +49 -0
  191. package/registry/workflows/workflow-onboarding-funnel-cro.md +65 -0
  192. package/registry/workflows/workflow-paid-acquisition-campaign.md +65 -0
  193. package/registry/workflows/workflow-paid-campaign-launch.md +47 -0
  194. package/registry/workflows/workflow-plan.md +53 -8
  195. package/registry/workflows/workflow-prototyping-testing--evaluate.md +53 -8
  196. package/registry/workflows/workflow-prototyping-testing--experiment.md +53 -8
  197. package/registry/workflows/workflow-prototyping-testing--prototype-plan.md +53 -8
  198. package/registry/workflows/workflow-prototyping-testing--test-plan.md +53 -8
  199. package/registry/workflows/workflow-rag-pipeline-deploy.md +53 -0
  200. package/registry/workflows/workflow-recommend.md +53 -8
  201. package/registry/workflows/workflow-research.md +53 -8
  202. package/registry/workflows/workflow-review.md +53 -8
  203. package/registry/workflows/workflow-seo-audit-pipeline.md +47 -0
  204. package/registry/workflows/workflow-seo-content-pipeline.md +65 -0
  205. package/registry/workflows/workflow-serverless-gpu-deploy.md +52 -0
  206. package/registry/workflows/workflow-spec-panel.md +53 -8
  207. package/registry/workflows/workflow-spec.md +44 -0
  208. package/registry/workflows/workflow-test.md +53 -8
  209. package/registry/workflows/workflow-troubleshoot.md +53 -8
  210. package/registry/workflows/workflow-ui-design--color-palette.md +53 -8
  211. package/registry/workflows/workflow-ui-design--design-screen.md +53 -8
  212. package/registry/workflows/workflow-ui-design--responsive-audit.md +53 -8
  213. package/registry/workflows/workflow-ui-design--type-system.md +53 -8
  214. package/registry/workflows/workflow-ux-strategy--benchmark.md +53 -8
  215. package/registry/workflows/workflow-ux-strategy--frame-problem.md +53 -8
  216. package/registry/workflows/workflow-ux-strategy--strategize.md +53 -8
  217. package/registry/skills/analytics-tracking/SKILL.md +0 -13
  218. package/registry/skills/brainstorming/SKILL.md +0 -13
  219. package/registry/skills/browser-agent/SKILL.md +0 -13
  220. package/registry/skills/campaign-strategy/SKILL.md +0 -13
  221. package/registry/skills/competitor-alternatives/SKILL.md +0 -13
  222. package/registry/skills/confidence-check/SKILL.md +0 -13
  223. package/registry/skills/copy-editing/SKILL.md +0 -13
  224. package/registry/skills/copywriting/SKILL.md +0 -13
  225. package/registry/skills/deep-research/SKILL.md +0 -13
  226. package/registry/skills/design-ops/SKILL.md +0 -13
  227. package/registry/skills/design-research/SKILL.md +0 -13
  228. package/registry/skills/design-systems/SKILL.md +0 -13
  229. package/registry/skills/designer-toolkit/SKILL.md +0 -13
  230. package/registry/skills/email-sequence/SKILL.md +0 -13
  231. package/registry/skills/executing-plans/SKILL.md +0 -13
  232. package/registry/skills/form-cro/SKILL.md +0 -13
  233. package/registry/skills/free-tool-strategy/SKILL.md +0 -13
  234. package/registry/skills/interaction-design/SKILL.md +0 -13
  235. package/registry/skills/launch-strategy/SKILL.md +0 -13
  236. package/registry/skills/marketing-ideas/SKILL.md +0 -13
  237. package/registry/skills/marketing-psychology/SKILL.md +0 -13
  238. package/registry/skills/page-cro/SKILL.md +0 -13
  239. package/registry/skills/paid-ads/SKILL.md +0 -13
  240. package/registry/skills/paywall-upgrade-cro/SKILL.md +0 -13
  241. package/registry/skills/popup-cro/SKILL.md +0 -13
  242. package/registry/skills/pricing-strategy/SKILL.md +0 -13
  243. package/registry/skills/prototyping-testing/SKILL.md +0 -13
  244. package/registry/skills/referral-program/SKILL.md +0 -13
  245. package/registry/skills/schema-markup/SKILL.md +0 -13
  246. package/registry/skills/security-review/SKILL.md +0 -13
  247. package/registry/skills/social-content/SKILL.md +0 -13
  248. package/registry/skills/ui-design/SKILL.md +0 -13
  249. package/registry/skills/ux-strategy/SKILL.md +0 -13
  250. package/registry/skills/writing-plans/SKILL.md +0 -13
@@ -1,15 +1,60 @@
1
- # Workflow: Design Ops Setup Workflow
1
+ ---
2
+ name: "Design Tooling & Workflow Pipeline Setup"
3
+ description: "Workflow for configuring design tooling pipelines, version control rules, asset sync scripts, and team workspace environments."
4
+ bundle: "product-design"
5
+ estimatedDuration: "30-60m"
6
+ ---
2
7
 
3
- Multi-phase procedural workflow for Design Ops Setup Workflow.
8
+ # Workflow: Design Tooling & Workflow Pipeline Setup
9
+
10
+ ## Overview & Scope
11
+ The Setup Workflow provisions design infrastructure. It configures design tool integrations, token sync automation webhooks, asset export scripts, and team workspace governance rules.
12
+
13
+ ## Execution Flowchart
14
+ ```mermaid
15
+ graph TD
16
+ Start([Start Workflow]) --> P1[Phase 1: Context & Reconnaissance]
17
+ P1 --> InputCheck{"Prerequisites & Tools Valid?"}
18
+ InputCheck -->|No| Abort1[Abort & Request Inputs]
19
+ InputCheck -->|Yes| P2[Phase 2: Execution & Orchestration]
20
+ P2 --> Gate1{"Verification Gate: Automated Checks Pass?"}
21
+ Gate1 -->|Fail| Rollback[Execute Automated Rollback Protocol]
22
+ Rollback --> P2
23
+ Gate1 -->|Pass| P3[Phase 3: Verification & Closure]
24
+ P3 --> Gate2{"Final Acceptance Gate Passed?"}
25
+ Gate2 -->|Fail| P3Fix[Remediate Documentation / Artifacts]
26
+ P3Fix --> P3
27
+ Gate2 -->|Pass| Done([Workflow Complete & Logged])
28
+ ```
29
+
30
+ ## Required Tool Inputs & Context
31
+ - Design tool API credentials (Figma API token, repository tokens)
32
+ - Project workspace template files
33
+ - CI/CD workflow definitions
4
34
 
5
35
  ## Phase 1: Context & Reconnaissance
6
- - Analyze the user request and existing codebase state.
7
- - Gather necessary inputs and verify environment readiness.
36
+ - Audit existing design tooling setup and identifying automation friction points.
37
+ - Inspect repository access permissions and webhook configuration settings.
38
+ - Prepare automated sync scripts for tokens and assets.
8
39
 
9
40
  ## Phase 2: Execution & Orchestration
10
- - Execute core steps with progressive verifications.
11
- - Delegate sub-tasks to specialized sub-agents.
41
+ - Configure automated webhook triggers for design token synchronization on file updates.
42
+ - Set up linter rules for design file naming conventions and component organization.
43
+ - Establish design file branching and approval workflow rules.
12
44
 
13
45
  ## Phase 3: Verification & Closure
14
- - Run verification tests and linting.
15
- - Document outcome and present summary.
46
+ - Execute test run of automated asset sync pipeline.
47
+ - Verify workspace permissions and access controls across team member roles.
48
+ - Publish Design Workflow Documentation.
49
+
50
+ ## Phase Transition Criteria & Deterministic Verification Gates
51
+ | Transition | Prerequisites | Verification Command / Gate | Success Criteria |
52
+ |---|---|---|---|
53
+ | Phase 1 -> Phase 2 | Tool inputs verified & environment ready | `node dist/cli.js doctor` | Doctor health check succeeds with 0 errors |
54
+ | Phase 2 -> Phase 3 | Execution steps complete | `npm test` | Pipeline integration test suite confirms webhook payload processing |
55
+ | Phase 3 -> Completion | Verification complete & artifacts signed off | `npm run build` | Workflow setup scripts compile without errors |
56
+
57
+ ## Validation Checkpoints & Automated Rollback Protocols
58
+ - **Validation Checkpoint 1**: Automated webhook triggers successfully on token repository changes.
59
+ - **Validation Checkpoint 2**: Design token repository synchronizes automatically without manual intervention.
60
+ - **Automated Rollback Protocol**: Revert webhook credentials and API configurations if sync verification tests fail.
@@ -1,15 +1,60 @@
1
- # Workflow: Design Orchestrate
1
+ ---
2
+ name: "Multi-Agent Design Orchestration"
3
+ description: "Master orchestration workflow coordinating UI designers, UX strategists, interaction designers, and design system leads on end-to-end design initiatives."
4
+ bundle: "product-design"
5
+ estimatedDuration: "60-120m"
6
+ ---
2
7
 
3
- Multi-phase procedural workflow for Design Orchestrate.
8
+ # Workflow: Multi-Agent Design Orchestration
9
+
10
+ ## Overview & Scope
11
+ The Design Orchestrate workflow manages multi-agent design pipelines. It decomposes large product epics, delegating sub-tasks to UX Strategist, UI Designer, Interaction Designer, and Design Systems subagents.
12
+
13
+ ## Execution Flowchart
14
+ ```mermaid
15
+ graph TD
16
+ Start([Start Workflow]) --> P1[Phase 1: Context & Reconnaissance]
17
+ P1 --> InputCheck{"Prerequisites & Tools Valid?"}
18
+ InputCheck -->|No| Abort1[Abort & Request Inputs]
19
+ InputCheck -->|Yes| P2[Phase 2: Execution & Orchestration]
20
+ P2 --> Gate1{"Verification Gate: Automated Checks Pass?"}
21
+ Gate1 -->|Fail| Rollback[Execute Automated Rollback Protocol]
22
+ Rollback --> P2
23
+ Gate1 -->|Pass| P3[Phase 3: Verification & Closure]
24
+ P3 --> Gate2{"Final Acceptance Gate Passed?"}
25
+ Gate2 -->|Fail| P3Fix[Remediate Documentation / Artifacts]
26
+ P3Fix --> P3
27
+ Gate2 -->|Pass| Done([Workflow Complete & Logged])
28
+ ```
29
+
30
+ ## Required Tool Inputs & Context
31
+ - Product epic specification document
32
+ - Design subagent manifest definitions
33
+ - Design system token and component specs
4
34
 
5
35
  ## Phase 1: Context & Reconnaissance
6
- - Analyze the user request and existing codebase state.
7
- - Gather necessary inputs and verify environment readiness.
36
+ - Deconstruct epic into domain-specific subagent assignments (UX Strategy -> Visual Design -> Micro-Interactions -> Tokens).
37
+ - Establish subagent input/output file contracts and state passing conventions.
38
+ - Verify subagent environment readiness.
8
39
 
9
40
  ## Phase 2: Execution & Orchestration
10
- - Execute core steps with progressive verifications.
11
- - Delegate sub-tasks to specialized sub-agents.
41
+ - Dispatch UX Strategist subagent to frame problems and define wireframe flows.
42
+ - Dispatch UI Designer and Interaction Designer subagents to author screen visuals and motion specs.
43
+ - Dispatch Design Systems Lead subagent to verify token alignment and component reuse.
12
44
 
13
45
  ## Phase 3: Verification & Closure
14
- - Run verification tests and linting.
15
- - Document outcome and present summary.
46
+ - Synthesize subagent deliverables into a unified Master Design Specification.
47
+ - Run end-to-end completeness and consistency verification checks.
48
+ - Publish Design Orchestration Summary.
49
+
50
+ ## Phase Transition Criteria & Deterministic Verification Gates
51
+ | Transition | Prerequisites | Verification Command / Gate | Success Criteria |
52
+ |---|---|---|---|
53
+ | Phase 1 -> Phase 2 | Tool inputs verified & environment ready | `node dist/cli.js doctor` | Doctor health check succeeds with 0 errors |
54
+ | Phase 2 -> Phase 3 | Execution steps complete | `npm test` | Orchestration test suite confirms all subagent deliverables meet quality gates |
55
+ | Phase 3 -> Completion | Verification complete & artifacts signed off | `npm run build` | Master design documentation builds cleanly |
56
+
57
+ ## Validation Checkpoints & Automated Rollback Protocols
58
+ - **Validation Checkpoint 1**: All delegated subagent tasks completed without missing output artifacts.
59
+ - **Validation Checkpoint 2**: Unified design spec complies 100% with design system token rules.
60
+ - **Automated Rollback Protocol**: Re-invoke specific failed subagent with adjusted parameters if deliverable fails quality bar.
@@ -1,15 +1,60 @@
1
- # Workflow: Design Systems Audit System
1
+ ---
2
+ name: "Design System & Component Drift Audit"
3
+ description: "Workflow for auditing codebase UI components against design system standards, detecting hardcoded styles, and cataloging component drift."
4
+ bundle: "product-design"
5
+ estimatedDuration: "30-60m"
6
+ ---
2
7
 
3
- Multi-phase procedural workflow for Design Systems Audit System.
8
+ # Workflow: Design System & Component Drift Audit
9
+
10
+ ## Overview & Scope
11
+ This workflow monitors design system adoption and component drift. It scans the codebase for hardcoded hex colors, arbitrary spacing, duplicate component implementations, and detached styles.
12
+
13
+ ## Execution Flowchart
14
+ ```mermaid
15
+ graph TD
16
+ Start([Start Workflow]) --> P1[Phase 1: Context & Reconnaissance]
17
+ P1 --> InputCheck{"Prerequisites & Tools Valid?"}
18
+ InputCheck -->|No| Abort1[Abort & Request Inputs]
19
+ InputCheck -->|Yes| P2[Phase 2: Execution & Orchestration]
20
+ P2 --> Gate1{"Verification Gate: Automated Checks Pass?"}
21
+ Gate1 -->|Fail| Rollback[Execute Automated Rollback Protocol]
22
+ Rollback --> P2
23
+ Gate1 -->|Pass| P3[Phase 3: Verification & Closure]
24
+ P3 --> Gate2{"Final Acceptance Gate Passed?"}
25
+ Gate2 -->|Fail| P3Fix[Remediate Documentation / Artifacts]
26
+ P3Fix --> P3
27
+ Gate2 -->|Pass| Done([Workflow Complete & Logged])
28
+ ```
29
+
30
+ ## Required Tool Inputs & Context
31
+ - Component library codebase & design token definitions
32
+ - AST / static analysis scanning scripts
33
+ - Design system adoption target metrics
4
34
 
5
35
  ## Phase 1: Context & Reconnaissance
6
- - Analyze the user request and existing codebase state.
7
- - Gather necessary inputs and verify environment readiness.
36
+ - Configure static analysis rules to search for inline styles, raw CSS hex colors, and hardcoded pixel values.
37
+ - Scan codebase UI components to list custom component implementations.
38
+ - Establish design system adoption baseline score.
8
39
 
9
40
  ## Phase 2: Execution & Orchestration
10
- - Execute core steps with progressive verifications.
11
- - Delegate sub-tasks to specialized sub-agents.
41
+ - Categorize drift violations by severity (e.g. Critical: raw color usage, Major: custom button rewrite, Minor: arbitrary padding).
42
+ - Calculate adoption metrics per module/page.
43
+ - Identify candidate components for design system consolidation.
12
44
 
13
45
  ## Phase 3: Verification & Closure
14
- - Run verification tests and linting.
15
- - Document outcome and present summary.
46
+ - Generate Design System Drift Report with exact file paths and line numbers.
47
+ - Create refactoring tickets to migrate custom components to design system tokens.
48
+ - Publish Design Debt Dashboard.
49
+
50
+ ## Phase Transition Criteria & Deterministic Verification Gates
51
+ | Transition | Prerequisites | Verification Command / Gate | Success Criteria |
52
+ |---|---|---|---|
53
+ | Phase 1 -> Phase 2 | Tool inputs verified & environment ready | `node dist/cli.js doctor` | Doctor health check succeeds with 0 errors |
54
+ | Phase 2 -> Phase 3 | Execution steps complete | `npm test` | Drift audit script completes scan across 100% of codebase UI files |
55
+ | Phase 3 -> Completion | Verification complete & artifacts signed off | `npm run typecheck` | Static type checking passes cleanly post-scan |
56
+
57
+ ## Validation Checkpoints & Automated Rollback Protocols
58
+ - **Validation Checkpoint 1**: 100% of codebase UI components scanned for style violations.
59
+ - **Validation Checkpoint 2**: Every detected drift instance cataloged with file path, line number, and remediation guidance.
60
+ - **Automated Rollback Protocol**: Adjust audit script parameters if false positive scans exceed acceptable noise threshold.
@@ -1,15 +1,60 @@
1
- # Workflow: Design Systems Create Component
1
+ ---
2
+ name: "Design System Component Authoring"
3
+ description: "End-to-end workflow for designing, building, documenting, and testing a reusable design system component."
4
+ bundle: "product-design"
5
+ estimatedDuration: "45-90m"
6
+ ---
2
7
 
3
- Multi-phase procedural workflow for Design Systems Create Component.
8
+ # Workflow: Design System Component Authoring
9
+
10
+ ## Overview & Scope
11
+ The Create Component workflow governs the authoring of production-ready design system components. It enforces token integration, accessibility compliance, state coverage, and Storybook documentation.
12
+
13
+ ## Execution Flowchart
14
+ ```mermaid
15
+ graph TD
16
+ Start([Start Workflow]) --> P1[Phase 1: Context & Reconnaissance]
17
+ P1 --> InputCheck{"Prerequisites & Tools Valid?"}
18
+ InputCheck -->|No| Abort1[Abort & Request Inputs]
19
+ InputCheck -->|Yes| P2[Phase 2: Execution & Orchestration]
20
+ P2 --> Gate1{"Verification Gate: Automated Checks Pass?"}
21
+ Gate1 -->|Fail| Rollback[Execute Automated Rollback Protocol]
22
+ Rollback --> P2
23
+ Gate1 -->|Pass| P3[Phase 3: Verification & Closure]
24
+ P3 --> Gate2{"Final Acceptance Gate Passed?"}
25
+ Gate2 -->|Fail| P3Fix[Remediate Documentation / Artifacts]
26
+ P3Fix --> P3
27
+ Gate2 -->|Pass| Done([Workflow Complete & Logged])
28
+ ```
29
+
30
+ ## Required Tool Inputs & Context
31
+ - Component API specification and visual designs
32
+ - Design token library (`tokens.json`)
33
+ - Storybook / component testing framework (`vitest` / `axe-core`)
4
34
 
5
35
  ## Phase 1: Context & Reconnaissance
6
- - Analyze the user request and existing codebase state.
7
- - Gather necessary inputs and verify environment readiness.
36
+ - Review component API design, props, variants, and keyboard interaction specs.
37
+ - Verify design tokens needed for component styling are available.
38
+ - Select component template structure in design system workspace.
8
39
 
9
40
  ## Phase 2: Execution & Orchestration
10
- - Execute core steps with progressive verifications.
11
- - Delegate sub-tasks to specialized sub-agents.
41
+ - Implement component TSX code, applying semantic design tokens for styling.
42
+ - Implement keyboard navigation and ARIA accessibility attributes matching target design pattern.
43
+ - Author unit tests, accessibility tests (`axe-core`), and Storybook story files.
12
44
 
13
45
  ## Phase 3: Verification & Closure
14
- - Run verification tests and linting.
15
- - Document outcome and present summary.
46
+ - Run automated unit test suite and visual regression tests across all component variants.
47
+ - Verify Storybook stories render cleanly without console warnings.
48
+ - Export component package for distribution.
49
+
50
+ ## Phase Transition Criteria & Deterministic Verification Gates
51
+ | Transition | Prerequisites | Verification Command / Gate | Success Criteria |
52
+ |---|---|---|---|
53
+ | Phase 1 -> Phase 2 | Tool inputs verified & environment ready | `node dist/cli.js doctor` | Doctor health check succeeds with 0 errors |
54
+ | Phase 2 -> Phase 3 | Execution steps complete | `npm test` | 100% of component unit tests and automated accessibility scans pass |
55
+ | Phase 3 -> Completion | Verification complete & artifacts signed off | `npm run build` | Component builds cleanly and exports type definitions (`.d.ts`) |
56
+
57
+ ## Validation Checkpoints & Automated Rollback Protocols
58
+ - **Validation Checkpoint 1**: Zero accessibility violations detected by `axe-core` scanner.
59
+ - **Validation Checkpoint 2**: Storybook stories exist for all component variants, sizes, and states.
60
+ - **Automated Rollback Protocol**: Revert component code modifications if visual regression or accessibility tests fail.
@@ -1,15 +1,60 @@
1
- # Workflow: Design Systems Tokenize
1
+ ---
2
+ name: "Design Token Extraction & Transformation"
3
+ description: "Workflow for defining, transforming, and distributing design tokens across CSS, Tailwind, TypeScript, and JSON platforms."
4
+ bundle: "product-design"
5
+ estimatedDuration: "20-40m"
6
+ ---
2
7
 
3
- Multi-phase procedural workflow for Design Systems Tokenize.
8
+ # Workflow: Design Token Extraction & Transformation
9
+
10
+ ## Overview & Scope
11
+ This workflow automates design token pipeline management. It ingests source tokens, transforms them across platform formats (CSS custom properties, Tailwind, TS types, iOS/Android formats), and validates output files.
12
+
13
+ ## Execution Flowchart
14
+ ```mermaid
15
+ graph TD
16
+ Start([Start Workflow]) --> P1[Phase 1: Context & Reconnaissance]
17
+ P1 --> InputCheck{"Prerequisites & Tools Valid?"}
18
+ InputCheck -->|No| Abort1[Abort & Request Inputs]
19
+ InputCheck -->|Yes| P2[Phase 2: Execution & Orchestration]
20
+ P2 --> Gate1{"Verification Gate: Automated Checks Pass?"}
21
+ Gate1 -->|Fail| Rollback[Execute Automated Rollback Protocol]
22
+ Rollback --> P2
23
+ Gate1 -->|Pass| P3[Phase 3: Verification & Closure]
24
+ P3 --> Gate2{"Final Acceptance Gate Passed?"}
25
+ Gate2 -->|Fail| P3Fix[Remediate Documentation / Artifacts]
26
+ P3Fix --> P3
27
+ Gate2 -->|Pass| Done([Workflow Complete & Logged])
28
+ ```
29
+
30
+ ## Required Tool Inputs & Context
31
+ - Source design token JSON / Figma Tokens file
32
+ - Token transformation tool (`Style Dictionary`)
33
+ - Target platform format configurations
4
34
 
5
35
  ## Phase 1: Context & Reconnaissance
6
- - Analyze the user request and existing codebase state.
7
- - Gather necessary inputs and verify environment readiness.
36
+ - Inspect raw token source files for valid DTCG (Design Tokens Community Group) schema compliance.
37
+ - Check token naming conventions (category-type-item-variant-state).
38
+ - Verify output build configuration rules.
8
39
 
9
40
  ## Phase 2: Execution & Orchestration
10
- - Execute core steps with progressive verifications.
11
- - Delegate sub-tasks to specialized sub-agents.
41
+ - Execute transformation build scripts using Style Dictionary.
42
+ - Generate platform-specific outputs: CSS custom properties (`tokens.css`), JS/TS constants (`tokens.ts`), Tailwind config extension.
43
+ - Validate that generated token values contain no unresolved references or `undefined` properties.
12
44
 
13
45
  ## Phase 3: Verification & Closure
14
- - Run verification tests and linting.
15
- - Document outcome and present summary.
46
+ - Run token integration tests against sample UI components.
47
+ - Publish updated design token package.
48
+ - Document token release notes detailing added, changed, or deprecated tokens.
49
+
50
+ ## Phase Transition Criteria & Deterministic Verification Gates
51
+ | Transition | Prerequisites | Verification Command / Gate | Success Criteria |
52
+ |---|---|---|---|
53
+ | Phase 1 -> Phase 2 | Tool inputs verified & environment ready | `node dist/cli.js doctor` | Doctor health check succeeds with 0 errors |
54
+ | Phase 2 -> Phase 3 | Execution steps complete | `npm run build` | Style Dictionary compilation builds with exit code 0 |
55
+ | Phase 3 -> Completion | Verification complete & artifacts signed off | `npm test` | Token validation suite confirms zero undefined token values |
56
+
57
+ ## Validation Checkpoints & Automated Rollback Protocols
58
+ - **Validation Checkpoint 1**: Style Dictionary transformation executes without warnings or errors.
59
+ - **Validation Checkpoint 2**: Generated CSS/TS token files pass syntax validation.
60
+ - **Automated Rollback Protocol**: Restore previous token package version if transform scripts fail.
@@ -0,0 +1,45 @@
1
+ ---
2
+ name: "Evidence-Driven Bug Diagnosis"
3
+ description: "Procedural workflow for isolating software bugs, gathering empirical evidence, and formulating root-cause remediation plans."
4
+ bundle: "software-engineering"
5
+ estimatedDuration: "15-45m"
6
+ ---
7
+
8
+ # Workflow: Evidence-Driven Bug Diagnosis
9
+
10
+ ## Overview & Scope
11
+ The Evidence-Driven Bug Diagnosis workflow guides orchestrators and developers through evidence gathering, symptom reproduction, and root-cause isolation without resorting to blind trial-and-error edits.
12
+
13
+ ## Execution Flowchart
14
+ ```mermaid
15
+ graph TD
16
+ Start([Start Workflow]) --> P1[Phase 1: Log & Traceback Collection]
17
+ P1 --> P2[Phase 2: Reproduction & Hypothesis Isolation]
18
+ P2 --> Gate1{"Root Cause Verified with Evidence?"}
19
+ Gate1 -->|No| P2
20
+ Gate1 -->|Yes| P3[Phase 3: Remediation Plan]
21
+ P3 --> Done([Workflow Complete])
22
+ ```
23
+
24
+ ## Required Tool Inputs & Context
25
+ - Stack trace, error log output, or reproduction context.
26
+ - Access to project codebase and test framework.
27
+
28
+ ## Phase 1: Log & Traceback Collection
29
+ - Run `diagnosing-bugs` skill to parse error tracebacks and locate fault sites.
30
+ - Inspect surrounding source files and recent commit history.
31
+
32
+ ## Phase 2: Reproduction & Hypothesis Isolation
33
+ - Formulate testable hypotheses for defect cause.
34
+ - Author minimal reproduction test case demonstrating 100% reliable failure.
35
+
36
+ ## Phase 3: Remediation Plan
37
+ - Document verified root cause mechanism.
38
+ - Hand off minimal failing test and root cause summary to `workflow-implement.md`.
39
+
40
+ ## Phase Transition Criteria & Deterministic Verification Gates
41
+ | Transition | Prerequisites | Verification Gate | Success Criteria |
42
+ |---|---|---|---|
43
+ | Phase 1 -> Phase 2 | Traceback logged | File & line isolated | Target crash site identified |
44
+ | Phase 2 -> Phase 3 | Hypotheses tested | Reproduction test | Test fails with exact reported error |
45
+ | Phase 3 -> Completion | Root cause proven | Plan documented | Remediate plan ready for implementation |
@@ -0,0 +1,49 @@
1
+ ---
2
+ name: "End-to-End Browser Test Automation"
3
+ description: "Workflow for authoring and running Playwright browser test specs, capturing failure traces/videos, and validating critical user journeys."
4
+ bundle: "qa-automation"
5
+ estimatedDuration: "15-30m"
6
+ ---
7
+
8
+ # Workflow: End-to-End Browser Test Automation
9
+
10
+ ## Overview & Scope
11
+ The E2E Testing workflow executes automated browser journeys across desktop and mobile viewports, verifying critical business flows (signup, checkout, data mutation) with video/trace capture.
12
+
13
+ ## Execution Flowchart
14
+ ```mermaid
15
+ graph TD
16
+ Start([Start Workflow]) --> P1[Phase 1: Test Scenario & Page Object Scaffolding]
17
+ P1 --> InputCheck{"User Journey Defined?"}
18
+ InputCheck -->|No| Abort1[Clarify Acceptance Criteria]
19
+ InputCheck -->|Yes| P2[Phase 2: Playwright Spec Implementation]
20
+ P2 --> Gate1{"Verification Gate: Test Suite Passes 100%?"}
21
+ Gate1 -->|Fail| P2Debug[Inspect Trace Viewer & Fix Assertions]
22
+ P2Debug --> P2
23
+ Gate1 -->|Pass| P3[Phase 3: Multi-Browser Matrix & CI Report]
24
+ P3 --> Done([E2E Test Suite Certified])
25
+ ```
26
+
27
+ ## Required Tool Inputs & Context
28
+ - Target user flow description and test credentials
29
+ - Playwright configuration and preview URL
30
+ - Expected UI states and assertions
31
+
32
+ ## Phase 1: Test Scenario & Page Object Scaffolding
33
+ - Map user story steps into Page Object Model methods.
34
+ - Set up isolated test database fixtures and authentication storage states.
35
+
36
+ ## Phase 2: Playwright Spec Implementation
37
+ - Author test assertions utilizing user-facing locators (`getByRole`, `getByLabel`).
38
+ - Execute test run locally via `npx playwright test`.
39
+
40
+ ## Phase 3: Multi-Browser Matrix & CI Report
41
+ - Run tests against Chromium, Firefox, and WebKit matrix.
42
+ - Generate HTML test report and verify trace artifacts on any retried tests.
43
+
44
+ ## Phase Transition Criteria & Deterministic Verification Gates
45
+ | Transition | Prerequisites | Verification Command / Gate | Success Criteria |
46
+ |---|---|---|---|
47
+ | Phase 1 -> Phase 2 | Page Objects structured | POM code review | Selectors utilize role/label locators |
48
+ | Phase 2 -> Phase 3 | Local tests passing | `npx playwright test` | 100% test scenarios pass with exit code 0 |
49
+ | Phase 3 -> Completion | Multi-browser matrix verified | CI test runner execution | Zero test flakes or unhandled exceptions |
@@ -0,0 +1,65 @@
1
+ ---
2
+ name: "Automated Email Drip Sequence & Lifecycle Nurturing"
3
+ description: "Workflow for architecting automated email nurture sequences, behavioral trigger rules, deliverability testing, and churn prevention playbooks."
4
+ bundle: "lifecycle-email-marketing"
5
+ estimatedDuration: "30-60m"
6
+ ---
7
+
8
+ # Workflow: Automated Email Drip Sequence & Lifecycle Nurturing
9
+
10
+ ## Overview & Scope
11
+ The Email Drip Sequence workflow creates lifecycle email automation campaigns. It designs onboarding welcome drips, behavioral re-engagement triggers, trial-to-paid conversion sequences, and churn prevention playbooks while enforcing deliverability and compliance standards.
12
+
13
+ ## Execution Flowchart
14
+ ```mermaid
15
+ graph TD
16
+ Start([Start Workflow]) --> P1[Phase 1: Audience Segmentation & Trigger Mapping]
17
+ P1 --> InputCheck{"User Segments & Event Triggers Valid?"}
18
+ InputCheck -->|No| Abort1[Abort & Request Segment Definitions]
19
+ InputCheck -->|Yes| P2[Phase 2: Email Copywriting & Template Staging]
20
+ P2 --> Gate1{"Verification Gate: Deliverability & HTML Checks Pass?"}
21
+ Gate1 -->|Fail| Rollback[Execute Automated Rollback Protocol]
22
+ Rollback --> P2
23
+ Gate1 -->|Pass| P3[Phase 3: Deliverability Testing & Workflow Activation]
24
+ P3 --> Gate2{"Final Acceptance Gate Passed?"}
25
+ Gate2 -->|Fail| P3Fix[Remediate Rendering / Spam Score Issues]
26
+ P3Fix --> P3
27
+ Gate2 -->|Pass| Done([Workflow Complete & Logged])
28
+ ```
29
+
30
+ ## Required Tool Inputs & Context
31
+ - Lifecycle stage definitions (New User, Active Free, Trial Expiring, Inactive At-Risk, Churned)
32
+ - Behavioral event triggers (User Signed Up, Feature Unused after 7 Days, Trial Day 11, Churn Risk Score > 70)
33
+ - Responsive email HTML templates and merge tag syntax specification
34
+ - Deliverability configuration (SPF, DKIM, DMARC, List-Unsubscribe headers)
35
+
36
+ ## Phase 1: Audience Segmentation & Trigger Mapping
37
+ - Map lifecycle trigger rules and delay cadences (Day 0: Welcome, Day 2: Key Feature Tutorial, Day 5: Case Study, Day 10: Upgrade Offer).
38
+ - Define audience inclusion and exclusion filters (e.g., exclude paying customers from upgrade drips).
39
+ - Configure frequency capping rules to prevent subscriber email fatigue.
40
+ - Set primary conversion goals per sequence (Activation, Upgrade, Feature Adoption, Re-activation).
41
+
42
+ ## Phase 2: Email Copywriting & Template Staging
43
+ - Draft compelling subject lines, preview text, and body copy using proven copywriting frameworks (PAS, AIDA).
44
+ - Build responsive HTML/CSS email templates with dynamic merge tags (`first_name`, `company_name`, `usage_stat`).
45
+ - Implement plain-text email fallbacks and one-click unsubscribe links compliant with CAN-SPAM and GDPR.
46
+ - Configure A/B split testing for subject lines and CTA button copy.
47
+
48
+ ## Phase 3: Deliverability Testing & Workflow Activation
49
+ - Audit authentication records (SPF, DKIM, DMARC) and run automated spam score analysis (SpamAssassin score < 2.0).
50
+ - Perform cross-client rendering test across mobile, desktop, web clients, and Dark Mode.
51
+ - Verify webhook bounce handling and unsubscribe event processing.
52
+ - Deploy automated drip sequences into live marketing automation engine.
53
+
54
+ ## Phase Transition Criteria & Deterministic Verification Gates
55
+ | Transition | Prerequisites | Verification Command / Gate | Success Criteria |
56
+ |---|---|---|---|
57
+ | Phase 1 -> Phase 2 | Tool inputs verified & environment ready | `node dist/cli.js doctor` | Doctor health check succeeds with 0 errors |
58
+ | Phase 2 -> Phase 3 | Execution steps complete | `npm test` | Email template validator confirms responsive HTML layout, merge tag syntax, and link tracking |
59
+ | Phase 3 -> Completion | Verification complete & artifacts signed off | `npm run build` | Automation sequence configuration and email templates compile without errors |
60
+
61
+ ## Validation Checkpoints & Automated Rollback Protocols
62
+ - **Validation Checkpoint 1**: Email spam test produces zero deliverability warnings and passes SPF/DKIM verification.
63
+ - **Validation Checkpoint 2**: HTML templates render correctly across 100% of tested client configurations including dark mode.
64
+ - **Validation Checkpoint 3**: Unsubscribe links and physical mailing address headers are present in all message templates.
65
+ - **Automated Rollback Protocol**: Immediately pause active drip automation and suppress affected recipient segments if bounce rate exceeds 2.5% or spam complaint rate exceeds 0.08% during initial sequence sends.
@@ -1,15 +1,60 @@
1
- # Workflow: Estimate
1
+ ---
2
+ name: "Technical Estimation & Complexity Analysis"
3
+ description: "Structured workflow for estimating engineering effort, breaking down tasks, assigning complexity scores, and identifying risks."
4
+ bundle: "system-architecture"
5
+ estimatedDuration: "20-40m"
6
+ ---
2
7
 
3
- Multi-phase procedural workflow for Estimate.
8
+ # Workflow: Technical Estimation & Complexity Analysis
9
+
10
+ ## Overview & Scope
11
+ The Estimate workflow standardizes task breakdown and effort estimation. It leverages story points, complexity scoring, risk identification, and confidence intervals to produce reliable project estimates.
12
+
13
+ ## Execution Flowchart
14
+ ```mermaid
15
+ graph TD
16
+ Start([Start Workflow]) --> P1[Phase 1: Context & Reconnaissance]
17
+ P1 --> InputCheck{"Prerequisites & Tools Valid?"}
18
+ InputCheck -->|No| Abort1[Abort & Request Inputs]
19
+ InputCheck -->|Yes| P2[Phase 2: Execution & Orchestration]
20
+ P2 --> Gate1{"Verification Gate: Automated Checks Pass?"}
21
+ Gate1 -->|Fail| Rollback[Execute Automated Rollback Protocol]
22
+ Rollback --> P2
23
+ Gate1 -->|Pass| P3[Phase 3: Verification & Closure]
24
+ P3 --> Gate2{"Final Acceptance Gate Passed?"}
25
+ Gate2 -->|Fail| P3Fix[Remediate Documentation / Artifacts]
26
+ P3Fix --> P3
27
+ Gate2 -->|Pass| Done([Workflow Complete & Logged])
28
+ ```
29
+
30
+ ## Required Tool Inputs & Context
31
+ - Feature spec or architecture design document
32
+ - Task breakdown structure (WBS) template
33
+ - Historical velocity and estimation baseline metrics
4
34
 
5
35
  ## Phase 1: Context & Reconnaissance
6
- - Analyze the user request and existing codebase state.
7
- - Gather necessary inputs and verify environment readiness.
36
+ - Deconstruct overall feature or epic into granular, atomic engineering tasks.
37
+ - Identify technical dependencies across frontend, backend, infrastructure, and QA domains.
38
+ - Flag high-uncertainty areas requiring spikes or research.
8
39
 
9
40
  ## Phase 2: Execution & Orchestration
10
- - Execute core steps with progressive verifications.
11
- - Delegate sub-tasks to specialized sub-agents.
41
+ - Assign Fibonacci story point scores (1, 2, 3, 5, 8, 13) to each decomposed task.
42
+ - Assess technical risk factors (low, medium, high) and assign confidence ratings.
43
+ - Calculate total duration range (best-case, worst-case, expected) including buffer for risks.
12
44
 
13
45
  ## Phase 3: Verification & Closure
14
- - Run verification tests and linting.
15
- - Document outcome and present summary.
46
+ - Review task estimates with engineering leads to ensure consensus.
47
+ - Document estimation assumptions, risk mitigations, and prerequisite dependencies.
48
+ - Publish technical estimation matrix to project management repository.
49
+
50
+ ## Phase Transition Criteria & Deterministic Verification Gates
51
+ | Transition | Prerequisites | Verification Command / Gate | Success Criteria |
52
+ |---|---|---|---|
53
+ | Phase 1 -> Phase 2 | Tool inputs verified & environment ready | `node dist/cli.js doctor` | Doctor health check succeeds with 0 errors |
54
+ | Phase 2 -> Phase 3 | Execution steps complete | `node dist/cli.js doctor` | Project tasks properly formatted with explicit acceptance criteria |
55
+ | Phase 3 -> Completion | Verification complete & artifacts signed off | `npm run build` | Verification build runs cleanly without broken task dependencies |
56
+
57
+ ## Validation Checkpoints & Automated Rollback Protocols
58
+ - **Validation Checkpoint 1**: Every task item has assigned story points, risk rating, and explicit owner role.
59
+ - **Validation Checkpoint 2**: Summed estimate includes explicit contingency buffer for identified risks.
60
+ - **Automated Rollback Protocol**: Re-scope and re-estimate feature breakdown if total duration exceeds iteration budget capacity.