@cubis/foundry 0.3.70 → 0.3.72

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 (304) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/cli/core.js +4 -18
  3. package/dist/cli/core.js.map +1 -1
  4. package/package.json +1 -1
  5. package/src/cli/core.ts +4 -18
  6. package/workflows/powers/accessibility/POWER.md +83 -94
  7. package/workflows/powers/accessibility/SKILL.md +82 -94
  8. package/workflows/powers/agent-design/POWER.md +201 -0
  9. package/workflows/powers/agent-design/SKILL.md +198 -0
  10. package/workflows/powers/agent-design/references/clarification-patterns.md +153 -0
  11. package/workflows/powers/agent-design/references/skill-testing.md +164 -0
  12. package/workflows/powers/agent-design/references/workflow-patterns.md +226 -0
  13. package/workflows/powers/agentic-eval/POWER.md +62 -0
  14. package/workflows/powers/agentic-eval/SKILL.md +59 -0
  15. package/workflows/powers/agentic-eval/references/rubric-and-regression-checklist.md +11 -0
  16. package/workflows/powers/api-designer/POWER.md +43 -71
  17. package/workflows/powers/api-designer/SKILL.md +43 -71
  18. package/workflows/powers/api-patterns/POWER.md +42 -56
  19. package/workflows/powers/api-patterns/SKILL.md +42 -57
  20. package/workflows/powers/architecture-designer/POWER.md +43 -60
  21. package/workflows/powers/architecture-designer/SKILL.md +43 -60
  22. package/workflows/powers/ask-questions-if-underspecified/POWER.md +51 -3
  23. package/workflows/powers/ask-questions-if-underspecified/SKILL.md +51 -3
  24. package/workflows/powers/auth-architect/POWER.md +69 -0
  25. package/workflows/powers/auth-architect/SKILL.md +66 -0
  26. package/workflows/powers/auth-architect/references/session-token-policy-checklist.md +45 -0
  27. package/workflows/powers/behavioral-modes/POWER.md +100 -9
  28. package/workflows/powers/behavioral-modes/SKILL.md +100 -9
  29. package/workflows/powers/c-pro/POWER.md +105 -0
  30. package/workflows/powers/c-pro/SKILL.md +102 -0
  31. package/workflows/powers/c-pro/references/build-systems-and-toolchains.md +148 -0
  32. package/workflows/powers/c-pro/references/common-ub-and-portability.md +166 -0
  33. package/workflows/powers/c-pro/references/debugging-with-sanitizers.md +205 -0
  34. package/workflows/powers/c-pro/references/memory-safety-and-build-checklist.md +60 -0
  35. package/workflows/powers/c-pro/references/posix-and-platform-apis.md +244 -0
  36. package/workflows/powers/changelog-generator/POWER.md +127 -63
  37. package/workflows/powers/changelog-generator/SKILL.md +126 -63
  38. package/workflows/powers/ci-cd-pipelines/POWER.md +156 -0
  39. package/workflows/powers/ci-cd-pipelines/SKILL.md +153 -0
  40. package/workflows/powers/ci-cd-pipelines/references/github-actions-patterns.md +160 -0
  41. package/workflows/powers/ci-cd-pipelines/references/pipeline-security-checklist.md +57 -0
  42. package/workflows/powers/cli-developer/POWER.md +152 -95
  43. package/workflows/powers/cli-developer/SKILL.md +152 -95
  44. package/workflows/powers/cpp-pro/POWER.md +111 -0
  45. package/workflows/powers/cpp-pro/SKILL.md +108 -0
  46. package/workflows/powers/cpp-pro/references/concurrency-primitives.md +266 -0
  47. package/workflows/powers/cpp-pro/references/move-semantics-and-value-types.md +149 -0
  48. package/workflows/powers/cpp-pro/references/performance-and-profiling.md +191 -0
  49. package/workflows/powers/cpp-pro/references/raii-and-modern-cpp-checklist.md +87 -0
  50. package/workflows/powers/cpp-pro/references/template-and-concepts-patterns.md +205 -0
  51. package/workflows/powers/csharp-pro/POWER.md +47 -22
  52. package/workflows/powers/csharp-pro/SKILL.md +47 -22
  53. package/workflows/powers/dart-pro/POWER.md +68 -0
  54. package/workflows/powers/dart-pro/SKILL.md +65 -0
  55. package/workflows/powers/dart-pro/references/isolate-and-concurrency.md +180 -0
  56. package/workflows/powers/dart-pro/references/null-safety-and-async-patterns.md +133 -0
  57. package/workflows/powers/dart-pro/references/package-structure-and-linting.md +193 -0
  58. package/workflows/powers/dart-pro/references/sealed-records-patterns.md +173 -0
  59. package/workflows/powers/dart-pro/references/testing-and-mocking.md +235 -0
  60. package/workflows/powers/database-design/POWER.md +47 -33
  61. package/workflows/powers/database-design/SKILL.md +47 -33
  62. package/workflows/powers/database-optimizer/POWER.md +43 -64
  63. package/workflows/powers/database-optimizer/SKILL.md +43 -64
  64. package/workflows/powers/database-skills/POWER.md +59 -93
  65. package/workflows/powers/database-skills/SKILL.md +59 -93
  66. package/workflows/powers/debugging-strategies/POWER.md +69 -0
  67. package/workflows/powers/debugging-strategies/SKILL.md +66 -0
  68. package/workflows/powers/debugging-strategies/references/reproduce-isolate-verify-checklist.md +42 -0
  69. package/workflows/powers/deep-research/POWER.md +67 -0
  70. package/workflows/powers/deep-research/SKILL.md +64 -0
  71. package/workflows/powers/deep-research/references/multi-round-research-loop.md +80 -0
  72. package/workflows/powers/design-system-builder/POWER.md +130 -116
  73. package/workflows/powers/design-system-builder/SKILL.md +130 -116
  74. package/workflows/powers/devops-engineer/POWER.md +120 -57
  75. package/workflows/powers/devops-engineer/SKILL.md +120 -57
  76. package/workflows/powers/docker-kubernetes/POWER.md +94 -0
  77. package/workflows/powers/docker-kubernetes/SKILL.md +91 -0
  78. package/workflows/powers/docker-kubernetes/references/dockerfile-optimization-checklist.md +35 -0
  79. package/workflows/powers/docker-kubernetes/references/kubernetes-deployment-patterns.md +59 -0
  80. package/workflows/powers/documentation-templates/POWER.md +158 -127
  81. package/workflows/powers/documentation-templates/SKILL.md +158 -127
  82. package/workflows/powers/drizzle-expert/POWER.md +66 -0
  83. package/workflows/powers/drizzle-expert/SKILL.md +63 -0
  84. package/workflows/powers/drizzle-expert/references/runtime-pairing-matrix.md +16 -0
  85. package/workflows/powers/drizzle-expert/references/schema-and-migration-playbook.md +18 -0
  86. package/workflows/powers/error-ux-observability/POWER.md +144 -131
  87. package/workflows/powers/error-ux-observability/SKILL.md +143 -131
  88. package/workflows/powers/fastapi-expert/POWER.md +46 -60
  89. package/workflows/powers/fastapi-expert/SKILL.md +46 -60
  90. package/workflows/powers/firebase/POWER.md +65 -0
  91. package/workflows/powers/firebase/SKILL.md +62 -0
  92. package/workflows/powers/firebase/references/platform-routing.md +16 -0
  93. package/workflows/powers/firebase/references/rules-and-indexes-checklist.md +11 -0
  94. package/workflows/powers/flutter-design-system/POWER.md +63 -0
  95. package/workflows/powers/flutter-design-system/SKILL.md +60 -0
  96. package/workflows/powers/flutter-design-system/references/shared-widgets.md +29 -0
  97. package/workflows/powers/flutter-design-system/references/tokens-and-theme.md +34 -0
  98. package/workflows/powers/flutter-drift/POWER.md +65 -0
  99. package/workflows/powers/flutter-drift/SKILL.md +62 -0
  100. package/workflows/powers/flutter-drift/references/migrations.md +22 -0
  101. package/workflows/powers/flutter-drift/references/query-patterns.md +26 -0
  102. package/workflows/powers/flutter-feature/POWER.md +65 -0
  103. package/workflows/powers/flutter-feature/SKILL.md +62 -0
  104. package/workflows/powers/flutter-feature/references/architecture-rules.md +85 -0
  105. package/workflows/powers/flutter-feature/references/composite-provider.md +58 -0
  106. package/workflows/powers/flutter-feature/references/outbox-pattern.md +87 -0
  107. package/workflows/powers/flutter-feature/references/testing-patterns.md +218 -0
  108. package/workflows/powers/flutter-go-router/POWER.md +64 -0
  109. package/workflows/powers/flutter-go-router/SKILL.md +61 -0
  110. package/workflows/powers/flutter-go-router/references/guards-and-deeplinks.md +20 -0
  111. package/workflows/powers/flutter-go-router/references/typed-routes.md +27 -0
  112. package/workflows/powers/flutter-offline-sync/POWER.md +62 -0
  113. package/workflows/powers/flutter-offline-sync/SKILL.md +59 -0
  114. package/workflows/powers/flutter-offline-sync/references/outbox-full.md +44 -0
  115. package/workflows/powers/flutter-repository/POWER.md +64 -0
  116. package/workflows/powers/flutter-repository/SKILL.md +61 -0
  117. package/workflows/powers/flutter-repository/references/drift-patterns.md +21 -0
  118. package/workflows/powers/flutter-repository/references/retrofit-patterns.md +20 -0
  119. package/workflows/powers/flutter-riverpod/POWER.md +70 -0
  120. package/workflows/powers/flutter-riverpod/SKILL.md +67 -0
  121. package/workflows/powers/flutter-riverpod/references/async-and-mutations.md +19 -0
  122. package/workflows/powers/flutter-riverpod/references/async-lifecycle.md +19 -0
  123. package/workflows/powers/flutter-riverpod/references/provider-selection.md +20 -0
  124. package/workflows/powers/flutter-riverpod/references/testing.md +21 -0
  125. package/workflows/powers/flutter-riverpod/references/version-matrix.md +24 -0
  126. package/workflows/powers/flutter-state-machine/POWER.md +62 -0
  127. package/workflows/powers/flutter-state-machine/SKILL.md +59 -0
  128. package/workflows/powers/flutter-state-machine/references/app-state-contract.md +23 -0
  129. package/workflows/powers/flutter-state-machine/references/ui-rendering.md +14 -0
  130. package/workflows/powers/flutter-testing/POWER.md +64 -0
  131. package/workflows/powers/flutter-testing/SKILL.md +61 -0
  132. package/workflows/powers/flutter-testing/references/offline-sync-tests.md +16 -0
  133. package/workflows/powers/flutter-testing/references/test-layers.md +33 -0
  134. package/workflows/powers/frontend-code-review/POWER.md +137 -0
  135. package/workflows/powers/frontend-code-review/SKILL.md +134 -0
  136. package/workflows/powers/frontend-code-review/references/common-antipatterns.md +86 -0
  137. package/workflows/powers/frontend-code-review/references/performance-budgets.md +56 -0
  138. package/workflows/powers/frontend-code-review/references/review-checklists.md +47 -0
  139. package/workflows/powers/frontend-design/POWER.md +163 -362
  140. package/workflows/powers/frontend-design/SKILL.md +163 -362
  141. package/workflows/powers/game-development/POWER.md +57 -140
  142. package/workflows/powers/game-development/SKILL.md +57 -140
  143. package/workflows/powers/geo-fundamentals/POWER.md +64 -126
  144. package/workflows/powers/geo-fundamentals/SKILL.md +64 -127
  145. package/workflows/powers/git-workflow/POWER.md +135 -0
  146. package/workflows/powers/git-workflow/SKILL.md +132 -0
  147. package/workflows/powers/git-workflow/references/pr-review-checklist.md +63 -0
  148. package/workflows/powers/golang-pro/POWER.md +46 -35
  149. package/workflows/powers/golang-pro/SKILL.md +46 -35
  150. package/workflows/powers/graphql-architect/POWER.md +44 -62
  151. package/workflows/powers/graphql-architect/SKILL.md +44 -62
  152. package/workflows/powers/i18n-localization/POWER.md +118 -103
  153. package/workflows/powers/i18n-localization/SKILL.md +118 -103
  154. package/workflows/powers/java-pro/POWER.md +47 -22
  155. package/workflows/powers/java-pro/SKILL.md +47 -22
  156. package/workflows/powers/javascript-pro/POWER.md +47 -34
  157. package/workflows/powers/javascript-pro/SKILL.md +47 -34
  158. package/workflows/powers/kotlin-pro/POWER.md +46 -23
  159. package/workflows/powers/kotlin-pro/SKILL.md +46 -23
  160. package/workflows/powers/legacy-modernizer/POWER.md +43 -60
  161. package/workflows/powers/legacy-modernizer/SKILL.md +43 -60
  162. package/workflows/powers/mcp-builder/POWER.md +65 -0
  163. package/workflows/powers/mcp-builder/SKILL.md +62 -0
  164. package/workflows/powers/mcp-builder/references/testing-and-evals.md +17 -0
  165. package/workflows/powers/mcp-builder/references/transport-and-tool-design.md +17 -0
  166. package/workflows/powers/microservices-architect/POWER.md +43 -70
  167. package/workflows/powers/microservices-architect/SKILL.md +43 -70
  168. package/workflows/powers/mobile-design/POWER.md +110 -345
  169. package/workflows/powers/mobile-design/SKILL.md +110 -345
  170. package/workflows/powers/mongodb/POWER.md +67 -0
  171. package/workflows/powers/mongodb/SKILL.md +64 -0
  172. package/workflows/powers/mongodb/references/mongodb-checklist.md +20 -0
  173. package/workflows/powers/mysql/POWER.md +67 -0
  174. package/workflows/powers/mysql/SKILL.md +64 -0
  175. package/workflows/powers/mysql/references/mysql-checklist.md +20 -0
  176. package/workflows/powers/neki/POWER.md +67 -0
  177. package/workflows/powers/neki/SKILL.md +64 -0
  178. package/workflows/powers/neki/references/neki-checklist.md +18 -0
  179. package/workflows/powers/nestjs-expert/POWER.md +45 -91
  180. package/workflows/powers/nestjs-expert/SKILL.md +45 -91
  181. package/workflows/powers/nextjs-developer/POWER.md +51 -44
  182. package/workflows/powers/nextjs-developer/SKILL.md +51 -44
  183. package/workflows/powers/nodejs-best-practices/POWER.md +48 -29
  184. package/workflows/powers/nodejs-best-practices/SKILL.md +48 -29
  185. package/workflows/powers/observability/POWER.md +109 -0
  186. package/workflows/powers/observability/SKILL.md +106 -0
  187. package/workflows/powers/observability/references/alerting-and-slo-checklist.md +87 -0
  188. package/workflows/powers/observability/references/opentelemetry-setup-guide.md +121 -0
  189. package/workflows/powers/openai-docs/POWER.md +61 -0
  190. package/workflows/powers/openai-docs/SKILL.md +58 -0
  191. package/workflows/powers/openai-docs/references/official-source-playbook.md +10 -0
  192. package/workflows/powers/performance-profiling/POWER.md +61 -114
  193. package/workflows/powers/performance-profiling/SKILL.md +61 -114
  194. package/workflows/powers/php-pro/POWER.md +116 -0
  195. package/workflows/powers/php-pro/SKILL.md +113 -0
  196. package/workflows/powers/php-pro/references/architecture-and-di.md +239 -0
  197. package/workflows/powers/php-pro/references/modern-php-features.md +189 -0
  198. package/workflows/powers/php-pro/references/performance-and-deployment.md +197 -0
  199. package/workflows/powers/php-pro/references/php84-strict-typing-checklist.md +161 -0
  200. package/workflows/powers/php-pro/references/testing-and-static-analysis.md +235 -0
  201. package/workflows/powers/playwright-e2e/POWER.md +85 -0
  202. package/workflows/powers/playwright-e2e/SKILL.md +82 -0
  203. package/workflows/powers/playwright-e2e/references/locator-trace-flake-checklist.md +80 -0
  204. package/workflows/powers/postgres/POWER.md +67 -0
  205. package/workflows/powers/postgres/SKILL.md +64 -0
  206. package/workflows/powers/postgres/references/postgres-checklist.md +20 -0
  207. package/workflows/powers/prompt-engineer/POWER.md +47 -30
  208. package/workflows/powers/prompt-engineer/SKILL.md +47 -30
  209. package/workflows/powers/python-pro/POWER.md +47 -36
  210. package/workflows/powers/python-pro/SKILL.md +47 -36
  211. package/workflows/powers/react-best-practices/POWER.md +56 -33
  212. package/workflows/powers/react-best-practices/SKILL.md +56 -33
  213. package/workflows/powers/react-expert/POWER.md +47 -37
  214. package/workflows/powers/react-expert/SKILL.md +47 -37
  215. package/workflows/powers/redis/POWER.md +67 -0
  216. package/workflows/powers/redis/SKILL.md +64 -0
  217. package/workflows/powers/redis/references/redis-checklist.md +19 -0
  218. package/workflows/powers/ruby-pro/POWER.md +118 -0
  219. package/workflows/powers/ruby-pro/SKILL.md +115 -0
  220. package/workflows/powers/ruby-pro/references/modern-ruby-features.md +189 -0
  221. package/workflows/powers/ruby-pro/references/object-design-patterns.md +220 -0
  222. package/workflows/powers/ruby-pro/references/performance-and-profiling.md +224 -0
  223. package/workflows/powers/ruby-pro/references/ruby-concurrency-and-testing.md +190 -0
  224. package/workflows/powers/ruby-pro/references/testing-and-rspec.md +236 -0
  225. package/workflows/powers/rust-pro/POWER.md +45 -31
  226. package/workflows/powers/rust-pro/SKILL.md +45 -31
  227. package/workflows/powers/security-engineer/POWER.md +129 -0
  228. package/workflows/powers/security-engineer/SKILL.md +126 -0
  229. package/workflows/powers/seo-fundamentals/POWER.md +59 -102
  230. package/workflows/powers/seo-fundamentals/SKILL.md +59 -102
  231. package/workflows/powers/serverless-patterns/POWER.md +171 -0
  232. package/workflows/powers/serverless-patterns/SKILL.md +168 -0
  233. package/workflows/powers/skill-creator/POWER.md +90 -0
  234. package/workflows/powers/skill-creator/SKILL.md +87 -0
  235. package/workflows/powers/skill-creator/references/platform-formats.md +181 -0
  236. package/workflows/powers/skill-creator/references/schemas.md +430 -0
  237. package/workflows/powers/spec-miner/POWER.md +49 -57
  238. package/workflows/powers/spec-miner/SKILL.md +49 -57
  239. package/workflows/powers/sqlite/POWER.md +67 -0
  240. package/workflows/powers/sqlite/SKILL.md +64 -0
  241. package/workflows/powers/sqlite/references/sqlite-checklist.md +19 -0
  242. package/workflows/powers/sre-engineer/POWER.md +123 -64
  243. package/workflows/powers/sre-engineer/SKILL.md +123 -64
  244. package/workflows/powers/static-analysis/POWER.md +121 -77
  245. package/workflows/powers/static-analysis/SKILL.md +121 -77
  246. package/workflows/powers/stripe-best-practices/POWER.md +140 -17
  247. package/workflows/powers/stripe-best-practices/SKILL.md +139 -17
  248. package/workflows/powers/supabase/POWER.md +67 -0
  249. package/workflows/powers/supabase/SKILL.md +64 -0
  250. package/workflows/powers/supabase/references/supabase-checklist.md +19 -0
  251. package/workflows/powers/swift-pro/POWER.md +118 -0
  252. package/workflows/powers/swift-pro/SKILL.md +115 -0
  253. package/workflows/powers/swift-pro/references/concurrency-patterns.md +165 -0
  254. package/workflows/powers/swift-pro/references/protocol-and-generics.md +172 -0
  255. package/workflows/powers/swift-pro/references/sendable-and-isolation.md +116 -0
  256. package/workflows/powers/swift-pro/references/swift-concurrency-and-protocols.md +260 -0
  257. package/workflows/powers/swift-pro/references/testing-and-packages.md +192 -0
  258. package/workflows/powers/tailwind-patterns/POWER.md +71 -240
  259. package/workflows/powers/tailwind-patterns/SKILL.md +71 -240
  260. package/workflows/powers/testing-patterns/POWER.md +155 -10
  261. package/workflows/powers/testing-patterns/SKILL.md +155 -10
  262. package/workflows/powers/typescript-pro/POWER.md +47 -38
  263. package/workflows/powers/typescript-pro/SKILL.md +47 -38
  264. package/workflows/powers/vitess/POWER.md +67 -0
  265. package/workflows/powers/vitess/SKILL.md +64 -0
  266. package/workflows/powers/vitess/references/vitess-checklist.md +19 -0
  267. package/workflows/powers/vulnerability-scanner/POWER.md +146 -10
  268. package/workflows/powers/vulnerability-scanner/SKILL.md +146 -10
  269. package/workflows/powers/web-perf/POWER.md +43 -170
  270. package/workflows/powers/web-perf/SKILL.md +43 -170
  271. package/workflows/powers/webapp-testing/POWER.md +43 -164
  272. package/workflows/powers/webapp-testing/SKILL.md +43 -164
  273. package/workflows/skills/agent-design/SKILL.md +198 -0
  274. package/workflows/skills/agent-design/references/clarification-patterns.md +153 -0
  275. package/workflows/skills/agent-design/references/skill-testing.md +164 -0
  276. package/workflows/skills/agent-design/references/workflow-patterns.md +226 -0
  277. package/workflows/skills/deep-research/SKILL.md +25 -20
  278. package/workflows/skills/deep-research/references/multi-round-research-loop.md +73 -8
  279. package/workflows/skills/frontend-design/SKILL.md +37 -32
  280. package/workflows/skills/frontend-design/commands/brand.md +167 -0
  281. package/workflows/skills/frontend-design/references/brand-presets.md +228 -0
  282. package/workflows/skills/generated/skill-audit.json +11 -2
  283. package/workflows/skills/generated/skill-catalog.json +37 -5
  284. package/workflows/skills/skills_index.json +1 -1
  285. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/agent-design/SKILL.md +198 -0
  286. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/agent-design/references/clarification-patterns.md +153 -0
  287. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/agent-design/references/skill-testing.md +164 -0
  288. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/agent-design/references/workflow-patterns.md +226 -0
  289. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/deep-research/SKILL.md +25 -20
  290. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/deep-research/references/multi-round-research-loop.md +73 -8
  291. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/frontend-design/SKILL.md +37 -32
  292. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/frontend-design/commands/brand.md +167 -0
  293. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/frontend-design/references/brand-presets.md +228 -0
  294. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/skills_index.json +1 -1
  295. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/agent-design/SKILL.md +197 -0
  296. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/agent-design/references/clarification-patterns.md +153 -0
  297. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/agent-design/references/skill-testing.md +164 -0
  298. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/agent-design/references/workflow-patterns.md +226 -0
  299. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/deep-research/SKILL.md +25 -20
  300. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/deep-research/references/multi-round-research-loop.md +73 -8
  301. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/frontend-design/SKILL.md +37 -32
  302. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/frontend-design/commands/brand.md +167 -0
  303. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/frontend-design/references/brand-presets.md +228 -0
  304. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/skills_index.json +1 -1
