agents-united 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (236) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +673 -0
  3. package/dist/cli.d.ts +5 -0
  4. package/dist/cli.js +4789 -0
  5. package/dist/cli.js.map +1 -0
  6. package/package.json +77 -0
  7. package/registry/agents/orchestrator-business.md +188 -0
  8. package/registry/agents/orchestrator-design.md +168 -0
  9. package/registry/agents/orchestrator-engineering.md +183 -0
  10. package/registry/agents/orchestrator-marketing.md +228 -0
  11. package/registry/agents/orchestrator-research.md +196 -0
  12. package/registry/agents/orchestrator-security.md +190 -0
  13. package/registry/agents/orchestrator-system-architecture.md +171 -0
  14. package/registry/agents/orchestrator-universal.md +168 -0
  15. package/registry/agents/subagent-accessibility-lead.md +47 -0
  16. package/registry/agents/subagent-ai-model-architect.md +97 -0
  17. package/registry/agents/subagent-android-architect.md +47 -0
  18. package/registry/agents/subagent-appsec-penetration-tester.md +189 -0
  19. package/registry/agents/subagent-backend-architect.md +360 -0
  20. package/registry/agents/subagent-business-panel-experts.md +126 -0
  21. package/registry/agents/subagent-cloud-infrastructure-architect.md +126 -0
  22. package/registry/agents/subagent-cloud-security-architect.md +221 -0
  23. package/registry/agents/subagent-code-reviewer.md +193 -0
  24. package/registry/agents/subagent-compliance-grc-specialist.md +147 -0
  25. package/registry/agents/subagent-cross-platform-specialist.md +47 -0
  26. package/registry/agents/subagent-data-engineer.md +46 -0
  27. package/registry/agents/subagent-database-administrator.md +141 -0
  28. package/registry/agents/subagent-deep-research.md +94 -0
  29. package/registry/agents/subagent-design-ops-lead.md +121 -0
  30. package/registry/agents/subagent-design-researcher.md +133 -0
  31. package/registry/agents/subagent-design-systems-architect.md +134 -0
  32. package/registry/agents/subagent-designer-toolkit-expert.md +363 -0
  33. package/registry/agents/subagent-devops-engineer.md +423 -0
  34. package/registry/agents/subagent-distributed-systems-architect.md +47 -0
  35. package/registry/agents/subagent-e2e-tester.md +60 -0
  36. package/registry/agents/subagent-financial-analyst.md +119 -0
  37. package/registry/agents/subagent-finops-cost-engineer.md +98 -0
  38. package/registry/agents/subagent-frontend-architect.md +368 -0
  39. package/registry/agents/subagent-interaction-designer.md +302 -0
  40. package/registry/agents/subagent-ios-architect.md +46 -0
  41. package/registry/agents/subagent-legal-contract-analyst.md +108 -0
  42. package/registry/agents/subagent-lifecycle-email-specialist.md +46 -0
  43. package/registry/agents/subagent-literature-patent-analyst.md +78 -0
  44. package/registry/agents/subagent-market-intelligence-analyst.md +110 -0
  45. package/registry/agents/subagent-marketing-campaign-specialist.md +80 -0
  46. package/registry/agents/subagent-marketing-content-strategist.md +184 -0
  47. package/registry/agents/subagent-marketing-conversion-specialist.md +79 -0
  48. package/registry/agents/subagent-marketing-creative-designer.md +93 -0
  49. package/registry/agents/subagent-marketing-growth-strategist.md +137 -0
  50. package/registry/agents/subagent-ml-platform-engineer.md +95 -0
  51. package/registry/agents/subagent-operations-strategist.md +85 -0
  52. package/registry/agents/subagent-paid-acquisition-specialist.md +47 -0
  53. package/registry/agents/subagent-plg-strategist.md +46 -0
  54. package/registry/agents/subagent-prototype-tester.md +140 -0
  55. package/registry/agents/subagent-qa-automation-lead.md +63 -0
  56. package/registry/agents/subagent-repo-index.md +180 -0
  57. package/registry/agents/subagent-security-engineer.md +134 -0
  58. package/registry/agents/subagent-seo-specialist.md +46 -0
  59. package/registry/agents/subagent-socratic-mentor.md +105 -0
  60. package/registry/agents/subagent-statistical-analyst.md +132 -0
  61. package/registry/agents/subagent-sysops-sre-lead.md +84 -0
  62. package/registry/agents/subagent-system-architect.md +122 -0
  63. package/registry/agents/subagent-ui-designer.md +149 -0
  64. package/registry/agents/subagent-ux-strategist.md +88 -0
  65. package/registry/bundles.json +1386 -0
  66. package/registry/rules/AGENTS.md +41 -0
  67. package/registry/rules/CLAUDE.md +12 -0
  68. package/registry/rules/CURSOR.md +12 -0
  69. package/registry/rules/GEMINI.md +41 -0
  70. package/registry/rules/clean-code-and-architecture.md +25 -0
  71. package/registry/rules/domain-modeling-and-adr.md +27 -0
  72. package/registry/rules/git-guardrails.md +19 -0
  73. package/registry/rules/multi-agent-coordination.md +33 -0
  74. package/registry/rules/quality-aesthetics-accessibility.md +29 -0
  75. package/registry/rules/skill-attribution.md +27 -0
  76. package/registry/rules/test-driven-development.md +41 -0
  77. package/registry/skills/ab-test-setup/SKILL.md +150 -0
  78. package/registry/skills/accessibility-audit/SKILL.md +150 -0
  79. package/registry/skills/ad-attribution-modeling/SKILL.md +206 -0
  80. package/registry/skills/ad-creative-design/SKILL.md +27 -0
  81. package/registry/skills/ai-prototype-refactoring/SKILL.md +29 -0
  82. package/registry/skills/architecture-design/SKILL.md +141 -0
  83. package/registry/skills/azure-infrastructure-bicep/SKILL.md +28 -0
  84. package/registry/skills/backend-api-design/SKILL.md +151 -0
  85. package/registry/skills/chaos-engineering/SKILL.md +41 -0
  86. package/registry/skills/churn-prevention-playbook/SKILL.md +181 -0
  87. package/registry/skills/ci-cd-pipeline-automation/SKILL.md +40 -0
  88. package/registry/skills/clickable-prototype-spec/SKILL.md +150 -0
  89. package/registry/skills/code-refactoring/SKILL.md +135 -0
  90. package/registry/skills/component-library-management/SKILL.md +150 -0
  91. package/registry/skills/component-playground-setup/SKILL.md +150 -0
  92. package/registry/skills/content-calendar-strategy/SKILL.md +150 -0
  93. package/registry/skills/conversion-funnel-optimization/SKILL.md +150 -0
  94. package/registry/skills/copywriting-frameworks/SKILL.md +150 -0
  95. package/registry/skills/database-design/SKILL.md +135 -0
  96. package/registry/skills/dependency-management/SKILL.md +142 -0
  97. package/registry/skills/design-handoff-spec/SKILL.md +150 -0
  98. package/registry/skills/design-ops-workflow/SKILL.md +150 -0
  99. package/registry/skills/design-system-governance/SKILL.md +150 -0
  100. package/registry/skills/design-system-tokens/SKILL.md +150 -0
  101. package/registry/skills/design-tokens-management/SKILL.md +150 -0
  102. package/registry/skills/design-version-control/SKILL.md +150 -0
  103. package/registry/skills/diagnosing-bugs/SKILL.md +45 -0
  104. package/registry/skills/docker-deployment/SKILL.md +144 -0
  105. package/registry/skills/domain-modeling/SKILL.md +52 -0
  106. package/registry/skills/email-drip-sequences/SKILL.md +181 -0
  107. package/registry/skills/email-marketing-automation/SKILL.md +150 -0
  108. package/registry/skills/finishing-a-development-branch/SKILL.md +132 -0
  109. package/registry/skills/frontend-component-design/SKILL.md +153 -0
  110. package/registry/skills/git-guardrails/SKILL.md +41 -0
  111. package/registry/skills/google-ads-optimization/SKILL.md +27 -0
  112. package/registry/skills/graphql-schema-design/SKILL.md +146 -0
  113. package/registry/skills/grill-me/SKILL.md +57 -0
  114. package/registry/skills/grill-with-docs/SKILL.md +84 -0
  115. package/registry/skills/growth-experiment-design/SKILL.md +150 -0
  116. package/registry/skills/handoff/SKILL.md +44 -0
  117. package/registry/skills/hf-model-evaluation/SKILL.md +84 -0
  118. package/registry/skills/interaction-pattern-library/SKILL.md +150 -0
  119. package/registry/skills/interactive-prototype-builder/SKILL.md +157 -0
  120. package/registry/skills/local-llm-inference/SKILL.md +77 -0
  121. package/registry/skills/maestro-mobile-testing/SKILL.md +40 -0
  122. package/registry/skills/marketing-creative-design/SKILL.md +186 -0
  123. package/registry/skills/mcp-setup/SKILL.md +370 -0
  124. package/registry/skills/meta-ad-creative-testing/SKILL.md +26 -0
  125. package/registry/skills/micro-interaction-design/SKILL.md +150 -0
  126. package/registry/skills/microservices-architecture/SKILL.md +141 -0
  127. package/registry/skills/mobile-android-design/SKILL.md +40 -0
  128. package/registry/skills/mobile-first-design/SKILL.md +150 -0
  129. package/registry/skills/mobile-ios-design/SKILL.md +40 -0
  130. package/registry/skills/mobile-platform-offline-validate/SKILL.md +41 -0
  131. package/registry/skills/modal-serverless-python/SKILL.md +81 -0
  132. package/registry/skills/onboarding-cro/SKILL.md +185 -0
  133. package/registry/skills/paid-acquisition-ppc/SKILL.md +171 -0
  134. package/registry/skills/performance-optimization/SKILL.md +141 -0
  135. package/registry/skills/playwright-best-practices/SKILL.md +39 -0
  136. package/registry/skills/product-launch-playbook/SKILL.md +150 -0
  137. package/registry/skills/programmatic-seo/SKILL.md +213 -0
  138. package/registry/skills/rag-vector-pipeline/SKILL.md +84 -0
  139. package/registry/skills/react-best-practices/SKILL.md +40 -0
  140. package/registry/skills/receiving-code-review/SKILL.md +130 -0
  141. package/registry/skills/replicate-model-inference/SKILL.md +76 -0
  142. package/registry/skills/requesting-code-review/SKILL.md +137 -0
  143. package/registry/skills/responsive-design-audit/SKILL.md +150 -0
  144. package/registry/skills/runpod-gpu-orchestration/SKILL.md +85 -0
  145. package/registry/skills/schema-markup-strategy/SKILL.md +194 -0
  146. package/registry/skills/security-audit/SKILL.md +139 -0
  147. package/registry/skills/seo-audit/SKILL.md +150 -0
  148. package/registry/skills/signup-flow-cro/SKILL.md +150 -0
  149. package/registry/skills/social-media-campaign/SKILL.md +150 -0
  150. package/registry/skills/state-driven-ui-animation/SKILL.md +150 -0
  151. package/registry/skills/subagent-driven-development/SKILL.md +135 -0
  152. package/registry/skills/supabase-backend-architecture/SKILL.md +28 -0
  153. package/registry/skills/systematic-debugging/SKILL.md +138 -0
  154. package/registry/skills/technical-documentation/SKILL.md +136 -0
  155. package/registry/skills/technical-seo-audit/SKILL.md +27 -0
  156. package/registry/skills/telemetry-monitoring/SKILL.md +40 -0
  157. package/registry/skills/test-driven-development/SKILL.md +135 -0
  158. package/registry/skills/to-spec/SKILL.md +48 -0
  159. package/registry/skills/to-tickets/SKILL.md +47 -0
  160. package/registry/skills/turso-distributed-sqlite/SKILL.md +27 -0
  161. package/registry/skills/ui-component-spec/SKILL.md +150 -0
  162. package/registry/skills/usability-testing-protocol/SKILL.md +150 -0
  163. package/registry/skills/user-flow-mapping/SKILL.md +150 -0
  164. package/registry/skills/user-journey-mapping/SKILL.md +150 -0
  165. package/registry/skills/vector-database-design/SKILL.md +84 -0
  166. package/registry/skills/vercel-deploy-best-practices/SKILL.md +28 -0
  167. package/registry/skills/viral-referral-loops/SKILL.md +209 -0
  168. package/registry/workflows/workflow-agency-ad-creative-sprint.md +50 -0
  169. package/registry/workflows/workflow-agency-brand-design-system.md +50 -0
  170. package/registry/workflows/workflow-agency-client-pitch-proposal.md +50 -0
  171. package/registry/workflows/workflow-agency-cro-funnel-teardown.md +50 -0
  172. package/registry/workflows/workflow-agency-full-campaign.md +58 -0
  173. package/registry/workflows/workflow-agency-seo-content-engine.md +50 -0
  174. package/registry/workflows/workflow-analyze.md +60 -0
  175. package/registry/workflows/workflow-api-contract-design.md +48 -0
  176. package/registry/workflows/workflow-app-store-release.md +48 -0
  177. package/registry/workflows/workflow-brainstorm.md +60 -0
  178. package/registry/workflows/workflow-build.md +60 -0
  179. package/registry/workflows/workflow-business-panel.md +60 -0
  180. package/registry/workflows/workflow-cleanup.md +60 -0
  181. package/registry/workflows/workflow-deploy-staging.md +49 -0
  182. package/registry/workflows/workflow-design-code.md +60 -0
  183. package/registry/workflows/workflow-design-ops--handoff.md +60 -0
  184. package/registry/workflows/workflow-design-ops--plan-sprint.md +60 -0
  185. package/registry/workflows/workflow-design-ops--setup-workflow.md +60 -0
  186. package/registry/workflows/workflow-design-orchestrate.md +60 -0
  187. package/registry/workflows/workflow-design-systems--audit-system.md +60 -0
  188. package/registry/workflows/workflow-design-systems--create-component.md +60 -0
  189. package/registry/workflows/workflow-design-systems--tokenize.md +60 -0
  190. package/registry/workflows/workflow-diagnose.md +45 -0
  191. package/registry/workflows/workflow-e2e-testing.md +49 -0
  192. package/registry/workflows/workflow-email-drip-sequence.md +65 -0
  193. package/registry/workflows/workflow-estimate.md +60 -0
  194. package/registry/workflows/workflow-explain.md +60 -0
  195. package/registry/workflows/workflow-frontend-audit.md +49 -0
  196. package/registry/workflows/workflow-git.md +60 -0
  197. package/registry/workflows/workflow-grill.md +51 -0
  198. package/registry/workflows/workflow-implement.md +61 -0
  199. package/registry/workflows/workflow-incident-triage.md +49 -0
  200. package/registry/workflows/workflow-interaction-design--design-interaction.md +60 -0
  201. package/registry/workflows/workflow-interaction-design--error-flow.md +60 -0
  202. package/registry/workflows/workflow-interaction-design--map-states.md +60 -0
  203. package/registry/workflows/workflow-marketing-audit.md +60 -0
  204. package/registry/workflows/workflow-marketing-campaign-builder.md +60 -0
  205. package/registry/workflows/workflow-marketing-content-pipeline.md +60 -0
  206. package/registry/workflows/workflow-marketing-growth-experiment.md +60 -0
  207. package/registry/workflows/workflow-marketing-launch.md +60 -0
  208. package/registry/workflows/workflow-marketing-panel.md +60 -0
  209. package/registry/workflows/workflow-ml-eval.md +51 -0
  210. package/registry/workflows/workflow-mobile-build.md +49 -0
  211. package/registry/workflows/workflow-onboarding-funnel-cro.md +65 -0
  212. package/registry/workflows/workflow-paid-acquisition-campaign.md +65 -0
  213. package/registry/workflows/workflow-paid-campaign-launch.md +47 -0
  214. package/registry/workflows/workflow-plan.md +60 -0
  215. package/registry/workflows/workflow-prototyping-testing--evaluate.md +60 -0
  216. package/registry/workflows/workflow-prototyping-testing--experiment.md +60 -0
  217. package/registry/workflows/workflow-prototyping-testing--prototype-plan.md +60 -0
  218. package/registry/workflows/workflow-prototyping-testing--test-plan.md +60 -0
  219. package/registry/workflows/workflow-rag-pipeline-deploy.md +53 -0
  220. package/registry/workflows/workflow-recommend.md +60 -0
  221. package/registry/workflows/workflow-research.md +60 -0
  222. package/registry/workflows/workflow-review.md +60 -0
  223. package/registry/workflows/workflow-seo-audit-pipeline.md +47 -0
  224. package/registry/workflows/workflow-seo-content-pipeline.md +65 -0
  225. package/registry/workflows/workflow-serverless-gpu-deploy.md +52 -0
  226. package/registry/workflows/workflow-spec-panel.md +60 -0
  227. package/registry/workflows/workflow-spec.md +44 -0
  228. package/registry/workflows/workflow-test.md +60 -0
  229. package/registry/workflows/workflow-troubleshoot.md +60 -0
  230. package/registry/workflows/workflow-ui-design--color-palette.md +60 -0
  231. package/registry/workflows/workflow-ui-design--design-screen.md +60 -0
  232. package/registry/workflows/workflow-ui-design--responsive-audit.md +60 -0
  233. package/registry/workflows/workflow-ui-design--type-system.md +60 -0
  234. package/registry/workflows/workflow-ux-strategy--benchmark.md +60 -0
  235. package/registry/workflows/workflow-ux-strategy--frame-problem.md +60 -0
  236. package/registry/workflows/workflow-ux-strategy--strategize.md +60 -0
