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
@@ -0,0 +1,48 @@
1
+ ---
2
+ name: "API Contract & Schema Design"
3
+ description: "Workflow for designing, validating, and versioning REST OpenAPI 3.1, GraphQL, and gRPC protobuf schema contracts with zero breaking changes."
4
+ bundle: "backend-distributed-systems"
5
+ estimatedDuration: "15-30m"
6
+ ---
7
+
8
+ # Workflow: API Contract & Schema Design
9
+
10
+ ## Overview & Scope
11
+ The API Contract Design workflow ensures all client-server and microservice communications have strictly typed, backward-compatible, and documented API schemas before implementation begins.
12
+
13
+ ## Execution Flowchart
14
+ ```mermaid
15
+ graph TD
16
+ Start([Start Workflow]) --> P1[Phase 1: Domain Modeling & Entity Definition]
17
+ P1 --> InputCheck{"Entities & Types Modeled?"}
18
+ InputCheck -->|No| Abort1[Clarify Domain Schema]
19
+ InputCheck -->|Yes| P2[Phase 2: Schema Contract Generation]
20
+ P2 --> Gate1{"Verification Gate: Schema Valid & Compatible?"}
21
+ Gate1 -->|Fail| P2Fix[Resolve Schema Incompatibilities]
22
+ P2Fix --> P2
23
+ Gate1 -->|Pass| P3[Phase 3: Client SDK & Mock Generation]
24
+ P3 --> Done([API Contract Approved & Published])
25
+ ```
26
+
27
+ ## Required Tool Inputs & Context
28
+ - Domain entity model and service requirements
29
+ - Target API style (`REST OpenAPI`, `GraphQL`, `gRPC Protobuf`)
30
+ - Backward compatibility requirements
31
+
32
+ ## Phase 1: Domain Modeling & Entity Definition
33
+ - Map domain models to request/response payloads, error structures, and pagination patterns.
34
+ - Enforce standard HTTP status code and error payload conventions (`RFC 7807`).
35
+
36
+ ## Phase 2: Schema Contract Generation
37
+ - Author OpenAPI YAML, GraphQL SDL, or Protobuf `.proto` definition.
38
+ - Run schema linting (`spectral` / `buf lint`) and breaking change detection (`buf breaking` / `oasdiff`).
39
+
40
+ ## Phase 3: Client SDK & Mock Generation
41
+ - Generate typed client SDKs and mock server definitions (MSW / Prism) for parallel frontend development.
42
+
43
+ ## Phase Transition Criteria & Deterministic Verification Gates
44
+ | Transition | Prerequisites | Verification Command / Gate | Success Criteria |
45
+ |---|---|---|---|
46
+ | Phase 1 -> Phase 2 | Domain entities specified | Entity mapping review | All mandatory fields and types declared |
47
+ | Phase 2 -> Phase 3 | Schema authored | Schema linter & diff tool | 0 lint errors, 0 breaking changes detected |
48
+ | Phase 3 -> Completion | SDK & mocks generated | Mock server validation | Client SDK compiles without type errors |
@@ -0,0 +1,48 @@
1
+ ---
2
+ name: "App Store & Google Play Release Preparation"
3
+ description: "Workflow for auditing mobile application compliance, privacy policy disclosures, StoreKit/In-App Purchases, and app store submission assets."
4
+ bundle: "mobile-development"
5
+ estimatedDuration: "20-40m"
6
+ ---
7
+
8
+ # Workflow: App Store & Google Play Release Preparation
9
+
10
+ ## Overview & Scope
11
+ The App Store Release workflow audits mobile applications against Apple App Review Guidelines and Google Play Developer Policies prior to store submission, eliminating common rejection causes.
12
+
13
+ ## Execution Flowchart
14
+ ```mermaid
15
+ graph TD
16
+ Start([Start Workflow]) --> P1[Phase 1: Privacy & Entitlements Audit]
17
+ P1 --> InputCheck{"Info.plist & Manifest Complete?"}
18
+ InputCheck -->|No| Abort1[Remediate Missing Descriptions]
19
+ InputCheck -->|Yes| P2[Phase 2: StoreKit & Permissions Verification]
20
+ P2 --> Gate1{"Verification Gate: Guidelines Compliant?"}
21
+ Gate1 -->|Fail| P2Fix[Apply Compliance Fixes]
22
+ P2Fix --> P2
23
+ Gate1 -->|Pass| P3[Phase 3: Metadata & Release Artifact Packaging]
24
+ P3 --> Done([App Store Submission Ready])
25
+ ```
26
+
27
+ ## Required Tool Inputs & Context
28
+ - `Info.plist` (iOS) / `AndroidManifest.xml` (Android)
29
+ - Privacy Policy URL and Terms of Service links
30
+ - Screenshot assets for target screen sizes
31
+
32
+ ## Phase 1: Privacy & Entitlements Audit
33
+ - Verify that every requested permission (Camera, Location, Notifications) includes a clear, user-facing purpose string.
34
+ - Audit third-party SDK privacy manifests and data collection disclosures.
35
+
36
+ ## Phase 2: StoreKit & Permissions Verification
37
+ - Verify In-App Purchase restore purchase functionality and clear pricing disclosures.
38
+ - Verify account deletion capabilities for apps with user authentication.
39
+
40
+ ## Phase 3: Metadata & Release Artifact Packaging
41
+ - Compile App Store Connect / Google Play metadata, release notes, and version increment commits.
42
+
43
+ ## Phase Transition Criteria & Deterministic Verification Gates
44
+ | Transition | Prerequisites | Verification Command / Gate | Success Criteria |
45
+ |---|---|---|---|
46
+ | Phase 1 -> Phase 2 | Permission strings verified | Manifest & Info.plist audit | 100% of requested permissions have explanations |
47
+ | Phase 2 -> Phase 3 | Store compliance verified | Guidelines checklist audit | Account deletion & purchase restore verified |
48
+ | Phase 3 -> Completion | Metadata bundle signed off | Release notes & version audit | Clean submission package prepared |
@@ -1,15 +1,60 @@
1
- # Workflow: Brainstorm
1
+ ---
2
+ name: "Structured Option Generation & Brainstorming"
3
+ description: "Workflow for generating creative technical solutions, evaluating design options, and applying SCAMPER/Lateral Thinking frameworks."
4
+ bundle: "deep-research"
5
+ estimatedDuration: "25-45m"
6
+ ---
2
7
 
