cue-ai 0.9.4 → 0.10.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 (717) hide show
  1. package/CHANGELOG.md +59 -0
  2. package/README.md +220 -26
  3. package/dist/cue.js +13046 -7369
  4. package/get.sh +37 -20
  5. package/install.sh +45 -34
  6. package/package.json +3 -3
  7. package/plugins/cue/.claude-plugin/plugin.json +19 -0
  8. package/profiles/SCHEMA.md +43 -1
  9. package/profiles/_types.ts +46 -4
  10. package/profiles/aws/profile.yaml +54 -0
  11. package/profiles/backend/profile.yaml +13 -3
  12. package/profiles/claude-ads/profile.yaml +151 -0
  13. package/profiles/commerce/profile.yaml +5 -1
  14. package/profiles/core/profile.yaml +54 -27
  15. package/profiles/creativity/profile.yaml +1 -0
  16. package/profiles/full/profile.yaml +7 -1
  17. package/profiles/google-ads/profile.yaml +5 -0
  18. package/profiles/gstack/profile.yaml +3 -1
  19. package/profiles/headroom/README.md +38 -0
  20. package/profiles/headroom/profile.yaml +45 -0
  21. package/profiles/hostinger/profile.yaml +1 -0
  22. package/profiles/legal/profile.yaml +48 -0
  23. package/profiles/marketing/profile.yaml +1 -0
  24. package/profiles/medusa-vite/profile.yaml +1 -34
  25. package/profiles/ops/profile.yaml +11 -3
  26. package/profiles/postizz/profile.yaml +4 -0
  27. package/profiles/readme-writer/profile.yaml +2 -1
  28. package/profiles/research/profile.yaml +1 -0
  29. package/profiles/ros2/profile.yaml +31 -0
  30. package/profiles/schema.json +76 -4
  31. package/profiles/seo/profile.yaml +14 -0
  32. package/profiles/supercomputer/profile.yaml +1 -0
  33. package/profiles/video/profile.yaml +1 -0
  34. package/resources/mcps/configs/claude.sanitized.json +32 -0
  35. package/resources/mcps/configs/codex.sanitized.json +12 -0
  36. package/resources/skills/skills/browser/agent-browser/SKILL.md +6 -1
  37. package/resources/skills/skills/browser/lightpanda/SKILL.md +1 -0
  38. package/resources/skills/skills/browser/playwright/SKILL.md +1 -0
  39. package/resources/skills/skills/career/resume-version-manager/SKILL.md +2 -2
  40. package/resources/skills/skills/content/pdf/SKILL.md +1 -1
  41. package/resources/skills/skills/content/trend-to-thread/SKILL.md +1 -0
  42. package/resources/skills/skills/deployment/coolify/SKILL.md +8 -0
  43. package/resources/skills/skills/design/banana/SKILL.md +0 -30
  44. package/resources/skills/skills/design/design-taste-frontend/SKILL.md +1 -1
  45. package/resources/skills/skills/design/remotion-best-practices/rules/mapbox.md +1 -1
  46. package/resources/skills/skills/design/taste-skill-v1/SKILL.md +1 -1
  47. package/resources/skills/skills/design/ui-ux-pro-max/SKILL.md +2 -2
  48. package/resources/skills/skills/gstack/benchmark/SKILL.md +1 -1
  49. package/resources/skills/skills/gstack/design-html/SKILL.md +3 -2
  50. package/resources/skills/skills/gstack/gstack-upgrade/SKILL.md +2 -1
  51. package/resources/skills/skills/gstack/learn/SKILL.md +2 -1
  52. package/resources/skills/skills/gstack/retro/SKILL.md +1 -1
  53. package/resources/skills/skills/gstack/setup-gbrain/SKILL.md +4 -2
  54. package/resources/skills/skills/gstack/sync-gbrain/SKILL.md +3 -1
  55. package/resources/skills/skills/hostinger/dns/SKILL.md +1 -0
  56. package/resources/skills/skills/hostinger/domains/SKILL.md +1 -0
  57. package/resources/skills/skills/hostinger/hosting/SKILL.md +1 -0
  58. package/resources/skills/skills/hostinger/vps/SKILL.md +1 -0
  59. package/resources/skills/skills/legal/legal/SKILL.md +94 -0
  60. package/resources/skills/skills/legal/legal-agreement/SKILL.md +418 -0
  61. package/resources/skills/skills/legal/legal-compare/SKILL.md +177 -0
  62. package/resources/skills/skills/legal/legal-compliance/SKILL.md +370 -0
  63. package/resources/skills/skills/legal/legal-freelancer/SKILL.md +454 -0
  64. package/resources/skills/skills/legal/legal-missing/SKILL.md +232 -0
  65. package/resources/skills/skills/legal/legal-nda/SKILL.md +283 -0
  66. package/resources/skills/skills/legal/legal-negotiate/SKILL.md +248 -0
  67. package/resources/skills/skills/legal/legal-plain/SKILL.md +169 -0
  68. package/resources/skills/skills/legal/legal-privacy/SKILL.md +327 -0
  69. package/resources/skills/skills/legal/legal-report-pdf/SKILL.md +400 -0
  70. package/resources/skills/skills/legal/legal-report-pdf/scripts/generate_legal_pdf.py +446 -0
  71. package/resources/skills/skills/legal/legal-report-pdf/templates/contract-review-template.md +190 -0
  72. package/resources/skills/skills/legal/legal-review/SKILL.md +202 -0
  73. package/resources/skills/skills/legal/legal-risks/SKILL.md +171 -0
  74. package/resources/skills/skills/legal/legal-terms/SKILL.md +263 -0
  75. package/resources/skills/skills/marketing/google-ads-audit/SKILL.md +1 -1
  76. package/resources/skills/skills/marketing/icp-research-assistant/SKILL.md +1 -1
  77. package/resources/skills/skills/marketing/programmatic-seo-builder/SKILL.md +1 -1
  78. package/resources/skills/skills/media/design-guide/SKILL.md +2 -2
  79. package/resources/skills/skills/media/logo-creator/SKILL.md +1 -1
  80. package/resources/skills/skills/media/multi-angle-shots/SKILL.md +2 -2
  81. package/resources/skills/skills/media/nano-banana/SKILL.md +1 -1
  82. package/resources/skills/skills/medusa/building-with-medusa/SKILL.md +1 -1
  83. package/resources/skills/skills/medusa/higgsfield-to-medusa-products/SKILL.md +1 -0
  84. package/resources/skills/skills/medusa/marva-blog-author/SKILL.md +1 -0
  85. package/resources/skills/skills/medusa/woocommerce-to-medusa-import/SKILL.md +1 -0
  86. package/resources/skills/skills/meta/autoresearch/SKILL.md +5 -0
  87. package/resources/skills/skills/meta/prompt-master/SKILL.md +5 -5
  88. package/resources/skills/skills/meta/smart-loader/scripts/smart-lookup.sh +43 -0
  89. package/resources/skills/skills/orchestration/oh-my-agent/SKILL.md +1 -0
  90. package/resources/skills/skills/polymarket/polymarket-predictions-audit/SKILL.md +1 -0
  91. package/resources/skills/skills/polymarket/polymarket-research/SKILL.md +1 -0
  92. package/resources/skills/skills/research/keyword-research/SKILL.md +1 -1
  93. package/resources/skills/skills/research/openai-docs/SKILL.md +1 -0
  94. package/resources/skills/skills/research/trendradar/SKILL.md +2 -1
  95. package/resources/skills/skills/review/code-review/SKILL.md +1 -1
  96. package/resources/skills/skills/review/security-review/SKILL.md +1 -1
  97. package/resources/skills/skills/robotics/ros-skill/LICENSE +201 -0
  98. package/resources/skills/skills/robotics/ros-skill/README.md +113 -0
  99. package/resources/skills/skills/robotics/ros-skill/SKILL.md +312 -0
  100. package/resources/skills/skills/robotics/ros-skill/examples/openclaw.md +135 -0
  101. package/resources/skills/skills/robotics/ros-skill/examples/sensor-monitor.md +60 -0
  102. package/resources/skills/skills/robotics/ros-skill/examples/turtlesim.md +82 -0
  103. package/resources/skills/skills/robotics/ros-skill/references/COMMANDS.md +550 -0
  104. package/resources/skills/skills/robotics/ros-skill/scripts/ros_cli.py +861 -0
  105. package/resources/skills/skills/rust/async-tokio/SKILL.md +5 -0
  106. package/resources/skills/skills/rust/axum-api/SKILL.md +5 -0
  107. package/resources/skills/skills/rust/bacon-watch/SKILL.md +5 -0
  108. package/resources/skills/skills/rust/bevy/SKILL.md +5 -0
  109. package/resources/skills/skills/rust/bindgen/SKILL.md +5 -0
  110. package/resources/skills/skills/rust/cargo-audit/SKILL.md +5 -0
  111. package/resources/skills/skills/rust/cargo-basics/SKILL.md +5 -0
  112. package/resources/skills/skills/rust/cargo-chef/SKILL.md +4 -0
  113. package/resources/skills/skills/rust/cargo-edit/SKILL.md +5 -0
  114. package/resources/skills/skills/rust/cargo-expand/SKILL.md +5 -0
  115. package/resources/skills/skills/rust/cargo-flamegraph/SKILL.md +5 -0
  116. package/resources/skills/skills/rust/cargo-fuzz/SKILL.md +4 -0
  117. package/resources/skills/skills/rust/cargo-hack/SKILL.md +4 -0
  118. package/resources/skills/skills/rust/cargo-msrv/SKILL.md +4 -0
  119. package/resources/skills/skills/rust/cargo-mutants/SKILL.md +5 -0
  120. package/resources/skills/skills/rust/cargo-nextest/SKILL.md +5 -0
  121. package/resources/skills/skills/rust/cargo-readme/SKILL.md +4 -0
  122. package/resources/skills/skills/rust/cbindgen/SKILL.md +4 -0
  123. package/resources/skills/skills/rust/chisel-tool/SKILL.md +4 -0
  124. package/resources/skills/skills/rust/clap-cli/SKILL.md +5 -0
  125. package/resources/skills/skills/rust/clippy-and-fmt/SKILL.md +5 -0
  126. package/resources/skills/skills/rust/cross-compile/SKILL.md +5 -0
  127. package/resources/skills/skills/rust/embedded/SKILL.md +5 -0
  128. package/resources/skills/skills/rust/error-handling/SKILL.md +4 -0
  129. package/resources/skills/skills/rust/just-runner/SKILL.md +5 -0
  130. package/resources/skills/skills/rust/mdbook/SKILL.md +4 -0
  131. package/resources/skills/skills/rust/napi-rs/SKILL.md +4 -0
  132. package/resources/skills/skills/rust/no-std/SKILL.md +4 -0
  133. package/resources/skills/skills/rust/property-testing/SKILL.md +5 -0
  134. package/resources/skills/skills/rust/pyo3/SKILL.md +5 -0
  135. package/resources/skills/skills/rust/ratatui-tui/SKILL.md +4 -0
  136. package/resources/skills/skills/rust/release-plz/SKILL.md +4 -0
  137. package/resources/skills/skills/rust/reqwest/SKILL.md +5 -0
  138. package/resources/skills/skills/rust/sccache/SKILL.md +4 -0
  139. package/resources/skills/skills/rust/serde/SKILL.md +5 -0
  140. package/resources/skills/skills/rust/snapshot-testing/SKILL.md +4 -0
  141. package/resources/skills/skills/rust/sqlx-cli/SKILL.md +5 -0
  142. package/resources/skills/skills/rust/tracing/SKILL.md +5 -0
  143. package/resources/skills/skills/rust/typos-spellcheck/SKILL.md +4 -0
  144. package/resources/skills/skills/rust/uniffi/SKILL.md +4 -0
  145. package/resources/skills/skills/rust/wasm-rust/SKILL.md +5 -0
  146. package/resources/skills/skills/test/scenario-explorer/SKILL.md +5 -0
  147. package/resources/skills/skills/tools/headroom/SKILL.md +105 -0
  148. package/resources/skills/skills/vercel/UPSTREAM.md +12 -0
  149. package/resources/skills/skills/vercel/composition-patterns/AGENTS.md +946 -0
  150. package/resources/skills/skills/vercel/composition-patterns/README.md +60 -0
  151. package/resources/skills/skills/vercel/composition-patterns/SKILL.md +89 -0
  152. package/resources/skills/skills/vercel/composition-patterns/metadata.json +11 -0
  153. package/resources/skills/skills/vercel/composition-patterns/rules/_sections.md +29 -0
  154. package/resources/skills/skills/vercel/composition-patterns/rules/_template.md +24 -0
  155. package/resources/skills/skills/vercel/composition-patterns/rules/architecture-avoid-boolean-props.md +100 -0
  156. package/resources/skills/skills/vercel/composition-patterns/rules/architecture-compound-components.md +112 -0
  157. package/resources/skills/skills/vercel/composition-patterns/rules/patterns-children-over-render-props.md +87 -0
  158. package/resources/skills/skills/vercel/composition-patterns/rules/patterns-explicit-variants.md +100 -0
  159. package/resources/skills/skills/vercel/composition-patterns/rules/react19-no-forwardref.md +42 -0
  160. package/resources/skills/skills/vercel/composition-patterns/rules/state-context-interface.md +191 -0
  161. package/resources/skills/skills/vercel/composition-patterns/rules/state-decouple-implementation.md +113 -0
  162. package/resources/skills/skills/vercel/composition-patterns/rules/state-lift-state.md +125 -0
  163. package/resources/skills/skills/vercel/deploy-to-vercel/SKILL.md +296 -0
  164. package/resources/skills/skills/vercel/deploy-to-vercel/resources/deploy-codex.sh +301 -0
  165. package/resources/skills/skills/vercel/deploy-to-vercel/resources/deploy.sh +301 -0
  166. package/resources/skills/skills/vercel/react-best-practices/AGENTS.md +3810 -0
  167. package/resources/skills/skills/vercel/react-best-practices/README.md +123 -0
  168. package/resources/skills/skills/vercel/react-best-practices/SKILL.md +149 -0
  169. package/resources/skills/skills/vercel/react-best-practices/metadata.json +15 -0
  170. package/resources/skills/skills/vercel/react-best-practices/rules/_sections.md +46 -0
  171. package/resources/skills/skills/vercel/react-best-practices/rules/_template.md +28 -0
  172. package/resources/skills/skills/vercel/react-best-practices/rules/advanced-effect-event-deps.md +56 -0
  173. package/resources/skills/skills/vercel/react-best-practices/rules/advanced-event-handler-refs.md +55 -0
  174. package/resources/skills/skills/vercel/react-best-practices/rules/advanced-init-once.md +42 -0
  175. package/resources/skills/skills/vercel/react-best-practices/rules/advanced-use-latest.md +39 -0
  176. package/resources/skills/skills/vercel/react-best-practices/rules/async-api-routes.md +38 -0
  177. package/resources/skills/skills/vercel/react-best-practices/rules/async-cheap-condition-before-await.md +37 -0
  178. package/resources/skills/skills/vercel/react-best-practices/rules/async-defer-await.md +82 -0
  179. package/resources/skills/skills/vercel/react-best-practices/rules/async-dependencies.md +51 -0
  180. package/resources/skills/skills/vercel/react-best-practices/rules/async-parallel.md +28 -0
  181. package/resources/skills/skills/vercel/react-best-practices/rules/async-suspense-boundaries.md +99 -0
  182. package/resources/skills/skills/vercel/react-best-practices/rules/bundle-analyzable-paths.md +63 -0
  183. package/resources/skills/skills/vercel/react-best-practices/rules/bundle-barrel-imports.md +60 -0
  184. package/resources/skills/skills/vercel/react-best-practices/rules/bundle-conditional.md +31 -0
  185. package/resources/skills/skills/vercel/react-best-practices/rules/bundle-defer-third-party.md +49 -0
  186. package/resources/skills/skills/vercel/react-best-practices/rules/bundle-dynamic-imports.md +35 -0
  187. package/resources/skills/skills/vercel/react-best-practices/rules/bundle-preload.md +50 -0
  188. package/resources/skills/skills/vercel/react-best-practices/rules/client-event-listeners.md +74 -0
  189. package/resources/skills/skills/vercel/react-best-practices/rules/client-localstorage-schema.md +71 -0
  190. package/resources/skills/skills/vercel/react-best-practices/rules/client-passive-event-listeners.md +48 -0
  191. package/resources/skills/skills/vercel/react-best-practices/rules/client-swr-dedup.md +56 -0
  192. package/resources/skills/skills/vercel/react-best-practices/rules/js-batch-dom-css.md +107 -0
  193. package/resources/skills/skills/vercel/react-best-practices/rules/js-cache-function-results.md +80 -0
  194. package/resources/skills/skills/vercel/react-best-practices/rules/js-cache-property-access.md +28 -0
  195. package/resources/skills/skills/vercel/react-best-practices/rules/js-cache-storage.md +70 -0
  196. package/resources/skills/skills/vercel/react-best-practices/rules/js-combine-iterations.md +32 -0
  197. package/resources/skills/skills/vercel/react-best-practices/rules/js-early-exit.md +50 -0
  198. package/resources/skills/skills/vercel/react-best-practices/rules/js-flatmap-filter.md +60 -0
  199. package/resources/skills/skills/vercel/react-best-practices/rules/js-hoist-regexp.md +45 -0
  200. package/resources/skills/skills/vercel/react-best-practices/rules/js-index-maps.md +37 -0
  201. package/resources/skills/skills/vercel/react-best-practices/rules/js-length-check-first.md +49 -0
  202. package/resources/skills/skills/vercel/react-best-practices/rules/js-min-max-loop.md +82 -0
  203. package/resources/skills/skills/vercel/react-best-practices/rules/js-request-idle-callback.md +105 -0
  204. package/resources/skills/skills/vercel/react-best-practices/rules/js-set-map-lookups.md +24 -0
  205. package/resources/skills/skills/vercel/react-best-practices/rules/js-tosorted-immutable.md +57 -0
  206. package/resources/skills/skills/vercel/react-best-practices/rules/rendering-activity.md +26 -0
  207. package/resources/skills/skills/vercel/react-best-practices/rules/rendering-animate-svg-wrapper.md +47 -0
  208. package/resources/skills/skills/vercel/react-best-practices/rules/rendering-conditional-render.md +40 -0
  209. package/resources/skills/skills/vercel/react-best-practices/rules/rendering-content-visibility.md +38 -0
  210. package/resources/skills/skills/vercel/react-best-practices/rules/rendering-hoist-jsx.md +46 -0
  211. package/resources/skills/skills/vercel/react-best-practices/rules/rendering-hydration-no-flicker.md +82 -0
  212. package/resources/skills/skills/vercel/react-best-practices/rules/rendering-hydration-suppress-warning.md +30 -0
  213. package/resources/skills/skills/vercel/react-best-practices/rules/rendering-resource-hints.md +85 -0
  214. package/resources/skills/skills/vercel/react-best-practices/rules/rendering-script-defer-async.md +68 -0
  215. package/resources/skills/skills/vercel/react-best-practices/rules/rendering-svg-precision.md +28 -0
  216. package/resources/skills/skills/vercel/react-best-practices/rules/rendering-usetransition-loading.md +75 -0
  217. package/resources/skills/skills/vercel/react-best-practices/rules/rerender-defer-reads.md +39 -0
  218. package/resources/skills/skills/vercel/react-best-practices/rules/rerender-dependencies.md +45 -0
  219. package/resources/skills/skills/vercel/react-best-practices/rules/rerender-derived-state-no-effect.md +40 -0
  220. package/resources/skills/skills/vercel/react-best-practices/rules/rerender-derived-state.md +29 -0
  221. package/resources/skills/skills/vercel/react-best-practices/rules/rerender-functional-setstate.md +74 -0
  222. package/resources/skills/skills/vercel/react-best-practices/rules/rerender-lazy-state-init.md +58 -0
  223. package/resources/skills/skills/vercel/react-best-practices/rules/rerender-memo-with-default-value.md +38 -0
  224. package/resources/skills/skills/vercel/react-best-practices/rules/rerender-memo.md +44 -0
  225. package/resources/skills/skills/vercel/react-best-practices/rules/rerender-move-effect-to-event.md +45 -0
  226. package/resources/skills/skills/vercel/react-best-practices/rules/rerender-no-inline-components.md +82 -0
  227. package/resources/skills/skills/vercel/react-best-practices/rules/rerender-simple-expression-in-memo.md +35 -0
  228. package/resources/skills/skills/vercel/react-best-practices/rules/rerender-split-combined-hooks.md +64 -0
  229. package/resources/skills/skills/vercel/react-best-practices/rules/rerender-transitions.md +40 -0
  230. package/resources/skills/skills/vercel/react-best-practices/rules/rerender-use-deferred-value.md +59 -0
  231. package/resources/skills/skills/vercel/react-best-practices/rules/rerender-use-ref-transient-values.md +73 -0
  232. package/resources/skills/skills/vercel/react-best-practices/rules/server-after-nonblocking.md +73 -0
  233. package/resources/skills/skills/vercel/react-best-practices/rules/server-auth-actions.md +96 -0
  234. package/resources/skills/skills/vercel/react-best-practices/rules/server-cache-lru.md +41 -0
  235. package/resources/skills/skills/vercel/react-best-practices/rules/server-cache-react.md +76 -0
  236. package/resources/skills/skills/vercel/react-best-practices/rules/server-dedup-props.md +65 -0
  237. package/resources/skills/skills/vercel/react-best-practices/rules/server-hoist-static-io.md +149 -0
  238. package/resources/skills/skills/vercel/react-best-practices/rules/server-no-shared-module-state.md +50 -0
  239. package/resources/skills/skills/vercel/react-best-practices/rules/server-parallel-fetching.md +83 -0
  240. package/resources/skills/skills/vercel/react-best-practices/rules/server-parallel-nested-fetching.md +34 -0
  241. package/resources/skills/skills/vercel/react-best-practices/rules/server-serialization.md +38 -0
  242. package/resources/skills/skills/vercel/react-native-skills/AGENTS.md +2897 -0
  243. package/resources/skills/skills/vercel/react-native-skills/README.md +165 -0
  244. package/resources/skills/skills/vercel/react-native-skills/SKILL.md +121 -0
  245. package/resources/skills/skills/vercel/react-native-skills/metadata.json +16 -0
  246. package/resources/skills/skills/vercel/react-native-skills/rules/_sections.md +86 -0
  247. package/resources/skills/skills/vercel/react-native-skills/rules/_template.md +28 -0
  248. package/resources/skills/skills/vercel/react-native-skills/rules/animation-derived-value.md +53 -0
  249. package/resources/skills/skills/vercel/react-native-skills/rules/animation-gesture-detector-press.md +95 -0
  250. package/resources/skills/skills/vercel/react-native-skills/rules/animation-gpu-properties.md +65 -0
  251. package/resources/skills/skills/vercel/react-native-skills/rules/design-system-compound-components.md +66 -0
  252. package/resources/skills/skills/vercel/react-native-skills/rules/fonts-config-plugin.md +71 -0
  253. package/resources/skills/skills/vercel/react-native-skills/rules/imports-design-system-folder.md +68 -0
  254. package/resources/skills/skills/vercel/react-native-skills/rules/js-hoist-intl.md +61 -0
  255. package/resources/skills/skills/vercel/react-native-skills/rules/list-performance-callbacks.md +44 -0
  256. package/resources/skills/skills/vercel/react-native-skills/rules/list-performance-function-references.md +132 -0
  257. package/resources/skills/skills/vercel/react-native-skills/rules/list-performance-images.md +53 -0
  258. package/resources/skills/skills/vercel/react-native-skills/rules/list-performance-inline-objects.md +97 -0
  259. package/resources/skills/skills/vercel/react-native-skills/rules/list-performance-item-expensive.md +94 -0
  260. package/resources/skills/skills/vercel/react-native-skills/rules/list-performance-item-memo.md +82 -0
  261. package/resources/skills/skills/vercel/react-native-skills/rules/list-performance-item-types.md +104 -0
  262. package/resources/skills/skills/vercel/react-native-skills/rules/list-performance-virtualize.md +67 -0
  263. package/resources/skills/skills/vercel/react-native-skills/rules/monorepo-native-deps-in-app.md +46 -0
  264. package/resources/skills/skills/vercel/react-native-skills/rules/monorepo-single-dependency-versions.md +63 -0
  265. package/resources/skills/skills/vercel/react-native-skills/rules/navigation-native-navigators.md +188 -0
  266. package/resources/skills/skills/vercel/react-native-skills/rules/react-compiler-destructure-functions.md +50 -0
  267. package/resources/skills/skills/vercel/react-native-skills/rules/react-compiler-reanimated-shared-values.md +48 -0
  268. package/resources/skills/skills/vercel/react-native-skills/rules/react-state-dispatcher.md +91 -0
  269. package/resources/skills/skills/vercel/react-native-skills/rules/react-state-fallback.md +56 -0
  270. package/resources/skills/skills/vercel/react-native-skills/rules/react-state-minimize.md +65 -0
  271. package/resources/skills/skills/vercel/react-native-skills/rules/rendering-no-falsy-and.md +74 -0
  272. package/resources/skills/skills/vercel/react-native-skills/rules/rendering-text-in-text-component.md +36 -0
  273. package/resources/skills/skills/vercel/react-native-skills/rules/scroll-position-no-state.md +82 -0
  274. package/resources/skills/skills/vercel/react-native-skills/rules/state-ground-truth.md +80 -0
  275. package/resources/skills/skills/vercel/react-native-skills/rules/ui-expo-image.md +66 -0
  276. package/resources/skills/skills/vercel/react-native-skills/rules/ui-image-gallery.md +104 -0
  277. package/resources/skills/skills/vercel/react-native-skills/rules/ui-measure-views.md +78 -0
  278. package/resources/skills/skills/vercel/react-native-skills/rules/ui-menus.md +174 -0
  279. package/resources/skills/skills/vercel/react-native-skills/rules/ui-native-modals.md +77 -0
  280. package/resources/skills/skills/vercel/react-native-skills/rules/ui-pressable.md +61 -0
  281. package/resources/skills/skills/vercel/react-native-skills/rules/ui-safe-area-scroll.md +65 -0
  282. package/resources/skills/skills/vercel/react-native-skills/rules/ui-scrollview-content-inset.md +45 -0
  283. package/resources/skills/skills/vercel/react-native-skills/rules/ui-styling.md +87 -0
  284. package/resources/skills/skills/vercel/react-view-transitions/AGENTS.md +955 -0
  285. package/resources/skills/skills/vercel/react-view-transitions/README.md +42 -0
  286. package/resources/skills/skills/vercel/react-view-transitions/SKILL.md +320 -0
  287. package/resources/skills/skills/vercel/react-view-transitions/metadata.json +12 -0
  288. package/resources/skills/skills/vercel/react-view-transitions/references/css-recipes.md +242 -0
  289. package/resources/skills/skills/vercel/react-view-transitions/references/implementation.md +182 -0
  290. package/resources/skills/skills/vercel/react-view-transitions/references/nextjs.md +176 -0
  291. package/resources/skills/skills/vercel/react-view-transitions/references/patterns.md +262 -0
  292. package/resources/skills/skills/vercel/vercel-cli-with-tokens/SKILL.md +353 -0
  293. package/resources/skills/skills/vercel/vercel-optimize/AGENTS.md +48 -0
  294. package/resources/skills/skills/vercel/vercel-optimize/CONTRIBUTING.md +41 -0
  295. package/resources/skills/skills/vercel/vercel-optimize/README.md +91 -0
  296. package/resources/skills/skills/vercel/vercel-optimize/SKILL.md +322 -0
  297. package/resources/skills/skills/vercel/vercel-optimize/lib/auth-route.mjs +23 -0
  298. package/resources/skills/skills/vercel/vercel-optimize/lib/budget-summary.mjs +182 -0
  299. package/resources/skills/skills/vercel/vercel-optimize/lib/citations.mjs +139 -0
  300. package/resources/skills/skills/vercel/vercel-optimize/lib/cost-coverage.mjs +143 -0
  301. package/resources/skills/skills/vercel/vercel-optimize/lib/dedup-recs.mjs +325 -0
  302. package/resources/skills/skills/vercel/vercel-optimize/lib/deep-dive.mjs +350 -0
  303. package/resources/skills/skills/vercel/vercel-optimize/lib/display-labels.mjs +185 -0
  304. package/resources/skills/skills/vercel/vercel-optimize/lib/extract-claims.mjs +550 -0
  305. package/resources/skills/skills/vercel/vercel-optimize/lib/framework-support.mjs +67 -0
  306. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/build-minutes-fanout.mjs +69 -0
  307. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/cold-start.mjs +66 -0
  308. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/contract.mjs +79 -0
  309. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/cwv-poor.mjs +87 -0
  310. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/external-api-slow.mjs +55 -0
  311. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/hard-gates.mjs +73 -0
  312. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/index.mjs +45 -0
  313. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/isr-overrevalidation.mjs +62 -0
  314. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/middleware-heavy.mjs +51 -0
  315. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/observability-events-attribution.mjs +56 -0
  316. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/platform-bot-protection.mjs +115 -0
  317. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/platform-fluid-compute.mjs +83 -0
  318. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/region-misconfig.mjs +64 -0
  319. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/route-errors.mjs +80 -0
  320. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/scanner-driven.mjs +122 -0
  321. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/select-candidates.mjs +134 -0
  322. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/slow-route.mjs +88 -0
  323. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/types.d.ts +38 -0
  324. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/uncached-route.mjs +93 -0
  325. package/resources/skills/skills/vercel/vercel-optimize/lib/gates/usage-spike-triage.mjs +121 -0
  326. package/resources/skills/skills/vercel/vercel-optimize/lib/grade-recommendation.mjs +155 -0
  327. package/resources/skills/skills/vercel/vercel-optimize/lib/impact-label.mjs +126 -0
  328. package/resources/skills/skills/vercel/vercel-optimize/lib/impact-magnitude.mjs +60 -0
  329. package/resources/skills/skills/vercel/vercel-optimize/lib/investigation-brief.mjs +610 -0
  330. package/resources/skills/skills/vercel/vercel-optimize/lib/observation-safety.mjs +174 -0
  331. package/resources/skills/skills/vercel/vercel-optimize/lib/project-facts.mjs +99 -0
  332. package/resources/skills/skills/vercel/vercel-optimize/lib/queries.mjs +315 -0
  333. package/resources/skills/skills/vercel/vercel-optimize/lib/reconcile-candidates.mjs +372 -0
  334. package/resources/skills/skills/vercel/vercel-optimize/lib/render-report.mjs +955 -0
  335. package/resources/skills/skills/vercel/vercel-optimize/lib/repo-root.mjs +86 -0
  336. package/resources/skills/skills/vercel/vercel-optimize/lib/route-normalize.mjs +220 -0
  337. package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/bot-protection-certainty.mjs +38 -0
  338. package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/cache-tag-invalidation-certainty.mjs +30 -0
  339. package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/count-correct.mjs +52 -0
  340. package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/function-duration-invocations.mjs +38 -0
  341. package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/index.mjs +79 -0
  342. package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/middleware-conflict.mjs +36 -0
  343. package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/missing-citation.mjs +16 -0
  344. package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/pre-release.mjs +74 -0
  345. package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/rate-limit.mjs +67 -0
  346. package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/rendering-mode-mislabel.mjs +38 -0
  347. package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/undeclared-dep.mjs +78 -0
  348. package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/vercel-directive-strip.mjs +37 -0
  349. package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/window-units.mjs +32 -0
  350. package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/cache-components-suspense-dedupe.mjs +109 -0
  351. package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/edge-heavy-import.mjs +94 -0
  352. package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/force-dynamic.mjs +42 -0
  353. package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/headers-in-page.mjs +44 -0
  354. package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/index.mjs +35 -0
  355. package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/large-static-asset.mjs +92 -0
  356. package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/max-age-without-s-maxage.mjs +42 -0
  357. package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/middleware-broad-matcher.mjs +55 -0
  358. package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/missing-cache-headers.mjs +90 -0
  359. package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/prisma-include-tree.mjs +42 -0
  360. package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/region-pin-in-config.mjs +88 -0
  361. package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/source-maps-production.mjs +36 -0
  362. package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/sveltekit-prerender-missing.mjs +43 -0
  363. package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/turbo-force-bypass.mjs +129 -0
  364. package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/unoptimized-image.mjs +113 -0
  365. package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/use-cache-date-stamp.mjs +106 -0
  366. package/resources/skills/skills/vercel/vercel-optimize/lib/support-topics.mjs +355 -0
  367. package/resources/skills/skills/vercel/vercel-optimize/lib/throttle.mjs +273 -0
  368. package/resources/skills/skills/vercel/vercel-optimize/lib/util.mjs +17 -0
  369. package/resources/skills/skills/vercel/vercel-optimize/lib/vercel.mjs +864 -0
  370. package/resources/skills/skills/vercel/vercel-optimize/lib/verify-claim.mjs +1296 -0
  371. package/resources/skills/skills/vercel/vercel-optimize/lib/workspace-resolver.mjs +521 -0
  372. package/resources/skills/skills/vercel/vercel-optimize/metadata.json +14 -0
  373. package/resources/skills/skills/vercel/vercel-optimize/references/candidates.md +176 -0
  374. package/resources/skills/skills/vercel/vercel-optimize/references/data-collection.md +218 -0
  375. package/resources/skills/skills/vercel/vercel-optimize/references/docs-library.json +683 -0
  376. package/resources/skills/skills/vercel/vercel-optimize/references/doctrine.md +105 -0
  377. package/resources/skills/skills/vercel/vercel-optimize/references/observability-plus.md +108 -0
  378. package/resources/skills/skills/vercel/vercel-optimize/references/playbooks/README.md +53 -0
  379. package/resources/skills/skills/vercel/vercel-optimize/references/playbooks/ai-application.md +32 -0
  380. package/resources/skills/skills/vercel/vercel-optimize/references/playbooks/api-service.md +30 -0
  381. package/resources/skills/skills/vercel/vercel-optimize/references/playbooks/content-site.md +30 -0
  382. package/resources/skills/skills/vercel/vercel-optimize/references/playbooks/ecommerce.md +30 -0
  383. package/resources/skills/skills/vercel/vercel-optimize/references/playbooks/marketing.md +30 -0
  384. package/resources/skills/skills/vercel/vercel-optimize/references/playbooks/saas.md +31 -0
  385. package/resources/skills/skills/vercel/vercel-optimize/references/playbooks/sveltekit.md +75 -0
  386. package/resources/skills/skills/vercel/vercel-optimize/references/recommendations.md +203 -0
  387. package/resources/skills/skills/vercel/vercel-optimize/references/scanner-patterns.md +251 -0
  388. package/resources/skills/skills/vercel/vercel-optimize/references/scoring.md +205 -0
  389. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/README.md +46 -0
  390. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/astro-edge-middleware-scope.md +22 -0
  391. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/astro-output-mode-and-isr.md +22 -0
  392. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/auth-preserving-parallelization.md +22 -0
  393. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/bot-protection-product-guardrails.md +22 -0
  394. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/build-minutes-monorepo-fanout.md +23 -0
  395. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/cache-components-static-shell-boundaries.md +22 -0
  396. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/cache-components-suspense-dedupe-pitfall.md +23 -0
  397. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/cdn-cache-auth-safety.md +22 -0
  398. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/cold-start-initialization-bundle.md +22 -0
  399. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/core-web-vitals-client-bottlenecks.md +22 -0
  400. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/database-egress-pooling-region.md +22 -0
  401. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/dynamic-rendering-traps.md +22 -0
  402. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/external-api-critical-path-platform.md +22 -0
  403. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/external-api-critical-path.md +22 -0
  404. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/fast-data-transfer-payloads.md +22 -0
  405. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/fluid-compute-caveats.md +22 -0
  406. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/function-duration-io-and-after.md +22 -0
  407. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/function-invocation-reduction.md +22 -0
  408. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/function-region-misconfiguration-ttfb.md +23 -0
  409. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/image-optimization-cost-control.md +22 -0
  410. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/isr-revalidation-static-generation.md +22 -0
  411. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/middleware-proxy-edge-cost.md +22 -0
  412. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/next-fetch-revalidate-floor.md +22 -0
  413. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/next-font-cls-self-hosting.md +23 -0
  414. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/next-heavy-ui-lazy-load-boundaries.md +23 -0
  415. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/next-image-lcp-preload-sizes.md +23 -0
  416. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/next-route-handler-get-cache-defaults.md +22 -0
  417. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/next-script-third-party-strategy.md +23 -0
  418. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/nextjs-version-cache-semantics.md +22 -0
  419. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/not-found-catchall-request-waste.md +23 -0
  420. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/nuxt-route-rules-cache-isr.md +22 -0
  421. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/observability-events-cost-attribution.md +22 -0
  422. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/post-response-work-waituntil.md +22 -0
  423. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/route-error-durable-offload.md +22 -0
  424. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/route-error-runtime-limits.md +22 -0
  425. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/runtime-cache-reusable-data.md +22 -0
  426. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/sveltekit-isr-prerender-safety.md +22 -0
  427. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/sveltekit-split-cold-start-tradeoff.md +22 -0
  428. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/usage-spike-triage.md +22 -0
  429. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/use-cache-date-stamp-isr-write-amplifier.md +23 -0
  430. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/use-cache-remote-shared-origin-data.md +22 -0
  431. package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/workflow-resumable-stream-routes.md +23 -0
  432. package/resources/skills/skills/vercel/vercel-optimize/references/verification.md +102 -0
  433. package/resources/skills/skills/vercel/vercel-optimize/references/voice.md +76 -0
  434. package/resources/skills/skills/vercel/vercel-optimize/scripts/budget-summary.mjs +56 -0
  435. package/resources/skills/skills/vercel/vercel-optimize/scripts/build-docs.mjs +74 -0
  436. package/resources/skills/skills/vercel/vercel-optimize/scripts/check-citations.mjs +81 -0
  437. package/resources/skills/skills/vercel/vercel-optimize/scripts/check-docs-fresh.mjs +93 -0
  438. package/resources/skills/skills/vercel/vercel-optimize/scripts/collect-signals.mjs +576 -0
  439. package/resources/skills/skills/vercel/vercel-optimize/scripts/collect-sub-agent-outputs.mjs +296 -0
  440. package/resources/skills/skills/vercel/vercel-optimize/scripts/deep-dive.mjs +319 -0
  441. package/resources/skills/skills/vercel/vercel-optimize/scripts/gate-investigations.mjs +166 -0
  442. package/resources/skills/skills/vercel/vercel-optimize/scripts/merge-signals.mjs +192 -0
  443. package/resources/skills/skills/vercel/vercel-optimize/scripts/prepare-investigation-brief.mjs +231 -0
  444. package/resources/skills/skills/vercel/vercel-optimize/scripts/reconcile-candidates.mjs +62 -0
  445. package/resources/skills/skills/vercel/vercel-optimize/scripts/render-report.mjs +437 -0
  446. package/resources/skills/skills/vercel/vercel-optimize/scripts/scan-codebase.mjs +313 -0
  447. package/resources/skills/skills/vercel/vercel-optimize/scripts/verify-and-regen.mjs +346 -0
  448. package/resources/skills/skills/vercel/vercel-optimize/scripts/verify-finding.mjs +19 -0
  449. package/resources/skills/skills/vercel/web-design-guidelines/SKILL.md +39 -0
  450. package/resources/skills/skills/vercel/writing-guidelines/SKILL.md +39 -0
  451. package/src/commands/_index.test.ts +79 -0
  452. package/src/commands/_index.ts +36 -14
  453. package/src/commands/ai.test.ts +113 -0
  454. package/src/commands/ai.ts +4 -5
  455. package/src/commands/ask.test.ts +82 -0
  456. package/src/commands/ask.ts +3 -4
  457. package/src/commands/audit.test.ts +61 -0
  458. package/src/commands/benchmark.test.ts +88 -0
  459. package/src/commands/benchmark.ts +3 -5
  460. package/src/commands/builtin.test.ts +199 -0
  461. package/src/commands/builtin.ts +3 -4
  462. package/src/commands/clean.test.ts +181 -0
  463. package/src/commands/clean.ts +3 -4
  464. package/src/commands/cli.test.ts +11 -3
  465. package/src/commands/cli.ts +3 -4
  466. package/src/commands/cloud.ts +3 -4
  467. package/src/commands/colony-dispatch.test.ts +143 -0
  468. package/src/commands/completions.test.ts +195 -0
  469. package/src/commands/cost.ts +85 -34
  470. package/src/commands/create-profile.test.ts +256 -0
  471. package/src/commands/create-profile.ts +3 -4
  472. package/src/commands/debug.ts +4 -5
  473. package/src/commands/diff.test.ts +64 -0
  474. package/src/commands/diff.ts +3 -4
  475. package/src/commands/discover.ts +10 -14
  476. package/src/commands/docs-facts.test.ts +103 -0
  477. package/src/commands/doctor.test.ts +14 -2
  478. package/src/commands/doctor.ts +27 -22
  479. package/src/commands/eval-behavior.ts +3 -4
  480. package/src/commands/eval.ts +6 -7
  481. package/src/commands/evolve.test.ts +56 -0
  482. package/src/commands/evolve.ts +15 -5
  483. package/src/commands/export-docker.test.ts +190 -0
  484. package/src/commands/export-docker.ts +3 -4
  485. package/src/commands/features-batch1.test.ts +1 -1
  486. package/src/commands/feedback.test.ts +63 -0
  487. package/src/commands/gc.test.ts +173 -0
  488. package/src/commands/gc.ts +65 -0
  489. package/src/commands/handoff.test.ts +284 -0
  490. package/src/commands/icon.ts +3 -4
  491. package/src/commands/import-profile.test.ts +199 -0
  492. package/src/commands/import-profile.ts +4 -5
  493. package/src/commands/init-cost-proof.test.ts +29 -0
  494. package/src/commands/init.test.ts +76 -0
  495. package/src/commands/init.ts +42 -7
  496. package/src/commands/install-sh.e2e.test.ts +17 -5
  497. package/src/commands/install.ts +3 -3
  498. package/src/commands/launch-handoff.e2e.test.ts +7 -1
  499. package/src/commands/launch.account-runtime.test.ts +117 -0
  500. package/src/commands/launch.e2e.test.ts +7 -1
  501. package/src/commands/launch.parse.test.ts +101 -0
  502. package/src/commands/launch.test.ts +94 -108
  503. package/src/commands/launch.ts +714 -118
  504. package/src/commands/lint-skill.test.ts +173 -0
  505. package/src/commands/loadout.test.ts +225 -0
  506. package/src/commands/loadout.ts +132 -0
  507. package/src/commands/lock.test.ts +157 -0
  508. package/src/commands/lock.ts +4 -5
  509. package/src/commands/marketplace-manifest.test.ts +39 -0
  510. package/src/commands/marketplace.test.ts +195 -0
  511. package/src/commands/marketplace.ts +176 -5
  512. package/src/commands/materialize.test.ts +59 -0
  513. package/src/commands/materialize.ts +4 -5
  514. package/src/commands/mcp.test.ts +109 -0
  515. package/src/commands/mcps.test.ts +49 -0
  516. package/src/commands/mcps.ts +5 -6
  517. package/src/commands/mem.test.ts +94 -0
  518. package/src/commands/merge.test.ts +57 -0
  519. package/src/commands/migrate.test.ts +45 -0
  520. package/src/commands/migrate.ts +3 -4
  521. package/src/commands/new.test.ts +173 -0
  522. package/src/commands/optimizer.test.ts +239 -0
  523. package/src/commands/optimizer.ts +4 -5
  524. package/src/commands/packs.test.ts +97 -0
  525. package/src/commands/packs.ts +3 -4
  526. package/src/commands/playground.test.ts +61 -0
  527. package/src/commands/playground.ts +3 -4
  528. package/src/commands/positioning.test.ts +46 -0
  529. package/src/commands/profile-draft-skill.ts +3 -4
  530. package/src/commands/profile-suggest.test.ts +67 -0
  531. package/src/commands/profile-suggest.ts +130 -5
  532. package/src/commands/profile.test.ts +59 -0
  533. package/src/commands/replay-whatif.test.ts +154 -0
  534. package/src/commands/replay.test.ts +68 -0
  535. package/src/commands/resolve.test.ts +66 -0
  536. package/src/commands/resolve.ts +415 -0
  537. package/src/commands/ruler.test.ts +94 -0
  538. package/src/commands/ruler.ts +213 -0
  539. package/src/commands/scan.test.ts +83 -0
  540. package/src/commands/score.test.ts +125 -0
  541. package/src/commands/score.ts +0 -3
  542. package/src/commands/security-audit.test.ts +133 -0
  543. package/src/commands/security-audit.ts +4 -5
  544. package/src/commands/security.ts +3 -4
  545. package/src/commands/setup.test.ts +32 -0
  546. package/src/commands/share.test.ts +102 -0
  547. package/src/commands/shell.test.ts +251 -23
  548. package/src/commands/shell.ts +269 -91
  549. package/src/commands/skill-report.test.ts +110 -0
  550. package/src/commands/skills-lint.test.ts +74 -0
  551. package/src/commands/skills-lint.ts +3 -4
  552. package/src/commands/skills-new.test.ts +96 -0
  553. package/src/commands/skills-new.ts +3 -4
  554. package/src/commands/skills-pin.test.ts +169 -0
  555. package/src/commands/skills-pin.ts +4 -5
  556. package/src/commands/skills-test.test.ts +215 -0
  557. package/src/commands/skills.test.ts +109 -0
  558. package/src/commands/skills.ts +10 -6
  559. package/src/commands/snapshot.ts +3 -4
  560. package/src/commands/sources.ts +3 -4
  561. package/src/commands/stats.test.ts +174 -0
  562. package/src/commands/status.test.ts +147 -0
  563. package/src/commands/status.ts +13 -1
  564. package/src/commands/suggest-pairs.test.ts +166 -0
  565. package/src/commands/suggest.test.ts +85 -0
  566. package/src/commands/suggest.ts +3 -5
  567. package/src/commands/summon.test.ts +8 -1
  568. package/src/commands/sync.test.ts +26 -0
  569. package/src/commands/sync.ts +184 -0
  570. package/src/commands/telemetry.test.ts +162 -0
  571. package/src/commands/trace.test.ts +48 -0
  572. package/src/commands/tree.test.ts +76 -0
  573. package/src/commands/tui.test.ts +55 -0
  574. package/src/commands/update.test.ts +98 -0
  575. package/src/commands/update.ts +8 -9
  576. package/src/commands/upgrade.test.ts +45 -0
  577. package/src/commands/upgrade.ts +4 -5
  578. package/src/commands/use.test.ts +63 -0
  579. package/src/commands/validate.test.ts +80 -0
  580. package/src/commands/watch-live.test.ts +46 -0
  581. package/src/commands/watch-live.ts +5 -6
  582. package/src/commands/watch.test.ts +97 -0
  583. package/src/commands/why.test.ts +46 -0
  584. package/src/commands/why.ts +4 -5
  585. package/src/commands/workspace.test.ts +92 -0
  586. package/src/index.test.ts +106 -0
  587. package/src/index.ts +7 -6
  588. package/src/lib/agent-adapters.test.ts +9 -0
  589. package/src/lib/agent-adapters.ts +17 -0
  590. package/src/lib/analytics.ts +27 -10
  591. package/src/lib/brand-icons.test.ts +129 -0
  592. package/src/lib/brand-icons.ts +6 -7
  593. package/src/lib/cache.test.ts +231 -0
  594. package/src/lib/catalog-index.test.ts +306 -0
  595. package/src/lib/catalog-index.ts +540 -0
  596. package/src/lib/claude-binary.test.ts +122 -0
  597. package/src/lib/claude-binary.ts +49 -19
  598. package/src/lib/claude-logo.test.ts +64 -0
  599. package/src/lib/claude-logo.ts +41 -0
  600. package/src/lib/cli-extractor.ts +3 -4
  601. package/src/lib/colony-dispatch.test.ts +59 -0
  602. package/src/lib/colony-dispatch.ts +3 -4
  603. package/src/lib/combo-history.test.ts +53 -1
  604. package/src/lib/combo-history.ts +41 -0
  605. package/src/lib/conflict-detector.test.ts +73 -0
  606. package/src/lib/conflict-detector.ts +2 -4
  607. package/src/lib/credentials-sync.ts +32 -25
  608. package/src/lib/cue-credentials.test.ts +74 -0
  609. package/src/lib/cue-credentials.ts +64 -0
  610. package/src/lib/cwd-resolver.ts +5 -3
  611. package/src/lib/dashboard-server.test.ts +45 -4
  612. package/src/lib/dashboard-server.ts +39 -0
  613. package/src/lib/handoff.test.ts +99 -0
  614. package/src/lib/help.test.ts +69 -0
  615. package/src/lib/kitty-image.ts +13 -0
  616. package/src/lib/launch-loader.test.ts +160 -0
  617. package/src/lib/launch-loader.ts +226 -0
  618. package/src/lib/lazy-skills.ts +41 -1
  619. package/src/lib/manifest-cache.test.ts +30 -0
  620. package/src/lib/market-install.test.ts +128 -0
  621. package/src/lib/market-install.ts +247 -0
  622. package/src/lib/mcp-catalog.ts +4 -13
  623. package/src/lib/mcp-materializer.ts +3 -8
  624. package/src/lib/mcp-overrides.test.ts +202 -0
  625. package/src/lib/mcp-overrides.ts +199 -0
  626. package/src/lib/mcp-picker.test.ts +150 -0
  627. package/src/lib/mcp-picker.ts +247 -0
  628. package/src/lib/mcp-token-estimate.test.ts +105 -0
  629. package/src/lib/mcp-token-estimate.ts +152 -0
  630. package/src/lib/pack-resolver.test.ts +81 -0
  631. package/src/lib/pack-resolver.ts +3 -4
  632. package/src/lib/pair-suggestions.test.ts +32 -5
  633. package/src/lib/pair-suggestions.ts +15 -12
  634. package/src/lib/picker/card.test.ts +109 -0
  635. package/src/lib/picker/card.ts +279 -0
  636. package/src/lib/picker/categories.test.ts +68 -0
  637. package/src/lib/picker/categories.ts +48 -0
  638. package/src/lib/picker/flow.test.ts +49 -0
  639. package/src/lib/picker/flow.ts +236 -0
  640. package/src/lib/picker/keys.test.ts +235 -0
  641. package/src/lib/picker/palette.test.ts +262 -0
  642. package/src/lib/picker/palette.ts +557 -0
  643. package/src/lib/picker/render-util.test.ts +213 -0
  644. package/src/lib/picker/render-util.ts +111 -0
  645. package/src/lib/picker/selector.test.ts +87 -0
  646. package/src/lib/picker/selector.ts +51 -0
  647. package/src/lib/picker/tally.test.ts +166 -0
  648. package/src/lib/picker/tally.ts +126 -0
  649. package/src/lib/picker/types.ts +135 -0
  650. package/src/lib/picker.test.ts +55 -31
  651. package/src/lib/picker.ts +119 -439
  652. package/src/lib/plugin-discovery.test.ts +175 -0
  653. package/src/lib/pr-poster.ts +6 -2
  654. package/src/lib/profile-conflicts.test.ts +114 -0
  655. package/src/lib/profile-conflicts.ts +52 -0
  656. package/src/lib/profile-generator.ts +5 -11
  657. package/src/lib/profile-linter.ts +33 -14
  658. package/src/lib/profile-loader.test.ts +128 -1
  659. package/src/lib/profile-loader.ts +61 -24
  660. package/src/lib/profile-merge.test.ts +30 -1
  661. package/src/lib/profile-merge.ts +54 -18
  662. package/src/lib/profile-metrics.test.ts +176 -0
  663. package/src/lib/profile-metrics.ts +3 -4
  664. package/src/lib/project-loadout.test.ts +273 -0
  665. package/src/lib/project-loadout.ts +358 -0
  666. package/src/lib/project-scanner.test.ts +228 -0
  667. package/src/lib/ratings.test.ts +130 -0
  668. package/src/lib/repo-root.test.ts +80 -0
  669. package/src/lib/repo-root.ts +38 -0
  670. package/src/lib/ruler.test.ts +332 -0
  671. package/src/lib/ruler.ts +374 -0
  672. package/src/lib/runtime-gc.test.ts +123 -0
  673. package/src/lib/runtime-gc.ts +203 -0
  674. package/src/lib/runtime-install.test.ts +70 -0
  675. package/src/lib/runtime-install.ts +7 -0
  676. package/src/lib/runtime-lock.test.ts +115 -0
  677. package/src/lib/runtime-materializer.mcp-prune.test.ts +105 -0
  678. package/src/lib/runtime-materializer.test.ts +229 -1
  679. package/src/lib/runtime-materializer.ts +179 -36
  680. package/src/lib/scan-plugins.ts +10 -5
  681. package/src/lib/shared-profiles.ts +9 -3
  682. package/src/lib/shim-dir.test.ts +101 -0
  683. package/src/lib/shim-dir.ts +120 -0
  684. package/src/lib/skill-compressor.test.ts +59 -0
  685. package/src/lib/skill-compressor.ts +2 -4
  686. package/src/lib/skill-dependencies.getNeeded.test.ts +81 -0
  687. package/src/lib/skill-dependencies.test.ts +39 -0
  688. package/src/lib/skill-dependencies.ts +77 -14
  689. package/src/lib/skill-deps.ts +3 -4
  690. package/src/lib/skill-linter.test.ts +61 -0
  691. package/src/lib/skill-linter.ts +72 -4
  692. package/src/lib/skill-quality.ts +4 -5
  693. package/src/lib/skill-resolve-journal.test.ts +83 -0
  694. package/src/lib/skill-resolve-journal.ts +86 -0
  695. package/src/lib/skill-sandbox.ts +3 -4
  696. package/src/lib/skill-subset.cache.test.ts +172 -0
  697. package/src/lib/skill-subset.isolation.test.ts +98 -0
  698. package/src/lib/skill-subset.test.ts +25 -0
  699. package/src/lib/skill-subset.ts +388 -39
  700. package/src/lib/smart-loader-suggest.hook.test.ts +173 -0
  701. package/src/lib/stack-suggest.test.ts +247 -0
  702. package/src/lib/stack-suggest.ts +352 -0
  703. package/src/lib/telemetry-ingest.ts +6 -1
  704. package/src/lib/token-budget.test.ts +141 -0
  705. package/src/lib/token-budget.ts +187 -0
  706. package/src/lib/tui/data.test.ts +206 -0
  707. package/src/lib/tui/input.test.ts +159 -0
  708. package/src/lib/tui/screen.test.ts +85 -0
  709. package/src/lib/uvx-installer.test.ts +54 -1
  710. package/src/lib/uvx-installer.ts +51 -6
  711. package/src/lib/webhooks.test.ts +175 -0
  712. package/src/lib/workflow-store.test.ts +292 -0
  713. package/src/lib/workspace-secrets.test.ts +99 -0
  714. package/src/lib/workspaces.test.ts +417 -0
  715. package/src/lib/workspaces.ts +3 -4
  716. package/plugins/cue/plugin.json +0 -15
  717. package/profiles/dash-merge-test/profile.yaml +0 -114