@@ -0,0 +1,65 @@
1
+ ---
2
+ name: "Multi-Channel Paid Acquisition Campaign Management"
3
+ description: "Workflow for multi-channel PPC campaign architecture, ad copy experimentation, creative asset staging, attribution setup, and budget guardrails."
4
+ bundle: "performance-paid-acquisition"
5
+ estimatedDuration: "60-120m"
6
+ ---
7
+
8
+ # Workflow: Multi-Channel Paid Acquisition Campaign Management
9
+
10
+ ## Overview & Scope
11
+ The Paid Acquisition Campaign workflow structures end-to-end PPC campaign deployment across Google Ads, Meta Ads, and LinkedIn Ads. It covers audience targeting, ad copy matrix generation, creative aspect-ratio staging, UTM parameter taxonomy enforcement, and multi-touch attribution modeling.
12
+
13
+ ## Execution Flowchart
14
+ ```mermaid
15
+ graph TD
16
+ Start([Start Workflow]) --> P1[Phase 1: Campaign Strategy & Attribution Setup]
17
+ P1 --> InputCheck{"Budgets & Audience Parameters Valid?"}
18
+ InputCheck -->|No| Abort1[Abort & Request Budget/Targeting Inputs]
19
+ InputCheck -->|Yes| P2[Phase 2: Creative Generation & Ad Staging]
20
+ P2 --> Gate1{"Verification Gate: Creative & UTM Checks Pass?"}
21
+ Gate1 -->|Fail| Rollback[Execute Automated Rollback Protocol]
22
+ Rollback --> P2
23
+ Gate1 -->|Pass| P3[Phase 3: Verification & Controlled Launch]
24
+ P3 --> Gate2{"Final Acceptance Gate Passed?"}
25
+ Gate2 -->|Fail| P3Fix[Remediate Ad Specs / Pixel Issues]
26
+ P3Fix --> P3
27
+ Gate2 -->|Pass| Done([Workflow Complete & Logged])
28
+ ```
29
+
30
+ ## Required Tool Inputs & Context
31
+ - Campaign brief & target audience personas (interests, job titles, retargeting lists)
32
+ - Channel allocation and daily/monthly spend budget caps
33
+ - Creative assets (ad copy matrix, visual banners, video cuts)
34
+ - UTM taxonomy specification and attribution tracking endpoint
35
+
36
+ ## Phase 1: Campaign Strategy & Attribution Setup
37
+ - Define campaign objective (Leads, Conversions, Brand Awareness) and channel distribution (Google Search/PMax, Meta, LinkedIn).
38
+ - Configure audience targeting rules: Custom Audiences, Lookalikes, keyword match types (Exact/Phrase), and negative keyword lists.
39
+ - Establish UTM parameter taxonomy (`utm_source`, `utm_medium`, `utm_campaign`, `utm_content`, `utm_term`).
40
+ - Verify conversion tracking pixels and server-side Conversions API (CAPI) endpoints.
41
+
42
+ ## Phase 2: Creative Generation & Ad Staging
43
+ - Write multi-variant ad copy matrix (Headline variations, Primary text, Problem-Agitation, Social proof, CTA).
44
+ - Stage visual creative assets formatted for channel aspect ratios (1:1 Feed, 9:16 Stories/Reels, 16:9 Landscape).
45
+ - Verify landing page message match and conversion form functionality.
46
+ - Configure bid strategy (Target CPA, Target ROAS, Max Conversions with hard cost cap).
47
+
48
+ ## Phase 3: Verification & Controlled Launch
49
+ - Validate tracking pixels in sandbox environment using Tag Assistant / Pixel Helper tools.
50
+ - Test all ad destination URLs to confirm UTM parameters log accurately in attribution backend.
51
+ - Enforce daily spend hard caps and automated pacing rules to prevent budget runaway.
52
+ - Execute canary launch with controlled initial spend (10-20% of daily budget) before full scale.
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` | Ad asset validator confirms 100% adherence to character limits, aspect ratios, and UTM parameters |
59
+ | Phase 3 -> Completion | Verification complete & artifacts signed off | `npm run build` | Campaign launch manifest and tracking configuration compile cleanly |
60
+
61
+ ## Validation Checkpoints & Automated Rollback Protocols
62
+ - **Validation Checkpoint 1**: 100% of destination URLs contain valid UTM parameters matching the attribution taxonomy.
63
+ - **Validation Checkpoint 2**: Ad creative dimensions and copy lengths comply with platform ad policies (Google, Meta, LinkedIn).
64
+ - **Validation Checkpoint 3**: Daily budget spend ceilings and automated pacing rules are active in ad accounts.
65
+ - **Automated Rollback Protocol**: Immediately trigger automated pause API calls on active ad sets and revert campaign status to DRAFT if conversion tracking fails to log in attribution telemetry or spend velocity exceeds 120% of hourly target without conversions.
@@ -0,0 +1,47 @@
1
+ ---
2
+ name: "Paid Campaign Architecture & Launch Workflow"
3
+ description: "PPC campaign setup, ad copy testing, conversion tracking pixel verification, and launch budgeting."
4
+ bundle: "performance-paid-acquisition"
5
+ estimatedDuration: "45-90m"
6
+ ---
7
+
8
+ # Workflow: Paid Campaign Architecture & Launch
9
+
10
+ ## Overview & Scope
11
+ This workflow orchestrates paid acquisition campaigns across Google Search, Meta Ads, and LinkedIn, ensuring proper conversion tracking, negative keyword lists, and creative variant testing.
12
+
13
+ ## Execution Flowchart
14
+ ```mermaid
15
+ graph TD
16
+ Start([Start Campaign Launch]) --> P1[Phase 1: Conversion Tracking & Pixel Audit]
17
+ P1 --> InputCheck{"Pixels, CAPI & UTM Parameters Configured?"}
18
+ InputCheck -->|No| Abort1[Abort & Configure Conversion Tracking]
19
+ InputCheck -->|Yes| P2[Phase 2: Ad Copy, Creative & Keyword Assembly]
20
+ P2 --> Gate1{"Verification Gate: Negative Lists & Creative Sizing Valid?"}
21
+ Gate1 -->|Fail| P2Fix[Update Keyword Match Types & Asset Sizes]
22
+ P2Fix --> P2
23
+ Gate1 -->|Pass| P3[Phase 3: Campaign Publishing & Real-Time Monitoring]
24
+ P3 --> Gate2{"Health Gate: CTR >= Baseline & Zero Tracking Errors?"}
25
+ Gate2 -->|Fail| P3Tune[Adjust Initial Bid Caps / Ad Copy Variants]
26
+ P3Tune --> P3
27
+ Gate2 -->|Pass| Done([Campaign Live & Tracking])
28
+ ```
29
+
30
+ ## Phase 1: Conversion Tracking & Pixel Audit
31
+ - Verify Google Tag Manager / Meta Pixel / LinkedIn Insight Tag firing on conversion events.
32
+ - Test server-side Conversions API (CAPI) deduplication.
33
+
34
+ ## Phase 2: Ad Copy, Creative & Keyword Assembly
35
+ - Group keywords into tightly themed ad sets and apply universal negative keyword lists.
36
+ - Stage 3-5 creative hook variants and responsive ad copy variations.
37
+
38
+ ## Phase 3: Campaign Publishing & Real-Time Monitoring
39
+ - Publish campaigns with initial learning phase budget caps.
40
+ - Monitor search term reports for irrelevant query leakage and add negative keywords.
41
+
42
+ ## Phase Transition Criteria & Deterministic Verification Gates
43
+ | Transition | Prerequisites | Verification Command / Gate | Success Criteria |
44
+ |---|---|---|---|
45
+ | Phase 1 -> Phase 2 | Tracking active | `node dist/cli.js doctor` | Conversion pixels and test events verified |
46
+ | Phase 2 -> Phase 3 | Assets assembled | `npm test` | All creative dimensions and copy lengths valid |
47
+ | Phase 3 -> Completion | Campaigns live | `node dist/cli.js doctor` | Impressions recording with verified attribution |
@@ -0,0 +1,60 @@
1
+ ---
2
+ name: "Architecture & Technical Planning"
3
+ description: "Comprehensive workflow for creating architectural plans, system design documents, module specifications, and implementation roadmaps."
4
+ bundle: "system-architecture"
5
+ estimatedDuration: "45-90m"
6
+ ---
7
+
8
+ # Workflow: Architecture & Technical Planning
9
+
10
+ ## Overview & Scope
11
+ The Plan workflow guides architects and senior engineers through drafting architecture decision records (ADRs), defining data models, outlining system boundaries, and establishing phased implementation roadmaps.
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 requirements document (PRD) or feature specification
32
+ - Existing architectural diagrams & system boundaries
33
+ - Non-functional requirements (scalability, latency, security, budget)
34
+
35
+ ## Phase 1: Context & Reconnaissance
36
+ - Gather and synthesize business requirements, system constraints, and non-functional goals.
37
+ - Audit existing system architecture to identify integration points, data dependencies, and technical debt.
38
+ - Define key architectural decisions requiring formal specification.
39
+
40
+ ## Phase 2: Execution & Orchestration
41
+ - Draft Architecture Decision Record (ADR) detailing context, options considered, and chosen solution.
42
+ - Model data structures, API endpoints, component interfaces, and state transition flowcharts.
43
+ - Break down architecture implementation into sequential, verifiable milestone phases.
44
+
45
+ ## Phase 3: Verification & Closure
46
+ - Conduct self-critique and peer architectural review against scalability, security, and maintainability criteria.
47
+ - Refine specification document, ensuring explicit failure modes and mitigation strategies are documented.
48
+ - Publish architecture plan artifact to project documentation 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` | System architecture plan schema and references pass health verification |
55
+ | Phase 3 -> Completion | Verification complete & artifacts signed off | `npm run typecheck` | Proposed data model types compile cleanly without type syntax errors |
56
+
57
+ ## Validation Checkpoints & Automated Rollback Protocols
58
+ - **Validation Checkpoint 1**: All architectural decisions backed by explicit rationale and trade-off analysis.
59
+ - **Validation Checkpoint 2**: Data schemas fully specified with types, keys, and boundary conditions.
60
+ - **Automated Rollback Protocol**: Revert draft ADR document to revision state if architectural review uncovers unmitigated system bottlenecks.
@@ -0,0 +1,60 @@
1
+ ---
2
+ name: "Prototype Usability Evaluation & Analytics"
3
+ description: "Workflow for analyzing user test recordings, quantifying task completion rates, identifying UX friction, and synthesizing test findings."
4
+ bundle: "product-design"
5
+ estimatedDuration: "40-70m"
6
+ ---
7
+
8
+ # Workflow: Prototype Usability Evaluation & Analytics
9
+
10
+ ## Overview & Scope
11
+ This workflow standardizes usability test evaluation. It synthesizes qualitative user testing video recordings, quantifies task completion rates, scores System Usability Scale (SUS), and categorizes UX friction points.
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
+ - User test session video recordings & transcripts
32
+ - Task completion tracking sheets
33
+ - System Usability Scale (SUS) survey data
34
+
35
+ ## Phase 1: Context & Reconnaissance
36
+ - Gather recorded usability test sessions and survey responses.
37
+ - Review usability evaluation targets (Task completion rate >= 80%, SUS score >= 75).
38
+ - Prepare observations coding sheet.
39
+
40
+ ## Phase 2: Execution & Orchestration
41
+ - Analyze user session recordings, logging time-on-task, mis-clicks, and verbal feedback.
42
+ - Calculate quantitative usability metrics (Direct success, Indirect success, Failure rate, SUS score).
43
+ - Classify usability issues by severity (Critical blocker, Major friction, Minor enhancement).
44
+
45
+ ## Phase 3: Verification & Closure
46
+ - Synthesize findings into Usability Evaluation Report with video evidence clips.
47
+ - Formulate prioritized remediation recommendations for product design iteration.
48
+ - Publish Usability Test 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 confirms evaluation report schema validity |
55
+ | Phase 3 -> Completion | Verification complete & artifacts signed off | `npm test` | Usability metric calculation script validates data totals |
56
+
57
+ ## Validation Checkpoints & Automated Rollback Protocols
58
+ - **Validation Checkpoint 1**: Usability issues categorized using standard 3-tier severity scale.
59
+ - **Validation Checkpoint 2**: Remediation recommendations backed directly by quantitative session data.
60
+ - **Automated Rollback Protocol**: Re-analyze session recordings if inter-evaluator agreement score falls below threshold.
@@ -0,0 +1,60 @@
1
+ ---
2
+ name: "Rapid Prototyping Experimentation"
3
+ description: "Workflow for building low/medium-fidelity experimental prototypes to quickly test hypotheses before full implementation."
4
+ bundle: "product-design"
5
+ estimatedDuration: "30-60m"
6
+ ---
7
+
8
+ # Workflow: Rapid Prototyping Experimentation
9
+
10
+ ## Overview & Scope
11
+ The Experiment workflow enables rapid hypothesis testing. It builds minimal, targeted experimental prototypes to validate specific interaction concepts or user flows prior to production coding.
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
+ - Target research hypothesis statement
32
+ - Rapid prototyping template library
33
+ - Interactive prototyping framework
34
+
35
+ ## Phase 1: Context & Reconnaissance
36
+ - Define core test hypothesis (e.g. "Simplified 2-step checkout increases completion speed by 25%").
37
+ - Isolate key variables required to test hypothesis while stripping non-essential features.
38
+ - Select prototype fidelity level (low-fi wireframe vs mid-fi clickable).
39
+
40
+ ## Phase 2: Execution & Orchestration
41
+ - Construct experimental prototype containing only essential UI pathways for hypothesis validation.
42
+ - Integrate simple analytics event logging to track user clicks and path navigation.
43
+ - Verify prototype interactive links function reliably.
44
+
45
+ ## Phase 3: Verification & Closure
46
+ - Conduct internal dry-run walkthrough to verify test scenario flows.
47
+ - Deploy experiment prototype to staging environment for user testing.
48
+ - Document Experiment Setup Spec.
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` | Prototype link verification test confirms 0 broken interactive pathways |
55
+ | Phase 3 -> Completion | Verification complete & artifacts signed off | `npm run build` | Prototype code compiles cleanly into preview build |
56
+
57
+ ## Validation Checkpoints & Automated Rollback Protocols
58
+ - **Validation Checkpoint 1**: Prototype focuses strictly on testing target hypothesis without scope creep.
59
+ - **Validation Checkpoint 2**: All clickable pathways lead to valid response screens.
60
+ - **Automated Rollback Protocol**: Fix broken prototype links or interaction triggers before starting user sessions.
@@ -0,0 +1,60 @@
1
+ ---
2
+ name: "Interactive Prototype Architecture Plan"
3
+ description: "Workflow for planning interactive prototype scope, user flow branching, fidelity requirements, and data mocking strategies."
4
+ bundle: "product-design"
5
+ estimatedDuration: "25-45m"
6
+ ---
7
+
8
+ # Workflow: Interactive Prototype Architecture Plan
9
+
10
+ ## Overview & Scope
11
+ This workflow plans prototype construction. It maps user flow branching, sets fidelity thresholds, defines state variables, and specifies mock data structures for prototype builds.
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
+ - User flow diagrams & feature requirements
32
+ - Target testing device specs (Desktop / Mobile)
33
+ - Mock data schema requirements
34
+
35
+ ## Phase 1: Context & Reconnaissance
36
+ - Determine prototype objective (stakeholder demo vs user usability testing).
37
+ - Establish prototype scope boundaries and explicit out-of-scope paths.
38
+ - Define mock data schemas matching production payload formats.
39
+
40
+ ## Phase 2: Execution & Orchestration
41
+ - Map prototype node-to-node navigation screens and state transitions.
42
+ - Specify dynamic variables (e.g. user input state, cart item count, active tab).
43
+ - Outline data mocking strategy (static JSON fixtures vs local state).
44
+
45
+ ## Phase 3: Verification & Closure
46
+ - Review prototype architecture plan with research and design team members.
47
+ - Finalize prototype build timeline and asset requirements.
48
+ - Publish Prototype Architecture Plan.
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 prototype plan document format |
55
+ | Phase 3 -> Completion | Verification complete & artifacts signed off | `npm run typecheck` | Mock data JSON schemas validate cleanly against TypeScript types |
56
+
57
+ ## Validation Checkpoints & Automated Rollback Protocols
58
+ - **Validation Checkpoint 1**: Prototype scope covers 100% of required user testing scenarios.
59
+ - **Validation Checkpoint 2**: Mock data schemas accurately mirror production API response shapes.
60
+ - **Automated Rollback Protocol**: Reduce prototype branching complexity if estimated build time exceeds schedule window.
@@ -0,0 +1,60 @@
1
+ ---
2
+ name: "User Testing Script & Methodology Plan"
3
+ description: "Workflow for authoring user test plans, recruiting criteria, task scenarios, post-test questionnaires, and moderation scripts."
4
+ bundle: "product-design"
5
+ estimatedDuration: "30-50m"
6
+ ---
7
+
8
+ # Workflow: User Testing Script & Methodology Plan
9
+
10
+ ## Overview & Scope
11
+ The Test Plan workflow structures user research studies. It defines participant recruiting criteria, task scenario prompts, moderation scripts, and post-session metrics surveys.
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
+ - Interactive prototype or feature candidate
32
+ - Research goals and target questions
33
+ - User persona profiles & recruiting criteria
34
+
35
+ ## Phase 1: Context & Reconnaissance
36
+ - Align research objectives with product team key questions.
37
+ - Define target participant recruiting criteria (demographics, tech familiarity, usage frequency).
38
+ - Select user testing methodology (moderated vs unmoderated usability study).
39
+
40
+ ## Phase 2: Execution & Orchestration
41
+ - Draft un-biased, scenario-based user task prompts (e.g. "Find a product under $50 and add it to cart").
42
+ - Author moderator script containing introduction, warm-up questions, and probing prompts.
43
+ - Prepare post-test survey questionnaire (SUS / Single Ease Question SEQ).
44
+
45
+ ## Phase 3: Verification & Closure
46
+ - Conduct pilot test run with an internal colleague to test script timing and prompt clarity.
47
+ - Refine task prompts based on pilot feedback.
48
+ - Publish finalized User Test Plan artifact.
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 test plan document compliance |
55
+ | Phase 3 -> Completion | Verification complete & artifacts signed off | `npm test` | Validation test confirms task script timing parameters |
56
+
57
+ ## Validation Checkpoints & Automated Rollback Protocols
58
+ - **Validation Checkpoint 1**: Task scenario prompts authored using goal-oriented, non-leading phrasing.
59
+ - **Validation Checkpoint 2**: Pilot test session completes within target 45-minute time window.
60
+ - **Automated Rollback Protocol**: Revise task scenario instructions if pilot participant misinterprets prompts.
@@ -0,0 +1,53 @@
1
+ ---
2
+ name: "RAG Pipeline Deployment Workflow"
3
+ description: "End-to-end deployment workflow for Retrieval-Augmented Generation systems, vector indexing, hybrid search, and grounding checks."
4
+ bundle: "ai-ml-engineering"
5
+ estimatedDuration: "25-45m"
6
+ ---
7
+
8
+ # Workflow: RAG Pipeline Deployment
9
+
10
+ ## Overview & Scope
11
+ This workflow coordinates document ingestion, semantic chunking, vector embedding generation, vector collection indexing (Qdrant/Pinecone), and retrieval query endpoint verification.
12
+
13
+ ## Execution Flowchart
14
+ ```mermaid
15
+ graph TD
16
+ Start([Start Deployment]) --> P1[Phase 1: Ingestion & Chunking Design]
17
+ P1 --> InputCheck{"Source Documents & Embedding Model Ready?"}
18
+ InputCheck -->|No| Abort1[Abort & Request Document Sources]
19
+ InputCheck -->|Yes| P2[Phase 2: Vector Indexing & Hybrid Search Setup]
20
+ P2 --> Gate1{"Verification Gate: Vector Index Ingest Complete?"}
21
+ Gate1 -->|Fail| P2Retry[Re-index Failed Batches]
22
+ P2Retry --> P2
23
+ Gate1 -->|Pass| P3[Phase 3: Retrieval Verification & Grounding]
24
+ P3 --> Gate2{"Recall Gate: Top-K Accuracy >= 95%?"}
25
+ Gate2 -->|Fail| TuneParams[Adjust Chunk Overlap & HNSW Parameters]
26
+ TuneParams --> P2
27
+ Gate2 -->|Pass| Done([RAG Pipeline Live & Operational])
28
+ ```
29
+
30
+ ## Phase 1: Ingestion & Chunking Design
31
+ - Clean and normalize raw documents (Markdown, PDF, HTML).
32
+ - Partition documents into semantic chunks with 15% overlap and metadata tagging.
33
+
34
+ ## Phase 2: Vector Indexing & Hybrid Search Setup
35
+ - Generate embeddings using target model (OpenAI / BGE / Voyage).
36
+ - Bulk upsert vectors into vector database with HNSW payload indexes.
37
+ - Configure sparse BM25 index and cross-encoder re-ranking layer.
38
+
39
+ ## Phase 3: Retrieval Verification & Grounding
40
+ - Execute validation queries against diverse search intents.
41
+ - Verify that retrieved chunks contain source attribution and valid line citations.
42
+
43
+ ## Phase Transition Criteria & Deterministic Verification Gates
44
+ | Transition | Prerequisites | Verification Command / Gate | Success Criteria |
45
+ |---|---|---|---|
46
+ | Phase 1 -> Phase 2 | Chunks prepared | `node dist/cli.js doctor` | Chunking schema verified |
47
+ | Phase 2 -> Phase 3 | Ingestion complete | `npm test` | Vector collection stats confirm 100% vectors indexed |
48
+ | Phase 3 -> Completion | Retrieval tested | `node dist/cli.js doctor` | Grounding checks pass with zero un-cited assertions |
49
+
50
+ ## Validation Checkpoints & Automated Rollback Protocols
51
+ - **Validation Checkpoint 1**: Verify embedding dimensionality matches vector collection config before batch upsert.
52
+ - **Validation Checkpoint 2**: Test hybrid search recall against golden QA pairs.
53
+ - **Automated Rollback Protocol**: If new vector index corruption occurs during migration, restore previous collection snapshot and redirect search queries to fallback collection.
@@ -0,0 +1,60 @@
1
+ ---
2
+ name: "Technical & Strategic Recommendation Synthesis"
3
+ description: "Workflow for synthesizing complex architectural and business trade-offs into formal executive recommendation proposals."
4
+ bundle: "business-strategy"
5
+ estimatedDuration: "30-60m"
6
+ ---
7
+
8
+ # Workflow: Technical & Strategic Recommendation Synthesis
9
+
10
+ ## Overview & Scope
11
+ The Recommend workflow synthesizes technical, business, and operational analysis into formal executive recommendations. It presents clear option comparisons, risk trade-offs, and decisive action plans.
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
+ - Technical architecture plans & business evaluation reports
32
+ - Option trade-off comparison matrix
33
+ - Executive recommendation proposal template
34
+
35
+ ## Phase 1: Context & Reconnaissance
36
+ - Gather findings from technical research, architecture planning, and business evaluation panels.
37
+ - Identify key decision options requiring executive alignment.
38
+ - Define evaluation metrics (Cost, Time-to-market, Scalability, Risk).
39
+
40
+ ## Phase 2: Execution & Orchestration
41
+ - Construct Option Comparison Matrix scoring each alternative across evaluation metrics.
42
+ - Synthesize clear Primary Recommendation with explicit supporting rationale.
43
+ - Detail implementation plan, resource requirements, and risk mitigation strategies.
44
+
45
+ ## Phase 3: Verification & Closure
46
+ - Review recommendation document for executive clarity and brevity.
47
+ - Verify all claims are backed by documented technical or business evidence.
48
+ - Publish Executive Recommendation Proposal.
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 recommendation proposal schema |
55
+ | Phase 3 -> Completion | Verification complete & artifacts signed off | `npm run build` | Project build passes cleanly during proposal publication |
56
+
57
+ ## Validation Checkpoints & Automated Rollback Protocols
58
+ - **Validation Checkpoint 1**: Primary recommendation explicitly supported by option comparison matrix.
59
+ - **Validation Checkpoint 2**: Risk mitigation plan included for recommended path.
60
+ - **Automated Rollback Protocol**: Revise recommendation proposal if executive review identifies unaddressed trade-offs.
@@ -0,0 +1,60 @@
1
+ ---
2
+ name: "Deep Technical & Domain Research"
3
+ description: "Workflow for conducting literature reviews, technical feasibility research, codebase analysis, and domain background investigations."
4
+ bundle: "deep-research"
5
+ estimatedDuration: "45-90m"
6
+ ---
7
+
8
+ # Workflow: Deep Technical & Domain Research
9
+
10
+ ## Overview & Scope
11
+ The Research workflow structures deep technical investigations. It gathers evidence from documentation, academic papers, source codebases, and web resources to synthesize authoritative research reports.
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
+ - Research query or problem topic specification
32
+ - Web search and documentation lookup tools (`search_web`, `view_file`)
33
+ - Research report template
34
+
35
+ ## Phase 1: Context & Reconnaissance
36
+ - Define research objectives, core questions, and inclusion/exclusion criteria.
37
+ - Identify primary documentation sources, GitHub repositories, and technical standards.
38
+ - Formulate initial search queries.
39
+
40
+ ## Phase 2: Execution & Orchestration
41
+ - Execute multi-source research gathering technical documentation, code examples, and RFCs.
42
+ - Analyze findings for technical feasibility, architectural trade-offs, and performance benchmarks.
43
+ - Synthesize raw research notes into structured thematic sections.
44
+
45
+ ## Phase 3: Verification & Closure
46
+ - Verify all research claims with direct source citations or codebase line references.
47
+ - Formulate actionable recommendations based on research findings.
48
+ - Publish Deep Research Synthesis Report.
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 research report document structure |
55
+ | Phase 3 -> Completion | Verification complete & artifacts signed off | `npm test` | Report validation test suite confirms citation references |
56
+
57
+ ## Validation Checkpoints & Automated Rollback Protocols
58
+ - **Validation Checkpoint 1**: All technical claims supported by primary source documentation or code references.
59
+ - **Validation Checkpoint 2**: Synthesis report directly answers all core research questions.
60
+ - **Automated Rollback Protocol**: Expand research query scope if initial findings lack sufficient depth or evidence.
@@ -0,0 +1,60 @@
1
+ ---
2
+ name: "Automated & Peer Code Review"
3
+ description: "Structured review workflow for inspecting code diffs, checking architectural pattern compliance, security flaws, and performance anti-patterns."
4
+ bundle: "software-engineering"
5
+ estimatedDuration: "20-40m"
6
+ ---
7
+
8
+ # Workflow: Automated & Peer Code Review
9
+
10
+ ## Overview & Scope
11
+ The Review workflow standardizes code review procedures. It combines static analysis, security vulnerability scanning, design pattern verification, and clear actionable feedback formatting for pull requests.
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
+ - Git diff or Pull Request branch reference (`main...HEAD`)
32
+ - Linter and security static analyzer configs
33
+ - Architectural style guide & code review checklists
34
+
35
+ ## Phase 1: Context & Reconnaissance
36
+ - Fetch latest branch changes and extract comprehensive `git diff main...HEAD`.
37
+ - Catalog modified, added, and deleted files along with external dependency additions.
38
+ - Run automated static analysis tools (`eslint`, `tsc`, `security scan`) on the diff.
39
+
40
+ ## Phase 2: Execution & Orchestration
41
+ - Inspect code changes for architectural consistency, modularity, and adherence to design patterns.
42
+ - Audit diff for common security flaws (OWASP top 10), unhandled edge cases, and performance anti-patterns.
43
+ - Verify that newly added features or fixes include appropriate unit test coverage.
44
+
45
+ ## Phase 3: Verification & Closure
46
+ - Synthesize review findings into a structured review report.
47
+ - Categorize feedback into blocking issues, non-blocking suggestions, and praise.
48
+ - Issue review verdict (Approve, Request Changes, Comment) with clear remediation guidelines.
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 | `git diff main...HEAD` | Zero high-severity security vulnerabilities or architectural violations in diff |
55
+ | Phase 3 -> Completion | Verification complete & artifacts signed off | `npm run lint && npm run typecheck` | All automated lints and type checks pass cleanly on PR branch |
56
+
57
+ ## Validation Checkpoints & Automated Rollback Protocols
58
+ - **Validation Checkpoint 1**: Diff review covers 100% of modified lines and new export signatures.
59
+ - **Validation Checkpoint 2**: Automated checks pass without warnings before manual review sign-off.
60
+ - **Automated Rollback Protocol**: Flag blocking concerns in PR and set status to "Request Changes", preventing branch merge until issues are resolved.