3
- Multi-phase procedural workflow for Brainstorm.
8
+ # Workflow: Structured Option Generation & Brainstorming
9
+
10
+ ## Overview & Scope
11
+ This workflow drives structured technical innovation. It applies SCAMPER and Lateral Thinking frameworks to generate diverse solution options before narrowing down to optimal candidates.
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
+ - Problem context statement & hard project constraints
32
+ - Brainstorming framework guides (SCAMPER, 6 Thinking Hats)
33
+ - Option evaluation matrix template
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 target problem statement and state non-negotiable constraints (tech stack, latency budget, timeline).
37
+ - Set target idea volume goal (minimum 10 distinct solution concepts).
38
+ - Prepare brainstorming 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
+ - Divergent Phase: Generate high-volume ideas using SCAMPER (Substitute, Combine, Adapt, Modify, Put to another use, Eliminate, Reverse).
42
+ - Categorize generated ideas into architectural clusters.
43
+ - Convergent Phase: Evaluate ideas against feasibility, impact, and project constraints.
12
44
 
13
45
  ## Phase 3: Verification & Closure
14
- - Run verification tests and linting.
15
- - Document outcome and present summary.
46
+ - Select top 3 candidate options for detailed technical evaluation.
47
+ - Document pros, cons, trade-offs, and risks for each top option.
48
+ - Publish Technical Option Generation 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 | `node dist/cli.js doctor` | Doctor health check validates brainstorming document schema |
55
+ | Phase 3 -> Completion | Verification complete & artifacts signed off | `npm test` | Validation test confirms presence of top candidate trade-off analyses |
56
+
57
+ ## Validation Checkpoints & Automated Rollback Protocols
58
+ - **Validation Checkpoint 1**: Minimum of 10 distinct solution options generated during divergent phase.
59
+ - **Validation Checkpoint 2**: Top candidate options evaluated against all hard project constraints.
60
+ - **Automated Rollback Protocol**: Re-frame brainstorming prompt if generated concepts violate core constraints.
@@ -1,15 +1,60 @@
1
- # Workflow: Build
1
+ ---
2
+ name: "Production Build Verification"
3
+ description: "Workflow for executing production build compilation, validating bundle output integrity, asset sizes, and target artifacts."
4
+ bundle: "software-engineering"
5
+ estimatedDuration: "15-30m"
6
+ ---
2
7
 