@@ -0,0 +1,202 @@
1
+ ---
2
+ name: contract-review
3
+ description: "Full contract review via 5 parallel subagents: a Contract Safety Score, clause-by-clause analysis, prioritized fixes. Use when the user says \"/legal review\" or \"review this contract\"."
4
+ tags: [legal, contracts, review]
5
+ ---
6
+
7
+ # Full Contract Review — Flagship Orchestrator
8
+
9
+ You are the full contract review engine for `/legal review <file>`. You launch 5 parallel subagents, aggregate their results, and produce a unified CONTRACT-REVIEW.md report with a Contract Safety Score, clause-by-clause analysis, and prioritized action items.
10
+
11
+ ## When This Skill Is Invoked
12
+
13
+ The user runs `/legal review <file>`. This is the flagship command. It produces the most comprehensive deliverable: a scored, prioritized, actionable contract analysis with specific recommendations for every risky clause.
14
+
15
+ ---
16
+
17
+ ## Phase 1: Contract Ingestion (Sequential — Pre-Analysis)
18
+
19
+ Before launching subagents, perform these steps sequentially.
20
+
21
+ ### 1.1 Read the Contract
22
+
23
+ Accept the contract from one of these sources:
24
+ - **File path** — Use the Read tool to read the file
25
+ - **Pasted text** — Accept text pasted directly into the chat
26
+ - **URL** — Use WebFetch to retrieve the document
27
+
28
+ Store the full contract text for subagent consumption.
29
+
30
+ **If the contract is unreadable:**
31
+ 1. Report the error to the user
32
+ 2. Ask for an alternative format
33
+ 3. Do NOT proceed to Phase 2 without contract text
34
+
35
+ ### 1.2 Classify the Contract Type
36
+
37
+ Identify the contract type to calibrate analysis:
38
+
39
+ | Contract Type | Detection Signals | Key Risk Areas |
40
+ |---------------|-------------------|----------------|
41
+ | **Service Agreement** | "services," "deliverables," "scope of work," "retainer" | Scope creep, payment terms, termination, IP ownership |
42
+ | **Employment Contract** | "employee," "salary," "benefits," "at-will" | Non-compete, IP assignment, severance, termination |
43
+ | **NDA / Confidentiality** | "confidential information," "non-disclosure," "receiving party" | Definition breadth, duration, exclusions, remedies |
44
+ | **SaaS / Software License** | "subscription," "SLA," "uptime," "license grant" | Auto-renewal, data ownership, liability caps, SLA penalties |
45
+ | **Freelancer / Contractor** | "independent contractor," "1099," "work product" | Misclassification risk, IP ownership, payment terms, kill fees |
46
+ | **Partnership Agreement** | "partner," "profit sharing," "capital contribution" | Dissolution terms, decision authority, liability allocation |
47
+ | **Lease / Rental** | "landlord," "tenant," "premises," "rent" | Termination penalties, maintenance liability, renewal terms |
48
+ | **Sales / Purchase** | "buyer," "seller," "purchase price," "warranty" | Warranty limitations, return policies, indemnification |
49
+ | **Investment / SAFE** | "investor," "valuation cap," "equity," "convertible" | Dilution, liquidation preferences, board rights, pro-rata |
50
+
51
+ ### 1.3 Extract Contract Metadata
52
+
53
+ Extract and store:
54
+ - **Parties involved** — Names and roles of all parties
55
+ - **Effective date** — When the contract starts
56
+ - **Term / Duration** — How long it lasts
57
+ - **Governing law** — Which jurisdiction
58
+ - **Total value** — Payment amounts if specified
59
+ - **Contract length** — Number of pages/sections/clauses
60
+
61
+ ---
62
+
63
+ ## Phase 2: Launch 5 Parallel Subagents
64
+
65
+ Launch ALL 5 subagents simultaneously using the Agent tool. Each agent receives:
66
+ - The full contract text
67
+ - The contract type classification
68
+ - The contract metadata
69
+
70
+ ### Subagent Assignments
71
+
72
+ | Agent File | Role | Weight |
73
+ |------------|------|--------|
74
+ | `legal-clauses.md` | Clause Analysis — Identifies and categorizes every clause | 20% |
75
+ | `legal-risks.md` | Risk Assessment — Scores each clause for risk level | 25% |
76
+ | `legal-compliance.md` | Compliance Check — Flags regulatory and legal issues | 20% |
77
+ | `legal-terms.md` | Terms & Obligations — Maps duties, deadlines, and triggers | 15% |
78
+ | `legal-recommendations.md` | Recommendations — Generates specific fixes for every issue | 20% |
79
+
80
+ **Agent launch instructions:**
81
+ ```
82
+ Launch each agent with this prompt structure:
83
+
84
+ "You are the [Agent Role] subagent for the AI Legal Assistant.
85
+ Analyze the following contract and return your findings in the specified format.
86
+
87
+ CONTRACT TYPE: [detected type]
88
+ CONTRACT METADATA: [extracted metadata]
89
+
90
+ FULL CONTRACT TEXT:
91
+ [paste full contract text]
92
+
93
+ Return your analysis in the exact output format specified in your agent instructions."
94
+ ```
95
+
96
+ ---
97
+
98
+ ## Phase 3: Aggregate Results
99
+
100
+ Once all 5 agents return, compile the unified report.
101
+
102
+ ### 3.1 Calculate Contract Safety Score
103
+
104
+ Use weighted scoring from all agents:
105
+
106
+ | Score Range | Grade | Label | Meaning |
107
+ |-------------|-------|-------|---------|
108
+ | 90-100 | A+ | Safe | Low risk, standard favorable terms |
109
+ | 80-89 | A | Good | Minor issues, generally favorable |
110
+ | 70-79 | B | Fair | Some concerning clauses need attention |
111
+ | 60-69 | C | Caution | Multiple risky clauses, negotiate before signing |
112
+ | 40-59 | D | Risky | Significant risks, strong negotiation needed |
113
+ | 0-39 | F | Dangerous | Do not sign without major revisions |
114
+
115
+ ### 3.2 Build the Report
116
+
117
+ Generate `CONTRACT-REVIEW-[name]-[date].md` with this structure:
118
+
119
+ ```markdown
120
+ # Contract Review Report
121
+
122
+ ⚠️ LEGAL DISCLAIMER: This analysis is AI-generated and does not constitute legal advice.
123
+ Always consult a licensed attorney before signing.
124
+
125
+ ## Contract Safety Score: [SCORE]/100 — Grade: [LETTER] ([LABEL])
126
+
127
+ ## Executive Summary
128
+ [3-4 sentence overview of the contract, key findings, and recommendation]
129
+
130
+ ## Contract Details
131
+ | Field | Value |
132
+ |-------|-------|
133
+ | Contract Type | [type] |
134
+ | Parties | [party 1] ↔ [party 2] |
135
+ | Effective Date | [date] |
136
+ | Term | [duration] |
137
+ | Total Value | [amount or N/A] |
138
+ | Governing Law | [jurisdiction] |
139
+
140
+ ## Risk Dashboard
141
+
142
+ | Risk Level | Count | Clauses |
143
+ |------------|-------|---------|
144
+ | 🔴 High Risk | [n] | [clause names] |
145
+ | 🟡 Medium Risk | [n] | [clause names] |
146
+ | 🟢 Low Risk | [n] | [clause names] |
147
+
148
+ ## Clause-by-Clause Analysis
149
+
150
+ ### 🔴 HIGH RISK CLAUSES
151
+
152
+ #### [Clause Name] — Section [X.X]
153
+ - **What it says:** [plain English summary]
154
+ - **Why it's risky:** [specific explanation]
155
+ - **What you could lose:** [quantified impact if possible]
156
+ - **Recommended change:** [specific alternative language]
157
+
158
+ [Repeat for each high-risk clause]
159
+
160
+ ### 🟡 MEDIUM RISK CLAUSES
161
+
162
+ [Same format as above]
163
+
164
+ ### 🟢 LOW RISK / STANDARD CLAUSES
165
+
166
+ [Brief summary of standard clauses that are acceptable]
167
+
168
+ ## Missing Protections
169
+ [List of clauses that SHOULD be in this contract but are NOT]
170
+
171
+ ## Obligations & Deadlines
172
+ | Obligation | Party | Deadline | Consequence of Missing |
173
+ |------------|-------|----------|----------------------|
174
+ | [obligation] | [who] | [when] | [what happens] |
175
+
176
+ ## Compliance Flags
177
+ [Any regulatory, legal, or jurisdictional concerns]
178
+
179
+ ## Negotiation Priorities
180
+ 1. [Most important change — with specific language to propose]
181
+ 2. [Second most important]
182
+ 3. [Third most important]
183
+ [Ranked list of what to negotiate first]
184
+
185
+ ## Recommended Next Steps
186
+ 1. [ ] [First action to take]
187
+ 2. [ ] [Second action]
188
+ 3. [ ] [Third action]
189
+ 4. [ ] Consult a licensed attorney before signing
190
+ ```
191
+
192
+ ---
193
+
194
+ ## Phase 4: Present to User
195
+
196
+ After generating the report:
197
+
198
+ 1. Display the Contract Safety Score prominently
199
+ 2. Summarize the top 3 risks in plain English
200
+ 3. Show the full report
201
+ 4. Ask: "Would you like me to generate counter-proposals for the risky clauses? Run `/legal negotiate` to get specific language to send back."
202
+ 5. Mention: "Run `/legal report-pdf` to generate a professional PDF version of this analysis."
@@ -0,0 +1,171 @@
1
+ ---
2
+ name: deep-risk-analysis
3
+ description: "Clause-by-clause risk analysis with severity scores and financial-exposure estimates. Use when the user says \"/legal risks\", \"what are the risks\", or \"find dangerous clauses\"."
4
+ tags: [legal, contracts, risk]
5
+ command: /legal risks <file>
6
+ ---
7
+
8
+ # Deep Risk Analysis
9
+
10
+ You are an AI Legal Risk Analyst performing a thorough, clause-by-clause risk assessment of a contract. You produce professional-grade risk analysis that identifies financial exposure, liability traps, and hidden dangers.
11
+
12
+ ## Trigger
13
+
14
+ This skill is activated by `/legal risks <file>` where `<file>` is a file path, pasted contract text, or URL to a contract document.
15
+
16
+ ## Instructions
17
+
18
+ ### Step 1: Read the Contract
19
+
20
+ - If a file path is provided, read it using the Read tool.
21
+ - If a URL is provided, fetch it using WebFetch.
22
+ - If the text is pasted inline, use it directly.
23
+ - Identify the contract type (SaaS agreement, employment contract, NDA, MSA, SOW, lease, vendor agreement, etc.), the parties involved, the effective date, and governing law.
24
+
25
+ ### Step 2: Perform Clause-by-Clause Risk Scoring
26
+
27
+ Go through every clause in the contract. For each clause, assign a risk score from 1 to 10:
28
+
29
+ - **1-3**: Low risk. Standard language, balanced terms.
30
+ - **4-6**: Medium risk. Somewhat unfavorable, worth reviewing.
31
+ - **7-10**: High risk. Dangerous, financially exposed, or heavily one-sided.
32
+
33
+ Evaluate each clause against these risk categories:
34
+
35
+ | Category | What to Look For |
36
+ |---|---|
37
+ | **Financial Exposure** | Uncapped liability, penalty clauses, liquidated damages, payment acceleration |
38
+ | **Liability Transfer** | Broad indemnification, hold harmless clauses, insurance requirements shifted to one party |
39
+ | **Restrictive Covenants** | Non-competes, non-solicits, exclusivity, right of first refusal with excessive scope/duration/geography |
40
+ | **Unclear/Ambiguous Terms** | Vague language like "reasonable efforts," undefined key terms, subjective standards |
41
+ | **Missing Protections** | No liability cap, no termination for convenience, no force majeure, no dispute resolution |
42
+ | **One-Sided Terms** | Unilateral amendment rights, asymmetric termination, one-party approval requirements |
43
+ | **Unlimited Liability** | No cap on damages, consequential damages not excluded, uncapped indemnification |
44
+ | **Broad Indemnification** | Third-party claims, IP infringement without knowledge qualifier, "any and all" language |
45
+ | **Auto-Renewal Traps** | Auto-renewal with short cancellation windows, price escalation on renewal, evergreen clauses |
46
+ | **IP Assignment Overreach** | Work product clauses that capture pre-existing IP, overly broad "arising from" language |
47
+ | **Non-Compete Scope** | Overly broad geographic scope, excessive duration, vague definition of competing activities |
48
+
49
+ ### Step 3: Identify Hidden Risks
50
+
51
+ Specifically hunt for these patterns that are commonly missed:
52
+
53
+ - **Definition section landmines**: Terms defined so broadly in Section 1 that they expand liability in later sections (e.g., "Services" defined to include future unspecified work).
54
+ - **Cross-reference traps**: Clauses that reference other sections or exhibits to quietly expand obligations (e.g., "Subject to Section 12" where Section 12 contains a broad waiver).
55
+ - **Buried carve-outs**: Exceptions hidden in sub-sub-clauses that override protections established earlier.
56
+ - **Survival clauses**: Check which obligations survive termination and for how long. Flag any that survive indefinitely.
57
+ - **Incorporation by reference**: External documents (policies, handbooks, SLAs) incorporated that could change without notice.
58
+ - **Defined term drift**: A term defined one way in the definitions but used differently or more broadly in the body.
59
+
60
+ ### Step 4: For Each Risky Clause (Score 5+), Provide
61
+
62
+ 1. **Exact quoted text** from the contract
63
+ 2. **Risk category** from the table above
64
+ 3. **Risk score** (1-10)
65
+ 4. **Risk indicator**: Use the appropriate emoji:
66
+ - Score 7-10: `HIGH RISK`
67
+ - Score 4-6: `MEDIUM RISK`
68
+ - Score 1-3: `LOW RISK`
69
+ 5. **Plain English explanation**: What this clause actually means in everyday language
70
+ 6. **Financial exposure estimate**: Quantify the potential financial impact where possible (e.g., "Could expose you to unlimited liability for third-party IP claims" or "Penalty of $X per day for late delivery with no cap")
71
+ 7. **Specific alternative language**: Write actual replacement clause text that would be more balanced
72
+
73
+ ### Step 5: Generate the Output
74
+
75
+ Write a file called `RISK-ANALYSIS.md` in the same directory as the input file (or the current working directory if text was pasted). The file must follow this structure:
76
+
77
+ ```markdown
78
+ # Contract Risk Analysis
79
+
80
+ > **LEGAL DISCLAIMER**: This analysis is generated by an AI assistant and does not constitute legal advice. It is intended for informational and educational purposes only. No attorney-client relationship is created by using this tool. Contract law varies by jurisdiction, and specific terms may be interpreted differently depending on applicable law, industry customs, and the full context of the parties' relationship. Always consult a qualified attorney licensed in your jurisdiction before making legal decisions or signing contracts.
81
+
82
+ ## Document Summary
83
+
84
+ | Field | Value |
85
+ |---|---|
86
+ | **Contract Type** | [type] |
87
+ | **Parties** | [Party A] and [Party B] |
88
+ | **Effective Date** | [date] |
89
+ | **Governing Law** | [jurisdiction] |
90
+ | **Analysis Date** | [today] |
91
+
92
+ ## Overall Risk Score: [X]/10
93
+
94
+ [1-2 sentence summary of the overall risk posture]
95
+
96
+ ## Risk Matrix
97
+
98
+ | # | Clause/Section | Risk Category | Score | Indicator | Financial Exposure |
99
+ |---|---|---|---|---|---|
100
+ | 1 | [Section name] | [category] | [X]/10 | [HIGH/MEDIUM/LOW RISK] | [estimate] |
101
+ | ... | ... | ... | ... | ... | ... |
102
+
103
+ ## Total Estimated Financial Exposure
104
+
105
+ [Aggregate the financial exposure estimates. Where exact figures aren't possible, provide ranges and worst-case scenarios.]
106
+
107
+ ---
108
+
109
+ ## Detailed Risk Analysis
110
+
111
+ ### [Risk #1 - HIGH RISK] Section X.X: [Section Title]
112
+
113
+ **Risk Category**: [category]
114
+ **Risk Score**: [X]/10
115
+
116
+ **Contract Language**:
117
+ > "[exact quoted text from the contract]"
118
+
119
+ **Plain English Translation**:
120
+ [What this actually means in everyday language]
121
+
122
+ **Why This Is Risky**:
123
+ [Detailed explanation of the risk, including real-world scenarios where this could hurt you]
124
+
125
+ **Financial Exposure**:
126
+ [Quantified estimate of potential financial impact]
127
+
128
+ **Recommended Alternative Language**:
129
+ > "[specific replacement clause text]"
130
+
131
+ ---
132
+
133
+ [Repeat for each risky clause]
134
+
135
+ ---
136
+
137
+ ## Hidden Risks Identified
138
+
139
+ ### [Hidden Risk #1]
140
+ - **Location**: [where in the contract]
141
+ - **Mechanism**: [how the hidden risk works]
142
+ - **Impact**: [what could happen]
143
+ - **Recommendation**: [what to do about it]
144
+
145
+ ---
146
+
147
+ ## Top 5 Priorities: Fix These First
148
+
149
+ 1. **[Most critical issue]** - [1 sentence why] - Section [X.X]
150
+ 2. **[Second most critical]** - [1 sentence why] - Section [X.X]
151
+ 3. **[Third]** - [1 sentence why] - Section [X.X]
152
+ 4. **[Fourth]** - [1 sentence why] - Section [X.X]
153
+ 5. **[Fifth]** - [1 sentence why] - Section [X.X]
154
+
155
+ ---
156
+
157
+ ## Risk Distribution Summary
158
+
159
+ - HIGH RISK clauses: [count]
160
+ - MEDIUM RISK clauses: [count]
161
+ - LOW RISK clauses: [count]
162
+ - Clean clauses: [count]
163
+ ```
164
+
165
+ ### Important Guidelines
166
+
167
+ - Be specific, not generic. Do not say "this could be problematic." Say exactly what could go wrong and how much it could cost.
168
+ - Every alternative clause you write must be legally coherent and balanced for both parties.
169
+ - If a clause is actually fine, say so. Do not inflate risks to seem thorough.
170
+ - Always consider the contract from the perspective of the party who would be reviewing it (typically the party who did NOT draft it).
171
+ - If the contract type is identifiable, benchmark its terms against industry standards for that type.
@@ -0,0 +1,263 @@
1
+ ---
2
+ name: terms-of-service-generator
3
+ description: "Generates GDPR/CCPA-compliant Terms of Service with plain-English section summaries. Use when the user says \"/legal terms\", \"generate terms of service\", or \"write a ToS\"."
4
+ tags: [legal, tos, generator]
5
+ command: /legal terms <url>
6
+ ---
7
+
8
+ # Terms of Service Generator
9
+
10
+ You are an AI Legal Document Drafter specializing in Terms of Service and Terms of Use for digital products. You analyze a website or SaaS product, understand what it does, and generate comprehensive, legally sound Terms of Service that include GDPR and CCPA compliance provisions and plain English summaries inspired by companies like Basecamp and Notion.
11
+
12
+ ## Trigger
13
+
14
+ This skill is activated by `/legal terms <url>` where `<url>` is the URL of the website or SaaS product that needs Terms of Service.
15
+
16
+ ## Instructions
17
+
18
+ ### Step 1: Analyze the Website/Product
19
+
20
+ Use WebFetch to visit the provided URL and understand the business:
21
+
22
+ - **Business type**: SaaS, marketplace, content platform, e-commerce, API service, mobile app, etc.
23
+ - **Core functionality**: What does the product actually do?
24
+ - **Data collection**: Look for forms, login pages, analytics, cookies, tracking pixels, payment processing
25
+ - **User accounts**: Does the product require registration?
26
+ - **Payment processing**: Does it charge users? Subscription or one-time? Free tier?
27
+ - **User-generated content**: Can users upload, post, or create content?
28
+ - **API access**: Does the product offer an API?
29
+ - **Third-party integrations**: Does it connect to other services?
30
+ - **Target audience**: B2B, B2C, both? Any age restrictions needed?
31
+ - **Company information**: Company name, location, contact details
32
+
33
+ If any critical information cannot be determined from the website, note assumptions and mark them with `[VERIFY]` tags in the output so the user knows to confirm.
34
+
35
+ ### Step 2: Generate Comprehensive Terms of Service
36
+
37
+ Draft complete Terms of Service covering all applicable sections below. For each section, include:
38
+
39
+ 1. **The legal text**: Professional, enforceable language
40
+ 2. **A "Plain English Summary" block**: 2-4 sentence summary in casual, accessible language (like Basecamp or Notion style -- friendly but clear)
41
+
42
+ **Required Sections** (include all that apply to the product):
43
+
44
+ #### 2.1 Acceptance of Terms
45
+ - How users accept (by using the service, by creating an account, by checking a box)
46
+ - Minimum age requirement (13 for COPPA, 16 for GDPR in some jurisdictions)
47
+ - Authority to bind an organization if using on behalf of a company
48
+ - Where to find the current version of the terms
49
+
50
+ #### 2.2 Description of Service
51
+ - What the service does
52
+ - Service availability (best efforts, not guaranteed 100% uptime unless specified)
53
+ - Geographic availability or restrictions
54
+ - Beta features disclaimer if applicable
55
+
56
+ #### 2.3 User Accounts and Responsibilities
57
+ - Account creation requirements
58
+ - Obligation to provide accurate information
59
+ - Password security responsibilities
60
+ - Account sharing policy
61
+ - Responsibility for all activity under the account
62
+ - Account suspension or termination rights
63
+
64
+ #### 2.4 Payment Terms (if applicable)
65
+ - Pricing and billing cycle
66
+ - Payment methods accepted
67
+ - Auto-renewal disclosure
68
+ - Price change notification requirements
69
+ - Late payment consequences
70
+ - Refund policy (be specific: 30-day money-back, pro-rated, no refunds, etc.)
71
+ - Taxes
72
+ - Free trial terms (if applicable)
73
+
74
+ #### 2.5 Intellectual Property Rights
75
+ - Company retains ownership of the service, branding, and technology
76
+ - User is granted a limited, non-exclusive, revocable license to use the service
77
+ - Restrictions on copying, reverse engineering, or derivative works
78
+ - Trademark usage restrictions
79
+
80
+ #### 2.6 User-Generated Content (if applicable)
81
+ - User retains ownership of their content
82
+ - License granted to the company to host, display, and distribute user content as needed to operate the service
83
+ - User represents they have the right to post the content
84
+ - Company's right to remove content that violates the terms
85
+ - DMCA takedown procedure
86
+
87
+ #### 2.7 Prohibited Uses
88
+ - Comprehensive list of prohibited activities:
89
+ - Illegal activities
90
+ - Harassment, abuse, or threats
91
+ - Spam or unsolicited communications
92
+ - Malware, viruses, or harmful code
93
+ - Unauthorized access or scraping
94
+ - Impersonation
95
+ - Violation of others' intellectual property
96
+ - Circumventing security measures
97
+ - Reselling the service without authorization
98
+ - Using the service to compete with the company
99
+
100
+ #### 2.8 API Terms (if applicable)
101
+ - Rate limits
102
+ - API key responsibilities
103
+ - Permitted and prohibited uses of the API
104
+ - Right to revoke API access
105
+ - Attribution requirements if applicable
106
+
107
+ #### 2.9 Privacy and Data Protection
108
+ - Reference to the Privacy Policy
109
+ - Brief summary of data practices
110
+ - GDPR compliance statement (for EU users):
111
+ - Legal basis for processing
112
+ - Data subject rights (access, rectification, erasure, portability, restriction, objection)
113
+ - Data Protection Officer contact if applicable
114
+ - Right to lodge complaint with supervisory authority
115
+ - Cross-border data transfer disclosures
116
+ - CCPA compliance statement (for California residents):
117
+ - Right to know what personal information is collected
118
+ - Right to delete personal information
119
+ - Right to opt-out of sale of personal information
120
+ - Right to non-discrimination for exercising rights
121
+ - "Do Not Sell My Personal Information" link requirement
122
+ - Cookie policy reference
123
+
124
+ #### 2.10 Disclaimers and Limitations of Liability
125
+ - Service provided "AS IS" and "AS AVAILABLE"
126
+ - Disclaimer of warranties (merchantability, fitness for a particular purpose, non-infringement)
127
+ - Limitation of liability (cap at amount paid in last 12 months, or $100 for free users)
128
+ - Exclusion of consequential, incidental, special, and punitive damages
129
+ - Exceptions where required by law (some jurisdictions do not allow limitation of certain damages)
130
+ - Force majeure
131
+
132
+ #### 2.11 Indemnification
133
+ - User agrees to indemnify the company for claims arising from:
134
+ - User's use of the service
135
+ - User's content
136
+ - User's violation of the terms
137
+ - User's violation of third-party rights
138
+ - Company's right to assume defense of any claim
139
+ - Reasonable scope (not overly broad)
140
+
141
+ #### 2.12 Termination
142
+ - User's right to terminate (delete account, stop using the service)
143
+ - Company's right to terminate or suspend (for cause, with notice where reasonable)
144
+ - Effect of termination (access ceases, data retention/deletion policy)
145
+ - Survival of certain sections post-termination
146
+
147
+ #### 2.13 Dispute Resolution
148
+ - Governing law (specify jurisdiction)
149
+ - Informal resolution first (30-day notice and negotiation period)
150
+ - Arbitration clause (if desired) with opt-out provision
151
+ - Arbitration provider (e.g., AAA, JAMS)
152
+ - Individual arbitration only (class action waiver)
153
+ - Small claims court exception
154
+ - Jurisdiction and venue for litigation if arbitration is not used
155
+
156
+ #### 2.14 Changes to Terms
157
+ - Company may update terms with notice (email and/or prominent notice on the service)
158
+ - Notice period before changes take effect (typically 30 days for material changes)
159
+ - Continued use after changes constitutes acceptance
160
+ - Material changes require more prominent notice
161
+
162
+ #### 2.15 General Provisions
163
+ - Entire Agreement
164
+ - Severability
165
+ - Waiver
166
+ - Assignment (company can assign in connection with merger/acquisition; user cannot assign)
167
+ - No agency, partnership, or employment relationship created
168
+ - Headings for convenience only
169
+ - Electronic communications consent
170
+
171
+ #### 2.16 Contact Information
172
+ - Company legal name and address
173
+ - Email for legal notices
174
+ - Email for general support
175
+ - Mailing address for formal notices
176
+
177
+ ### Step 3: Generate the Output
178
+
179
+ Derive a company name from the website. Write a file called `TERMS-OF-SERVICE-[company]-[date].md` in the current working directory. Use today's date in YYYY-MM-DD format.
180
+
181
+ ```markdown
182
+ # Terms of Service
183
+
184
+ > **LEGAL DISCLAIMER**: These Terms of Service are generated by an AI assistant and are provided as a starting point for drafting purposes only. They do not constitute legal advice, and no attorney-client relationship is created by using this tool. Terms of Service have significant legal implications and must be reviewed, customized, and approved by a qualified attorney licensed in your jurisdiction before publication. Requirements vary by jurisdiction, industry, and business model. These terms may not comply with all applicable laws in your jurisdiction.
185
+
186
+ > **Company**: [company name] [VERIFY if assumed]
187
+ > **Website**: [url]
188
+ > **Generated**: [date]
189
+ > **Applicable Regulations**: GDPR, CCPA [add others as applicable]
190
+
191
+ ---
192
+
193
+ # [Company Name] Terms of Service
194
+
195
+ **Last Updated**: [date]
196
+
197
+ **Effective Date**: [date]
198
+
199
+ ---
200
+
201
+ ## 1. Acceptance of Terms
202
+
203
+ > **Plain English Summary**: By using [Product Name], you agree to these terms. If you do not agree, please do not use our service. You must be at least [age] years old to use this service.
204
+
205
+ [Legal text]
206
+
207
+ ---
208
+
209
+ ## 2. Description of Service
210
+
211
+ > **Plain English Summary**: [Product Name] is [brief description]. We do our best to keep it running smoothly, but we cannot guarantee it will be available 100% of the time.
212
+
213
+ [Legal text]
214
+
215
+ ---
216
+
217
+ ## 3. User Accounts
218
+
219
+ > **Plain English Summary**: You are responsible for keeping your account secure. Do not share your password. Everything that happens under your account is your responsibility.
220
+
221
+ [Legal text]
222
+
223
+ ---
224
+
225
+ [Continue for all applicable sections, each with its Plain English Summary block followed by the legal text]
226
+
227
+ ---
228
+
229
+ ## Contact Us
230
+
231
+ If you have questions about these Terms of Service, please contact us:
232
+
233
+ - **Email**: [VERIFY] legal@[domain]
234
+ - **Address**: [VERIFY] [company address]
235
+ - **Support**: [VERIFY] support@[domain]
236
+
237
+ ---
238
+
239
+ ## Document Information
240
+
241
+ | Field | Value |
242
+ |---|---|
243
+ | **Applicable To** | [website/product name and URL] |
244
+ | **Business Type** | [SaaS/marketplace/etc.] |
245
+ | **Jurisdiction** | [VERIFY] [assumed jurisdiction] |
246
+ | **GDPR Applicable** | [Yes/No based on whether the service targets or collects data from EU users] |
247
+ | **CCPA Applicable** | [Yes/No based on whether the service meets CCPA thresholds] |
248
+ | **Sections Included** | [X] of [X] applicable sections |
249
+ | **Items Marked [VERIFY]** | [count] items need verification |
250
+ ```
251
+
252
+ ### Important Guidelines
253
+
254
+ - Every section must have a Plain English Summary. These summaries should be genuinely helpful, using casual and friendly language while being accurate. Think of how Basecamp writes their policies -- honest, direct, and human.
255
+ - Mark anything you had to assume with `[VERIFY]` so the user knows exactly what to check.
256
+ - Do not include sections that do not apply to the product. An API Terms section is not needed for a simple blog. A User-Generated Content section is not needed for a SaaS tool with no content upload features.
257
+ - GDPR and CCPA sections are always included as separate subsections within the Privacy section, since most online services have users from the EU and California.
258
+ - The arbitration clause should include an opt-out mechanism (typically 30 days from account creation) as required by some jurisdictions and considered best practice.
259
+ - Payment terms must be specific. Do not write "refunds may be available." Write a specific refund policy based on the business type.
260
+ - The class action waiver must be clearly and conspicuously stated if included.
261
+ - Force majeure should be in the Disclaimers section, covering natural disasters, pandemics, government actions, and similar events.
262
+ - Contact information should include at least an email address and physical mailing address. These are required under various regulations.
263
+ - Termination provisions should be fair to both sides. Give users clear instructions on how to close their accounts and what happens to their data.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: google-ads-audit
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.
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". Full 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
  ---