@@ -0,0 +1,167 @@
1
+ # /brand
2
+
3
+ Apply or enforce a specific brand identity across a frontend. Works from uploaded brand guidelines, a style guide document, hex palettes, or a named brand system.
4
+
5
+ ## Usage
6
+
7
+ ```
8
+ /brand → Prompt for brand context, then apply
9
+ /brand anthropic → Apply Anthropic's brand system
10
+ /brand <hex-palette> → Build tokens from provided hex values
11
+ /brand <element> → Apply brand to a specific component or section
12
+ ```
13
+
14
+ ## What It Does
15
+
16
+ Converts brand guidelines into a living CSS token system and applies it consistently across the interface. Outputs production-ready tokens plus updated component styles.
17
+
18
+ ## Workflow
19
+
20
+ ### 1. Gather Brand Inputs
21
+
22
+ Ask for (or detect from context):
23
+
24
+ - **Color values** — Primary, secondary, accent hex codes (or link to brand guide)
25
+ - **Typography** — Font families for headings and body. If not specified, choose a pairing that matches the brand's tone
26
+ - **Named brand** — If the user says "Anthropic", "Stripe", "Linear", "Vercel" etc., load known reference patterns from `references/brand-presets.md`
27
+
28
+ ### 2. Convert to OKLCH Tokens
29
+
30
+ Translate all hex values to OKLCH for perceptual uniformity. See `references/brand-presets.md` for the full conversion workflow.
31
+
32
+ ```css
33
+ /* Pattern: convert every color to oklch */
34
+ --brand-[name]: oklch(L% C H);
35
+ ```
36
+
37
+ ### 3. Build Semantic Token Layer
38
+
39
+ Map raw brand tokens to semantic roles. Never reference raw tokens directly in components:
40
+
41
+ ```css
42
+ :root {
43
+ /* Surfaces */
44
+ --color-bg: var(--brand-surface);
45
+ --color-bg-subtle: var(--brand-subtle);
46
+ --color-bg-elevated: var(--brand-elevated);
47
+
48
+ /* Text */
49
+ --color-text: var(--brand-ink);
50
+ --color-text-muted: var(--brand-mid);
51
+
52
+ /* Interactive */
53
+ --color-accent: var(--brand-primary-accent);
54
+ --color-accent-hover: oklch(
55
+ from var(--brand-primary-accent) calc(l - 0.05) c h
56
+ );
57
+
58
+ /* Borders */
59
+ --color-border: var(--brand-subtle);
60
+ --color-border-focus: var(--brand-primary-accent);
61
+ }
62
+ ```
63
+
64
+ ### 4. Apply Typography
65
+
66
+ Set font families from brand guidelines and load them via Google Fonts or system stack:
67
+
68
+ ```css
69
+ @import url("https://fonts.googleapis.com/css2?family=DISPLAY_FONT&family=BODY_FONT&display=swap");
70
+
71
+ :root {
72
+ --font-display: "Display Font", fallback, sans-serif;
73
+ --font-body: "Body Font", fallback, serif;
74
+ }
75
+ ```
76
+
77
+ Apply via element targeting:
78
+
79
+ - Headings, labels, buttons, nav → `var(--font-display)`
80
+ - Body copy, prose, descriptions → `var(--font-body)`
81
+
82
+ ### 5. Output Deliverables
83
+
84
+ Deliver:
85
+
86
+ 1. **Complete token file** — `tokens.css` or `:root {}` block with all brand tokens + semantic layer
87
+ 2. **Typography setup** — Font import + application rules
88
+ 3. **Component overrides** — Button, card, link, input, badge in brand style
89
+ 4. **Dark mode** — Inverted/adapted token values for `prefers-color-scheme: dark`
90
+ 5. **Usage notes** — How to swap the brand accent, where NOT to use accent color, contrast verification
91
+
92
+ ---
93
+
94
+ ## Anthropic Brand Quick-Apply
95
+
96
+ When the user requests Anthropic brand styling, use this preset directly:
97
+
98
+ ```css
99
+ /* ========================================
100
+ ANTHROPIC BRAND TOKENS
101
+ Source: github.com/anthropics/skills
102
+ ======================================== */
103
+ @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Lora:ital,wght@0,400;0,500;0,600;1,400&display=swap");
104
+
105
+ :root {
106
+ /* Neutrals */
107
+ --brand-ink: oklch(10.5% 0.006 85);
108
+ --brand-cream: oklch(98.2% 0.008 85);
109
+ --brand-mid: oklch(72% 0.009 85);
110
+ --brand-subtle: oklch(92% 0.01 85);
111
+
112
+ /* Accents */
113
+ --brand-orange: oklch(65% 0.145 42);
114
+ --brand-blue: oklch(65% 0.09 235);
115
+ --brand-green: oklch(57% 0.09 130);
116
+
117
+ /* Semantic layer */
118
+ --color-bg: var(--brand-cream);
119
+ --color-bg-subtle: var(--brand-subtle);
120
+ --color-text: var(--brand-ink);
121
+ --color-text-secondary: var(--brand-mid);
122
+ --color-accent: var(--brand-orange);
123
+ --color-accent-secondary: var(--brand-blue);
124
+ --color-border: var(--brand-subtle);
125
+
126
+ /* Typography */
127
+ --font-display: "Poppins", Arial, sans-serif;
128
+ --font-body: "Lora", Georgia, serif;
129
+ }
130
+
131
+ @media (prefers-color-scheme: dark) {
132
+ :root {
133
+ --color-bg: var(--brand-ink);
134
+ --color-bg-subtle: oklch(16% 0.008 85);
135
+ --color-text: var(--brand-cream);
136
+ --color-text-secondary: var(--brand-mid);
137
+ --color-border: oklch(22% 0.008 85);
138
+ }
139
+ }
140
+ ```
141
+
142
+ ---
143
+
144
+ ## Accessibility Check After Applying
145
+
146
+ After applying brand tokens, verify:
147
+
148
+ 1. **Text contrast**: `--color-text` on `--color-bg` must pass WCAG AA (4.5:1 normal, 3:1 large)
149
+ 2. **Accent on background**: `--color-accent` used as text or border must meet 3:1 minimum against its background
150
+ 3. **Focus states**: `--color-border-focus` must be visually distinct (3:1 against surrounding colors)
151
+
152
+ For Anthropic's palette: cream `#faf9f5` on near-black `#141413` gives ~18:1 — passes AAA. Orange `#d97757` on cream gives ~3.2:1 — acceptable for large text and UI components, not for small body text.
153
+
154
+ ---
155
+
156
+ ## Tone Alignment
157
+
158
+ After applying brand colors, make sure the _design choices_ match the brand character:
159
+
160
+ | Brand character | Design implication |
161
+ | ------------------------------------ | ---------------------------------------------------------------------------- |
162
+ | Warm, editorial (Anthropic) | Generous whitespace, serif body, soft borders, understated motion |
163
+ | Precise, minimal (Linear, Vercel) | Tight spacing, geometric sans only, sharp edges, instant transitions |
164
+ | Bold, consumer (Spotify, Duolingo) | Color-heavy, large type, playful shapes, expressive animation |
165
+ | Trustworthy, enterprise (Salesforce) | Blue-dominant, structured grids, conservative type, high information density |
166
+
167
+ Color alone doesn't make a branded interface feel right — spacing, motion, and layout personality must match.
@@ -0,0 +1,228 @@
1
+ # Brand Presets Reference
2
+
3
+ Use this reference when building interfaces that must conform to an existing brand system — whether a client-supplied style guide, a design system handoff, or a well-documented brand like Anthropic's.
4
+
5
+ ## Receiving Brand Guidelines
6
+
7
+ When a user hands over brand guidelines, extract these five things before writing any code:
8
+
9
+ | Extract | Ask or infer |
10
+ | ------------------ | ---------------------------------------------------------------------------- |
11
+ | **Color palette** | What are the primary, secondary, and accent hex values? |
12
+ | **Neutral system** | Are neutrals warm, cool, or truly achromatic? |
13
+ | **Typography** | Specific font families for headings and body? Variable font available? |
14
+ | **Spacing DNA** | Base unit? Tight/airy preference? |
15
+ | **Tone** | Where on the spectrum between playful ↔ authoritative, minimal ↔ expressive? |
16
+
17
+ ## Hex → OKLCH Conversion Workflow
18
+
19
+ Always convert brand hex colors to OKLCH for CSS. OKLCH gives you perceptual uniformity — colors with the same L value look equally bright, unlike hex or HSL.
20
+
21
+ ```css
22
+ /* Conversion pattern: hex → oklch via CSS Color 4 */
23
+ /* Most modern browsers accept oklch() natively */
24
+ /* Use https://oklch.com to find values, or compute: */
25
+
26
+ /* L = perceived lightness 0–100% */
27
+ /* C = chroma (colorfulness) 0–0.37ish */
28
+ /* H = hue angle 0–360 */
29
+
30
+ /* Example: #d97757 (warm orange) */
31
+ --brand-orange: oklch(65% 0.145 42);
32
+
33
+ /* Example: #faf9f5 (warm cream) */
34
+ --brand-surface: oklch(98.2% 0.008 85);
35
+
36
+ /* Example: #141413 (warm near-black) */
37
+ --brand-ink: oklch(10.5% 0.006 85);
38
+ ```
39
+
40
+ **Shorthand**: enter any hex at [oklch.com](https://oklch.com) to get the L/C/H values.
41
+
42
+ ## Semantic Token Mapping
43
+
44
+ Once you have OKLCH values, map them to semantic tokens — never use raw hex or oklch values directly in components:
45
+
46
+ ```css
47
+ :root {
48
+ /* --- RAW BRAND TOKENS (source of truth) --- */
49
+ --brand-ink: oklch(10.5% 0.006 85); /* near-black, warm */
50
+ --brand-surface: oklch(98.2% 0.008 85); /* cream white */
51
+ --brand-mid: oklch(72% 0.009 85); /* mid-range gray */
52
+ --brand-subtle: oklch(92% 0.01 85); /* light gray */
53
+ --brand-orange: oklch(65% 0.145 42); /* primary accent */
54
+ --brand-blue: oklch(65% 0.09 235); /* secondary accent */
55
+ --brand-green: oklch(57% 0.09 130); /* tertiary accent */
56
+
57
+ /* --- SEMANTIC TOKENS (what components use) --- */
58
+ --color-bg: var(--brand-surface);
59
+ --color-bg-subtle: var(--brand-subtle);
60
+ --color-text: var(--brand-ink);
61
+ --color-text-secondary: var(--brand-mid);
62
+ --color-accent: var(--brand-orange);
63
+ --color-accent-secondary: var(--brand-blue);
64
+ --color-accent-tertiary: var(--brand-green);
65
+ --color-border: var(--brand-subtle);
66
+ }
67
+ ```
68
+
69
+ ## Anthropic Brand System
70
+
71
+ Anthropic's brand (from [anthropics/skills](https://github.com/anthropics/skills/tree/main/skills/brand-guidelines)) is a useful reference implementation. It's a warm, editorial system — earthy neutrals with bold accent contrast.
72
+
73
+ ### Color Palette
74
+
75
+ ```css
76
+ :root {
77
+ /* Neutrals — warm hue angle ~85 (yellow-brown direction) */
78
+ --anthropic-ink: oklch(10.5% 0.006 85); /* #141413 — body text, dark bg */
79
+ --anthropic-cream: oklch(
80
+ 98.2% 0.008 85
81
+ ); /* #faf9f5 — light bg, text on dark */
82
+ --anthropic-mid: oklch(72% 0.009 85); /* #b0aea5 — secondary text */
83
+ --anthropic-subtle: oklch(92% 0.01 85); /* #e8e6dc — dividers, subtle bg */
84
+
85
+ /* Accents — arranged in visual temperature order */
86
+ --anthropic-orange: oklch(
87
+ 65% 0.145 42
88
+ ); /* #d97757 — primary CTA, highlights */
89
+ --anthropic-blue: oklch(65% 0.09 235); /* #6a9bcc — secondary actions */
90
+ --anthropic-green: oklch(
91
+ 57% 0.09 130
92
+ ); /* #788c5d — tertiary, success states */
93
+ }
94
+ ```
95
+
96
+ ### Typography
97
+
98
+ ```css
99
+ /* Load from Google Fonts */
100
+ @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Lora:ital,wght@0,400;0,500;0,600;1,400&display=swap");
101
+
102
+ :root {
103
+ --font-display: "Poppins", Arial, sans-serif; /* headings, nav, labels */
104
+ --font-body: "Lora", Georgia, serif; /* body text, long-form */
105
+ }
106
+
107
+ /* Application rules */
108
+ h1,
109
+ h2,
110
+ h3,
111
+ h4,
112
+ h5,
113
+ h6,
114
+ .label,
115
+ .nav-item,
116
+ .button,
117
+ .badge {
118
+ font-family: var(--font-display);
119
+ }
120
+
121
+ p,
122
+ blockquote,
123
+ .prose,
124
+ article {
125
+ font-family: var(--font-body);
126
+ }
127
+ ```
128
+
129
+ **Why this pairing works**: Poppins is geometric and structured — clear, modern authority. Lora is elegant serif — warm, readable, literary. Together they balance clarity with warmth, matching Anthropic's positioning between scientific rigor and approachability.
130
+
131
+ ### Spacing DNA
132
+
133
+ The brand leans into generous negative space. Use a `8px` base unit with larger gaps between major sections:
134
+
135
+ ```css
136
+ :root {
137
+ --space-1: 0.5rem; /* 8px — tight groupings */
138
+ --space-2: 1rem; /* 16px — component padding */
139
+ --space-3: 1.5rem; /* 24px — between related elements */
140
+ --space-4: 2rem; /* 32px — section mini-gap */
141
+ --space-6: 3rem; /* 48px — between sections */
142
+ --space-8: 4rem; /* 64px — major section spacing */
143
+ }
144
+ ```
145
+
146
+ ### Component Patterns
147
+
148
+ ```css
149
+ /* Card — warm border, generous padding, no shadow */
150
+ .card {
151
+ background: var(--anthropic-subtle);
152
+ border: 1px solid var(--anthropic-mid);
153
+ border-radius: 4px; /* subtle — not pill-shaped */
154
+ padding: var(--space-4);
155
+ }
156
+
157
+ /* Button — orange CTA */
158
+ .button-primary {
159
+ background: var(--anthropic-orange);
160
+ color: var(--anthropic-cream);
161
+ font-family: var(--font-display);
162
+ font-weight: 500;
163
+ letter-spacing: 0.01em;
164
+ border-radius: 4px;
165
+ padding: 0.625rem 1.5rem;
166
+ border: none;
167
+ }
168
+ .button-primary:hover {
169
+ background: oklch(60% 0.145 42); /* slightly darker orange */
170
+ }
171
+
172
+ /* Text link — uses orange, not blue */
173
+ a {
174
+ color: var(--anthropic-orange);
175
+ text-decoration-thickness: 1px;
176
+ text-underline-offset: 3px;
177
+ }
178
+
179
+ /* Code / monospace — uses ink on subtle bg */
180
+ code {
181
+ background: var(--anthropic-subtle);
182
+ color: var(--anthropic-ink);
183
+ font-size: 0.875em;
184
+ padding: 0.2em 0.4em;
185
+ border-radius: 3px;
186
+ }
187
+ ```
188
+
189
+ ### Dark Mode
190
+
191
+ Anthropic's palette inverts gracefully — the cream and ink swap, mid-tones pull slightly warmer:
192
+
193
+ ```css
194
+ @media (prefers-color-scheme: dark) {
195
+ :root {
196
+ --color-bg: var(--anthropic-ink);
197
+ --color-bg-subtle: oklch(16% 0.008 85); /* slightly elevated */
198
+ --color-text: var(--anthropic-cream);
199
+ --color-text-secondary: var(--anthropic-mid);
200
+ --color-border: oklch(22% 0.008 85);
201
+ /* Accents stay the same — they hold on both backgrounds */
202
+ }
203
+ }
204
+ ```
205
+
206
+ ## Applying Other Brand Systems
207
+
208
+ When adapting a different brand, follow this checklist:
209
+
210
+ 1. **Extract and convert** — Get all hex values, convert to oklch
211
+ 2. **Identify neutrals** — Are they warm, cool, or pure gray? Find the hue angle
212
+ 3. **Map the hierarchy** — Which color is dominant (60%), which secondary (30%), which accent (10%)?
213
+ 4. **Check contrast** — Use the WCAG APCa algorithm for text contrast. oklch makes this predictable
214
+ 5. **Find the typography voice** — Geometric sans = structured/modern; humanist sans = friendly; slab = authoritative; oldstyle serif = editorial; transitional serif = professional
215
+ 6. **Test the mood** — Show a prototype section in brand colors. Does it _feel_ like the brand in motion, not just color?
216
+
217
+ ## Common Brand Color Archetypes
218
+
219
+ | Archetype | Neutrals | Primary accent | Feeling |
220
+ | ------------------------------ | ----------------------- | -------------------- | --------------------------------- |
221
+ | **Warm editorial** (Anthropic) | Cream / warm near-black | Orange / terracotta | Thoughtful, approachable, premium |
222
+ | **Cool tech** | True gray / white | Electric blue / teal | Precise, efficient, modern |
223
+ | **Finance/enterprise** | Navy / white | Deep blue / gold | Stable, trustworthy, conservative |
224
+ | **Health/wellness** | Off-white / dark green | Sage green / amber | Natural, calm, nurturing |
225
+ | **Startup/consumer** | White / black | Bold purple or coral | Energetic, fun, accessible |
226
+ | **Luxury** | White / true black | Gold / burgundy | Exclusive, refined, timeless |
227
+
228
+ When working with a brand that fits these archetypes, pull from the pattern — then make one unexpected choice to give it character.
@@ -552,7 +552,7 @@
552
552
  "research"
553
553
  ],
554
554
  "path": ".github/skills/deep-research/SKILL.md",
555
- "description": "Use when a task needs multi-round research rather than a quick lookup: iterative search, gap finding, corroboration across sources, contradiction handling, or evidence-led synthesis before planning or implementation.",
555
+ "description": "Use when a task needs multi-round research rather than a quick lookup: iterative search, gap finding, corroboration across sources, contradiction handling, evidence-led synthesis before planning or implementation. Also use when the user asks for 'deep research', 'latest info', or 'how does X compare to Y publicly'.",
556
556
  "triggers": [
557
557
  "deep-research",
558
558
  "deep research",