3
- Multi-phase procedural workflow for Build.
8
+ # Workflow: Production Build Verification
9
+
10
+ ## Overview & Scope
11
+ The Build workflow ensures project code compiles cleanly into production-ready build artifacts, validating bundle sizes, entry point executables, and asset integrity prior to deployment.
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
+ - Build script and bundling tool (`tsup` / `vite` / `webpack` / `esbuild`)
32
+ - Target output directory (`dist/` or `build/`)
33
+ - Maximum allowable bundle size thresholds
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 build tool configuration files (`tsconfig.json`, `tsup.config.ts`, `vite.config.ts`).
37
+ - Clean prior build artifacts and temporary files (`rimraf dist`).
38
+ - Verify all required build dependencies and environment variables are present.
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 production compilation process via `npm run build`.
42
+ - Monitor stdout/stderr streams for compilation warnings, deprecation notices, or missing exports.
43
+ - Inspect generated output artifacts to confirm expected entry point scripts and source maps are emitted.
12
44
 
13
45
  ## Phase 3: Verification & Closure
14
- - Run verification tests and linting.
15
- - Document outcome and present summary.
46
+ - Run post-build asset verification scripts to check bundle file sizes against thresholds.
47
+ - Test executable CLI entry points or bundled modules in an isolated node process.
48
+ - Publish build verification summary detailing artifact sizes, compilation time, and entry signatures.
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` | Compilation completes with exit code 0 and zero fatal errors |
55
+ | Phase 3 -> Completion | Verification complete & artifacts signed off | `node dist/cli.js --version` | Built CLI entry point executes cleanly without module resolution errors |
56
+
57
+ ## Validation Checkpoints & Automated Rollback Protocols
58
+ - **Validation Checkpoint 1**: Output directory contains all expected JavaScript, type declaration (`.d.ts`), and map files.
59
+ - **Validation Checkpoint 2**: Bundle size measurements fall within acceptable performance budget limits.
60
+ - **Automated Rollback Protocol**: Clean corrupted `dist/` artifacts and revert build configuration changes if compilation fails.
@@ -1,15 +1,60 @@
1
- # Workflow: Business Panel
1
+ ---
2
+ name: "Expert Business Evaluation Panel"
3
+ description: "Panel workflow assembling business strategists, product managers, and financial analysts to evaluate product monetization, pricing, and business viability."
4
+ bundle: "business-strategy"
5
+ estimatedDuration: "45-75m"
6
+ ---
2
7
 
3
- Multi-phase procedural workflow for Business Panel.
8
+ # Workflow: Expert Business Evaluation Panel
9
+
10
+ ## Overview & Scope
11
+ The Business Panel workflow evaluates commercial viability. It convenes Business Strategists, Financial Analysts, and Product Managers to audit monetization models, pricing strategy, unit economics, and ROI.
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
+ - Business proposal or feature specification
32
+ - Monetization model & pricing tier specs
33
+ - Financial projections and market size data
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
+ - Gather business proposals, financial estimates, and target market analysis.
37
+ - Establish evaluation dimensions (Monetization feasibility, Unit economics, Customer CAC/LTV, Competitive defensibility).
38
+ - Distribute proposal to business panel personas.
8
39
 
9
40
  ## Phase 2: Execution & Orchestration
10
- - Execute core steps with progressive verifications.
11
- - Delegate sub-tasks to specialized sub-agents.
41
+ - Conduct panel review session collecting structured evaluation from business expert personas.
42
+ - Audit pricing tiers, margin expectations, and go-to-market assumptions.
43
+ - Identify commercial risks and strategic opportunities.
12
44
 
13
45
  ## Phase 3: Verification & Closure
14
- - Run verification tests and linting.
15
- - Document outcome and present summary.
46
+ - Synthesize panel feedback into Business Evaluation Verdict (Approved, Approved with Adjustments, Rejected).
47
+ - Formulate actionable commercial recommendations and financial model updates.
48
+ - Publish Business Panel Evaluation 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 | `node dist/cli.js doctor` | Doctor health check validates business panel report format |
55
+ | Phase 3 -> Completion | Verification complete & artifacts signed off | `npm test` | Validation test suite confirms presence of financial metrics |
56
+
57
+ ## Validation Checkpoints & Automated Rollback Protocols
58
+ - **Validation Checkpoint 1**: Monetization model and unit economics evaluated across all proposed pricing tiers.
59
+ - **Validation Checkpoint 2**: Commercial risks cataloged with explicit mitigation recommendations.
60
+ - **Automated Rollback Protocol**: Return proposal to draft state if panel issues commercial rejection verdict.
@@ -1,15 +1,60 @@
1
- # Workflow: Cleanup
1
+ ---
2
+ name: "Code Hygiene & Refactoring Cleanup"
3
+ description: "Systematic workflow for removing dead code, unused dependencies, formatting files, and normalizing code style."
4
+ bundle: "software-engineering"
5
+ estimatedDuration: "15-30m"
6
+ ---
2
7
 
3
- Multi-phase procedural workflow for Cleanup.
8
+ # Workflow: Code Hygiene & Refactoring Cleanup
9
+
10
+ ## Overview & Scope
11
+ The Cleanup workflow streamlines codebase maintenance by identifying and eliminating orphaned code, unused npm packages, formatting inconsistencies, and stale comments across the project.
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
+ - Linter and formatter configurations (`.eslintrc`, `.prettierrc`)
32
+ - Unused dependency scanner (`depcheck` / `knip`)
33
+ - Repository file index & source directories
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
+ - Scan codebase for unreferenced export declarations, orphaned files, and dead code paths.
37
+ - Audit `package.json` against actual import usages to find unused dependencies.
38
+ - Check code formatting consistency across all source and test directories.
8
39
 
9
40
  ## Phase 2: Execution & Orchestration
10
- - Execute core steps with progressive verifications.
11
- - Delegate sub-tasks to specialized sub-agents.
41
+ - Safe removal of confirmed unused files, unused variables, and unreferenced functions.
42
+ - Run automated code formatters (`prettier --write .`) and linter auto-fixes (`eslint --fix`).
43
+ - Remove outdated or commented-out code blocks while preserving documentation comments.
12
44
 
13
45
  ## Phase 3: Verification & Closure
14
- - Run verification tests and linting.
15
- - Document outcome and present summary.
46
+ - Run full test suite and type-checker to ensure no functional code was inadvertently broken.
47
+ - Verify clean git diff to confirm only intended refactor/cleanup edits were made.
48
+ - Document total lines of code removed, dependencies pruned, and formatting changes applied.
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 lint` | 0 lint errors and 0 warnings remaining post-cleanup |
55
+ | Phase 3 -> Completion | Verification complete & artifacts signed off | `npm test && npm run typecheck` | 100% pass rate on test suite and static type check after code removal |
56
+
57
+ ## Validation Checkpoints & Automated Rollback Protocols
58
+ - **Validation Checkpoint 1**: Unused dependencies and unreferenced exports verified with static analysis before removal.
59
+ - **Validation Checkpoint 2**: Working tree formatted cleanly with zero style deviations.
60
+ - **Automated Rollback Protocol**: Revert uncommitted file removals using `git checkout -- .` if cleanup causes test regressions.
@@ -0,0 +1,49 @@
1
+ ---
2
+ name: "Staging Preview & Deployment Automation"
3
+ description: "Workflow for automating container builds, staging preview deployments, environment sanity checks, and deployment verification gates."
4
+ bundle: "devops-engineering"
5
+ estimatedDuration: "10-20m"
6
+ ---
7
+
8
+ # Workflow: Staging Preview & Deployment Automation
9
+
10
+ ## Overview & Scope
11
+ The Staging Deployment workflow automates the creation of isolated staging environments, container image verification, and post-deployment health checks prior to production promotion.
12
+
13
+ ## Execution Flowchart
14
+ ```mermaid
15
+ graph TD
16
+ Start([Start Workflow]) --> P1[Phase 1: Build & Image Verification]
17
+ P1 --> InputCheck{"Image Built & Tagged?"}
18
+ InputCheck -->|No| Abort1[Abort Deployment]
19
+ InputCheck -->|Yes| P2[Phase 2: Staging Deployment Rollout]
20
+ P2 --> Gate1{"Verification Gate: Health Checks Pass?"}
21
+ Gate1 -->|Fail| Rollback[Trigger Automated Deployment Rollback]
22
+ Rollback --> P2
23
+ Gate1 -->|Pass| P3[Phase 3: Integration Audit & Sign-off]
24
+ P3 --> Done([Staging Deployment Verified])
25
+ ```
26
+
27
+ ## Required Tool Inputs & Context
28
+ - Target container registry and deployment environment credentials
29
+ - Health check HTTP endpoint (`/healthz` or `/api/health`)
30
+ - Staging environment configuration parameters
31
+
32
+ ## Phase 1: Build & Image Verification
33
+ - Build production container image using Docker multi-stage workflow.
34
+ - Scan built container image for security vulnerabilities using vulnerability scanners.
35
+
36
+ ## Phase 2: Staging Deployment Rollout
37
+ - Deploy container image to staging cluster or preview environment.
38
+ - Verify environment variables and database migration status.
39
+
40
+ ## Phase 3: Integration Audit & Sign-off
41
+ - Execute HTTP health check polling on staging URL.
42
+ - Log deployment status, image SHA, and deployment duration.
43
+
44
+ ## Phase Transition Criteria & Deterministic Verification Gates
45
+ | Transition | Prerequisites | Verification Command / Gate | Success Criteria |
46
+ |---|---|---|---|
47
+ | Phase 1 -> Phase 2 | Container built cleanly | `docker inspect <image>` | Image exists with non-root user context |
48
+ | Phase 2 -> Phase 3 | Staging rollout completed | `curl -f https://staging.example.com/healthz` | Endpoint returns HTTP 200 OK |
49
+ | Phase 3 -> Completion | Health verification passed | `agents doctor` | Deployment lockfile updated successfully |
@@ -1,15 +1,60 @@
1
- # Workflow: Design Code
1
+ ---
2
+ name: "API & Interface Specification Design"
3
+ description: "Workflow for designing clean code interfaces, TypeScript types/interfaces, OpenAPI/REST schemas, and module contracts."
4
+ bundle: "system-architecture"
5
+ estimatedDuration: "30-60m"
6
+ ---
2
7
 