@@ -7,7 +7,7 @@ metadata:
7
7
 
8
8
  # ICP Research Assistant
9
9
 
10
- Build comprehensive ideal customer profiles for targeted marketing.
10
+ Build complete ideal customer profiles for targeted marketing.
11
11
 
12
12
  ## Process
13
13
 
@@ -41,7 +41,7 @@ Design scalable page templates that rank without appearing thin or auto-generate
41
41
  ## Internal Linking: Hub & Spoke Model
42
42
 
43
43
  ```
44
- Hub Page: "Marketing Tools" (comprehensive guide)
44
+ Hub Page: "Marketing Tools" (complete guide)
45
45
  │
46
46
  ├── Spoke: "Email Marketing Tools"
47
47
  │ └── Links to: Hub, SEO Tools, Social Tools
@@ -2,14 +2,14 @@
2
2
  slug: muapi-design-guide
3
3
  name: muapi-design-guide
4
4
  version: "1.0.0"
5
- description: Create a comprehensive brand design guide — color palette, typography pairings, UI component previews, and visual identity rules with example mockups.
5
+ description: Create a complete brand design guide — color palette, typography pairings, UI component previews, and visual identity rules with example mockups.
6
6
  acceptLicenseTerms: true
7
7
  ---
8
8
 
9
9
 
10
10
  # Brand Design Guide
11
11
 
12
- **Create a comprehensive brand design guide — color palette, typography pairings, UI component previews, and visual identity rules with example mockups.**
12
+ **Create a complete brand design guide — color palette, typography pairings, UI component previews, and visual identity rules with example mockups.**
13
13
 
14
14
  ## Inputs
15
15