@jini-ai/agent-plugins 0.6.16 → 0.6.19

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 (335) hide show
  1. package/CHANGELOG.md +35 -1
  2. package/NOTICE +14 -0
  3. package/README.md +35 -14
  4. package/charts-echarts/plugin.json +39 -0
  5. package/charts-echarts/skills/charts-echarts/SKILL.md +110 -0
  6. package/charts-recharts/plugin.json +32 -0
  7. package/charts-recharts/skills/charts-recharts/SKILL.md +108 -0
  8. package/cloudflare/NOTES.md +16 -0
  9. package/cloudflare/form-destinations/cloudflare-d1.mjs +9 -0
  10. package/cloudflare/lib/api.mjs +96 -0
  11. package/cloudflare/lib/assets.mjs +65 -0
  12. package/cloudflare/lib/dns.mjs +32 -0
  13. package/cloudflare/lib/domain-inventory.mjs +61 -0
  14. package/cloudflare/lib/domain-status.mjs +48 -0
  15. package/cloudflare/lib/domains.mjs +95 -0
  16. package/cloudflare/lib/forms.mjs +254 -0
  17. package/cloudflare/lib/pages-upload.mjs +51 -0
  18. package/cloudflare/lib/target.mjs +165 -0
  19. package/cloudflare/lib/workers-upload.mjs +48 -0
  20. package/cloudflare/lib/zones.mjs +25 -0
  21. package/cloudflare/mcp.json +4 -0
  22. package/cloudflare/plugin.json +96 -0
  23. package/cloudflare/skills/cloudflare/SKILL.md +57 -0
  24. package/cloudflare/skills/cloudflare/references/domains.md +31 -0
  25. package/cloudflare/skills/cloudflare/references/pages.md +18 -0
  26. package/cloudflare/skills/cloudflare/references/permissions.md +29 -0
  27. package/cloudflare/skills/cloudflare/references/troubleshooting.md +20 -0
  28. package/cloudflare/skills/cloudflare/references/workers.md +42 -0
  29. package/cloudflare/targets/cloudflare-pages.mjs +12 -0
  30. package/cloudflare/targets/cloudflare-workers.mjs +17 -0
  31. package/cloudflare/tovu-consent.json +6 -0
  32. package/cloudflare/tovu-deploy-targets.json +630 -0
  33. package/cloudflare/tovu-form-destinations.json +12 -0
  34. package/cloudflare/worker/forms-receiver.mjs +249 -0
  35. package/composio/mcp.json +10 -0
  36. package/composio/plugin.json +68 -0
  37. package/composio/skills/composio/SKILL.md +85 -0
  38. package/dist/core/identity-namespace.d.ts +12 -0
  39. package/dist/core/identity-namespace.js +20 -0
  40. package/dist/folder-zip-node.js +29 -7
  41. package/dist/lifecycle/bundled-digests.js +4 -3
  42. package/dist/lifecycle/install.d.ts +7 -0
  43. package/dist/lifecycle/install.js +45 -3
  44. package/dist/lifecycle/manifest.d.ts +2 -2
  45. package/dist/lifecycle/manifest.js +5 -3
  46. package/dist/lifecycle/node.js +2 -0
  47. package/dist/lifecycle/persistent-state.js +1 -1
  48. package/dist/lifecycle/ports.d.ts +8 -0
  49. package/dist/lifecycle/seed-bundled.js +4 -1
  50. package/dist/manifest.d.ts +1 -1
  51. package/dist/manifest.js +3 -2
  52. package/fly/deploy-configs/fly.mjs +115 -0
  53. package/fly/deploy-ops/fly.mjs +102 -0
  54. package/fly/mcp.json +4 -0
  55. package/fly/plugin.json +81 -0
  56. package/fly/scripts/render-deploy-workflow.mjs +150 -0
  57. package/fly/skills/fly/SKILL.md +43 -0
  58. package/fly/skills/fly/references/fly-deploy.template.yml +117 -0
  59. package/fly/skills/fly/references/fly.template.toml +81 -0
  60. package/fly/tovu-credential-schemes.json +11 -0
  61. package/fly/tovu-deploy-configs.json +21 -0
  62. package/fly/tovu-deploy-ops.json +14 -0
  63. package/github/deploy-ops/github-actions.mjs +164 -0
  64. package/github/deployments/github.mjs +415 -0
  65. package/github/mcp.json +4 -0
  66. package/github/plugin.json +105 -0
  67. package/github/skills/github/SKILL.md +249 -0
  68. package/github/skills/github/references/actions.md +224 -0
  69. package/github/skills/github/references/auth-and-tokens.md +140 -0
  70. package/github/skills/github/references/repo-files.md +135 -0
  71. package/github/skills/github/references/site-backup.md +159 -0
  72. package/github/skills/github/references/source-control.md +123 -0
  73. package/github/source-control/backup-push.mjs +242 -0
  74. package/github/source-control/commit-site.mjs +459 -0
  75. package/github/source-control/github.mjs +93 -0
  76. package/github/source-control/write-files.mjs +468 -0
  77. package/github/tovu-deploy-ops.json +13 -0
  78. package/github/tovu-source-control.json +117 -0
  79. package/github-pages/NOTES.md +19 -0
  80. package/github-pages/mcp.json +4 -0
  81. package/github-pages/plugin.json +48 -0
  82. package/github-pages/skills/github-pages/SKILL.md +44 -0
  83. package/github-pages/targets/github-pages.mjs +543 -0
  84. package/github-pages/tovu-deploy-targets.json +327 -0
  85. package/google-login/exports/google-g.svg +1 -0
  86. package/google-login/exports/sign-in-button.css +68 -0
  87. package/google-login/exports/sign-in-button.html +4 -0
  88. package/google-login/mcp.json +4 -0
  89. package/google-login/plugin.json +59 -0
  90. package/google-login/skills/google-login/SKILL.md +96 -0
  91. package/google-login/tovu-login-providers.json +21 -0
  92. package/google-workspace/README.md +132 -0
  93. package/google-workspace/form-destinations/README.md +87 -0
  94. package/google-workspace/form-destinations/dedupe.mjs +43 -0
  95. package/google-workspace/form-destinations/delivery-result.mjs +69 -0
  96. package/google-workspace/form-destinations/mapping.mjs +152 -0
  97. package/google-workspace/form-destinations/sheets.mjs +202 -0
  98. package/google-workspace/lib/auth.mjs +81 -0
  99. package/google-workspace/lib/drive-files.mjs +54 -0
  100. package/google-workspace/lib/form-destination-settings.mjs +72 -0
  101. package/google-workspace/lib/http.mjs +168 -0
  102. package/google-workspace/lib/picker-flow.mjs +171 -0
  103. package/google-workspace/lib/picker-selection.mjs +107 -0
  104. package/google-workspace/lib/product-state.mjs +93 -0
  105. package/google-workspace/lib/request-policy.mjs +163 -0
  106. package/google-workspace/lib/sheets-a1.mjs +79 -0
  107. package/google-workspace/lib/sheets-admin-csv.mjs +82 -0
  108. package/google-workspace/lib/sheets-admin-request-kinds.mjs +183 -0
  109. package/google-workspace/lib/sheets-client.mjs +286 -0
  110. package/google-workspace/lib/surface-actions.mjs +107 -0
  111. package/google-workspace/mcp.json +4 -0
  112. package/google-workspace/plugin.json +77 -0
  113. package/google-workspace/products.json +12 -0
  114. package/google-workspace/skills/google-workspace/SKILL.md +82 -0
  115. package/google-workspace/skills/google-workspace/references/connection.md +102 -0
  116. package/google-workspace/skills/google-workspace/references/form-delivery.md +50 -0
  117. package/google-workspace/skills/google-workspace/references/sheets.md +149 -0
  118. package/google-workspace/skills/google-workspace/references/troubleshooting.md +31 -0
  119. package/google-workspace/tools/account-info.mjs +18 -0
  120. package/google-workspace/tools/sheets/README.md +54 -0
  121. package/google-workspace/tools/sheets/copy-tab.mjs +23 -0
  122. package/google-workspace/tools/sheets/copy.mjs +23 -0
  123. package/google-workspace/tools/sheets/create.mjs +35 -0
  124. package/google-workspace/tools/sheets/find-replace.mjs +38 -0
  125. package/google-workspace/tools/sheets/find.mjs +52 -0
  126. package/google-workspace/tools/sheets/get-by-data-filter.mjs +23 -0
  127. package/google-workspace/tools/sheets/get.mjs +22 -0
  128. package/google-workspace/tools/sheets/values-append.mjs +27 -0
  129. package/google-workspace/tools/sheets/values-batch-clear.mjs +20 -0
  130. package/google-workspace/tools/sheets/values-batch-get.mjs +20 -0
  131. package/google-workspace/tools/sheets/values-batch-update.mjs +29 -0
  132. package/google-workspace/tools/sheets/values-by-data-filter.mjs +62 -0
  133. package/google-workspace/tools/sheets/values-clear.mjs +20 -0
  134. package/google-workspace/tools/sheets/values-get.mjs +21 -0
  135. package/google-workspace/tools/sheets/values-update.mjs +26 -0
  136. package/google-workspace/tools/sheets-admin/README.md +45 -0
  137. package/google-workspace/tools/sheets-admin/basic-filter.mjs +32 -0
  138. package/google-workspace/tools/sheets-admin/batch-update.mjs +25 -0
  139. package/google-workspace/tools/sheets-admin/developer-metadata.mjs +28 -0
  140. package/google-workspace/tools/sheets-admin/export-csv.mjs +67 -0
  141. package/google-workspace/tools/sheets-admin/filter-views.mjs +38 -0
  142. package/google-workspace/tools/sheets-admin/format.mjs +70 -0
  143. package/google-workspace/tools/sheets-admin/named-ranges.mjs +42 -0
  144. package/google-workspace/tools/sheets-admin/open-existing.mjs +34 -0
  145. package/google-workspace/tools/sheets-admin/protected-ranges-get.mjs +18 -0
  146. package/google-workspace/tools/sheets-admin/sort.mjs +18 -0
  147. package/google-workspace/tools/sheets-admin/tab-modify.mjs +36 -0
  148. package/google-workspace/tovu-admin-surfaces.json +63 -0
  149. package/google-workspace/tovu-agent-tools.json +1178 -0
  150. package/google-workspace/tovu-connections.json +35 -0
  151. package/google-workspace/tovu-form-destinations.json +10 -0
  152. package/google-workspace/ui/README.md +73 -0
  153. package/google-workspace/ui/connection-panel.handler.mjs +167 -0
  154. package/google-workspace/ui/connection-panel.html +17 -0
  155. package/google-workspace/ui/connection-panel.mjs +189 -0
  156. package/google-workspace/ui/connection-view.mjs +120 -0
  157. package/google-workspace/ui/destination-panel.handler.mjs +106 -0
  158. package/google-workspace/ui/destination-panel.html +17 -0
  159. package/google-workspace/ui/destination-panel.mjs +150 -0
  160. package/google-workspace/ui/dom.mjs +140 -0
  161. package/google-workspace/ui/panel.css +170 -0
  162. package/google-workspace/ui/picker-flow.mjs +87 -0
  163. package/google-workspace/ui/picker-view.mjs +44 -0
  164. package/google-workspace/ui/picker.handler.mjs +56 -0
  165. package/google-workspace/ui/picker.html +17 -0
  166. package/google-workspace/ui/picker.mjs +88 -0
  167. package/google-workspace/ui/surface-client.mjs +227 -0
  168. package/higgsfield-media/mcp.json +9 -0
  169. package/higgsfield-media/plugin.json +109 -0
  170. package/higgsfield-media/skills/higgsfield-media/SKILL.md +325 -0
  171. package/higgsfield-media/skills/higgsfield-media/references/failure-modes.md +116 -0
  172. package/higgsfield-media/skills/higgsfield-media/references/models-and-plan-gates.md +142 -0
  173. package/jev/mcp.json +4 -0
  174. package/jev/plugin.json +44 -0
  175. package/jev/skills/jev/SKILL.md +308 -0
  176. package/jev/skills/jev/references/cookbooks.md +197 -0
  177. package/jev/skills/jev/references/jaggedness.md +135 -0
  178. package/jev/skills/jev/references/javascript-sdk.md +146 -0
  179. package/jev/skills/jev/references/patterns.md +123 -0
  180. package/jev/skills/jev/references/primitives-reference.md +187 -0
  181. package/langfuse/plugin.json +22 -0
  182. package/meilisearch/mcp.json +4 -0
  183. package/meilisearch/plugin.json +54 -0
  184. package/meilisearch/providers/meilisearch.mjs +651 -0
  185. package/meilisearch/skills/meilisearch/SKILL.md +43 -0
  186. package/meilisearch/tovu-search-providers.json +10 -0
  187. package/netlify/NOTES.md +13 -0
  188. package/netlify/mcp.json +4 -0
  189. package/netlify/plugin.json +47 -0
  190. package/netlify/skills/netlify/SKILL.md +39 -0
  191. package/netlify/targets/netlify.mjs +384 -0
  192. package/netlify/tovu-consent.json +6 -0
  193. package/netlify/tovu-deploy-targets.json +163 -0
  194. package/opentelemetry/mcp.json +4 -0
  195. package/opentelemetry/plugin.json +52 -0
  196. package/opentelemetry/skills/opentelemetry/SKILL.md +39 -0
  197. package/package.json +161 -6
  198. package/posthog/mcp.json +4 -0
  199. package/posthog/plugin.json +46 -0
  200. package/posthog/skills/posthog/SKILL.md +36 -0
  201. package/railway/deploy-configs/railway.mjs +135 -0
  202. package/railway/deploy-ops/railway.mjs +167 -0
  203. package/railway/mcp.json +4 -0
  204. package/railway/plugin.json +45 -0
  205. package/railway/skills/railway/SKILL.md +66 -0
  206. package/railway/tovu-deploy-configs.json +16 -0
  207. package/railway/tovu-deploy-ops.json +11 -0
  208. package/render/deploy-configs/render.mjs +141 -0
  209. package/render/deploy-ops/render.mjs +152 -0
  210. package/render/mcp.json +4 -0
  211. package/render/plugin.json +47 -0
  212. package/render/skills/render/SKILL.md +63 -0
  213. package/render/tovu-deploy-configs.json +16 -0
  214. package/render/tovu-deploy-ops.json +11 -0
  215. package/resend/NOTES.md +52 -0
  216. package/resend/adapters/resend.mjs +161 -0
  217. package/resend/lib/domains.mjs +137 -0
  218. package/resend/lib/errors.mjs +25 -0
  219. package/resend/lib/feedback.mjs +118 -0
  220. package/resend/mcp.json +13 -0
  221. package/resend/plugin.json +192 -0
  222. package/resend/skills/resend/SKILL.md +107 -0
  223. package/resend/tovu-mail-adapters.json +22 -0
  224. package/s3-compatible/NOTES.md +11 -0
  225. package/s3-compatible/mcp.json +4 -0
  226. package/s3-compatible/object-stores/s3-compatible.mjs +287 -0
  227. package/s3-compatible/plugin.json +56 -0
  228. package/s3-compatible/skills/s3-compatible/SKILL.md +39 -0
  229. package/s3-compatible/targets/s3-compatible.mjs +1054 -0
  230. package/s3-compatible/tovu-deploy-targets.json +432 -0
  231. package/s3-compatible/tovu-object-stores.json +29 -0
  232. package/sentry/mcp.json +4 -0
  233. package/sentry/plugin.json +49 -0
  234. package/sentry/skills/sentry/SKILL.md +34 -0
  235. package/shopify/mcp.json +4 -0
  236. package/shopify/plugin.json +22 -0
  237. package/shopify/skills/shopify/SKILL.md +103 -0
  238. package/shopify/skills/shopify/references/catalog-sync.md +74 -0
  239. package/shopify/skills/shopify/references/domains.md +26 -0
  240. package/shopify/skills/shopify/references/live-storefront.md +34 -0
  241. package/shopify/skills/shopify/references/storefront-snippets.md +21 -0
  242. package/site-compliance/mcp.json +4 -0
  243. package/site-compliance/plugin.json +34 -0
  244. package/site-compliance/skills/site-compliance/SKILL.md +220 -0
  245. package/site-compliance/skills/site-compliance/references/ccpa-cpra.md +115 -0
  246. package/site-compliance/skills/site-compliance/references/gdpr-eu-uk.md +143 -0
  247. package/site-compliance/skills/site-compliance/references/wcag-2-2.md +129 -0
  248. package/site-import/mcp.json +4 -0
  249. package/site-import/plugin.json +41 -0
  250. package/site-import/skills/site-import/SKILL.md +232 -0
  251. package/site-import/skills/site-import/references/content-mapping.md +166 -0
  252. package/site-import/skills/site-import/references/discovery-and-classification.md +117 -0
  253. package/site-import/skills/site-import/references/theme-extraction.md +34 -0
  254. package/slide-design/com.anthropic.claude-code/hooks/hooks.json +4 -0
  255. package/slide-design/mcp.json +4 -0
  256. package/slide-design/plugin.json +26 -0
  257. package/slide-design/skills/slide-design/SKILL.md +103 -0
  258. package/slide-design/skills/slide-design/references/charts-and-exhibits.md +100 -0
  259. package/slide-design/skills/slide-design/references/html-deck.md +175 -0
  260. package/slide-design/skills/slide-design/references/layout-and-style.md +131 -0
  261. package/slide-design/skills/slide-design/references/review.md +93 -0
  262. package/slide-design/skills/slide-design/references/storyline.md +118 -0
  263. package/stripe/plugin.json +22 -0
  264. package/supabase/mcp.json +26 -0
  265. package/supabase/plugin.json +78 -0
  266. package/supabase/skills/supabase/SKILL.md +169 -0
  267. package/supabase/skills/supabase/references/failure-modes.md +101 -0
  268. package/ui-ux-design/CHANGELOG.md +28 -0
  269. package/ui-ux-design/LICENSE +201 -0
  270. package/ui-ux-design/NOTICE +14 -0
  271. package/ui-ux-design/README.md +62 -0
  272. package/ui-ux-design/com.anthropic.claude-code/hooks/hooks.json +4 -0
  273. package/ui-ux-design/mcp.json +4 -0
  274. package/ui-ux-design/plugin.json +26 -0
  275. package/ui-ux-design/skills/frontend-accessibility/SKILL.md +60 -0
  276. package/ui-ux-design/skills/gstack-design/SKILL.md +53 -0
  277. package/ui-ux-design/skills/gstack-design/references/consultation.md +30 -0
  278. package/ui-ux-design/skills/gstack-design/references/html.md +29 -0
  279. package/ui-ux-design/skills/gstack-design/references/review.md +28 -0
  280. package/ui-ux-design/skills/gstack-design/references/shotgun.md +33 -0
  281. package/ui-ux-design/skills/gstack-design/references/upstream-notes.md +23 -0
  282. package/ui-ux-design/skills/interface-design/ORIGINAL.md +16 -0
  283. package/ui-ux-design/skills/interface-design/SKILL.md +41 -0
  284. package/ui-ux-design/skills/interface-design/references/commands/audit.md +40 -0
  285. package/ui-ux-design/skills/interface-design/references/commands/critique.md +21 -0
  286. package/ui-ux-design/skills/interface-design/references/commands/extract.md +34 -0
  287. package/ui-ux-design/skills/interface-design/references/commands/init.md +31 -0
  288. package/ui-ux-design/skills/interface-design/references/commands/status.md +22 -0
  289. package/ui-ux-design/skills/interface-design/references/examples/system-precision.md +29 -0
  290. package/ui-ux-design/skills/interface-design/references/examples/system-warmth.md +29 -0
  291. package/ui-ux-design/skills/interface-design/references/system-template.md +57 -0
  292. package/ui-ux-design/skills/shadcn-ui/README.md +244 -0
  293. package/ui-ux-design/skills/shadcn-ui/SKILL.md +333 -0
  294. package/ui-ux-design/skills/shadcn-ui/examples/auth-layout.tsx +177 -0
  295. package/ui-ux-design/skills/shadcn-ui/examples/data-table.tsx +313 -0
  296. package/ui-ux-design/skills/shadcn-ui/examples/form-pattern.tsx +177 -0
  297. package/ui-ux-design/skills/shadcn-ui/resources/component-catalog.md +481 -0
  298. package/ui-ux-design/skills/shadcn-ui/resources/customization-guide.md +516 -0
  299. package/ui-ux-design/skills/shadcn-ui/resources/migration-guide.md +463 -0
  300. package/ui-ux-design/skills/shadcn-ui/resources/setup-guide.md +412 -0
  301. package/ui-ux-design/skills/shadcn-ui/scripts/verify-setup.sh +134 -0
  302. package/ui-ux-design/skills/ui-ux-design/SKILL.md +171 -0
  303. package/ui-ux-design/skills/ui-ux-design/references/brand-and-voice.md +78 -0
  304. package/ui-ux-design/skills/ui-ux-design/references/chrome-mobile-test-matrix.md +137 -0
  305. package/ui-ux-design/skills/ui-ux-design/references/components-and-states.md +112 -0
  306. package/ui-ux-design/skills/ui-ux-design/references/delight-and-motion.md +54 -0
  307. package/ui-ux-design/skills/ui-ux-design/references/foundations.md +145 -0
  308. package/ui-ux-design/skills/ui-ux-design/references/inclusive-ai-imagery.md +57 -0
  309. package/ui-ux-design/skills/ui-ux-design/references/kole-jain-uiux-concepts.md +104 -0
  310. package/ui-ux-design/skills/ui-ux-design/references/kuinetic-reference.md +184 -0
  311. package/ui-ux-design/skills/ui-ux-design/references/openai-frontend-skill.md +139 -0
  312. package/ui-ux-design/skills/ui-ux-design/references/premium-ui.md +55 -0
  313. package/ui-ux-design/skills/ui-ux-design/references/research-and-validation.md +88 -0
  314. package/ui-ux-design/skills/ui-ux-design/references/sam-crawford-premium-websites.md +103 -0
  315. package/ui-ux-design/skills/ui-ux-design/references/self-made-web-designer-core-skills.md +119 -0
  316. package/ui-ux-design/skills/ui-ux-design/references/ui-animation.md +173 -0
  317. package/ui-ux-design/skills/ui-ux-design/references/ui-loop.md +234 -0
  318. package/ui-ux-design/skills/ui-ux-design/references/visual-storytelling.md +54 -0
  319. package/ui-ux-design/skills/vercel-web-design-guidelines/SKILL.md +39 -0
  320. package/ui-ux-design/skills/web-compliance/SKILL.md +134 -0
  321. package/ui-ux-design/skills/web-compliance/references/audit-evidence.md +59 -0
  322. package/vercel/NOTES.md +23 -0
  323. package/vercel/mcp.json +4 -0
  324. package/vercel/object-stores/vercel-blob.mjs +147 -0
  325. package/vercel/plugin.json +47 -0
  326. package/vercel/skills/vercel/SKILL.md +48 -0
  327. package/vercel/targets/vercel.mjs +586 -0
  328. package/vercel/tovu-consent.json +6 -0
  329. package/vercel/tovu-deploy-targets.json +219 -0
  330. package/vercel/tovu-object-stores.json +10 -0
  331. package/wordpress/NOTES.md +33 -0
  332. package/wordpress/plugin.json +30 -0
  333. package/wordpress/skills/wordpress/SKILL.md +43 -0
  334. package/wordpress/skills/wordpress/references/free-site-redirect.md +46 -0
  335. package/wordpress/skills/wordpress/references/subdomain.md +66 -0
