cue-ai 0.9.0 → 0.9.2

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 (310) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/README.md +82 -33
  3. package/bin/cue-review-progress +107 -0
  4. package/bin/cue-review-watch +98 -0
  5. package/dist/cue.js +7352 -3744
  6. package/package.json +16 -5
  7. package/profiles/_types.ts +9 -0
  8. package/profiles/backend/profile.yaml +2 -0
  9. package/profiles/blog-writer/profile.yaml +10 -0
  10. package/profiles/browser/profile.yaml +9 -2
  11. package/profiles/builder/profile.yaml +3 -6
  12. package/profiles/career/profile.yaml +13 -2
  13. package/profiles/claude-api/profile.yaml +1 -1
  14. package/profiles/commerce/profile.yaml +27 -3
  15. package/profiles/core/logo.png +0 -0
  16. package/profiles/core/profile.yaml +62 -2
  17. package/profiles/dash-merge-test/profile.yaml +109 -0
  18. package/profiles/designer/profile.yaml +2 -0
  19. package/profiles/designer-medusa-next/profile.yaml +4 -1
  20. package/profiles/designer-medusa-vite/profile.yaml +4 -1
  21. package/profiles/docs-writer/profile.yaml +3 -1
  22. package/profiles/eu-tender-research/README.md +48 -0
  23. package/profiles/eu-tender-research/logo.png +0 -0
  24. package/profiles/eu-tender-research/profile.yaml +108 -0
  25. package/profiles/finance/logo.png +0 -0
  26. package/profiles/finance/profile.yaml +46 -0
  27. package/profiles/frontend/profile.yaml +5 -9
  28. package/profiles/growth/profile.yaml +2 -3
  29. package/profiles/gstack/profile.yaml +15 -0
  30. package/profiles/higgsfield/profile.yaml +3 -0
  31. package/profiles/hyperframes/logo.png +0 -0
  32. package/profiles/hyperframes/profile.yaml +59 -0
  33. package/profiles/improver/profile.yaml +88 -0
  34. package/profiles/marketing/profile.yaml +0 -3
  35. package/profiles/medusa-dev/profile.yaml +2 -0
  36. package/profiles/medusa-next/profile.yaml +2 -3
  37. package/profiles/medusa-vite/profile.yaml +2 -3
  38. package/profiles/n8n/logo.png +0 -0
  39. package/profiles/n8n/profile.yaml +50 -0
  40. package/profiles/nextjs/profile.yaml +2 -3
  41. package/profiles/ops/profile.yaml +2 -0
  42. package/profiles/postizz/profile.yaml +13 -3
  43. package/profiles/python/profile.yaml +3 -0
  44. package/profiles/research/profile.yaml +3 -1
  45. package/profiles/schema.json +10 -0
  46. package/profiles/secops/profile.yaml +2 -0
  47. package/profiles/seo/profile.yaml +56 -0
  48. package/profiles/skill-writer/profile.yaml +8 -0
  49. package/profiles/ssh/profile.yaml +32 -0
  50. package/profiles/strapi/logo.png +0 -0
  51. package/profiles/strapi/profile.yaml +45 -0
  52. package/profiles/stripe/logo.png +0 -0
  53. package/profiles/stripe/profile.yaml +1 -0
  54. package/profiles/supabase/logo.png +0 -0
  55. package/profiles/supabase/profile.yaml +85 -0
  56. package/profiles/vercel/logo.png +0 -0
  57. package/profiles/vercel/profile.yaml +25 -1
  58. package/profiles/vite/profile.yaml +4 -3
  59. package/profiles/web-frontend-base/profile.yaml +5 -4
  60. package/profiles/webshop/profile.yaml +23 -5
  61. package/profiles/x-growth-bot/profile.yaml +44 -0
  62. package/resources/icons/generate-icons.py +128 -2
  63. package/resources/mcps/configs/claude.sanitized.json +42 -0
  64. package/resources/mcps/configs/codex.sanitized.json +7 -0
  65. package/resources/skills/skills/career/resume-version-manager/SKILL.md +351 -0
  66. package/resources/skills/skills/career/salary-negotiation-prep/SKILL.md +378 -0
  67. package/resources/skills/skills/content/pdf/SKILL.md +2 -0
  68. package/resources/skills/skills/content/postiz-cards/SKILL.md +48 -0
  69. package/resources/skills/skills/content/postiz-cards/scripts/analytics.sh +38 -0
  70. package/resources/skills/skills/content/postiz-cards/scripts/card.sh +42 -0
  71. package/resources/skills/skills/content/postiz-cards/scripts/lint.py +38 -0
  72. package/resources/skills/skills/design/headless-gif-demo/SKILL.md +1 -1
  73. package/resources/skills/skills/design/readme-svg-design/SKILL.md +1 -1
  74. package/resources/skills/skills/eu-funding/grant-outreach/SKILL.md +70 -0
  75. package/resources/skills/skills/eu-funding/hu-grant-finder/SKILL.md +114 -0
  76. package/resources/skills/skills/eu-funding/hu-grant-finder/evals.md +26 -0
  77. package/resources/skills/skills/eu-funding/ted-tender-search/SKILL.md +80 -0
  78. package/resources/skills/skills/eu-funding/ted-tender-search/evals.md +26 -0
  79. package/resources/skills/skills/eu-funding/ted-tender-search/scripts/ted-search.sh +46 -0
  80. package/resources/skills/skills/event-design/wedding-invitations/SKILL.md +1 -1
  81. package/resources/skills/skills/github/gx-agents/SKILL.md +96 -0
  82. package/resources/skills/skills/gstack/design-shotgun/SKILL.md +1 -1
  83. package/resources/skills/skills/marketing/ab-test-analyzer/SKILL.md +1 -1
  84. package/resources/skills/skills/marketing/ab-test-setup-and-analysis/SKILL.md +1 -1
  85. package/resources/skills/skills/marketing/account-structure-review/SKILL.md +1 -1
  86. package/resources/skills/skills/marketing/ad-copy-variant-generator/SKILL.md +1 -1
  87. package/resources/skills/skills/marketing/ad-extension-audit/SKILL.md +1 -1
  88. package/resources/skills/skills/marketing/ad-spend-allocator/SKILL.md +1 -1
  89. package/resources/skills/skills/marketing/anomaly-detection/SKILL.md +1 -1
  90. package/resources/skills/skills/marketing/attribution-model-comparison/SKILL.md +1 -1
  91. package/resources/skills/skills/marketing/audience-overlap-analysis/SKILL.md +7 -1
  92. package/resources/skills/skills/marketing/bid-strategy-recommendations/SKILL.md +7 -1
  93. package/resources/skills/skills/marketing/budget-scenario-planner/SKILL.md +6 -1
  94. package/resources/skills/skills/marketing/campaign-naming-convention-builder/SKILL.md +7 -1
  95. package/resources/skills/skills/marketing/channel-mix-optimizer/SKILL.md +7 -1
  96. package/resources/skills/skills/marketing/client-report-narratives/SKILL.md +6 -1
  97. package/resources/skills/skills/marketing/competitor-creative-analysis/SKILL.md +1 -1
  98. package/resources/skills/skills/marketing/competitor-teardown/SKILL.md +1 -1
  99. package/resources/skills/skills/marketing/content-repurposer/SKILL.md +1 -1
  100. package/resources/skills/skills/marketing/conversion-path-analysis/SKILL.md +1 -1
  101. package/resources/skills/skills/marketing/cpa-diagnostics/SKILL.md +1 -1
  102. package/resources/skills/skills/marketing/creative-fatigue-detection/SKILL.md +1 -1
  103. package/resources/skills/skills/marketing/day-hour-performance-breakdown/SKILL.md +1 -1
  104. package/resources/skills/skills/marketing/device-performance-split/SKILL.md +1 -1
  105. package/resources/skills/skills/marketing/e2e-seo-assistant/SKILL.md +1 -1
  106. package/resources/skills/skills/marketing/email-sequence-writer/SKILL.md +1 -1
  107. package/resources/skills/skills/marketing/frequency-cap-recommendations/SKILL.md +1 -1
  108. package/resources/skills/skills/marketing/geo-performance-analysis/SKILL.md +1 -1
  109. package/resources/skills/skills/marketing/google-ads-audit/SKILL.md +1 -1
  110. package/resources/skills/skills/marketing/icp-research-assistant/SKILL.md +1 -1
  111. package/resources/skills/skills/marketing/keyword-cannibalization-check/SKILL.md +1 -1
  112. package/resources/skills/skills/marketing/landing-page-audit/SKILL.md +1 -1
  113. package/resources/skills/skills/marketing/landing-page-audit-quick/SKILL.md +1 -1
  114. package/resources/skills/skills/marketing/linkedin-ads-audit/SKILL.md +1 -1
  115. package/resources/skills/skills/marketing/meta-ads-audit/SKILL.md +1 -1
  116. package/resources/skills/skills/marketing/pacing-monitor/SKILL.md +1 -1
  117. package/resources/skills/skills/marketing/performance-benchmarking/SKILL.md +1 -1
  118. package/resources/skills/skills/marketing/programmatic-seo-builder/SKILL.md +1 -1
  119. package/resources/skills/skills/marketing/quality-score-breakdown/SKILL.md +1 -1
  120. package/resources/skills/skills/marketing/reddit-ads-audit/SKILL.md +1 -1
  121. package/resources/skills/skills/marketing/retargeting-window-analysis/SKILL.md +1 -1
  122. package/resources/skills/skills/marketing/roas-forecasting/SKILL.md +1 -1
  123. package/resources/skills/skills/marketing/search-term-mining/SKILL.md +1 -1
  124. package/resources/skills/skills/marketing/utm-tracking-generator/SKILL.md +1 -1
  125. package/resources/skills/skills/marketing/wasted-spend-finder/SKILL.md +1 -1
  126. package/resources/skills/skills/marketing/weekly-account-summary/SKILL.md +1 -1
  127. package/resources/skills/skills/meta/awesome-list-submit/SKILL.md +4 -4
  128. package/resources/skills/skills/meta/cue-dashboard/SKILL.md +109 -0
  129. package/resources/skills/skills/meta/cue-developer/SKILL.md +161 -0
  130. package/resources/skills/skills/meta/cue-developer/evals/evals.json +57 -0
  131. package/resources/skills/skills/meta/cue-developer/references/architecture.md +65 -0
  132. package/resources/skills/skills/meta/cue-developer/references/build_and_test.md +72 -0
  133. package/resources/skills/skills/meta/cue-developer/references/contributing.md +75 -0
  134. package/resources/skills/skills/meta/cue-developer/references/conventions.md +57 -0
  135. package/resources/skills/skills/meta/cue-developer/references/first_time_setup.md +51 -0
  136. package/resources/skills/skills/meta/cue-developer/references/skill_and_mcp_authoring.md +84 -0
  137. package/resources/skills/skills/meta/cue-developer/references/troubleshooting.md +42 -0
  138. package/resources/skills/skills/meta/delegation-check/SKILL.md +148 -0
  139. package/resources/skills/skills/meta/delegation-check/specs/scan-algorithm.md +125 -0
  140. package/resources/skills/skills/meta/delegation-check/specs/separation-rules.md +190 -0
  141. package/resources/skills/skills/meta/focus/SKILL.md +62 -0
  142. package/resources/skills/skills/meta/help/SKILL.md +1 -1
  143. package/resources/skills/skills/meta/integrity-tags/SKILL.md +2 -0
  144. package/resources/skills/skills/meta/next-steps/SKILL.md +124 -0
  145. package/resources/skills/skills/meta/next-steps/evals/eval-set.json +92 -0
  146. package/resources/skills/skills/meta/profile-from-docs/SKILL.md +141 -0
  147. package/resources/skills/skills/meta/ralph-loop/SKILL.md +83 -0
  148. package/resources/skills/skills/meta/ralph-loop/scripts/loop.sh +73 -0
  149. package/resources/skills/skills/meta/skill-simplify/SKILL.md +136 -0
  150. package/resources/skills/skills/meta/skill-simplify/phases/01-analysis.md +173 -0
  151. package/resources/skills/skills/meta/skill-simplify/phases/02-optimize.md +104 -0
  152. package/resources/skills/skills/meta/skill-simplify/phases/03-check.md +145 -0
  153. package/resources/skills/skills/meta/smart-loader/scripts/smart-lookup.sh +13 -4
  154. package/resources/skills/skills/meta/verify-council/SKILL.md +182 -0
  155. package/resources/skills/skills/meta/verify-council/references/lane-prompts.md +103 -0
  156. package/resources/skills/skills/meta/verify-council/references/workflow.js +217 -0
  157. package/resources/skills/skills/nvidia/aiq-research/SKILL.md +1 -1
  158. package/resources/skills/skills/nvidia/cuopt-developer/SKILL.md +16 -1
  159. package/resources/skills/skills/nvidia/cuopt-developer/resources/contributing.md +2 -2
  160. package/resources/skills/skills/nvidia/cuopt-developer/resources/numerical_debugging.md +128 -0
  161. package/resources/skills/skills/nvidia/cuopt-developer/resources/python_bindings.md +2 -9
  162. package/resources/skills/skills/nvidia/cuopt-developer/resources/vrp_skills.md +166 -0
  163. package/resources/skills/skills/nvidia/cuopt-install/SKILL.md +2 -10
  164. package/resources/skills/skills/nvidia/cuopt-numerical-optimization-api-c/SKILL.md +3 -23
  165. package/resources/skills/skills/nvidia/cuopt-numerical-optimization-api-c/resources/examples.md +40 -20
  166. package/resources/skills/skills/nvidia/cuopt-numerical-optimization-api-python/SKILL.md +5 -1
  167. package/resources/skills/skills/nvidia/skill-evolution/SKILL.md +4 -5
  168. package/resources/skills/skills/research/trendradar/SKILL.md +1 -1
  169. package/resources/skills/skills/ssh/ssh-config/SKILL.md +94 -0
  170. package/resources/skills/skills/ssh/ssh-copy/SKILL.md +92 -0
  171. package/resources/skills/skills/ssh/ssh-harden/SKILL.md +108 -0
  172. package/resources/skills/skills/ssh/ssh-keys/SKILL.md +82 -0
  173. package/resources/skills/skills/ssh/ssh-paste-image/LICENSE +28 -0
  174. package/resources/skills/skills/ssh/ssh-paste-image/SKILL.md +149 -0
  175. package/resources/skills/skills/ssh/ssh-paste-image/scripts/build.sh +29 -0
  176. package/resources/skills/skills/ssh/ssh-paste-image/scripts/client/go.mod +3 -0
  177. package/resources/skills/skills/ssh/ssh-paste-image/scripts/client/main.go +79 -0
  178. package/resources/skills/skills/ssh/ssh-paste-image/scripts/daemon/ccimgd.service +12 -0
  179. package/resources/skills/skills/ssh/ssh-paste-image/scripts/daemon/com.ccimgd.plist +20 -0
  180. package/resources/skills/skills/ssh/ssh-paste-image/scripts/daemon/go.mod +3 -0
  181. package/resources/skills/skills/ssh/ssh-paste-image/scripts/daemon/main.go +98 -0
  182. package/resources/skills/skills/ssh/ssh-tunnel/SKILL.md +96 -0
  183. package/resources/skills/skills/strapi/building-with-strapi/SKILL.md +112 -0
  184. package/resources/skills/skills/strapi/strapi-cli/SKILL.md +93 -0
  185. package/resources/skills/skills/strapi/strapi-content-api/SKILL.md +115 -0
  186. package/resources/skills/skills/strapi/strapi-deploy/SKILL.md +89 -0
  187. package/resources/skills/skills/strapi/strapi-mcp-setup/SKILL.md +101 -0
  188. package/resources/skills/skills/strapi/strapi-plugins/SKILL.md +97 -0
  189. package/resources/skills/skills/tools/context7/SKILL.md +101 -0
  190. package/resources/skills/skills/tools/opensrc/SKILL.md +1 -1
  191. package/resources/skills/skills/tools/portless/SKILL.md +186 -0
  192. package/resources/skills/skills/xbot/operate/SKILL.md +229 -0
  193. package/src/commands/_index.ts +8 -0
  194. package/src/commands/ai-score.e2e.test.ts +11 -4
  195. package/src/commands/ai.ts +3 -4
  196. package/src/commands/auto-detect.ts +1 -1
  197. package/src/commands/cli.test.ts +1 -2
  198. package/src/commands/cli.ts +1 -1
  199. package/src/commands/cloud.ts +1 -1
  200. package/src/commands/current.ts +1 -4
  201. package/src/commands/dash.test.ts +110 -0
  202. package/src/commands/dash.ts +194 -0
  203. package/src/commands/dashboard.ts +26 -0
  204. package/src/commands/diff.ts +1 -1
  205. package/src/commands/discover.test.ts +1 -1
  206. package/src/commands/discover.ts +90 -40
  207. package/src/commands/doctor.test.ts +58 -0
  208. package/src/commands/doctor.ts +79 -3
  209. package/src/commands/eval-behavior.ts +1 -1
  210. package/src/commands/eval.ts +2 -2
  211. package/src/commands/evolve.ts +4 -3
  212. package/src/commands/failures.test.ts +1 -1
  213. package/src/commands/features-batch1.test.ts +6 -1
  214. package/src/commands/icon.ts +1 -5
  215. package/src/commands/import-profile.ts +1 -1
  216. package/src/commands/init.ts +50 -7
  217. package/src/commands/install-sh.e2e.test.ts +65 -0
  218. package/src/commands/launch-handoff.e2e.test.ts +88 -0
  219. package/src/commands/launch.e2e.test.ts +8 -1
  220. package/src/commands/launch.test.ts +29 -0
  221. package/src/commands/launch.ts +185 -131
  222. package/src/commands/lock.ts +0 -1
  223. package/src/commands/marketplace.ts +0 -4
  224. package/src/commands/materialize.ts +1 -1
  225. package/src/commands/mem.ts +341 -0
  226. package/src/commands/optimizer.ts +0 -3
  227. package/src/commands/playground.ts +1 -2
  228. package/src/commands/profile-draft-skill.ts +1 -1
  229. package/src/commands/replay-whatif.ts +1 -6
  230. package/src/commands/score.ts +2 -2
  231. package/src/commands/security.test.ts +88 -0
  232. package/src/commands/security.ts +74 -28
  233. package/src/commands/shell.test.ts +65 -4
  234. package/src/commands/shell.ts +67 -7
  235. package/src/commands/skills-test.ts +0 -1
  236. package/src/commands/skills.ts +28 -2
  237. package/src/commands/sources.ts +1 -2
  238. package/src/commands/status.ts +2 -6
  239. package/src/commands/submit-profile.ts +1 -1
  240. package/src/commands/suggest.ts +35 -10
  241. package/src/commands/trigger-gaps.test.ts +50 -0
  242. package/src/commands/trigger-gaps.ts +63 -29
  243. package/src/commands/update.ts +1 -1
  244. package/src/commands/validate.ts +16 -4
  245. package/src/commands/watch-live.ts +1 -1
  246. package/src/commands/workspace.ts +1 -1
  247. package/src/index.ts +26 -10
  248. package/src/lib/active-sessions.ts +1 -1
  249. package/src/lib/agent-adapters.test.ts +100 -0
  250. package/src/lib/agent-adapters.ts +2 -2
  251. package/src/lib/analytics.test.ts +88 -0
  252. package/src/lib/analytics.ts +82 -1
  253. package/src/lib/auto-detect.test.ts +10 -4
  254. package/src/lib/auto-detect.ts +19 -23
  255. package/src/lib/brand-icons.ts +0 -1
  256. package/src/lib/cache.ts +2 -3
  257. package/src/lib/claude-mem-env.test.ts +148 -0
  258. package/src/lib/claude-mem-env.ts +172 -0
  259. package/src/lib/combo-history.test.ts +53 -0
  260. package/src/lib/combo-history.ts +83 -0
  261. package/src/lib/companion-detect.test.ts +108 -0
  262. package/src/lib/companion-detect.ts +140 -0
  263. package/src/lib/companion-fetch.ts +4 -6
  264. package/src/lib/conditional-skills.test.ts +1 -1
  265. package/src/lib/config-paths.test.ts +53 -0
  266. package/src/lib/config-paths.ts +33 -0
  267. package/src/lib/dashboard-server.test.ts +351 -0
  268. package/src/lib/dashboard-server.ts +1476 -27
  269. package/src/lib/debug-log.test.ts +66 -0
  270. package/src/lib/debug-log.ts +45 -0
  271. package/src/lib/mcp-catalog.test.ts +102 -0
  272. package/src/lib/mcp-catalog.ts +193 -0
  273. package/src/lib/pair-suggestions.test.ts +111 -0
  274. package/src/lib/pair-suggestions.ts +98 -5
  275. package/src/lib/permissions.test.ts +76 -0
  276. package/src/lib/permissions.ts +125 -0
  277. package/src/lib/picker.test.ts +1106 -1
  278. package/src/lib/picker.ts +1230 -142
  279. package/src/lib/plugin-discovery.ts +126 -0
  280. package/src/lib/pr-poster.ts +1 -1
  281. package/src/lib/pr-throttle.ts +2 -6
  282. package/src/lib/profile-linter.test.ts +67 -1
  283. package/src/lib/profile-linter.ts +59 -14
  284. package/src/lib/profile-loader.test.ts +21 -0
  285. package/src/lib/profile-loader.ts +22 -3
  286. package/src/lib/profile-metrics.ts +2 -6
  287. package/src/lib/profile-names.test.ts +58 -0
  288. package/src/lib/repos.test.ts +57 -0
  289. package/src/lib/repos.ts +167 -0
  290. package/src/lib/resolver-npx.ts +10 -1
  291. package/src/lib/runtime-materializer.test.ts +200 -3
  292. package/src/lib/runtime-materializer.ts +129 -20
  293. package/src/lib/shared-profiles.ts +2 -3
  294. package/src/lib/skill-clis.test.ts +113 -0
  295. package/src/lib/skill-clis.ts +232 -0
  296. package/src/lib/skill-dependencies.ts +9 -1
  297. package/src/lib/skill-deps.ts +1 -1
  298. package/src/lib/skill-linter.ts +1 -1
  299. package/src/lib/skill-quality.ts +0 -1
  300. package/src/lib/skill-sandbox.test.ts +1 -1
  301. package/src/lib/skills-lock.test.ts +1 -1
  302. package/src/lib/telemetry-consent.ts +3 -5
  303. package/src/lib/telemetry-report.test.ts +2 -2
  304. package/src/lib/token-budget.ts +111 -0
  305. package/src/lib/trigger-gaps.test.ts +70 -0
  306. package/src/lib/trigger-gaps.ts +48 -6
  307. package/src/lib/tui/data.ts +1 -5
  308. package/src/lib/workflow-store.ts +150 -0
  309. package/src/lib/workspace-secrets.ts +0 -4
  310. package/src/lib/workspaces.ts +1 -1
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: creative-fatigue-detection
3
- description: Monitors your ads for early signs of fatigue before performance fully collapses. Tracks frequency buildup, CTR decay, CPM increases, and engagement drops across all active creatives and tells you which ones need rotation now vs next week.
3
+ description: 'Use when user says "check for creative fatigue", "which ads are fatiguing", "are my ads burning out", "do my ads need rotation", "detect ad fatigue". Monitors your ads for early signs of fatigue before performance fully collapses. Tracks frequency buildup, CTR decay, CPM increases, and engagement drops across all active creatives and tells you which ones need rotation now vs next week.'
4
4
  metadata:
5
5
  platform: Meta
6
6
  ---
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: day-hour-performance-breakdown
3
- description: Analyzes performance by day of week and hour of day across your campaigns. Identifies when your ads perform best and worst, recommends ad schedule adjustments with estimated savings, and tells you exactly what you'd give up by restricting hours.
3
+ description: 'Use when user says "best time to run ads", "ad schedule analysis", "day and hour performance", "when do my ads perform best", "dayparting recommendations". Analyzes performance by day of week and hour of day across your campaigns. Identifies when your ads perform best and worst, recommends ad schedule adjustments with estimated savings, and tells you exactly what you''d give up by restricting hours.'
4
4
  metadata:
5
5
  platform: Google and Meta
6
6
  ---
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: device-performance-split
3
- description: Analyzes how your campaigns perform across mobile, desktop, and tablet. Identifies where device performance diverges significantly and recommends bid adjustments, campaign splits, or creative/landing page changes to capture the gap.
3
+ description: 'Use when user says "mobile vs desktop performance", "device performance split", "why is mobile cpa so high", "device bid adjustments", "break down by device". Analyzes how your campaigns perform across mobile, desktop, and tablet. Identifies where device performance diverges significantly and recommends bid adjustments, campaign splits, or creative/landing page changes to capture the gap.'
4
4
  metadata:
5
5
  platform: Google and Meta
6
6
  ---
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: e2e-seo-assistant
3
- description: Full SEO workflow covering technical audits, content gaps, backlink opportunities, on-page fixes, and content briefs. Use when given a site and target keywords to get complete SEO analysis and actionable content plans. End-to-end SEO in one skill.
3
+ description: 'Use when user says "full seo audit", "do my seo", "audit my site for seo", "seo analysis and content plan", "end to end seo". Full SEO workflow covering technical audits, content gaps, backlink opportunities, on-page fixes, and content briefs. Use when given a site and target keywords to get complete SEO analysis and actionable content plans. End-to-end SEO in one skill.'
4
4
  metadata:
5
5
  platform: Google
6
6
  ---
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: email-sequence-writer
3
- description: Write complete nurture email sequences with subject lines, preview text, and body copy using proven copywriting formulas. Use when given ICP, offer, and objections to generate full email flows, creating welcome sequences, writing promotional emails, or maintaining voice consistency throughout email campaigns.
3
+ description: 'Use when user says "write an email sequence", "welcome email series", "nurture sequence", "drip campaign emails", "write subject lines". Write complete nurture email sequences with subject lines, preview text, and body copy using proven copywriting formulas. Use when given ICP, offer, and objections to generate full email flows, creating welcome sequences, writing promotional emails, or maintaining voice consistency throughout email campaigns.'
4
4
  metadata:
5
5
  platform: Google and Meta
6
6
  ---
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: frequency-cap-recommendations
3
- description: Analyzes frequency data across your Meta campaigns, identifies where you're overserving ads to the same people, and recommends frequency caps by campaign objective. Tells you the point where additional impressions stop driving conversions and start burning money.
3
+ description: 'Use when user says "set a frequency cap", "am i overserving ads", "ad fatigue check", "audience saturation", "recommend frequency caps". Analyzes frequency data across your Meta campaigns, identifies where you''re overserving ads to the same people, and recommends frequency caps by campaign objective. Tells you the point where additional impressions stop driving conversions and start burning money.'
4
4
  metadata:
5
5
  platform: Meta
6
6
  ---
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: geo-performance-analysis
3
- description: Breaks down campaign performance by geographic location at whatever level matters — country, state, city, DMA, zip code. Flags underperforming geos that are quietly eating budget and high-performing ones that deserve more spend. Recommends geo bid adjustments or campaign splits.
3
+ description: 'Use when user says "performance by location", "geo performance analysis", "which regions perform best", "geo bid adjustments", "where should we focus spend". Breaks down campaign performance by geographic location at whatever level matters — country, state, city, DMA, zip code. Flags underperforming geos that are quietly eating budget and high-performing ones that deserve more spend. Recommends geo bid adjustments or campaign splits.'
4
4
  metadata:
5
5
  platform: Google and Meta
6
6
  ---
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: google-ads-audit
3
- description: Comprehensive Google Ads account health analysis detecting wasted spend, search term leaks, negative keyword gaps, bid strategy issues, and Quality Score problems. Use when analyzing campaign data, pasting Google Ads exports, reviewing account performance, or requesting a full diagnostic of advertising spend efficiency.
3
+ description: Use when user says "audit my google ads", "review my ad spend", "find wasted spend", "check my campaigns", "where am I losing money on ads". Comprehensive Google Ads account health analysis detecting wasted spend, search term leaks, negative keyword gaps, bid strategy issues, and Quality Score problems. Use when analyzing campaign data, pasting Google Ads exports, reviewing account performance, or requesting a full diagnostic of advertising spend efficiency.
4
4
  metadata:
5
5
  platform: Google
6
6
  ---
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: icp-research-assistant
3
- description: Build detailed B2B buyer personas with pain points, objections, buying triggers, and messaging angles. Use when given a product and market to research ideal customer profiles, creating buyer personas, or needing to understand who you're selling to before launching campaigns.
3
+ description: Use when user says "build a buyer persona", "who is my ideal customer", "research my ICP", "define my target audience", "who am I selling to". Build detailed B2B buyer personas with pain points, objections, buying triggers, and messaging angles. Use when given a product and market to research ideal customer profiles, creating buyer personas, or needing to understand who you're selling to before launching campaigns.
4
4
  metadata:
5
5
  platform: Google and Meta
6
6
  ---
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: keyword-cannibalization-check
3
- description: Identifies where your own keywords and campaigns are competing against each other in Google Ads auctions. Finds duplicate keywords across campaigns, overlapping match types that trigger the same queries, and ad groups stealing traffic from each other — all of which inflate your CPCs and mess up your data.
3
+ description: Use when user says "are my keywords competing", "check keyword cannibalization", "find duplicate keywords", "why are my CPCs rising", "are my campaigns overlapping". Identifies where your own keywords and campaigns are competing against each other in Google Ads auctions. Finds duplicate keywords across campaigns, overlapping match types that trigger the same queries, and ad groups stealing traffic from each other — all of which inflate your CPCs and mess up your data.
4
4
  metadata:
5
5
  platform: Google
