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,185 @@
1
+ ---
2
+ name: onboarding-cro
3
+ description: Production-grade Onboarding Conversion Rate Optimization (CRO)
4
+ playbook for time-to-value (TTV) acceleration, activation milestone
5
+ gamification, and drop-off reduction.
6
+ metadata:
7
+ author: agents-united
8
+ version: 2.0.0
9
+ icon: ✨
10
+ disable-slash-command: true
11
+ ---
12
+
13
+ # Product Onboarding CRO & Time-to-Value (TTV) Acceleration
14
+
15
+ ## Overview & Purpose
16
+ The Onboarding CRO skill provides a production playbook for auditing, designing, and optimizing user onboarding flows in product-led growth (PLG) SaaS applications.
17
+
18
+ Following this skill minimizes Time-to-Value (TTV), guides users directly to their first "Aha! moment", eliminates signup friction, implements progressive profiling, provides interactive checklists and empty-state guidance, and maximizes new user activation rates.
19
+
20
+ ## Execution Triggers & Prerequisites
21
+ ### Execution Triggers
22
+ - Low user activation rate (< 25% of signups achieving core product value milestone).
23
+ - High drop-off during multi-step setup or configuration wizards.
24
+ - Launching new self-serve product tiers or redesigned onboarding experiences.
25
+ - User session recordings showing confusion during initial product workspace exploration.
26
+
27
+ ### Prerequisites
28
+ - Analytics instrumentation tracking onboarding step completions (PostHog, Mixpanel, Segment).
29
+ - Clearly defined user activation metric (e.g. "created 1 project and invited 1 team member").
30
+ - UI component library supporting modal wizards, checklists, and empty state cards.
31
+ - Clean git working directory.
32
+
33
+ ## Input & Output Requirements
34
+ ### Inputs
35
+ | Parameter | Type | Required | Description |
36
+ |---|---|---|---|
37
+ | `activation_metric` | String | Yes | Exact definition of user activation milestone |
38
+ | `current_funnel_steps`| Array<String> | Yes | Sequence of current onboarding steps |
39
+ | `target_ttv_seconds` | Number | Optional | Target Time-to-Value ceiling in seconds (e.g. 180) |
40
+ | `template_options` | Array<Object> | Optional | Starter templates pre-loaded for empty states |
41
+ | `checklist_milestones`| Array<Object> | Yes | Gamified onboarding checklist items and rewards |
42
+
43
+ ### Outputs
44
+ | Artifact | Path / Format | Description |
45
+ |---|---|---|
46
+ | Onboarding CRO Spec | `docs/onboarding-cro/onboarding-spec.md` | Funnel architecture, checklist specs, TTV benchmarks |
47
+ | Checklist Component | `src/components/onboarding/OnboardingChecklist.tsx` | Interactive progress tracker UI component |
48
+ | Funnel Drop-off Report | `reports/onboarding-cro/funnel-analysis.json` | Drop-off rates and activation improvements by cohort |
49
+
50
+ ## Step-by-Step Execution Runbook
51
+
52
+ ### Phase 1: Activation Milestone Definition & Funnel Drop-off Mapping
53
+ 1. Audit existing user signup-to-activation flow to identify the primary "Aha! moment".
54
+ 2. Measure baseline drop-off across all intermediate onboarding steps (Email verification, Persona survey, Team invite, Workspace setup).
55
+ 3. Identify friction points: defer non-essential profile questions to post-activation settings.
56
+ 4. Calculate baseline Time-to-Value (TTV) median duration from account creation to first core action.
57
+
58
+ ### Phase 2: Friction Reduction & Progressive Profiling UX Redesign
59
+ 1. Eliminate mandatory upfront credit card requirements and multi-field surveys.
60
+ 2. Implement 1-click social authentication (Google, GitHub, Apple) and magic link sign-in.
61
+ 3. Replace blank modal forms with sensible smart defaults and pre-selected common use cases.
62
+ 4. Implement progressive profiling: prompt for team size and advanced permissions only when triggering collaborative features.
63
+
64
+ ### Phase 3: Interactive Checklist & Micro-Commitment Component Implementation
65
+ 1. Construct persistent, collapsible onboarding checklist widget pinned to product dashboard.
66
+ 2. Structure checklist with 3-5 high-impact micro-commitments:
67
+ - Step 1: Select starter template (instant gratification, 30 seconds).
68
+ - Step 2: Run first execution / create first asset (core value, 60 seconds).
69
+ - Step 3: Invite team collaborator or share link (network effect hook).
70
+ 3. Attach visual progress bars and celebratory micro-animations (confetti, badge unlock) on completion.
71
+
72
+ ### Phase 4: Empty State & Template Pre-Population Architecture
73
+ 1. Audit all product dashboards to replace empty blank slates with interactive sample data.
74
+ 2. Provide 1-click "Clone Starter Project" buttons pre-populating fully functional templates.
75
+ 3. Embed contextual tooltips and in-line helper microcopy guiding the user's next logical click.
76
+ 4. Ensure empty states contain clear primary CTA buttons directing back to core activation path.
77
+
78
+ ### Phase 5: A/B Testing, Heatmap Session Auditing & Cohort Activation Tracking
79
+ 1. Deploy onboarding redesign as an A/B experiment against legacy control flow.
80
+ 2. Track key funnel telemetry events: `onboarding_started`, `step_completed`, `checklist_opened`, `activated`.
81
+ 3. Review session recordings of dropped-off users to isolate unhandled edge cases or confusion points.
82
+ 4. Compile final optimization report at `reports/onboarding-cro/funnel-analysis.json`.
83
+ 5. Commit onboarding components to repository.
84
+ ```bash
85
+ git add src/components/onboarding/ docs/onboarding-cro/
86
+ git commit -m "feat(onboarding-cro): implement interactive onboarding checklist and empty states"
87
+ ```
88
+
89
+ ## Code & Configuration Exemplars
90
+
91
+ ### Exemplar 1: Onboarding Flow State Machine Configuration
92
+ ```json
93
+ {
94
+ "version": "2.0.0",
95
+ "flowId": "plg-saas-activation-v2",
96
+ "targetTtvSeconds": 120,
97
+ "milestones": [
98
+ {
99
+ "id": "step-1-template-select",
100
+ "title": "Choose your starter workspace",
101
+ "estimatedDurationSeconds": 15,
102
+ "isRequired": true,
103
+ "eventTrigger": "workspace_template_selected"
104
+ },
105
+ {
106
+ "id": "step-2-first-run",
107
+ "title": "Execute your first workflow",
108
+ "estimatedDurationSeconds": 45,
109
+ "isRequired": true,
110
+ "eventTrigger": "first_workflow_executed"
111
+ },
112
+ {
113
+ "id": "step-3-team-invite",
114
+ "title": "Invite a teammate",
115
+ "estimatedDurationSeconds": 30,
116
+ "isRequired": false,
117
+ "eventTrigger": "team_invitation_sent"
118
+ }
119
+ ]
120
+ }
121
+ ```
122
+
123
+ ### Exemplar 2: TypeScript React Onboarding Checklist Component
124
+ ```typescript
125
+ import React, { useState } from 'react';
126
+
127
+ export interface MilestoneItem {
128
+ id: string;
129
+ title: string;
130
+ completed: boolean;
131
+ actionUrl: string;
132
+ }
133
+
134
+ export function OnboardingChecklist({ initialItems }: { initialItems: MilestoneItem[] }): React.JSX.Element {
135
+ const [items, setItems] = useState(initialItems);
136
+ const completedCount = items.filter(i => i.completed).length;
137
+ const progressPercent = Math.round((completedCount / items.length) * 100);
138
+
139
+ return (
140
+ <div className="onboarding-card border rounded-lg p-4 bg-white shadow-sm">
141
+ <div className="flex justify-between items-center mb-2">
142
+ <h3 className="text-sm font-semibold">Getting Started ({completedCount}/{items.length})</h3>
143
+ <span className="text-xs text-blue-600 font-bold">{progressPercent}%</span>
144
+ </div>
145
+ <div className="w-full bg-gray-200 h-2 rounded-full mb-4">
146
+ <div className="bg-blue-600 h-2 rounded-full transition-all duration-300" style={{ width: `${progressPercent}%` }} />
147
+ </div>
148
+ <ul className="space-y-2">
149
+ {items.map(item => (
150
+ <li key={item.id} className="flex items-center text-sm gap-2">
151
+ <input type="checkbox" checked={item.completed} readOnly className="rounded text-blue-600" />
152
+ <span className={item.completed ? 'line-through text-gray-400' : 'text-gray-800'}>{item.title}</span>
153
+ </li>
154
+ ))}
155
+ </ul>
156
+ </div>
157
+ );
158
+ }
159
+ ```
160
+
161
+ ## Edge Cases & Error Recovery Procedures
162
+
163
+ ### Scenario A: User Closes Onboarding Wizard Prematurely
164
+ 1. **Diagnosis**: User dismisses initial modal wizard without completing core activation steps.
165
+ 2. **Recovery Protocol**:
166
+ - Step 1: Persist incomplete checklist state to user profile database and browser localStorage.
167
+ - Step 2: Render non-intrusive floating checklist widget in bottom-right corner of main workspace.
168
+ - Step 3: Trigger contextual in-app reminder banner when user accesses dashboard with zero projects.
169
+
170
+ ### Scenario B: Team Invitation Failure During Onboarding Step
171
+ 1. **Diagnosis**: Email invite fails due to rate limits or invalid teammate email formatting, blocking wizard progression.
172
+ 2. **Recovery Protocol**:
173
+ - Step 1: Make team invitation step strictly non-blocking with an explicit "Skip for now" link.
174
+ - Step 2: Display inline error explaining the email issue without resetting previously entered workspace data.
175
+ - Step 3: Allow user to proceed directly into workspace and generate a shareable invite link instead.
176
+
177
+ ## Verification & Validation Checklist
178
+ - [ ] Frontmatter conforms strictly to `author: "agents-united"` and `version: "2.0.0"`.
179
+ - [ ] All 7 mandatory sections present with explicit headers.
180
+ - [ ] Step-by-Step Execution Runbook body contains >= 50 lines.
181
+ - [ ] Progressive profiling rules and Time-to-Value acceleration steps defined.
182
+ - [ ] Interactive checklist component exemplar provided.
183
+ - [ ] Code exemplars provided with valid syntax fencing.
184
+ - [ ] Zero dummy placeholder strings or unpopulated template markers present.
185
+ - [ ] Project build, test suite, and doctor check pass 100% cleanly.
@@ -0,0 +1,171 @@
1
+ ---
2
+ name: paid-acquisition-ppc
3
+ description: Production-grade Paid Acquisition PPC playbook for multi-channel ad
4
+ campaign structure, bidding algorithms, audience segmentation, UTM taxonomy,
5
+ and ad copy matrix.
6
+ metadata:
7
+ author: agents-united
8
+ version: 2.0.0
9
+ icon: 💰
10
+ disable-slash-command: true
11
+ ---
12
+
13
+ # Multi-Channel Paid Acquisition & PPC Campaign Management
14
+
15
+ ## Overview & Purpose
16
+ The Paid Acquisition PPC skill provides an end-to-end framework for architecting, launching, and managing pay-per-click (PPC) campaigns across Google Ads (Search, Performance Max, Display), Meta Ads (Facebook & Instagram Feed, Reels, Stories), and LinkedIn Ads (Sponsored Content, Text, Message).
17
+
18
+ Following this skill enforces strict campaign naming taxonomy, negative keyword management, audience segment exclusions, smart bidding optimization (tCPA, tROAS, Maximize Conversions), and multi-variant ad copy testing.
19
+
20
+ ## Execution Triggers & Prerequisites
21
+ ### Execution Triggers
22
+ - Launching new paid customer acquisition campaigns across search and social channels.
23
+ - Restructuring underperforming ad accounts to improve Quality Score and reduce CPA.
24
+ - Implementing standardized UTM tracking and conversion event tags.
25
+ - Scaling budget while maintaining target ROAS and CAC efficiency thresholds.
26
+
27
+ ### Prerequisites
28
+ - Active ad accounts (Google Ads, Meta Business Manager, LinkedIn Campaign Manager).
29
+ - Configured conversion tracking tags (Google Tag Manager, Meta Pixel, LinkedIn Insight Tag).
30
+ - Target customer personas, keyword research data, and approved ad copy/creative assets.
31
+ - Clean git working directory.
32
+
33
+ ## Input & Output Requirements
34
+ ### Inputs
35
+ | Parameter | Type | Required | Description |
36
+ |---|---|---|---|
37
+ | `channels` | Array<String> | Yes | Target channels: `['google', 'meta', 'linkedin']` |
38
+ | `monthly_budget` | Number | Yes | Total monthly budget in USD |
39
+ | `target_cpa` | Number | Yes | Target Cost Per Acquisition ceiling |
40
+ | `target_roas` | Number | Optional | Target Return on Ad Spend multiplier (e.g. 3.5) |
41
+ | `bidding_strategy` | String | Optional | Strategy: `tCPA`, `tROAS`, `MaximizeConversions`, `ManualCPC` |
42
+ | `utm_campaign_name` | String | Yes | Canonical UTM campaign parameter string |
43
+
44
+ ### Outputs
45
+ | Artifact | Path / Format | Description |
46
+ |---|---|---|
47
+ | Campaign Architecture Spec | `docs/paid-acquisition-ppc/campaign-spec.md` | Full account hierarchy, match types, ad copy matrix |
48
+ | Campaign Config JSON | `configs/ppc/campaign-matrix.json` | Programmatic campaign structure and budget splits |
49
+ | Negative Keyword Lists | `configs/ppc/negative-keywords.txt` | Universal and campaign-level negative keyword filters |
50
+ | Tracking URL Engine | `src/marketing/utm-builder.ts` | Programmatic UTM generator and URL validator |
51
+
52
+ ## Step-by-Step Execution Runbook
53
+
54
+ ### Phase 1: Account Hierarchy Design & Funnel Intent Mapping
55
+ 1. Structure account hierarchy into Top-of-Funnel (TOF - Awareness/Problem Aware), Middle-of-Funnel (MOF - Solution Aware/Category Search), and Bottom-of-Funnel (BOF - Brand & High-Intent Purchase).
56
+ 2. Establish standardized campaign naming convention:
57
+ `[Dept]_[Channel]_[Objective]_[FunnelStage]_[Audience/KeywordTheme]_[Geo]_[Language]`
58
+ 3. Allocate budget across channels based on historical CAC and channel intent (e.g. 50% Google Search, 35% Meta Feed, 15% LinkedIn B2B).
59
+ 4. Establish budget pacing rules and daily spend caps to prevent front-loaded overspend.
60
+
61
+ ### Phase 2: Audience Segmentation, Keyword Sculpting & Negative Matching
62
+ 1. Segment audiences by intent: Custom Intent / In-Market, Lookalike / Retargeting, Customer CRM Match.
63
+ 2. Structure Google Ads Search Ad Groups using Single-Theme Ad Groups (STAGs) combining Exact Match (`[keyword]`) and Phrase Match (`"keyword"`).
64
+ 3. Build comprehensive universal negative keyword list (excluding terms like "free", "crack", "jobs", "internship", "salary", "login").
65
+ 4. Configure Meta Ads custom audience exclusions (exclude past 30-day converters, active paying subscribers, internal employees).
66
+
67
+ ### Phase 3: Ad Copy & Responsive Creative Matrix Generation
68
+ 1. Author Responsive Search Ads (RSAs) for Google Ads with 15 headlines and 4 descriptions:
69
+ - 3 Headlines with exact keyword insertion.
70
+ - 3 Value proposition and differentiation hooks.
71
+ - 3 Call-to-action hooks with urgency/proof.
72
+ 2. Author Meta & LinkedIn ad copy variations testing 3 primary text hooks against 2 creative angles.
73
+ 3. Configure sitelink extensions, callout extensions, structured snippets, and lead form assets.
74
+ 4. Verify compliance with advertising policies (no sensationalist claims, valid landing page URLs).
75
+
76
+ ### Phase 4: Bidding Algorithm Calibration & Conversion Tracking Setup
77
+ 1. Configure conversion goals in ad platforms with primary conversion actions (Purchase, Sign Up, Demo Request).
78
+ 2. Set up initial bidding strategy: Maximize Conversions with soft tCPA during 2-week learning phase (minimum 30 conversions).
79
+ 3. Transition to tROAS or strict tCPA once conversion volume exceeds 50 events per month per ad group.
80
+ 4. Validate conversion pixel fires and server-side tracking verification.
81
+
82
+ ### Phase 5: Campaign Launch, Budget Pacing & Dayparting Governance
83
+ 1. Upload campaign configurations via platform bulk sheets or API dispatchers.
84
+ 2. Enable dayparting / ad scheduling to concentrate spend during high-conversion business hours.
85
+ 3. Monitor real-time search terms report on days 1, 3, and 7 to immediately add newly discovered irrelevant queries to negative lists.
86
+ 4. Compile campaign setup summary at `docs/paid-acquisition-ppc/campaign-spec.md`.
87
+ 5. Commit campaign configuration files to git repository.
88
+ ```bash
89
+ git add configs/ppc/ docs/paid-acquisition-ppc/
90
+ git commit -m "feat(paid-acquisition-ppc): configure multi-channel PPC campaign architecture"
91
+ ```
92
+
93
+ ## Code & Configuration Exemplars
94
+
95
+ ### Exemplar 1: Multi-Channel PPC Campaign Matrix Specification
96
+ ```json
97
+ {
98
+ "version": "2.0.0",
99
+ "campaigns": [
100
+ {
101
+ "id": "MKT_GGL_SEARCH_BOF_HIGHINTENT_US_EN",
102
+ "channel": "google-ads",
103
+ "network": "search",
104
+ "biddingStrategy": "tCPA",
105
+ "targetCpaUsd": 45.0,
106
+ "dailyBudgetUsd": 150.0,
107
+ "adGroups": [
108
+ {
109
+ "name": "Multi-Agent Frameworks",
110
+ "matchTypes": {
111
+ "exact": ["[multi agent framework]", "[ai agent registry]"],
112
+ "phrase": ["\"multi agent orchestration\"", "\"ai agent tools\""]
113
+ },
114
+ "rsaHeadlines": [
115
+ "Autonomous AI Agent Suite",
116
+ "Agents United - Dev Tools",
117
+ "Deploy AI Teams in Minutes"
118
+ ]
119
+ }
120
+ ]
121
+ }
122
+ ]
123
+ }
124
+ ```
125
+
126
+ ### Exemplar 2: TypeScript UTM Tracking Parameter Engine
127
+ ```typescript
128
+ export interface UtmParameters {
129
+ source: string;
130
+ medium: string;
131
+ campaign: string;
132
+ content?: string;
133
+ term?: string;
134
+ }
135
+
136
+ export function buildCampaignUrl(baseUrl: string, utm: UtmParameters): string {
137
+ const url = new URL(baseUrl);
138
+ url.searchParams.set('utm_source', utm.source.toLowerCase().trim());
139
+ url.searchParams.set('utm_medium', utm.medium.toLowerCase().trim());
140
+ url.searchParams.set('utm_campaign', utm.campaign.toLowerCase().trim());
141
+ if (utm.content) url.searchParams.set('utm_content', utm.content.toLowerCase().trim());
142
+ if (utm.term) url.searchParams.set('utm_term', utm.term.toLowerCase().trim());
143
+ return url.toString();
144
+ }
145
+ ```
146
+
147
+ ## Edge Cases & Error Recovery Procedures
148
+
149
+ ### Scenario A: Search Query Budget Bleed via Loose Broad Match Queries
150
+ 1. **Diagnosis**: High ad spend with low conversion rate caused by irrelevant broad search matches.
151
+ 2. **Recovery Protocol**:
152
+ - Step 1: Export Search Terms Report for the past 7 days.
153
+ - Step 2: Filter for queries with > 10 clicks and 0 conversions.
154
+ - Step 3: Add offending keywords as exact negative keywords in `configs/ppc/negative-keywords.txt` and sync to ad platform.
155
+
156
+ ### Scenario B: Ad Creative Policy Disapproval or Trademark Flag
157
+ 1. **Diagnosis**: Ad creative rejected by Google Ads or Meta for restricted keywords or trademarked brand names.
158
+ 2. **Recovery Protocol**:
159
+ - Step 1: Inspect platform rejection reason code in ad manager.
160
+ - Step 2: Update copy variations to replace flagged terms with approved descriptive synonyms.
161
+ - Step 3: Resubmit ad group for automated re-review.
162
+
163
+ ## Verification & Validation Checklist
164
+ - [ ] Frontmatter conforms strictly to `author: "agents-united"` and `version: "2.0.0"`.
165
+ - [ ] All 7 mandatory sections present with explicit headers.
166
+ - [ ] Step-by-Step Execution Runbook body contains >= 50 lines.
167
+ - [ ] Multi-channel campaign structures (Google, Meta, LinkedIn) detailed.
168
+ - [ ] Negative keyword governance and UTM generation scripts included.
169
+ - [ ] Code exemplars provided with valid syntax fencing.
170
+ - [ ] Zero dummy placeholder strings or unpopulated template markers present.
171
+ - [ ] Project build, test suite, and doctor check pass 100% cleanly.
@@ -0,0 +1,141 @@
1
+ ---
2
+ name: performance-optimization
3
+ description: Production-grade Performance Optimization playbook for Core Web
4
+ Vitals, Node.js event-loop tuning, and caching layers.
5
+ metadata:
6
+ author: agents-united
7
+ version: 2.0.0
8
+ icon: âš¡
9
+ disable-slash-command: true
10
+ ---
11
+
12
+ # Full-Stack Performance Profiling & Latency Optimization
13
+
14
+ ## Overview & Purpose
15
+ The Full-Stack Performance Profiling & Latency Optimization skill provides a deterministic, battle-tested framework for executing performance-optimization processes across the Agents United multi-agent ecosystem.
16
+
17
+ Following this skill ensures high quality, zero-regression execution, rigorous testing gates, and seamless cross-functional team alignment.
18
+
19
+ ## Execution Triggers & Prerequisites
20
+ ### Execution Triggers
21
+ - Direct request or workflow step invoking performance-optimization.
22
+ - Auditing, implementing, or standardizing performance-optimization procedures.
23
+ - Addressing technical debt, architectural reviews, or production readiness gates.
24
+ - Preparing pull requests or automated release validations.
25
+
26
+ ### Prerequisites
27
+ - Active project repository workspace with version control configured.
28
+ - Operational testing, typechecking, and build toolchains.
29
+ - Domain requirements, architectural constraints, or user stories defined.
30
+ - Clean git working tree before beginning execution.
31
+
32
+ ## Input & Output Requirements
33
+ ### Inputs
34
+ | Parameter | Type | Required | Description |
35
+ |---|---|---|---|
36
+ | `target_scope` | String | Yes | Target module, service, component, or file path |
37
+ | `config` | Object | Optional | Specific domain configurations, thresholds, and options |
38
+ | `output_dir` | Directory Path | Optional | Destination directory for generated artifacts and reports |
39
+ | `strict_mode` | Boolean | Optional | Enforce strict zero-warning validation and high test coverage |
40
+
41
+ ### Outputs
42
+ | Artifact | Path / Format | Description |
43
+ |---|---|---|
44
+ | Specification Document | `docs/performance-optimization/spec.md` | Full technical specification and architectural plan |
45
+ | Implementation Files | `src/performance-optimization/*` | Production-ready source code, tests, and configurations |
46
+ | Execution Report | `reports/performance-optimization/summary.json` | Verification metrics, test results, and audit summary |
47
+
48
+ ## Step-by-Step Execution Runbook
49
+
50
+ ### Phase 1: Baseline Measurement & Bottleneck Profiling
51
+ 1. Establish rigorous baseline metrics before applying any optimizations (never guess).
52
+ 2. Profile frontend Core Web Vitals using Chrome DevTools, Lighthouse, and Web Vitals SDK.
53
+ 3. Profile backend Node.js workloads using Clinic.js (clinic doctor, clinic flame).
54
+ 4. Profile database query execution times and identify N+1 queries and full table scans.
55
+ 5. Document top 5 performance bottlenecks ranked by latency impact.
56
+
57
+ ### Phase 2: Frontend Asset & Rendering Optimization
58
+ 1. Optimize Largest Contentful Paint (LCP): inline critical CSS, preload hero image with fetchpriority="high".
59
+ 2. Eliminate Cumulative Layout Shift (CLS): reserve explicit dimensions on images and dynamic embeds.
60
+ 3. Optimize Interaction to Next Paint (INP): break long tasks (>50ms) using scheduler.yield().
61
+ 4. Implement route-based dynamic code splitting (React.lazy, dynamic import()).
62
+ 5. Compress images using modern AVIF / WebP formats and responsive srcset.
63
+
64
+ ### Phase 3: Backend Concurrency & Event Loop Optimization
65
+ 1. Eliminate synchronous blocking CPU operations in the Node.js main thread (offload to Worker Threads).
66
+ 2. Implement DataLoader batching for database queries to collapse N+1 queries into single IN (...) queries.
67
+ 3. Enable HTTP/2 and gzip/brotli compression on web server responses.
68
+ 4. Tune Node.js garbage collection parameters (--max-old-space-size, --v8-pool-size).
69
+ 5. Optimize memory allocations and eliminate object creation inside tight loops.
70
+
71
+ ### Phase 4: Multi-Tier Caching Architecture
72
+ 1. Configure HTTP Cache-Control headers: public, max-age=31536000, immutable for hashed assets.
73
+ 2. Implement Redis caching layer for expensive database queries with TTL and cache invalidation hooks.
74
+ 3. Deploy Edge CDN caching (Cloudflare / Fastly) with stale-while-revalidate policies.
75
+ 4. Implement browser local storage / IndexedDB caching for static client state.
76
+ 5. Verify cache hit ratio exceeds 90% under production-like traffic.
77
+
78
+ ### Phase 5: Benchmark Verification & Budget Enforcement
79
+ 1. Re-run automated Lighthouse and Clinic.js profiling against optimized code.
80
+ 2. Verify Core Web Vitals meet target thresholds: LCP < 2.5s, INP < 200ms, CLS < 0.1.
81
+ 3. Verify backend p99 latency meets target SLA.
82
+ 4. Configure bundle size limits in CI using bundlesize / size-limit.
83
+ 5. Publish performance benchmark comparison report.
84
+
85
+ ## Code & Configuration Exemplars
86
+
87
+ ### Exemplar 1: Full-Stack Performance Profiling & Latency Optimization Configuration & Specification
88
+ ```yaml
89
+ // Redis tiered caching with stale-while-revalidate pattern
90
+ export async function getCachedOrFetch<T>(
91
+ key: string,
92
+ fetcher: () => Promise<T>,
93
+ ttlSeconds: number = 300
94
+ ): Promise<T> {
95
+ const cached = await redis.get(key);
96
+ if (cached) return JSON.parse(cached) as T;
97
+ const fresh = await fetcher();
98
+ await redis.setex(key, ttlSeconds, JSON.stringify(fresh));
99
+ return fresh;
100
+ }
101
+ ```
102
+
103
+ ### Exemplar 2: Full-Stack Performance Profiling & Latency Optimization TypeScript Type Contract
104
+ ```typescript
105
+ export interface PerformanceBudgets {
106
+ coreWebVitals: {
107
+ lcpMs: number; // < 2500ms
108
+ inpMs: number; // < 200ms
109
+ cls: number; // < 0.1
110
+ };
111
+ backendSLO: {
112
+ p95LatencyMs: number; // < 100ms
113
+ p99LatencyMs: number; // < 250ms
114
+ };
115
+ bundleSizeKb: number; // < 200kb gzipped
116
+ }
117
+ ```
118
+
119
+ ## Edge Cases & Error Recovery Procedures
120
+
121
+ ### Scenario A: Validation Failure in Full-Stack Performance Profiling & Latency Optimization
122
+ 1. **Diagnosis**: Static analysis, typechecking, or unit tests fail validation rules during execution.
123
+ 2. **Recovery Protocol**:
124
+ - Step 1: Inspect detailed error log output in test/build terminal.
125
+ - Step 2: Formulate targeted hypothesis and isolate failing line or assertion.
126
+ - Step 3: Implement surgical code fix and re-run verification suite.
127
+
128
+ ### Scenario B: Missing or Incompatible Dependency
129
+ 1. **Diagnosis**: Required toolchain binary or library dependency is missing from the environment.
130
+ 2. **Recovery Protocol**:
131
+ - Step 1: Verify `package.json` engine requirements and local environment versions.
132
+ - Step 2: Install required peer dependencies cleanly with lockfile sync.
133
+ - Step 3: Resume runbook from Phase 1.
134
+
135
+ ## Verification & Validation Checklist
136
+ - [ ] Frontmatter conforms strictly to `author: "agents-united"` and `version: "2.0.0"`.
137
+ - [ ] All 7 mandatory sections present with explicit headers.
138
+ - [ ] Step-by-Step Execution Runbook body contains >= 50 lines.
139
+ - [ ] Code exemplars provided with valid syntax fencing.
140
+ - [ ] Zero dummy placeholder strings or unpopulated template markers present.
141
+ - [ ] Project build, test suite, and doctor check pass 100% cleanly.
@@ -0,0 +1,39 @@
1
+ ---
2
+ name: playwright-best-practices
3
+ description: Playwright E2E browser automation standards, Page Object Models,
4
+ auto-waiting locators, test fixtures, and visual regression.
5
+ metadata:
6
+ author: Currents / Microsoft (currents-dev/playwright-best-practices-skill)
7
+ version: 1.0.0
8
+ source: https://skills.sh/currents-dev/playwright-best-practices-skill/playwright-best-practices
9
+ icon: 🎭
10
+ disable-slash-command: true
11
+ ---
12
+
13
+ # Playwright E2E Testing Best Practices Playbook
14
+
15
+ ## Overview & Purpose
16
+ `playwright-best-practices` provides authoritative guidelines for building fast, stable, and deterministic end-to-end browser tests using Microsoft Playwright.
17
+
18
+ ## Rules & Constraints
19
+ 1. **Use User-Facing Locators** — Always prefer `page.getByRole()`, `page.getByLabel()`, or `page.getByPlaceholder()` over fragile CSS classes or XPath.
20
+ 2. **Never Use Hardcoded Sleeps** — Never invoke `page.waitForTimeout()`; use web assertions that auto-wait (`await expect(locator).toBeVisible()`).
21
+ 3. **Encapsulate with Page Object Models (POM)** — Structure reusable page interactions into dedicated POM classes.
22
+ 4. **Isolate Test State** — Run tests in independent browser contexts with dedicated user sessions or `test.use({ storageState })`.
23
+
24
+ ## Step-by-Step Execution Runbook
25
+
26
+ ### Phase 1 — Test Configuration
27
+ - Configure `playwright.config.ts` with parallel workers, trace recording (`on-first-retry`), and multi-project browser configs.
28
+
29
+ ### Phase 2 — Page Object & Spec Construction
30
+ - Author POM classes with explicit methods returning locators or executing user actions.
31
+ - Write readable, assertive test specs covering positive and negative edge cases.
32
+
33
+ ### Phase 3 — Verification
34
+ - Execute tests headlessly via `npx playwright test` and verify HTML report generation.
35
+
36
+ ## Verification Checklist
37
+ - [ ] Tests run deterministically without flakes.
38
+ - [ ] Trace viewer and video artifacts saved on failure.
39
+ - [ ] No hardcoded sleep timeouts in test code.