3
- Multi-phase procedural workflow for Design Code.
8
+ # Workflow: API & Interface Specification Design
9
+
10
+ ## Overview & Scope
11
+ This workflow provides a methodical approach to designing software contracts, TypeScript interfaces, and schema definitions. It emphasizes type safety, clear abstraction boundaries, and backward compatibility.
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
+ - Domain model requirements and entity definitions
32
+ - Interface guidelines and type convention standards
33
+ - TypeScript compiler / Zod schema validator tools
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
+ - Identify core domain entities, value objects, and boundary interfaces.
37
+ - Audit existing type definitions for duplication or naming inconsistencies.
38
+ - Determine data validation rules, optional fields, and payload constraints.
8
39
 
9
40
  ## Phase 2: Execution & Orchestration
10
- - Execute core steps with progressive verifications.
11
- - Delegate sub-tasks to specialized sub-agents.
41
+ - Draft TypeScript interface definitions (`types.ts`) and export type signatures.
42
+ - Implement validation schemas (e.g. Zod or JSON Schema) matching runtime payload requirements.
43
+ - Add comprehensive TSDoc/JSDoc comments describing method parameters, return types, and potential errors.
12
44
 
13
45
  ## Phase 3: Verification & Closure
14
- - Run verification tests and linting.
15
- - Document outcome and present summary.
46
+ - Verify type compilation (`tsc --noEmit`) to confirm no circular type dependencies exist.
47
+ - Validate schema serialization and deserialization against sample payload fixtures.
48
+ - Export finalized type contracts for downstream consumption by backend/frontend engineers.
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 typecheck` | TypeScript compiler validates all new type interfaces without errors |
55
+ | Phase 3 -> Completion | Verification complete & artifacts signed off | `npm test` | Schema validation unit tests pass cleanly against sample data |
56
+
57
+ ## Validation Checkpoints & Automated Rollback Protocols
58
+ - **Validation Checkpoint 1**: Interfaces encapsulate domain logic cleanly with zero `any` types.
59
+ - **Validation Checkpoint 2**: TSDoc documentation complete for all public interface methods and properties.
60
+ - **Automated Rollback Protocol**: Revert interface modifications if circular dependencies or breaking type signature changes occur.
@@ -1,15 +1,60 @@
1
- # Workflow: Design Ops Handoff
1
+ ---
2
+ name: "Design-to-Engineering Handoff Specification"
3
+ description: "Workflow for packaging visual designs, interaction specs, assets, and design token references into production-ready engineering specs."
4
+ bundle: "product-design"
5
+ estimatedDuration: "30-45m"
6
+ ---
2
7
 
3
- Multi-phase procedural workflow for Design Ops Handoff.
8
+ # Workflow: Design-to-Engineering Handoff Specification
9
+
10
+ ## Overview & Scope
11
+ The Handoff workflow standardizes design specs for development. It packages redline specs, interaction behaviors, asset exports, token mappings, and edge-case specs into comprehensive developer handoffs.
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
+ - Finalized screen designs and component specs
32
+ - Design token repository and component library mappings
33
+ - Asset export rules (SVG optimization, image compression)
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
+ - Confirm screen designs are finalized and locked for implementation.
37
+ - Audit design elements to ensure 100% map to existing design system tokens or documented new components.
38
+ - Verify SVG graphics are clean and vectorized.
8
39
 
9
40
  ## Phase 2: Execution & Orchestration
10
- - Execute core steps with progressive verifications.
11
- - Delegate sub-tasks to specialized sub-agents.
41
+ - Attach redline specifications detailing layout margins, padding, and alignment.
42
+ - Annotate dynamic component behaviors, error states, and micro-interactions.
43
+ - Export optimized SVG/PNG assets and document data field requirements for backend APIs.
12
44
 
13
45
  ## Phase 3: Verification & Closure
14
- - Run verification tests and linting.
15
- - Document outcome and present summary.
46
+ - Conduct handoff walkthrough with engineering leads.
47
+ - Address technical clarification questions and update handoff spec annotations.
48
+ - Archive handoff specification package in project 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` | Doctor health check confirms handoff specification artifact structure |
55
+ | Phase 3 -> Completion | Verification complete & artifacts signed off | `npm test` | Asset validation script confirms all exported SVGs are valid and optimized |
56
+
57
+ ## Validation Checkpoints & Automated Rollback Protocols
58
+ - **Validation Checkpoint 1**: 100% of visual elements mapped to design tokens or explicit component specs.
59
+ - **Validation Checkpoint 2**: All graphic assets exported in optimized SVG format.
60
+ - **Automated Rollback Protocol**: Update handoff spec package if engineers identify unannotated interaction behaviors.
@@ -1,15 +1,60 @@
1
- # Workflow: Design Ops Plan Sprint
1
+ ---
2
+ name: "Design Sprint & Capacity Planning"
3
+ description: "Operational workflow for scoping design tasks, estimating design effort, allocating designer capacity, and planning design sprints."
4
+ bundle: "product-design"
5
+ estimatedDuration: "25-45m"
6
+ ---
2
7
 