@@ -0,0 +1,40 @@
1
+ # interface-design:audit
2
+
3
+ Check existing interface code against the active design system.
4
+
5
+ ## When a System Exists
6
+
7
+ Audit for:
8
+
9
+ - spacing values that are off-grid
10
+ - depth violations such as unsupported shadows or borders
11
+ - colors outside the defined palette
12
+ - pattern drift in buttons, cards, inputs, tables, or surfaces
13
+
14
+ ## Report Format
15
+
16
+ ```text
17
+ Audit Results: src/components/
18
+
19
+ Violations:
20
+ Button.tsx:12 - Height 38px (pattern: 36px)
21
+ Card.tsx:8 - Shadow used (system: borders-only)
22
+ Input.tsx:20 - Spacing 14px (grid: 4px, nearest: 12px or 16px)
23
+
24
+ Suggestions:
25
+ - Update Button height to match pattern
26
+ - Replace shadow with border
27
+ - Adjust spacing to grid
28
+ ```
29
+
30
+ ## When No System Exists
31
+
32
+ - State that no design system is available yet.
33
+ - Recommend building one by implementing a screen or extracting patterns from existing code.
34
+
35
+ ## Implementation Notes
36
+
37
+ - Read the active system file.
38
+ - Read the target files.
39
+ - Compare the code against the active direction, tokens, and patterns.
40
+ - Report violations with the smallest practical fix.
@@ -0,0 +1,21 @@
1
+ # interface-design:critique
2
+
3
+ Critique a completed interface for craft, then rebuild the parts that defaulted.
4
+
5
+ ## Review Pass
6
+
7
+ Look for:
8
+
9
+ - flat or monotone composition
10
+ - weak rhythm or spacing
11
+ - unclear hierarchy
12
+ - generic surfaces or border/shadow choices
13
+ - missing interactive states
14
+ - structure held together with layout hacks
15
+
16
+ ## Process
17
+
18
+ 1. Review the output as a design lead would.
19
+ 2. Identify where the work defaulted instead of deciding.
20
+ 3. Rebuild those parts from the decision, not from a patch.
21
+ 4. Keep the critique focused on the visible interface.
@@ -0,0 +1,34 @@
1
+ # interface-design:extract
2
+
3
+ Extract a design system from existing UI code.
4
+
5
+ ## What to Look For
6
+
7
+ - repeated spacing values
8
+ - repeated radius values
9
+ - common button sizes and padding
10
+ - repeated card treatment
11
+ - depth strategy, especially borders vs shadows
12
+
13
+ ## Output Shape
14
+
15
+ ```text
16
+ Extracted patterns:
17
+
18
+ Spacing:
19
+ Base: 4px
20
+ Scale: 4, 8, 12, 16, 24, 32
21
+
22
+ Depth: Borders-only
23
+
24
+ Patterns:
25
+ Button: 36px h, 12px 16px pad, 6px radius
26
+ Card: 1px border, 16px pad
27
+ ```
28
+
29
+ ## Workflow
30
+
31
+ 1. Scan UI files.
32
+ 2. Aggregate repeated values and component patterns.
33
+ 3. Propose a system that matches the dominant pattern set.
34
+ 4. Let the user customize before saving.
@@ -0,0 +1,31 @@
1
+ # interface-design:init
2
+
3
+ Build UI with a craft-first system instead of ad hoc component choices.
4
+
5
+ ## Workflow
6
+
7
+ 1. Read `SKILL.md`.
8
+ 2. Check whether `.interface-design/system.md` already exists.
9
+ 3. If it exists, apply the existing direction and patterns.
10
+ 4. If it does not exist, infer a direction from the product context and ask for confirmation before locking it in.
11
+ 5. Build the UI using the chosen direction.
12
+ 6. Offer to save any stable decisions into `.interface-design/system.md`.
13
+
14
+ ## Before Building Each Component
15
+
16
+ State the intent and the technical approach before writing code:
17
+
18
+ - who the human is
19
+ - what they need to accomplish
20
+ - what the screen should feel like
21
+ - palette choice and why it fits
22
+ - depth choice and why it fits
23
+ - surfaces and why they fit
24
+ - typography and why it fits
25
+ - spacing base
26
+
27
+ ## Guardrails
28
+
29
+ - Do not default to generic UI if the product has a distinct world or tone.
30
+ - Do not skip the system decision step when repeated UI work is likely.
31
+ - Do not narrate internal process to the user unless they need the design decision explained.
@@ -0,0 +1,22 @@
1
+ # interface-design:status
2
+
3
+ Show the current design system state.
4
+
5
+ ## If a System Exists
6
+
7
+ Display:
8
+
9
+ - direction
10
+ - foundation
11
+ - depth
12
+ - spacing base and scale
13
+ - color token count
14
+ - core component patterns
15
+ - last updated timestamp
16
+
17
+ ## If No System Exists
18
+
19
+ State that no design system is present yet and suggest:
20
+
21
+ - build a screen to establish patterns
22
+ - run `interface-design:extract` on existing code
@@ -0,0 +1,29 @@
1
+ # Design System Example - Precision & Density
2
+
3
+ Use this when the interface is a dense dashboard, admin panel, or technical tool.
4
+
5
+ ## Direction
6
+
7
+ **Personality:** Precision & Density
8
+ **Foundation:** Cool
9
+ **Depth:** Borders-only
10
+
11
+ ## Tokens
12
+
13
+ - Spacing base: 4px
14
+ - Radius scale: 4px, 6px, 8px
15
+ - Font: system-ui or Geist
16
+ - Scale: 11, 12, 13, 14, 16, 18
17
+ - Weights: 400, 500, 600
18
+
19
+ ## Patterns
20
+
21
+ - Button: 32px height, compact padding, 4px radius, border-first
22
+ - Card: faint border, 12px padding, 6px radius, no shadow
23
+ - Table cell: 8px 12px padding, tabular numbers
24
+
25
+ ## Decision Bias
26
+
27
+ - Prefer information density over decorative lift.
28
+ - Prefer borders and tonal separation over heavy shadows.
29
+ - Use compact sizing for power-user workflows.
@@ -0,0 +1,29 @@
1
+ # Design System Example - Warmth & Approachability
2
+
3
+ Use this when the interface should feel friendly, collaborative, or consumer-oriented.
4
+
5
+ ## Direction
6
+
7
+ **Personality:** Warmth & Approachability
8
+ **Foundation:** Warm
9
+ **Depth:** Subtle shadows
10
+
11
+ ## Tokens
12
+
13
+ - Spacing base: 4px
14
+ - Radius scale: 8px, 12px, 16px
15
+ - Font: Inter or another approachable UI face
16
+ - Scale: 13, 14, 15, 16, 18, 20, 24
17
+ - Weights: 400, 500, 600
18
+
19
+ ## Patterns
20
+
21
+ - Button: 40px height, comfortable padding, 8px radius
22
+ - Card: soft shadow, 20px padding, rounded corners
23
+ - Input: 44px height, generous padding, visible focus state
24
+
25
+ ## Decision Bias
26
+
27
+ - Prefer soft depth and generous whitespace.
28
+ - Prefer readable, inviting surfaces over technical density.
29
+ - Use this when the product benefits from calm and friendliness.
@@ -0,0 +1,57 @@
1
+ # Design System Template
2
+
3
+ Use this as the starting shape for `.interface-design/system.md`.
4
+
5
+ ## Direction
6
+
7
+ **Personality:** [Precision & Density | Warmth & Approachability | Sophistication & Trust | Boldness & Clarity | Utility & Function | Data & Analysis]
8
+
9
+ **Foundation:** [warm | cool | neutral | tinted]
10
+
11
+ **Depth:** [borders-only | subtle-shadows | layered-shadows]
12
+
13
+ ## Tokens
14
+
15
+ ### Spacing
16
+ Base: [4px | 8px]
17
+ Scale: [4, 8, 12, 16, 24, 32, 64]
18
+
19
+ ### Colors
20
+ ```css
21
+ --foreground: [slate-900]
22
+ --secondary: [slate-600]
23
+ --muted: [slate-400]
24
+ --faint: [slate-200]
25
+ --accent: [blue-600]
26
+ ```
27
+
28
+ ### Radius
29
+ Scale: [4px, 6px, 8px] (sharp) or [8px, 12px, 16px] (soft)
30
+
31
+ ### Typography
32
+ Font: [system | Inter | Geist]
33
+ Scale: 12, 13, 14 (base), 16, 18, 24, 32
34
+ Weights: 400, 500, 600
35
+
36
+ ## Patterns
37
+
38
+ ### Button Primary
39
+ - Height: 36px
40
+ - Padding: 12px 16px
41
+ - Radius: 6px
42
+ - Font: 14px, 500 weight
43
+ - Usage: primary actions
44
+
45
+ ### Card Default
46
+ - Border: 0.5px solid (faint)
47
+ - Padding: 16px
48
+ - Radius: 8px
49
+ - Background: white
50
+ - Usage: content containers
51
+
52
+ ## Decisions
53
+
54
+ | Decision | Rationale | Date |
55
+ |---|---|---|
56
+ | Borders-only depth | Dashboard tool, users want density. Shadows add visual weight without information value. | YYYY-MM-DD |
57
+ | 4px spacing base | Tight enough for data tables, divisible by common UI sizes | YYYY-MM-DD |
@@ -0,0 +1,244 @@
1
+ # shadcn/ui Integration Skill
2
+
3
+ ## Install
4
+
5
+ ```bash
6
+ npx skills add google-labs-code/stitch-skills --skill shadcn-ui --global
7
+ ```
8
+
9
+ ## What It Does
10
+
11
+ This skill provides expert guidance for integrating shadcn/ui components into your React applications. It helps you discover, install, customize, and optimize shadcn/ui components while following best practices.
12
+
13
+ ## Example Prompts
14
+
15
+ ```text
16
+ Help me set up shadcn/ui in my Next.js project
17
+
18
+ Add a data table component with sorting and filtering to my app
19
+
20
+ Show me how to customize the button component with a new variant
21
+
22
+ Create a login form using shadcn/ui components with validation
23
+
24
+ Build a dashboard layout with sidebar navigation using shadcn/ui blocks
25
+ ```
26
+
27
+ ## What is shadcn/ui?
28
+
29
+ shadcn/ui is a collection of beautifully designed, accessible, and customizable components built with:
30
+ - **Radix UI or Base UI**: Unstyled, accessible component primitives
31
+ - **Tailwind CSS**: Utility-first styling framework
32
+ - **TypeScript**: Full type safety
33
+
34
+ **Key Difference**: Unlike traditional component libraries, shadcn/ui copies components directly into your project. This gives you:
35
+ - Full control over the code
36
+ - No version lock-in
37
+ - Complete customization freedom
38
+ - Zero runtime overhead
39
+
40
+ ## Skill Structure
41
+
42
+ ```text
43
+ skills/shadcn-ui/
44
+ ├── SKILL.md — Core instructions & workflow
45
+ ├── README.md — This file
46
+ ├── examples/ — Example implementations
47
+ │ ├── form-pattern.tsx — Form with validation
48
+ │ ├── data-table.tsx — Advanced table with sorting
49
+ │ └── auth-layout.tsx — Authentication flow
50
+ ├── resources/ — Reference documentation
51
+ │ ├── setup-guide.md — Project initialization
52
+ │ ├── component-catalog.md — Component reference
53
+ │ ├── customization-guide.md — Theming patterns
54
+ │ └── migration-guide.md — Migration from other libraries
55
+ └── scripts/ — Utility scripts
56
+ └── verify-setup.sh — Validate project configuration
57
+ ```
58
+
59
+ ## How It Works
60
+
61
+ When activated, the agent follows this workflow:
62
+
63
+ ### 1. **Discovery & Planning**
64
+ - Lists available components using shadcn MCP tools
65
+ - Identifies required dependencies
66
+ - Plans component composition strategy
67
+
68
+ ### 2. **Setup & Configuration**
69
+ - Verifies or initializes `components.json`
70
+ - Checks Tailwind CSS configuration
71
+ - Validates import aliases and paths
72
+
73
+ ### 3. **Component Integration**
74
+ - Retrieves component source code
75
+ - Installs via CLI or manual integration
76
+ - Handles dependency installation
77
+
78
+ ### 4. **Customization**
79
+ - Applies theme customization
80
+ - Creates component variants
81
+ - Extends components with custom logic
82
+
83
+ ### 5. **Quality Assurance**
84
+ - Validates TypeScript types
85
+ - Checks accessibility compliance
86
+ - Verifies responsive behavior
87
+
88
+ ## Prerequisites
89
+
90
+ Your project should have:
91
+ - **React 18+**
92
+ - **Tailwind CSS 3.0+**
93
+ - **TypeScript** (recommended)
94
+ - **Node.js 18+**
95
+
96
+ ## Quick Start
97
+
98
+ ### For New Projects
99
+
100
+ ```bash
101
+ # Create Next.js project with shadcn/ui
102
+ npx create-next-app@latest my-app
103
+ cd my-app
104
+ npx shadcn@latest init
105
+
106
+ # Add components
107
+ npx shadcn@latest add button
108
+ npx shadcn@latest add card
109
+ ```
110
+
111
+ ### For Existing Projects
112
+
113
+ ```bash
114
+ # Initialize shadcn/ui
115
+ npx shadcn@latest init
116
+
117
+ # Configure when prompted:
118
+ # - Choose style (default/new-york)
119
+ # - Select base color
120
+ # - Configure CSS variables
121
+ # - Set import aliases
122
+
123
+ # Add your first component
124
+ npx shadcn@latest add button
125
+ ```
126
+
127
+ ## Available Components
128
+
129
+ shadcn/ui provides 50+ components including:
130
+
131
+ **Layout**: Accordion, Card, Separator, Tabs, Collapsible
132
+ **Forms**: Button, Input, Label, Checkbox, Radio Group, Select, Textarea
133
+ **Data Display**: Table, Badge, Avatar, Progress, Skeleton
134
+ **Overlays**: Dialog, Sheet, Popover, Tooltip, Dropdown Menu
135
+ **Navigation**: Navigation Menu, Tabs, Breadcrumb, Pagination
136
+ **Feedback**: Alert, Alert Dialog, Toast, Command
137
+
138
+ Plus complete **Blocks** like:
139
+ - Authentication forms
140
+ - Dashboard layouts
141
+ - Calendar interfaces
142
+ - Sidebar navigation
143
+ - E-commerce components
144
+
145
+ ## Customization Approach
146
+
147
+ ### Theme-Level Customization
148
+ Modify CSS variables in `globals.css`:
149
+ ```css
150
+ :root {
151
+ --primary: 221.2 83.2% 53.3%;
152
+ --secondary: 210 40% 96.1%;
153
+ /* ... */
154
+ }
155
+ ```
156
+
157
+ ### Component-Level Customization
158
+ Components use `class-variance-authority` for variants:
159
+ ```typescript
160
+ const buttonVariants = cva(
161
+ "base-classes",
162
+ {
163
+ variants: {
164
+ variant: { default: "...", destructive: "..." },
165
+ size: { default: "...", sm: "..." },
166
+ }
167
+ }
168
+ )
169
+ ```
170
+
171
+ ### Composition
172
+ Create higher-level components:
173
+ ```typescript
174
+ // Compose existing components
175
+ export function FeatureCard({ title, description, icon }) {
176
+ return (
177
+ <Card>
178
+ <CardHeader>
179
+ {icon}
180
+ <CardTitle>{title}</CardTitle>
181
+ </CardHeader>
182
+ <CardContent>
183
+ <p>{description}</p>
184
+ </CardContent>
185
+ </Card>
186
+ )
187
+ }
188
+ ```
189
+
190
+ ## Integration with MCP Tools
191
+
192
+ This skill leverages shadcn MCP server capabilities:
193
+
194
+ - `list_components` - Browse component catalog
195
+ - `get_component` - Retrieve component source
196
+ - `get_component_metadata` - View props and dependencies
197
+ - `get_component_demo` - See usage examples
198
+ - `list_blocks` - Browse UI blocks
199
+ - `get_block` - Retrieve block source with all files
200
+ - `search_items_in_registries` - Find components in custom registries
201
+
202
+ ## Best Practices
203
+
204
+ 1. **Keep `ui/` pure**: Don't modify components in `components/ui/` directly
205
+ 2. **Compose, don't fork**: Create wrapper components instead of editing originals
206
+ 3. **Use the CLI**: Let `shadcn add` handle dependencies and updates
207
+ 4. **Maintain consistency**: Use the `cn()` utility for all class merging
208
+ 5. **Respect accessibility**: Preserve ARIA attributes and keyboard handlers
209
+ 6. **Test responsiveness**: shadcn components are responsive by default—keep it that way
210
+
211
+ ## Troubleshooting
212
+
213
+ ### "Module not found" errors
214
+ Check your `tsconfig.json` includes path aliases:
215
+ ```json
216
+ {
217
+ "compilerOptions": {
218
+ "paths": {
219
+ "@/*": ["./src/*"]
220
+ }
221
+ }
222
+ }
223
+ ```
224
+
225
+ ### Styles not applying
226
+ - Import `globals.css` in your root layout
227
+ - Verify Tailwind config includes component paths
228
+ - Check CSS variable definitions match component expectations
229
+
230
+ ### TypeScript errors
231
+ - Ensure all Radix UI peer dependencies are installed
232
+ - Run `npm install` after adding components via CLI
233
+ - Check that React types are up to date
234
+
235
+ ## Further Reading
236
+
237
+ - [Official Documentation](https://ui.shadcn.com)
238
+ - [Component Source](https://github.com/shadcn-ui/ui)
239
+ - [Radix UI Docs](https://www.radix-ui.com)
240
+ - [Tailwind CSS Docs](https://tailwindcss.com)
241
+
242
+ ## Notes
243
+
244
+ Runtime guidance lives in `SKILL.md`. Deeper material lives under `resources/`, `examples/`, and `scripts/`.