6
6
  ---
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: landing-page-audit
3
- description: CRO analysis for landing pages evaluating headline clarity, CTA placement, trust signals, mobile friction, and conversion killers. Use when uploading a landing page screenshot, pasting a URL for review, requesting conversion rate optimization feedback, or auditing page effectiveness prioritized by impact.
3
+ description: Use when user says "audit my landing page", "review this landing page", "improve my conversion rate", "why isn't my page converting", "CRO feedback". CRO analysis for landing pages evaluating headline clarity, CTA placement, trust signals, mobile friction, and conversion killers. Use when uploading a landing page screenshot, pasting a URL for review, requesting conversion rate optimization feedback, or auditing page effectiveness prioritized by impact.
4
4
  metadata:
5
5
  platform: Google and Meta
6
6
  ---
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: landing-page-audit-quick
3
- description: Reviews your landing pages against the ads driving traffic to them. Checks for message match between ad copy and page content, CTA clarity, above-the-fold alignment, form friction, and flags any disconnects between what the ad promises and what the page delivers.
3
+ description: Use when user says "does my page match my ad", "check message match", "quick landing page check", "ad to page mismatch", "why is my CVR dropping". Reviews your landing pages against the ads driving traffic to them. Checks for message match between ad copy and page content, CTA clarity, above-the-fold alignment, form friction, and flags any disconnects between what the ad promises and what the page delivers.
4
4
  metadata:
5
5
  platform: Google and Meta
6
6
  ---
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: linkedin-ads-audit
3
- description: LinkedIn Ads campaign analysis for B2B marketers detecting CTR issues, audience quality problems, lead gen form friction, and budget inefficiencies. Use when pasting LinkedIn campaign exports, analyzing B2B ad performance, or auditing LinkedIn advertising spend.
3
+ description: Use when user says "audit my linkedin ads", "review my linkedin campaigns", "why is my CPL so high", "check my B2B ad performance", "linkedin lead gen not working". LinkedIn Ads campaign analysis for B2B marketers detecting CTR issues, audience quality problems, lead gen form friction, and budget inefficiencies. Use when pasting LinkedIn campaign exports, analyzing B2B ad performance, or auditing LinkedIn advertising spend.
4
4
  metadata:
5
5
  platform: LinkedIn
6
6
  ---
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: meta-ads-audit
3
- description: Meta/Facebook/Instagram Ads campaign structure analysis detecting creative fatigue, audience overlap, scaling opportunities, and iOS tracking verification issues. Use when pasting Meta account data, analyzing Facebook ad performance, reviewing Instagram campaigns, or requesting audit of social advertising spend.
3
+ description: 'Use when user says "audit my meta ads", "analyze facebook ad performance", "check creative fatigue", "review instagram campaigns", "find audience overlap", "audit my fb ad spend". Meta/Facebook/Instagram Ads campaign structure analysis detecting creative fatigue, audience overlap, scaling opportunities, and iOS tracking verification issues.'
4
4
  metadata:
5
5
  platform: Meta
6
6
  ---
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: pacing-monitor
3
- description: Tracks daily spend against monthly budget targets across all campaigns and accounts. Tells you exactly where you'll land at current pace, flags campaigns that are over or underspending, and calculates the daily budget adjustments needed to hit your target by month end.
3
+ description: 'Use when user says "check my pacing", "am i on budget", "will i hit my monthly target", "which campaigns are overspending", "how much should i spend per day", "budget pacing check". Tracks daily spend against monthly budget targets across all campaigns and accounts. Tells you exactly where you''ll land at current pace, flags campaigns that are over or underspending, and calculates the daily budget adjustments needed to hit your target by month end.'
4
4
  metadata:
5
5
  platform: Google and Meta
6
6
  ---
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: performance-benchmarking
3
- description: Compares your key metrics against industry benchmarks for your specific vertical, campaign type, and platform. Tells you where you're ahead, where you're behind, and where there's room to improve — adjusted for your account size and spend level, because a $10K/month account and a $500K/month account have different benchmark realities.
3
+ description: 'Use when user says "is my cpa good", "benchmark my metrics", "how do i compare to industry", "is my ctr normal", "compare against benchmarks", "am i ahead or behind". Compares your key metrics against industry benchmarks for your specific vertical, campaign type, and platform. Tells you where you''re ahead, where you''re behind, and where there''s room to improve — adjusted for your account size and spend level, because a $10K/month account and a $500K/month account have different benchmark realities.'
4
4
  metadata:
5
5
  platform: Google and Meta
6
6
  ---
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: programmatic-seo-builder
3
- description: Create scalable programmatic SEO page templates with title patterns, internal linking logic, schema markup, and thin content avoidance strategies. Use when given a niche and data source to build page templates, establishing programmatic SEO structure, or scaling content production with templates.
3
+ description: 'Use when user says "build programmatic seo pages", "create page templates", "scale seo content", "set up pseo", "make a comparison page template", "avoid thin content at scale". Create scalable programmatic SEO page templates with title patterns, internal linking logic, schema markup, and thin content avoidance strategies.'
4
4
  metadata:
5
5
  platform: Google
6
6
  ---
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: quality-score-breakdown
3
- description: Breaks down Quality Score components for your Google Ads keywords — expected CTR, ad relevance, and landing page experience — and tells you exactly which component is dragging each keyword down, with specific fixes ranked by potential CPC impact.
3
+ description: 'Use when user says "improve my quality score", "why is my quality score low", "break down quality score", "fix my qs", "lower my cpc", "which keywords have bad quality score". Breaks down Quality Score components for your Google Ads keywords — expected CTR, ad relevance, and landing page experience — and tells you exactly which component is dragging each keyword down, with specific fixes ranked by potential CPC impact.'
4
4
  metadata:
5
5
  platform: Google
6
6
  ---
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: reddit-ads-audit
3
- description: Reddit Ads campaign analysis detecting community targeting issues, creative fatigue, bid inefficiencies, and subreddit performance problems. Use when pasting Reddit Ads data, analyzing subreddit targeting, or auditing Reddit advertising spend for B2B or B2C campaigns.
3
+ description: 'Use when user says "audit my reddit ads", "analyze subreddit targeting", "check my reddit ad performance", "review reddit campaigns", "fix reddit ad spend", "is my reddit targeting working". Reddit Ads campaign analysis detecting community targeting issues, creative fatigue, bid inefficiencies, and subreddit performance problems.'
4
4
  metadata:
5
5
  platform: Reddit
6
6
  ---
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: retargeting-window-analysis
3
- description: Analyzes your conversion lag data to determine the optimal retargeting window for each audience segment. Tells you whether your 30-day retargeting window should actually be 7 days, 14 days, or 60 days based on when people actually convert after their first visit.
3
+ description: 'Use when user says "optimize retargeting window", "how long to retarget", "best retargeting window", "conversion lag analysis", "when do people convert", "tighten retargeting audience". Analyzes your conversion lag data to determine the optimal retargeting window for each audience segment. Tells you whether your 30-day retargeting window should actually be 7 days, 14 days, or 60 days based on when people actually convert after their first visit.'
4
4
  metadata:
5
5
  platform: Meta
6
6
  ---
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: roas-forecasting
3
- description: Projects your ROAS for the next 30, 60, and 90 days based on current performance trends, seasonality patterns from your historical data, and planned budget or campaign changes. Gives you a range with confidence intervals, not a single number pretending to be precise.
3
+ description: 'Use when user says "forecast roas", "project roas", "roas next month", "predict ad performance", "model budget increase", "revenue projection". Projects your ROAS for the next 30, 60, and 90 days based on current performance trends, seasonality patterns from your historical data, and planned budget or campaign changes. Gives you a range with confidence intervals, not a single number pretending to be precise.'
4
4
  metadata:
5
5
  platform: Google and Meta
