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,49 @@
1
+ ---
2
+ name: "End-to-End Browser Test Automation"
3
+ description: "Workflow for authoring and running Playwright browser test specs, capturing failure traces/videos, and validating critical user journeys."
4
+ bundle: "qa-automation"
5
+ estimatedDuration: "15-30m"
6
+ ---
7
+
8
+ # Workflow: End-to-End Browser Test Automation
9
+
10
+ ## Overview & Scope
11
+ The E2E Testing workflow executes automated browser journeys across desktop and mobile viewports, verifying critical business flows (signup, checkout, data mutation) with video/trace capture.
12
+
13
+ ## Execution Flowchart
14
+ ```mermaid
15
+ graph TD
16
+ Start([Start Workflow]) --> P1[Phase 1: Test Scenario & Page Object Scaffolding]
17
+ P1 --> InputCheck{"User Journey Defined?"}
18
+ InputCheck -->|No| Abort1[Clarify Acceptance Criteria]
19
+ InputCheck -->|Yes| P2[Phase 2: Playwright Spec Implementation]
20
+ P2 --> Gate1{"Verification Gate: Test Suite Passes 100%?"}
21
+ Gate1 -->|Fail| P2Debug[Inspect Trace Viewer & Fix Assertions]
22
+ P2Debug --> P2
23
+ Gate1 -->|Pass| P3[Phase 3: Multi-Browser Matrix & CI Report]
24
+ P3 --> Done([E2E Test Suite Certified])
25
+ ```
26
+
27
+ ## Required Tool Inputs & Context
28
+ - Target user flow description and test credentials
29
+ - Playwright configuration and preview URL
30
+ - Expected UI states and assertions
31
+
32
+ ## Phase 1: Test Scenario & Page Object Scaffolding
33
+ - Map user story steps into Page Object Model methods.
34
+ - Set up isolated test database fixtures and authentication storage states.
35
+
36
+ ## Phase 2: Playwright Spec Implementation
37
+ - Author test assertions utilizing user-facing locators (`getByRole`, `getByLabel`).
38
+ - Execute test run locally via `npx playwright test`.
39
+
40
+ ## Phase 3: Multi-Browser Matrix & CI Report
41
+ - Run tests against Chromium, Firefox, and WebKit matrix.
42
+ - Generate HTML test report and verify trace artifacts on any retried tests.
43
+
44
+ ## Phase Transition Criteria & Deterministic Verification Gates
45
+ | Transition | Prerequisites | Verification Command / Gate | Success Criteria |
46
+ |---|---|---|---|
47
+ | Phase 1 -> Phase 2 | Page Objects structured | POM code review | Selectors utilize role/label locators |
48
+ | Phase 2 -> Phase 3 | Local tests passing | `npx playwright test` | 100% test scenarios pass with exit code 0 |
49
+ | Phase 3 -> Completion | Multi-browser matrix verified | CI test runner execution | Zero test flakes or unhandled exceptions |
@@ -0,0 +1,65 @@
1
+ ---
2
+ name: "Automated Email Drip Sequence & Lifecycle Nurturing"
3
+ description: "Workflow for architecting automated email nurture sequences, behavioral trigger rules, deliverability testing, and churn prevention playbooks."
4
+ bundle: "lifecycle-email-marketing"
5
+ estimatedDuration: "30-60m"
6
+ ---
7
+
8
+ # Workflow: Automated Email Drip Sequence & Lifecycle Nurturing
9
+
10
+ ## Overview & Scope
11
+ The Email Drip Sequence workflow creates lifecycle email automation campaigns. It designs onboarding welcome drips, behavioral re-engagement triggers, trial-to-paid conversion sequences, and churn prevention playbooks while enforcing deliverability and compliance standards.
12
+
13
+ ## Execution Flowchart
14
+ ```mermaid
15
+ graph TD
16
+ Start([Start Workflow]) --> P1[Phase 1: Audience Segmentation & Trigger Mapping]
17
+ P1 --> InputCheck{"User Segments & Event Triggers Valid?"}
18
+ InputCheck -->|No| Abort1[Abort & Request Segment Definitions]
19
+ InputCheck -->|Yes| P2[Phase 2: Email Copywriting & Template Staging]
20
+ P2 --> Gate1{"Verification Gate: Deliverability & HTML Checks Pass?"}
21
+ Gate1 -->|Fail| Rollback[Execute Automated Rollback Protocol]
22
+ Rollback --> P2
23
+ Gate1 -->|Pass| P3[Phase 3: Deliverability Testing & Workflow Activation]
24
+ P3 --> Gate2{"Final Acceptance Gate Passed?"}
25
+ Gate2 -->|Fail| P3Fix[Remediate Rendering / Spam Score Issues]
26
+ P3Fix --> P3
27
+ Gate2 -->|Pass| Done([Workflow Complete & Logged])
28
+ ```
29
+
30
+ ## Required Tool Inputs & Context
31
+ - Lifecycle stage definitions (New User, Active Free, Trial Expiring, Inactive At-Risk, Churned)
32
+ - Behavioral event triggers (User Signed Up, Feature Unused after 7 Days, Trial Day 11, Churn Risk Score > 70)
33
+ - Responsive email HTML templates and merge tag syntax specification
34
+ - Deliverability configuration (SPF, DKIM, DMARC, List-Unsubscribe headers)
35
+
36
+ ## Phase 1: Audience Segmentation & Trigger Mapping
37
+ - Map lifecycle trigger rules and delay cadences (Day 0: Welcome, Day 2: Key Feature Tutorial, Day 5: Case Study, Day 10: Upgrade Offer).
38
+ - Define audience inclusion and exclusion filters (e.g., exclude paying customers from upgrade drips).
39
+ - Configure frequency capping rules to prevent subscriber email fatigue.
40
+ - Set primary conversion goals per sequence (Activation, Upgrade, Feature Adoption, Re-activation).
41
+
42
+ ## Phase 2: Email Copywriting & Template Staging
43
+ - Draft compelling subject lines, preview text, and body copy using proven copywriting frameworks (PAS, AIDA).
44
+ - Build responsive HTML/CSS email templates with dynamic merge tags (`first_name`, `company_name`, `usage_stat`).
45
+ - Implement plain-text email fallbacks and one-click unsubscribe links compliant with CAN-SPAM and GDPR.
46
+ - Configure A/B split testing for subject lines and CTA button copy.
47
+
48
+ ## Phase 3: Deliverability Testing & Workflow Activation
49
+ - Audit authentication records (SPF, DKIM, DMARC) and run automated spam score analysis (SpamAssassin score < 2.0).
50
+ - Perform cross-client rendering test across mobile, desktop, web clients, and Dark Mode.
51
+ - Verify webhook bounce handling and unsubscribe event processing.
52
+ - Deploy automated drip sequences into live marketing automation engine.
53
+
54
+ ## Phase Transition Criteria & Deterministic Verification Gates
55
+ | Transition | Prerequisites | Verification Command / Gate | Success Criteria |
56
+ |---|---|---|---|
57
+ | Phase 1 -> Phase 2 | Tool inputs verified & environment ready | `node dist/cli.js doctor` | Doctor health check succeeds with 0 errors |
58
+ | Phase 2 -> Phase 3 | Execution steps complete | `npm test` | Email template validator confirms responsive HTML layout, merge tag syntax, and link tracking |
59
+ | Phase 3 -> Completion | Verification complete & artifacts signed off | `npm run build` | Automation sequence configuration and email templates compile without errors |
60
+
61
+ ## Validation Checkpoints & Automated Rollback Protocols
62
+ - **Validation Checkpoint 1**: Email spam test produces zero deliverability warnings and passes SPF/DKIM verification.
63
+ - **Validation Checkpoint 2**: HTML templates render correctly across 100% of tested client configurations including dark mode.
64
+ - **Validation Checkpoint 3**: Unsubscribe links and physical mailing address headers are present in all message templates.
65
+ - **Automated Rollback Protocol**: Immediately pause active drip automation and suppress affected recipient segments if bounce rate exceeds 2.5% or spam complaint rate exceeds 0.08% during initial sequence sends.
@@ -0,0 +1,60 @@
1
+ ---
2
+ name: "Technical Estimation & Complexity Analysis"
3
+ description: "Structured workflow for estimating engineering effort, breaking down tasks, assigning complexity scores, and identifying risks."
4
+ bundle: "system-architecture"
5
+ estimatedDuration: "20-40m"
6
+ ---
7
+
8
+ # Workflow: Technical Estimation & Complexity Analysis
9
+
10
+ ## Overview & Scope
11
+ The Estimate workflow standardizes task breakdown and effort estimation. It leverages story points, complexity scoring, risk identification, and confidence intervals to produce reliable project estimates.
12
+
13
+ ## Execution Flowchart
14
+ ```mermaid
15
+ graph TD
16
+ Start([Start Workflow]) --> P1[Phase 1: Context & Reconnaissance]
17
+ P1 --> InputCheck{"Prerequisites & Tools Valid?"}
18
+ InputCheck -->|No| Abort1[Abort & Request Inputs]
19
+ InputCheck -->|Yes| P2[Phase 2: Execution & Orchestration]
20
+ P2 --> Gate1{"Verification Gate: Automated Checks Pass?"}
21
+ Gate1 -->|Fail| Rollback[Execute Automated Rollback Protocol]
22
+ Rollback --> P2
23
+ Gate1 -->|Pass| P3[Phase 3: Verification & Closure]
24
+ P3 --> Gate2{"Final Acceptance Gate Passed?"}
25
+ Gate2 -->|Fail| P3Fix[Remediate Documentation / Artifacts]
26
+ P3Fix --> P3
27
+ Gate2 -->|Pass| Done([Workflow Complete & Logged])
28
+ ```
29
+
30
+ ## Required Tool Inputs & Context
31
+ - Feature spec or architecture design document
32
+ - Task breakdown structure (WBS) template
33
+ - Historical velocity and estimation baseline metrics
34
+
35
+ ## Phase 1: Context & Reconnaissance
36
+ - Deconstruct overall feature or epic into granular, atomic engineering tasks.
37
+ - Identify technical dependencies across frontend, backend, infrastructure, and QA domains.
38
+ - Flag high-uncertainty areas requiring spikes or research.
39
+
40
+ ## Phase 2: Execution & Orchestration
41
+ - Assign Fibonacci story point scores (1, 2, 3, 5, 8, 13) to each decomposed task.
42
+ - Assess technical risk factors (low, medium, high) and assign confidence ratings.
43
+ - Calculate total duration range (best-case, worst-case, expected) including buffer for risks.
44
+
45
+ ## Phase 3: Verification & Closure
46
+ - Review task estimates with engineering leads to ensure consensus.
47
+ - Document estimation assumptions, risk mitigations, and prerequisite dependencies.
48
+ - Publish technical estimation matrix to project management repository.
49
+
50
+ ## Phase Transition Criteria & Deterministic Verification Gates
51
+ | Transition | Prerequisites | Verification Command / Gate | Success Criteria |
52
+ |---|---|---|---|
53
+ | Phase 1 -> Phase 2 | Tool inputs verified & environment ready | `node dist/cli.js doctor` | Doctor health check succeeds with 0 errors |
54
+ | Phase 2 -> Phase 3 | Execution steps complete | `node dist/cli.js doctor` | Project tasks properly formatted with explicit acceptance criteria |
55
+ | Phase 3 -> Completion | Verification complete & artifacts signed off | `npm run build` | Verification build runs cleanly without broken task dependencies |
56
+
57
+ ## Validation Checkpoints & Automated Rollback Protocols
58
+ - **Validation Checkpoint 1**: Every task item has assigned story points, risk rating, and explicit owner role.
59
+ - **Validation Checkpoint 2**: Summed estimate includes explicit contingency buffer for identified risks.
60
+ - **Automated Rollback Protocol**: Re-scope and re-estimate feature breakdown if total duration exceeds iteration budget capacity.
@@ -0,0 +1,60 @@
1
+ ---
2
+ name: "Architectural Explanation & Technical Walkthrough"
3
+ description: "Workflow for explaining complex codebase architectures, technical concepts, design patterns, and code implementations clearly."
4
+ bundle: "deep-research"
5
+ estimatedDuration: "20-40m"
6
+ ---
7
+
8
+ # Workflow: Architectural Explanation & Technical Walkthrough
9
+
10
+ ## Overview & Scope
11
+ The Explain workflow creates clear technical explanations. It structures walkthroughs using progressive disclosure (High-level summary -> Diagram -> Code inspection -> Edge cases) tailored to audience experience.
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 codebase files or technical concept
32
+ - Target audience experience profile (Beginner, Intermediate, Senior Engineer)
33
+ - Explanation document template
34
+
35
+ ## Phase 1: Context & Reconnaissance
36
+ - Analyze target code module to understand core mechanisms and data flows.
37
+ - Identify key concepts requiring explanation and potential points of confusion.
38
+ - Determine appropriate depth level based on audience profile.
39
+
40
+ ## Phase 2: Execution & Orchestration
41
+ - Construct high-level summary overview of the component or architecture.
42
+ - Draw system interaction diagram illustrating data flow between modules.
43
+ - Provide step-by-step code walkthrough with line-by-line commentary.
44
+
45
+ ## Phase 3: Verification & Closure
46
+ - Review explanation for clarity, technical accuracy, and tone.
47
+ - Add FAQ section covering common edge cases and troubleshooting tips.
48
+ - Publish Technical Explanation 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 confirms explanation document structure |
55
+ | Phase 3 -> Completion | Verification complete & artifacts signed off | `npm run typecheck` | Code snippets inside explanation compile cleanly |
56
+
57
+ ## Validation Checkpoints & Automated Rollback Protocols
58
+ - **Validation Checkpoint 1**: Explanation tailored appropriately to target audience technical level.
59
+ - **Validation Checkpoint 2**: Code commentary verified against actual implementation logic.
60
+ - **Automated Rollback Protocol**: Clarify ambiguous sections if peer review identifies inaccurate commentary.
@@ -0,0 +1,49 @@
1
+ ---
2
+ name: "Frontend Performance & Accessibility Audit"
3
+ description: "Workflow for measuring Core Web Vitals (LCP, INP, CLS), client bundle sizes, WCAG accessibility, and responsive layout fidelity."
4
+ bundle: "frontend-engineering"
5
+ estimatedDuration: "15-30m"
6
+ ---
7
+
8
+ # Workflow: Frontend Performance & Accessibility Audit
9
+
10
+ ## Overview & Scope
11
+ The Frontend Audit workflow evaluates web applications against Core Web Vitals thresholds (Largest Contentful Paint, Interaction to Next Paint, Cumulative Layout Shift), accessibility standards, and JavaScript bundle sizes.
12
+
13
+ ## Execution Flowchart
14
+ ```mermaid
15
+ graph TD
16
+ Start([Start Workflow]) --> P1[Phase 1: Bundle & Asset Size Analysis]
17
+ P1 --> InputCheck{"Bundle Analysis Complete?"}
18
+ InputCheck -->|No| Abort1[Generate Bundle Stats]
19
+ InputCheck -->|Yes| P2[Phase 2: Core Web Vitals & Runtime Profiling]
20
+ P2 --> Gate1{"Verification Gate: CWV Within Targets?"}
21
+ Gate1 -->|Fail| P2Opt[Apply Code Splitting & Asset Optimizations]
22
+ P2Opt --> P2
23
+ Gate1 -->|Pass| P3[Phase 3: Accessibility & Screen Reader Audit]
24
+ P3 --> Done([Frontend Audit Signed Off])
25
+ ```
26
+
27
+ ## Required Tool Inputs & Context
28
+ - Production build bundle stats or Lighthouse test runner
29
+ - Target performance budgets (e.g. initial JS < 150KB gzip)
30
+ - Web application URL or local preview server
31
+
32
+ ## Phase 1: Bundle & Asset Size Analysis
33
+ - Analyze Webpack / Vite / Next.js bundle visualizer output.
34
+ - Identify duplicate dependencies or un-tree-shaken libraries.
35
+
36
+ ## Phase 2: Core Web Vitals & Runtime Profiling
37
+ - Measure Largest Contentful Paint (LCP < 2.5s), Cumulative Layout Shift (CLS < 0.1), and Interaction to Next Paint (INP < 200ms).
38
+ - Apply lazy loading, dynamic imports, and font optimization.
39
+
40
+ ## Phase 3: Accessibility & Screen Reader Audit
41
+ - Run automated axe-core / Lighthouse a11y audit to verify WCAG 2.1 AA compliance.
42
+ - Confirm keyboard tab navigation and modal focus trapping.
43
+
44
+ ## Phase Transition Criteria & Deterministic Verification Gates
45
+ | Transition | Prerequisites | Verification Command / Gate | Success Criteria |
46
+ |---|---|---|---|
47
+ | Phase 1 -> Phase 2 | Bundle analysis complete | Bundle size measurement | Main bundle under 150KB gzipped |
48
+ | Phase 2 -> Phase 3 | Performance metrics gathered | Lighthouse / Web Vitals audit | Performance score >= 90 |
49
+ | Phase 3 -> Completion | Accessibility verified | A11y axe-core scan | 0 critical/serious accessibility violations |
@@ -0,0 +1,60 @@
1
+ ---
2
+ name: "Git Version Control & Branch Strategy"
3
+ description: "Workflow for managing git feature branches, atomic commit formatting, rebase workflow, PR preparation, and merge readiness."
4
+ bundle: "software-engineering"
5
+ estimatedDuration: "10-20m"
6
+ ---
7
+
8
+ # Workflow: Git Version Control & Branch Strategy
9
+
10
+ ## Overview & Scope
11
+ The Git workflow establishes best practices for version control operations. It covers branch creation, atomic Conventional Commits, interactive rebasing, merge conflict resolution, and pull request preparation.
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 CLI tool
32
+ - Conventional Commit naming convention guidelines
33
+ - Target base branch (`main` / `dev`)
34
+
35
+ ## Phase 1: Context & Reconnaissance
36
+ - Inspect `git status` to verify current working directory state.
37
+ - Fetch latest remote branches (`git fetch origin`) and check rebase status against base branch.
38
+ - Review pending uncommitted changes and organize them into logical, atomic change sets.
39
+
40
+ ## Phase 2: Execution & Orchestration
41
+ - Stage changes incrementally (`git add -p`) and craft conventional commit messages (`feat:`, `fix:`, `docs:`).
42
+ - Perform interactive rebase onto target base branch (`git rebase origin/main`) to maintain linear history.
43
+ - Resolve any merge conflicts cleanly, running tests after each resolved conflict.
44
+
45
+ ## Phase 3: Verification & Closure
46
+ - Verify git commit history hygiene (no fixup commits, clean messages).
47
+ - Push feature branch to remote origin (`git push -u origin feature-branch`).
48
+ - Prepare PR description linking related issues, summarizing changes, and listing verification commands.
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 status` | Working tree is clean with no unstaged changes or untracked files |
55
+ | Phase 3 -> Completion | Verification complete & artifacts signed off | `git log -n 5 --oneline` | Commit history is linear and messages adhere to Conventional Commits |
56
+
57
+ ## Validation Checkpoints & Automated Rollback Protocols
58
+ - **Validation Checkpoint 1**: Branch rebased onto current remote base branch without remaining conflict markers.
59
+ - **Validation Checkpoint 2**: Remote feature branch synchronized and PR ready for review.
60
+ - **Automated Rollback Protocol**: Use `git rebase --abort` to cancel rebase if conflicts become unmanageable, returning to pre-rebase state.
@@ -0,0 +1,51 @@
1
+ ---
2
+ name: "Socratic Alignment & Domain Grilling"
3
+ description: "Interactive orchestration workflow for Socratic requirements grilling, ubiquitous language definition in CONTEXT.md, and ADR creation."
4
+ bundle: "software-engineering"
5
+ estimatedDuration: "15-30m"
6
+ ---
7
+
8
+ # Workflow: Socratic Alignment & Domain Grilling
9
+
10
+ ## Overview & Scope
11
+ The Socratic Alignment & Domain Grilling workflow aligns developers and orchestrators on problem scope, edge cases, and non-goals. It invokes the `grill-with-docs`, `grill-me`, and `domain-modeling` skills to build a shared vocabulary in `CONTEXT.md` and record decisions in ADRs (`docs/adr/`).
12
+
13
+ ## Execution Flowchart
14
+ ```mermaid
15
+ graph TD
16
+ Start([Start Workflow]) --> P1[Phase 1: Socratic Alignment Interview]
17
+ P1 --> Gate1{"User Intent & Scope Explicit?"}
18
+ Gate1 -->|No| P1
19
+ Gate1 -->|Yes| P2[Phase 2: Ubiquitous Language & CONTEXT.md Sync]
20
+ P2 --> P3[Phase 3: ADR Generation & Hand-off]
21
+ P3 --> Done([Workflow Complete])
22
+ ```
23
+
24
+ ## Required Tool Inputs & Context
25
+ - Project root with `CONTEXT.md` (or authorization to create `CONTEXT.md`).
26
+ - Feature request or architectural proposal details.
27
+
28
+ ## Phase 1: Socratic Alignment Interview
29
+ - Execute `/grill-with-docs` or `/grill-me` skill runbook.
30
+ - Interrogate assumptions, data flows, edge cases, failure states, and performance constraints.
31
+ - Collect explicit user decisions on every trade-off.
32
+
33
+ ## Phase 2: Ubiquitous Language & CONTEXT.md Sync
34
+ - Extract candidate domain terms from the interview.
35
+ - Update `CONTEXT.md` with definitions for new domain entities and rules.
36
+
37
+ ## Phase 3: ADR Generation & Hand-off
38
+ - Document chosen architectural strategy in `docs/adr/ADR-XXXX-<title>.md`.
39
+ - Summarize agreed scope and hand off to technical specification (`workflow-spec.md`) or implementation (`workflow-implement.md`).
40
+
41
+ ## Phase Transition Criteria & Deterministic Verification Gates
42
+ | Transition | Prerequisites | Verification Gate | Success Criteria |
43
+ |---|---|---|---|
44
+ | Phase 1 -> Phase 2 | Grilling questions answered | User approval | All ambiguities resolved |
45
+ | Phase 2 -> Phase 3 | Terms extracted | `CONTEXT.md` check | `CONTEXT.md` contains defined terms |
46
+ | Phase 3 -> Completion | ADR formatted | `docs/adr/*.md` exists | ADR saved cleanly |
47
+
48
+ ## Validation Checkpoints & Automated Rollback Protocols
49
+ - **Validation Checkpoint 1**: All questions answered before drafting ADR.
50
+ - **Validation Checkpoint 2**: `CONTEXT.md` contains valid domain definitions.
51
+ - **Rollback Protocol**: Revert draft ADR files if grilling reveals invalid assumptions.
@@ -0,0 +1,61 @@
1
+ ---
2
+ name: "Implement Feature or Fix"
3
+ description: "End-to-end procedural workflow for code implementation, refactoring, and feature execution with TDD validation and regression checks."
4
+ bundle: "software-engineering"
5
+ estimatedDuration: "30-60m"
6
+ ---
7
+
8
+ # Workflow: Implement Feature or Fix
9
+
10
+ ## Overview & Scope
11
+ The Implement workflow guides developers and autonomous agents through a rigorous implementation process. It enforces Test-Driven Development (TDD) principles, incremental code modifications, and strict phase verification gates to ensure code quality and zero regressions.
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 file paths & module interfaces
32
+ - Feature requirements or issue specification document
33
+ - Test suite execution command (`npm test`)
34
+ - Linter & static type-checker (`npm run typecheck`, `npm run lint`)
35
+
36
+ ## Phase 1: Context & Reconnaissance
37
+ - Analyze the feature specification or issue report to understand functional goals and constraints.
38
+ - Inspect existing codebase state, git branch status, and relevant module dependencies.
39
+ - Identify target test files and code components that will be affected by the implementation.
40
+
41
+ ## Phase 2: Execution & Orchestration
42
+ - Write red unit tests covering expected new functionality or bug reproduction.
43
+ - Implement minimum viable code changes required to transition tests from failing to passing (green state).
44
+ - Refactor implementation for readability, performance, and style consistency while maintaining passing tests.
45
+
46
+ ## Phase 3: Verification & Closure
47
+ - Run the full project test suite to verify no regressions were introduced in existing functionality.
48
+ - Execute static type checking (`tsc --noEmit`) and linter checks to ensure compliance with codebase standards.
49
+ - Summarize implementation details, updated files, and test results for reviewer handoff.
50
+
51
+ ## Phase Transition Criteria & Deterministic Verification Gates
52
+ | Transition | Prerequisites | Verification Command / Gate | Success Criteria |
53
+ |---|---|---|---|
54
+ | Phase 1 -> Phase 2 | Tool inputs verified & environment ready | `node dist/cli.js doctor` | Doctor health check succeeds with 0 errors |
55
+ | Phase 2 -> Phase 3 | Execution steps complete | `npm run typecheck` | 0 type errors across all project files |
56
+ | Phase 3 -> Completion | Verification complete & artifacts signed off | `npm test` | 100% of unit and integration tests passing cleanly |
57
+
58
+ ## Validation Checkpoints & Automated Rollback Protocols
59
+ - **Validation Checkpoint 1**: Red-Green-Refactor test cycle verified before staging changes.
60
+ - **Validation Checkpoint 2**: Static type checking and linting pass without errors or warnings.
61
+ - **Automated Rollback Protocol**: Execute `git checkout -- .` or `git reset --hard HEAD` to revert incomplete or failing edits if verification fails.
@@ -0,0 +1,49 @@
1
+ ---
2
+ name: "Production Incident Response & Triage"
3
+ description: "Workflow for responding to production alerts, triaging telemetry metrics, executing runbooks, and publishing blameless post-mortems."
4
+ bundle: "sysops-sre"
5
+ estimatedDuration: "15-45m"
6
+ ---
7
+
8
+ # Workflow: Production Incident Response & Triage
9
+
10
+ ## Overview & Scope
11
+ The Incident Response workflow guides SRE and SysOps engineers through structured triage, root-cause investigation, emergency mitigation, and post-mortem reporting during production incidents.
12
+
13
+ ## Execution Flowchart
14
+ ```mermaid
15
+ graph TD
16
+ Start([Alert Triggered]) --> P1[Phase 1: Severity Classification & Telemetry Triage]
17
+ P1 --> TriageCheck{"Severity Level Determined?"}
18
+ TriageCheck -->|P1 Critical| P2[Phase 2: Emergency Mitigation & Rerouting]
19
+ TriageCheck -->|P2/P3 Degraded| P2
20
+ P2 --> Gate1{"Verification Gate: Service Restored?"}
21
+ Gate1 -->|No| Escalation[Escalate & Execute DR Failover]
22
+ Escalation --> P2
23
+ Gate1 -->|Yes| P3[Phase 3: Post-Mortem & Preventative Action]
24
+ P3 --> Done([Incident Resolved & Documented])
25
+ ```
26
+
27
+ ## Required Tool Inputs & Context
28
+ - Triggering alert payload or error metric log trace
29
+ - System architecture diagram and service dependencies
30
+ - Prometheus / Grafana telemetry metrics and incident runbook
31
+
32
+ ## Phase 1: Severity Classification & Telemetry Triage
33
+ - Correlate triggering alert with RED metrics (Rate, Errors, Duration).
34
+ - Classify incident severity (P1 Critical Outage, P2 High Impact, P3 Moderate Degraded State).
35
+
36
+ ## Phase 2: Emergency Mitigation & Rerouting
37
+ - Execute runbook mitigation steps (pod scaling, traffic drain, service restart, cache flush).
38
+ - Monitor p99 latency and error rates to confirm service stabilization.
39
+
40
+ ## Phase 3: Post-Mortem & Preventative Action
41
+ - Draft Blameless Post-Mortem covering timeline, root cause, impact metrics, and action items.
42
+ - File preventative engineering tickets to prevent incident recurrence.
43
+
44
+ ## Phase Transition Criteria & Deterministic Verification Gates
45
+ | Transition | Prerequisites | Verification Command / Gate | Success Criteria |
46
+ |---|---|---|---|
47
+ | Phase 1 -> Phase 2 | Incident severity classified | Log analysis & alert payload audit | Impacted microservices identified |
48
+ | Phase 2 -> Phase 3 | Mitigation steps applied | Telemetry HTTP 5xx error rate audit | Error rate drops below 0.1% SLO threshold |
49
+ | Phase 3 -> Completion | Service health verified | Post-mortem markdown audit | Post-mortem document includes action items and owner assignments |
@@ -0,0 +1,60 @@
1
+ ---
2
+ name: "Micro-Interaction & Transition Design"
3
+ description: "Workflow for designing component state transitions, micro-animations, timing curves, and interactive UI behavior specs."
4
+ bundle: "product-design"
5
+ estimatedDuration: "30-45m"
6
+ ---
7
+
8
+ # Workflow: Micro-Interaction & Transition Design
9
+
10
+ ## Overview & Scope
11
+ This workflow defines micro-interactions and UI motion specs. It standardizes transition durations, easing curves, visual feedback states, and accessibility fallbacks for motion sensitivities.
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
+ - UI component visual designs
32
+ - Design system motion guidelines (durations, easing curves)
33
+ - Accessibility reduced motion specification (`prefers-reduced-motion`)
34
+
35
+ ## Phase 1: Context & Reconnaissance
36
+ - Identify interactive UI triggers (hover, active press, toggle, modal open, page transition).
37
+ - Review target motion principles (expressive vs functional animation).
38
+ - Establish duration thresholds (150ms micro-interactions, 300ms layout transitions).
39
+
40
+ ## Phase 2: Execution & Orchestration
41
+ - Define animation properties (scale, opacity, transform, background-color).
42
+ - Select cubic-bezier easing curves (ease-in-out, standard spring curves).
43
+ - Design reduced-motion alternatives for users with motion sensitivity settings.
44
+
45
+ ## Phase 3: Verification & Closure
46
+ - Verify motion performance (60fps hardware acceleration, GPU-promoted layers).
47
+ - Document interaction spec with timing values and CSS/Framer Motion code snippets.
48
+ - Export interaction tokens (`duration-fast`, `ease-out-back`).
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` | Interaction suite verifies prefers-reduced-motion fallbacks for all motion specs |
55
+ | Phase 3 -> Completion | Verification complete & artifacts signed off | `npm run build` | Motion animation CSS/JS tokens build cleanly |
56
+
57
+ ## Validation Checkpoints & Automated Rollback Protocols
58
+ - **Validation Checkpoint 1**: All transition durations fall within standard 100ms-300ms usability window.
59
+ - **Validation Checkpoint 2**: Explicit reduced-motion fallback defined for every animated component.
60
+ - **Automated Rollback Protocol**: Simplify animation curves and remove heavy transforms if frame rate drops below 60fps.
@@ -0,0 +1,60 @@
1
+ ---
2
+ name: "Error UX & Fault Recovery Flow Design"
3
+ description: "Workflow for mapping error states, validation feedback, network failure fallbacks, and user recovery paths across UI components."
4
+ bundle: "product-design"
5
+ estimatedDuration: "30-45m"
6
+ ---
7
+
8
+ # Workflow: Error UX & Fault Recovery Flow Design
9
+
10
+ ## Overview & Scope
11
+ The Error Flow workflow ensures resilient UI design during system failures. It maps validation errors, network offline states, API exceptions, and user recovery mechanisms with clear human-centric UX.
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 interaction flows & form specifications
32
+ - API error payload schemas and HTTP status codes
33
+ - Error copy guidelines
34
+
35
+ ## Phase 1: Context & Reconnaissance
36
+ - Enumerate all potential failure modes (field validation failure, session timeout, network offline, 500 server error).
37
+ - Audit existing error message copy for clarity and tone.
38
+ - Define focus management strategy when error state triggers.
39
+
40
+ ## Phase 2: Execution & Orchestration
41
+ - Design inline error messages, toast alerts, empty state illustrations, and modal error dialogs.
42
+ - Map explicit recovery paths for the user (Retry CTA, Re-authenticate link, Customer support fallback).
43
+ - Draft clear, empathetic error copy explaining what happened and how to fix it.
44
+
45
+ ## Phase 3: Verification & Closure
46
+ - Review error flows against accessibility guidelines (ARIA live regions `aria-live="polite"`).
47
+ - Verify focus is placed on broken form inputs or alert headers upon error submission.
48
+ - Publish Error UX Specification Matrix.
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` | Error flow tests verify accessibility ARIA live attributes on error containers |
55
+ | Phase 3 -> Completion | Verification complete & artifacts signed off | `npm run typecheck` | Error payload interfaces compile cleanly |
56
+
57
+ ## Validation Checkpoints & Automated Rollback Protocols
58
+ - **Validation Checkpoint 1**: Every failure mode has an explicit UI design and recovery CTA.
59
+ - **Validation Checkpoint 2**: Zero technical error jargon in user-facing message copy.
60
+ - **Automated Rollback Protocol**: Revise error messages and recovery paths if usability checks reveal confusing copy.