3
- Multi-phase procedural workflow for Design Ops Plan Sprint.
8
+ # Workflow: Design Sprint & Capacity Planning
9
+
10
+ ## Overview & Scope
11
+ This workflow manages design team capacity and sprint execution. It scopes incoming requests, estimates design effort, allocates designer availability, and establishes clear sprint commitments.
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 feature backlog and design request tickets
32
+ - Designer availability & velocity history
33
+ - Sprint goals and engineering milestone targets
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
+ - Collect incoming design requests and feature tickets for the upcoming sprint.
37
+ - Calculate net available designer hours accounting for overhead, meetings, and PTO.
38
+ - Review engineering sprint commitments to align design deliverables.
8
39
 
9
40
  ## Phase 2: Execution & Orchestration
10
- - Execute core steps with progressive verifications.
11
- - Delegate sub-tasks to specialized sub-agents.
41
+ - Break down design requests into specific tasks (research, wireframing, high-fi design, handoff).
42
+ - Estimate effort story points for each design task based on complexity.
43
+ - Assign tasks to designers matching capacity and expertise.
12
44
 
13
45
  ## Phase 3: Verification & Closure
14
- - Run verification tests and linting.
15
- - Document outcome and present summary.
46
+ - Review sprint plan with product management and engineering leads.
47
+ - Commit sprint backlog items to design tracking board.
48
+ - Publish Design Sprint Plan document.
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` | Doctor health check verifies sprint plan document syntax |
55
+ | Phase 3 -> Completion | Verification complete & artifacts signed off | `npm run build` | Project build passes cleanly during sprint planning |
56
+
57
+ ## Validation Checkpoints & Automated Rollback Protocols
58
+ - **Validation Checkpoint 1**: Total committed story points do not exceed calculated design team capacity.
59
+ - **Validation Checkpoint 2**: Every sprint task has an explicit definition of done.
60
+ - **Automated Rollback Protocol**: De-scope lower priority design tickets if allocated capacity is exceeded.