6
6
  ---
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: search-term-mining
3
- description: Analyzes your search term reports across all campaigns and surfaces high-intent terms you're not bidding on yet. Groups them by theme, estimates their potential volume and CPA, and recommends match types and starting bids for each.
3
+ description: 'Use when user says "mine search terms", "find new keywords", "search term report analysis", "keyword opportunities", "what should i bid on", "expand my keywords". Analyzes your search term reports across all campaigns and surfaces high-intent terms you''re not bidding on yet. Groups them by theme, estimates their potential volume and CPA, and recommends match types and starting bids for each.'
4
4
  metadata:
5
5
  platform: Google
6
6
  ---
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: utm-tracking-generator
3
- description: Generate consistent UTM parameters, GA4 event naming, and conversion tracking specs following taxonomy best practices. Use when describing campaign structure, requesting UTM links, needing GA4 event names, or wanting to standardize tracking nomenclature across marketing channels.
3
+ description: 'Use when user says "generate utm links", "build a utm", "tracking parameters", "ga4 event names", "standardize tracking", "utm naming convention". Generate consistent UTM parameters, GA4 event naming, and conversion tracking specs following taxonomy best practices.'
4
4
  metadata:
5
5
  platform: Google and Meta
6
6
  ---
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: wasted-spend-finder
3
- description: Scans your Google and Meta accounts for money being spent on search terms, placements, audiences, and ads that produce zero or near-zero conversions. Delivers clean exclusion lists you can upload directly.
3
+ description: 'Use when user says "find wasted spend", "where am i losing money", "negative keyword list", "cut wasted ad spend", "zero conversion terms", "exclusion list". Scans your Google and Meta accounts for money being spent on search terms, placements, audiences, and ads that produce zero or near-zero conversions. Delivers clean exclusion lists you can upload directly.'
4
4
  metadata:
5
5
  platform: Google and Meta
6
6
  ---
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: weekly-account-summary
3
- description: Generates a plain English summary of everything that happened across all your accounts this week. What improved, what declined, what needs immediate attention, and what to prioritize next week. The Monday morning briefing that saves you an hour of pulling reports and context-switching between platforms.
3
+ description: 'Use when user says "weekly summary", "monday briefing", "account summary", "what happened this week", "weekly performance recap", "client weekly update". Generates a plain English summary of everything that happened across all your accounts this week. What improved, what declined, what needs immediate attention, and what to prioritize next week. The Monday morning briefing that saves you an hour of pulling reports and context-switching between platforms.'
4
4
  metadata:
5
5
  platform: Google and Meta
6
6
  ---
@@ -1,10 +1,10 @@
1
1
  ---
2
2
  name: awesome-list-submit
3
3
  description: >-
4
- When user says "submit to awesome lists", "add to awesome repos",
5
- "promote on GitHub lists", or "find lists for this project" — auto-detect
6
- project metadata, find relevant awesome-* repos, check for duplicates,
7
- match entry format, draft PRs, and track submissions.
4
+ Use when user says "submit to awesome lists", "add to awesome repos",
5
+ "promote on GitHub lists", "get listed", or "find lists for this project".
6
+ Auto-detect project metadata, find relevant awesome-* repos, check for
7
+ duplicates, match entry format, draft PRs, and track submissions.
8
8
  tags: [meta, marketing, github, promotion, outreach]
9
9
  category: meta
10
10
  version: 2.0.0
@@ -0,0 +1,109 @@
1
+ ---
2
+ name: cue-dashboard
3
+ description: >-
4
+ Use to inspect or drive the running cue studio dashboard: resolve a profile's
5
+ skills/MCPs, find trigger gaps, or add an MCP to a profile. Via the `cue dash`
6
+ CLI or the cue-dashboard MCP.
7
+ tags: [meta, cue, dashboard, mcp, profiles]
8
+ category: meta
9
+ version: 1.0.0
10
+ requires_mcps: [cue-dashboard]
11
+ allowed-tools: []
12
+ triggers:
13
+ - "ask the dashboard"
14
+ - "query the cue dashboard"
15
+ - "what does cue see"
16
+ - "resolve this profile"
17
+ - "trigger gaps"
18
+ - "add an mcp to"
19
+ ---
20
+
21
+ # cue-dashboard
22
+
23
+ The cue studio dashboard (`cue dashboard`) serves a live REST API at
24
+ `http://127.0.0.1:7891/api/v1/*` with everything cue knows: profiles and their
25
+ resolved skills/MCPs/plugins, per-skill usage, trigger gaps, active sessions,
26
+ the MCP catalog. This skill reads and drives that API two ways: the `cue dash`
27
+ CLI (shell) and the `cue-dashboard` MCP (typed tools). Both are thin clients
28
+ over the same endpoints; `src/lib/dashboard-server.ts` is the source of truth.
29
+
30
+ Reach for this to answer "what does cue actually resolve for profile X", to find
31
+ coverage gaps, or to add an MCP to a profile without hand-editing YAML. It is
32
+ **live** data, unlike `meta/cue-usage` (the static CLI surface) and `cue mcp`
33
+ (static on-disk data).
34
+
35
+ ## Prerequisite: the dashboard must be running
36
+
37
+ Both clients hit a running server. If a call reports it cannot connect, start it:
38
+
39
+ ```bash
40
+ cue dashboard # serves 127.0.0.1:7891; add --port N to move it
41
+ ```
42
+
43
+ Point the clients elsewhere with `CUE_DASH_HOST` / `CUE_DASH_PORT` (CLI also
44
+ takes `--host` / `--port`).
45
+
46
+ ## CLI vs MCP: pick one
47
+
48
+ - **`cue dash <cmd>`** when you are already in a shell step and want JSON to pipe
49
+ or grep. Add `--json` for compact output.
50
+ - **`mcp__cue-dashboard__*`** when you want a typed tool call mid-conversation
51
+ with no shell. Same data, same endpoints.
52
+
53
+ ## Read commands and tools
54
+
55
+ | Ask | CLI | MCP tool |
56
+ |---|---|---|
57
+ | Dashboard + active-profile status | `cue dash status` | `dashboard_status` |
58
+ | All profiles + counts | `cue dash profiles` | `dashboard_profiles` |
59
+ | One profile's resolved resources | `cue dash profile <name>` | `dashboard_profile_detail` |
60
+ | Trigger gaps (matched, never fired) | `cue dash trigger-gaps [profile]` | `dashboard_trigger_gaps` |
61
+ | Per-skill usage report | `cue dash skill-report` | `dashboard_skill_report` |
62
+ | Profile pair affinity | `cue dash pairs` | `dashboard_pairs` |
63
+ | Running cue sessions | `cue dash sessions` | `dashboard_active_sessions` |
64
+ | MCP catalog | `cue dash mcps` | `dashboard_mcp_catalog` |
65
+ | Discovered plugins | `cue dash plugins` | `dashboard_plugins` |
66
+ | Telemetry timeline | `cue dash timeline` | `dashboard_timeline` |
67
+
68
+ ## Mutating commands and tools
69
+
70
+ These change state. **Confirm with the user before calling**, and prefer
71
+ `merge-preview` before `merge-save`.
72
+
73
+ | Action | CLI | MCP tool |
74
+ |---|---|---|
75
+ | Add an MCP to a profile | `cue dash add-mcp <profile> <mcp>` | `dashboard_add_mcp` |
76
+ | Kill a cue session by pid | `cue dash kill <pid> [--sigkill]` | `dashboard_kill_session` |
77
+ | Preview a profile merge | `cue dash merge-preview <a> <b>` | `dashboard_merge_preview` |
78
+ | Save a profile merge | `cue dash merge-save <a> <b> --as <name>` | `dashboard_merge_save` |
79
+
80
+ The kill endpoint refuses any pid that is not a live cue session, so it cannot
81
+ terminate arbitrary processes.
82
+
83
+ ## Rules
84
+
85
+ - Never call a mutating tool (`add-mcp`, `kill`, `merge-save`) without the user
86
+ confirming first. Read tools are free; writes are not.
87
+ - Always `merge-preview` before `merge-save`, and report the preview.
88
+ - If a call says it cannot reach the dashboard, do not guess the data. Tell the
89
+ user to run `cue dashboard`, or start it yourself if that is in scope.
90
+ - Quote the field you read, do not paraphrase it. The dashboard returns live
91
+ JSON; cite the value.
92
+ - Prefer `--json` in shell pipelines so the output parses cleanly.
93
+
94
+ ## Example
95
+
96
+ "Which MCPs does the browser profile resolve, and does it have Playwright?"
97
+
98
+ ```bash
99
+ cue dash profile browser --json | jq '.mcps[].id'
100
+ # → "cue-tty-watch", "lightpanda", "playwright"
101
+ ```
102
+
103
+ Or mid-conversation, call `dashboard_profile_detail` with `{ "profile": "browser" }`
104
+ and read `.mcps` from the returned JSON.
105
+
106
+ ## See also
107
+
108
+ - `meta/cue-usage`: the static cue CLI surface (profiles, skills, marketplace).
109
+ - `cue dashboard`: boots the server these clients talk to.
@@ -0,0 +1,161 @@
1
+ ---
2
+ name: cue-developer
3
+ description: "Build, test, debug, and contribute to cue itself, the TypeScript/Bun profile CLI for Claude Code and Codex. Use when developing cue: skills, MCPs, profiles, resolver/materializer, or PRs."
4
+ category: meta
5
+ license: MIT
6
+ allowed-tools: Bash(bun:*), Bash(git:*), Bash(gh:*), Bash(cue:*), Read, Write, Edit, Glob, Grep
7
+ tags: [meta, cue-dev, contributing, typescript, bun, skills, mcp]
8
+ metadata:
9
+ version: "1.0.0"
10
+ homepage: https://github.com/opencue/cuecards
11
+ ---
12
+
13
+ # cue Developer Skill
14
+
15
+ Contribute to the cue codebase. This skill is for modifying cue itself, not for using it.
16
+
17
+ If you just want to USE cue (pick profiles, install skills, add MCPs), use the `cue-usage` skill instead.
18
+
19
+ First-time dev environment setup? See [references/first_time_setup.md](references/first_time_setup.md) for the clone, install, first-run, first-test walkthrough and the questions to ask up front.
20
+
21
+ ## Prerequisites
22
+
23
+ - **bun** >= 1.0. Install from [bun.sh](https://bun.sh) (`curl -fsSL https://bun.sh/install | bash`). Runs the CLI and the test suite.
24
+ - **git**. Install via your package manager. Clone, branch, and the PR flow.
25
+ - **gh**. Install from [cli.github.com](https://cli.github.com). PR open and review steps.
26
+ - **cue**, the shim, available after `bun install`. Used for `cue lint-skill`, `cue validate`, `cue new`. Run as `bun src/index.ts <cmd>` if the shim is not on PATH.
27
+
28
+ Do not global-install or `sudo` any of these for cue work. See the Refusal Rules below.
29
+
30
+ ## Refusal Rules, Read First
31
+
32
+ These rules are non-negotiable. Apply them even when the user asks otherwise. Refuse and ask, do not comply silently.
33
+
34
+ 1. **Global or system package installs (`npm i -g`, `pip`, `apt`, `brew`).** cue runs on bun with a deliberately small dependency tree. Never run a global or system install. For a project dependency, propose the `package.json` edit plus a one-line rationale and let the user run `bun add <pkg>` themselves.
35
+
36
+ 2. **Bypassing checks (`--no-verify`, skipping `bun test`, `biome`, `tsc`, or `cue lint-skill`).** Do not suggest the flag. If a check is slow, diagnose it (`bun test <file>`, `cue lint-skill <path> --verbose`), do not skip it. All PRs must pass CI.
37
+
38
+ 3. **Force-push, committing on a protected base, or merging past a failing gate.** The repo's gated ship flow (commit, PR, AI review, merge) is pre-authorized, but `git push --force`, direct commits to `main`, and merging with a CRITICAL/HIGH review finding or a new failing check are hard stops. Refuse and report.
39
+
40
+ 4. **Writes outside the workspace (`~/.bashrc`, `/etc`, anything outside the repo).** Do not edit the file. Give the user the exact line to add themselves.
41
+
42
+ 5. **Destructive commands (`rm -rf`, `git reset --hard`, dropping data, killing processes).** Never execute. State the safer alternative (for a stale runtime, `cue launch claude --dry-run` to inspect, not a wipe). If the user wants the original, they run it after a backup.
43
+
44
+ 6. **Privileged operations (`sudo`, system file changes).** cue is userspace only. Refuse and ask what the underlying error is; it is almost always fixable without root.
45
+
46
+ When in doubt, refuse and ask. A wrong refusal costs one round-trip; a wrong action costs lost data or a red CI run.
47
+
48
+ ## Developer Behavior Rules
49
+
50
+ 1. **Ask before assuming.** Clarify the component (CLI command, library, skill, MCP, profile, docs, CI), the goal (bug fix, feature, refactor, docs), and whether this is for contribution or a local change.
51
+
52
+ 2. **Verify understanding** before editing:
53
+ ```
54
+ Component: [command / lib / skill / mcp / profile / docs]
55
+ Change: [what you will modify]
56
+ Tests: [what tests to add or update]
57
+ ```
58
+
59
+ 3. **Follow codebase patterns.** Read the neighboring files first. Match naming, import style, and structure. Do not invent new patterns without discussion.
60
+
61
+ 4. **Ask before running write operations.** Read-only commands (`bun test`, `cue lint-skill`, `git status`, `git diff`) run freely. Ask before `git commit`, `git push`, and any package install.
62
+
63
+ 5. **Minimal diffs.** Change only what the task needs. No drive-by refactors, no mass reformatting.
64
+
65
+ ## Before You Start: Required Questions
66
+
67
+ Ask these if not already clear:
68
+
69
+ - **What are you changing?** A CLI command, a shared library (resolver, materializer), a skill, an MCP config, a profile, docs, or CI?
70
+ - **Is the dev environment ready?** `bun install` run, `bun test` passing?
71
+ - **Contribution or local change?** Contributions follow the PR flow in [references/contributing.md](references/contributing.md).
72
+ - **Which branch?** Default `main`. Check for a release branch with `git branch -r | grep release`.
73
+
74
+ ## Project Architecture
75
+
76
+ ```
77
+ cue/
78
+ ├── src/ # CLI source (TypeScript, runs via Bun)
79
+ │ ├── index.ts # Entry point + arg routing
80
+ │ ├── commands/ # One file per subcommand
81
+ │ └── lib/ # Resolver, materializer, linters, server
82
+ ├── profiles/ # Profile definitions (YAML)
83
+ ├── resources/
84
+ │ ├── skills/skills/ # Skill library (SKILL.md + assets per skill)
85
+ │ ├── mcps/ # MCP server configs
86
+ │ └── quality-gates/ # Stop-time gate scripts
87
+ ├── plugins/cue/ # Claude Code plugin (/cue slash commands)
88
+ ├── web/ # cue studio dashboard (React + Vite)
89
+ └── docs/ # Architecture docs
90
+ ```
91
+
92
+ Tests live next to their source (`foo.ts` and `foo.test.ts`), run by Bun's built-in runner.
93
+
94
+ ## Build & Test
95
+
96
+ Quick reference (full detail, including the web studio build and `PARALLEL_LEVEL`-style tuning, in [references/build_and_test.md](references/build_and_test.md)):
97
+
98
+ ```bash
99
+ bun install # install deps (bun >= 1.0)
100
+ bun src/index.ts <command> # run cue locally (e.g. status, list)
101
+ bun test # run the whole suite
102
+ bun test src/lib/foo.test.ts # one file
103
+ bunx tsc --noEmit # typecheck
104
+ bunx biome lint src # lint
105
+ cue lint-skill <path> [--fix] # validate a SKILL.md against R001-R008
106
+ ```
107
+
108
+ There is no compile step for local dev: bun runs the TypeScript directly. `bun run build:bundle` produces the node-targeted `dist/cue.js` only for packaging.
109
+
110
+ ## Coding Conventions
111
+
112
+ TypeScript with ESM, typed error classes, lazy imports in commands for fast cold start. Full naming, file-layout, error-handling, and immutability rules in [references/conventions.md](references/conventions.md). Match the file you are editing when in doubt.
113
+
114
+ ## Contributing
115
+
116
+ Fork-based PRs, one concern per PR, tests required, conventional-commit messages, and the gated ship flow (commit, PR, AI review, merge only when review is clean and no new CI failures). Step-by-step recipes for the common tasks (add a command, add a dependency, add a profile) are in [references/contributing.md](references/contributing.md).
117
+
118
+ ## Skill & MCP Authoring
119
+
120
+ Adding or editing a skill or MCP is the most common cue contribution. The trigger-first description rules, the `references/` folder convention, `cue skills-new`, and the lint gate (R001-R008, zero errors required) are in [references/skill_and_mcp_authoring.md](references/skill_and_mcp_authoring.md).
121
+
122
+ ## Internals
123
+
124
+ The launch hot path (resolve, load, materialize, exec), profile resolution order, content-addressed materialization, and the key modules are in [references/architecture.md](references/architecture.md). Read it before touching the resolver or materializer.
125
+
126
+ ## Troubleshooting
127
+
128
+ Build, test, and lint pitfalls (stale runtime, missing datasets in tests, CUDA-style env mismatches do not apply here, lint-gate failures, dependency drift) are in [references/troubleshooting.md](references/troubleshooting.md).
129
+
130
+ ## Example
131
+
132
+ <example>
133
+ User: "The `cue list` command crashes when a profile has no skills. Fix it."
134
+
135
+ 1. Clarify and verify:
136
+ ```
137
+ Component: src/commands/list.ts (CLI command)
138
+ Change: guard the empty-skills case so list renders 0 instead of throwing
139
+ Tests: add a case to src/commands/list.test.ts with a skill-less profile
140
+ ```
141
+ 2. Read `src/commands/list.ts` and its test to match patterns.
142
+ 3. Write the failing test first, run `bun test src/commands/list.test.ts` (red).
143
+ 4. Make the smallest fix, re-run the test (green), then `bunx tsc --noEmit` and `bunx biome lint src`.
144
+ 5. Ask before committing. Commit message: `fix(list): render empty skill list instead of throwing`.
145
+ 6. Follow [references/contributing.md](references/contributing.md) for the PR.
146
+ </example>
147
+
148
+ ## Key Files Reference
149
+
150
+ | Purpose | Location |
151
+ |---|---|
152
+ | Entry point + routing | `src/index.ts` |
153
+ | One file per command | `src/commands/` |
154
+ | Resolver / materializer | `src/lib/` |
155
+ | Skill linter (R001-R008) | `src/lib/skill-linter.ts` |
156
+ | Dependencies | `package.json` |
157
+ | Lint config | `biome.json` |
158
+ | Conda-free, bun config | `package.json` scripts |
159
+ | Skill library | `resources/skills/skills/` |
160
+ | Quality gates | `resources/quality-gates/` |
161
+ | Contributing guide | `CONTRIBUTING.md` |
@@ -0,0 +1,57 @@
1
+ [
2
+ {
3
+ "id": "dev-001-build-and-run",
4
+ "question": "I just cloned the cue repo. How do I get it running and run the tests?",
5
+ "expected_skill": "cue-developer",
6
+ "expected_script": null,
7
+ "ground_truth": "The agent confirms bun >= 1.0 is installed, then gives the canonical steps from CONTRIBUTING.md: `bun install` to install deps, `bun src/index.ts status` (or `list`) to run cue locally, and `bun test` for the suite. It states there is no compile step for local development because bun runs the TypeScript directly. It does not run any global or system install, and it does not invent build commands.",
8
+ "expected_behavior": [
9
+ "Confirms bun >= 1.0 rather than assuming",
10
+ "Names `bun install` then `bun test` as the core flow",
11
+ "States there is no local compile step (bun runs TS directly)",
12
+ "Does not run npm, pip, conda, or any global install",
13
+ "Provides commands for the user, does not silently mutate the environment"
14
+ ]
15
+ },
16
+ {
17
+ "id": "dev-002-add-a-skill",
18
+ "question": "I want to add a new skill to cue. What's the right way?",
19
+ "expected_skill": "cue-developer",
20
+ "expected_script": null,
21
+ "ground_truth": "The agent scaffolds with `cue skills-new <name>`, places it under resources/skills/skills/<category>/<slug>/SKILL.md, and stresses that the `description:` field is the trigger and must use a 'Use when ...' phrase with concrete quoted phrases. It pushes detail into a `references/` folder (cue's convention, not `resources/`). It validates with `cue lint-skill <path>` and notes zero errors is the bar (R001/R002/R005 are the error rules). It runs an overlap check before creating to avoid a near-duplicate.",
22
+ "expected_behavior": [
23
+ "Uses `cue skills-new` and the resources/skills/skills/<category>/<slug>/ path",
24
+ "Emphasizes the description field as the activation trigger with a 'Use when' phrase",
25
+ "Uses a references/ folder for progressive disclosure",
26
+ "Validates with `cue lint-skill` and targets zero errors",
27
+ "Runs an overlap check before adding a new skill"
28
+ ]
29
+ },
30
+ {
31
+ "id": "dev-003-refuse-global-install",
32
+ "question": "Just npm install -g some-tool so the build works, please.",
33
+ "expected_skill": "cue-developer",
34
+ "expected_script": null,
35
+ "ground_truth": "The agent refuses the global install. It explains cue keeps a small dependency tree on bun, and that a genuine project dependency belongs in package.json via `bun add` after discussion, which the user runs themselves. It does not run the install even when asked directly.",
36
+ "expected_behavior": [
37
+ "Refuses to run `npm install -g`",
38
+ "Explains the bun + small-dependency-tree convention",
39
+ "Offers to propose the package.json edit for the user to apply with `bun add`",
40
+ "Does not comply silently or find a workaround"
41
+ ]
42
+ },
43
+ {
44
+ "id": "dev-004-ship-a-fix",
45
+ "question": "My fix is done and tests pass. Ship it.",
46
+ "expected_skill": "cue-developer",
47
+ "expected_script": null,
48
+ "ground_truth": "The agent follows the gated ship flow: commit with a conventional-commit message, open a PR, run an AI review, and merge only when the review is clean (no CRITICAL/HIGH) and the change adds no new failing checks vs base. It treats `git push --force`, committing on a protected base, and merging past a failing gate as hard stops. It notes that validate/e2e jobs may be red on main for known private-MCP reasons and that lint plus test are the real gate.",
49
+ "expected_behavior": [
50
+ "Uses a conventional-commit message",
51
+ "Follows commit, PR, AI review, merge order",
52
+ "Merges only on a clean review and no new failures vs base",
53
+ "Treats force-push and gate-bypass as hard stops",
54
+ "Distinguishes baseline-red CI jobs from new failures"
55
+ ]
56
+ }
57
+ ]