@dsmm/dsmm 0.1.9 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (553) hide show
  1. package/README.md +46 -58
  2. package/agent-presets/dsmm-builder/agent.cordis.yml +91 -186
  3. package/agent-presets/dsmm-builder/preset.yml +1 -1
  4. package/agent-presets/dsmm-clarifier/agent.cordis.yml +120 -17
  5. package/agent-presets/dsmm-clarifier/preset.yml +1 -1
  6. package/agent-presets/dsmm-code-search/agent.cordis.yml +72 -17
  7. package/agent-presets/dsmm-code-search/preset.yml +1 -1
  8. package/agent-presets/dsmm-coding/agent.cordis.yml +169 -0
  9. package/agent-presets/dsmm-coding/preset.yml +3 -0
  10. package/agent-presets/dsmm-complex/agent.cordis.yml +154 -0
  11. package/agent-presets/dsmm-complex/preset.yml +3 -0
  12. package/agent-presets/dsmm-creative/agent.cordis.yml +122 -15
  13. package/agent-presets/dsmm-creative/preset.yml +1 -1
  14. package/agent-presets/dsmm-cross-cutting/agent.cordis.yml +179 -0
  15. package/agent-presets/dsmm-cross-cutting/preset.yml +3 -0
  16. package/agent-presets/dsmm-deep/agent.cordis.yml +189 -0
  17. package/agent-presets/dsmm-deep/preset.yml +3 -0
  18. package/agent-presets/dsmm-doc-search/agent.cordis.yml +72 -17
  19. package/agent-presets/dsmm-doc-search/preset.yml +1 -1
  20. package/agent-presets/dsmm-documenting/agent.cordis.yml +168 -0
  21. package/agent-presets/dsmm-documenting/preset.yml +3 -0
  22. package/agent-presets/dsmm-frontend/agent.cordis.yml +161 -0
  23. package/agent-presets/dsmm-frontend/preset.yml +3 -0
  24. package/agent-presets/dsmm-hard-reasoning/agent.cordis.yml +153 -0
  25. package/agent-presets/dsmm-hard-reasoning/preset.yml +3 -0
  26. package/agent-presets/dsmm-media-reader/agent.cordis.yml +72 -17
  27. package/agent-presets/dsmm-media-reader/preset.yml +1 -1
  28. package/agent-presets/dsmm-normal-task/agent.cordis.yml +127 -0
  29. package/agent-presets/dsmm-normal-task/preset.yml +3 -0
  30. package/agent-presets/dsmm-oracle/agent.cordis.yml +109 -15
  31. package/agent-presets/dsmm-oracle/preset.yml +1 -1
  32. package/agent-presets/dsmm-oracle-2nd/agent.cordis.yml +109 -15
  33. package/agent-presets/dsmm-oracle-2nd/preset.yml +1 -1
  34. package/agent-presets/dsmm-orchestrator/agent.cordis.yml +174 -190
  35. package/agent-presets/dsmm-orchestrator/preset.yml +1 -1
  36. package/agent-presets/dsmm-plan-critic/agent.cordis.yml +102 -16
  37. package/agent-presets/dsmm-plan-critic/preset.yml +1 -1
  38. package/agent-presets/dsmm-planner/agent.cordis.yml +134 -15
  39. package/agent-presets/dsmm-planner/preset.yml +1 -1
  40. package/agent-presets/dsmm-quick/agent.cordis.yml +132 -0
  41. package/agent-presets/dsmm-quick/preset.yml +3 -0
  42. package/agent-presets/dsmm-research/agent.cordis.yml +156 -0
  43. package/agent-presets/dsmm-research/preset.yml +3 -0
  44. package/agent-presets/dsmm-reviewer/agent.cordis.yml +108 -16
  45. package/agent-presets/dsmm-reviewer/preset.yml +1 -1
  46. package/cordis.patch.yml +1 -5
  47. package/docs/agent-presets.md +48 -15
  48. package/docs/compatibility.md +58 -68
  49. package/docs/deferred-native-approval-risk.md +19 -0
  50. package/docs/design.md +43 -2
  51. package/docs/lsp.md +12 -12
  52. package/docs/migration-from-ocmm.md +10 -2
  53. package/docs/model-routing.md +84 -59
  54. package/docs/native-permissions.md +35 -0
  55. package/docs/profiles.md +43 -64
  56. package/docs/releasing.md +159 -8
  57. package/docs/roadmap.md +77 -17
  58. package/docs/runtime-recovery.md +12 -0
  59. package/docs/safety-guards.md +7 -3
  60. package/docs/settings-status.md +46 -40
  61. package/docs/skill-sync.md +89 -14
  62. package/lib/child-admission-contract.d.ts +37 -0
  63. package/lib/child-admission-contract.js +2 -0
  64. package/lib/child-admission.d.ts +42 -0
  65. package/lib/child-admission.js +162 -0
  66. package/lib/child-capture.d.ts +81 -0
  67. package/lib/child-capture.js +203 -0
  68. package/lib/child-evidence.d.ts +17 -0
  69. package/lib/child-evidence.js +43 -0
  70. package/lib/client/ChildrenPanel.d.ts +43 -0
  71. package/lib/client/ChildrenPanel.js +82 -0
  72. package/lib/client/DeploymentPage.d.ts +18 -0
  73. package/lib/client/DeploymentPage.js +127 -0
  74. package/lib/client/EditableChoice.d.ts +17 -0
  75. package/lib/client/EditableChoice.js +49 -0
  76. package/lib/client/PermissionsPanel.d.ts +14 -0
  77. package/lib/client/PermissionsPanel.js +46 -0
  78. package/lib/client/ProfilesSection.js +32 -15
  79. package/lib/client/RoleAvailability.d.ts +7 -0
  80. package/lib/client/RoleAvailability.js +19 -0
  81. package/lib/client/SessionProfiles.js +27 -9
  82. package/lib/client/StructuredEditor.js +15 -7
  83. package/lib/client/children-controller.d.ts +98 -0
  84. package/lib/client/children-controller.js +296 -0
  85. package/lib/client/children-locales.d.ts +367 -0
  86. package/lib/client/children-locales.js +69 -0
  87. package/lib/client/controller.d.ts +6 -1
  88. package/lib/client/controller.js +14 -8
  89. package/lib/client/deployment-controller.d.ts +50 -0
  90. package/lib/client/deployment-controller.js +193 -0
  91. package/lib/client/deployment-data.d.ts +17 -0
  92. package/lib/client/deployment-data.js +138 -0
  93. package/lib/client/deployment-locales.d.ts +70 -0
  94. package/lib/client/deployment-locales.js +81 -0
  95. package/lib/client/diagnostics.d.ts +14 -0
  96. package/lib/client/diagnostics.js +53 -0
  97. package/lib/client/index.d.ts +4 -0
  98. package/lib/client/index.js +145 -1
  99. package/lib/client/locales.d.ts +58 -0
  100. package/lib/client/locales.js +38 -18
  101. package/lib/client/permission-client.d.ts +16 -0
  102. package/lib/client/permission-client.js +38 -0
  103. package/lib/client/permission-controller.d.ts +62 -0
  104. package/lib/client/permission-controller.js +149 -0
  105. package/lib/client/permission-locales.d.ts +114 -0
  106. package/lib/client/permission-locales.js +75 -0
  107. package/lib/client/plugins-contract.d.ts +27 -0
  108. package/lib/client/plugins-contract.js +2 -0
  109. package/lib/client/session-labels.js +4 -4
  110. package/lib/client/structured.js +19 -5
  111. package/lib/client/styles.d.ts +1 -1
  112. package/lib/client/styles.js +36 -0
  113. package/lib/client.js +6724 -1604
  114. package/lib/commands.js +3 -0
  115. package/lib/config-file-store.d.ts +23 -0
  116. package/lib/config-file-store.js +67 -0
  117. package/lib/core-permission-authority.d.ts +18 -0
  118. package/lib/core-permission-authority.js +255 -0
  119. package/lib/core-permissions.d.ts +8 -0
  120. package/lib/core-permissions.js +33 -0
  121. package/lib/delivery-authority.d.ts +68 -0
  122. package/lib/delivery-authority.js +260 -0
  123. package/lib/deployment-config.d.ts +60 -0
  124. package/lib/deployment-config.js +205 -0
  125. package/lib/deployment-permission-rules.d.ts +55 -0
  126. package/lib/deployment-permission-rules.js +306 -0
  127. package/lib/dsh-home.d.ts +3 -0
  128. package/lib/dsh-home.js +10 -0
  129. package/lib/dsh-types.d.ts +22 -69
  130. package/lib/guards.d.ts +3 -2
  131. package/lib/guards.js +44 -6
  132. package/lib/host-llm-startup.d.ts +41 -0
  133. package/lib/host-llm-startup.js +65 -0
  134. package/lib/host-llm.d.ts +92 -0
  135. package/lib/host-llm.js +325 -0
  136. package/lib/index.d.ts +23 -5
  137. package/lib/index.js +383 -40
  138. package/lib/legacy-child-policy.d.ts +51 -0
  139. package/lib/legacy-child-policy.js +123 -0
  140. package/lib/legacy-read-composition.d.ts +20 -0
  141. package/lib/legacy-read-composition.js +144 -0
  142. package/lib/legacy-read-contracts.d.ts +157 -0
  143. package/lib/legacy-read-contracts.js +39 -0
  144. package/lib/legacy-read-host.d.ts +19 -0
  145. package/lib/legacy-read-host.js +67 -0
  146. package/lib/legacy-read-integration.d.ts +121 -0
  147. package/lib/legacy-read-integration.js +522 -0
  148. package/lib/legacy-read-proxy.d.ts +26 -0
  149. package/lib/legacy-read-proxy.js +237 -0
  150. package/lib/live-pi-ai-owner.d.ts +18 -0
  151. package/lib/live-pi-ai-owner.js +144 -0
  152. package/lib/llm-runtime.d.ts +11 -0
  153. package/lib/llm-runtime.js +21 -0
  154. package/lib/lsp.d.ts +13 -0
  155. package/lib/lsp.js +60 -0
  156. package/lib/managed-settings.d.ts +5 -0
  157. package/lib/managed-settings.js +14 -0
  158. package/lib/mode.js +42 -47
  159. package/lib/model-parameter-policy.d.ts +11 -0
  160. package/lib/model-parameter-policy.js +27 -0
  161. package/lib/model-routing.js +33 -19
  162. package/lib/modules.d.ts +35 -0
  163. package/lib/modules.js +37 -0
  164. package/lib/native-child-evidence.d.ts +42 -0
  165. package/lib/native-child-evidence.js +133 -0
  166. package/lib/native-pi-ai-wire.d.ts +37 -0
  167. package/lib/native-pi-ai-wire.js +261 -0
  168. package/lib/native-scope.d.ts +9 -0
  169. package/lib/native-scope.js +20 -0
  170. package/lib/permission-bash.d.ts +6 -0
  171. package/lib/permission-bash.js +7 -0
  172. package/lib/permission-control.d.ts +73 -0
  173. package/lib/permission-control.js +205 -0
  174. package/lib/permission-controller.d.ts +68 -0
  175. package/lib/permission-controller.js +317 -0
  176. package/lib/permission-errors.d.ts +7 -0
  177. package/lib/permission-errors.js +21 -0
  178. package/lib/permission-fs-search.d.ts +5 -0
  179. package/lib/permission-fs-search.js +7 -0
  180. package/lib/permission-fs.d.ts +5 -0
  181. package/lib/permission-fs.js +7 -0
  182. package/lib/permission-native-access.d.ts +11 -0
  183. package/lib/permission-native-access.js +6 -0
  184. package/lib/permission-native-command.d.ts +10 -0
  185. package/lib/permission-native-command.js +93 -0
  186. package/lib/permission-native-rules.d.ts +75 -0
  187. package/lib/permission-native-rules.js +278 -0
  188. package/lib/permission-pwsh.d.ts +6 -0
  189. package/lib/permission-pwsh.js +7 -0
  190. package/lib/permission-remote.d.ts +26 -0
  191. package/lib/permission-remote.js +53 -0
  192. package/lib/permission-rpc.d.ts +29 -0
  193. package/lib/permission-rpc.js +152 -0
  194. package/lib/permission-rules.d.ts +115 -0
  195. package/lib/permission-rules.js +256 -0
  196. package/lib/permission-settings.d.ts +45 -0
  197. package/lib/permission-settings.js +48 -0
  198. package/lib/permission-shell.d.ts +38 -0
  199. package/lib/permission-shell.js +150 -0
  200. package/lib/permission-web.d.ts +5 -0
  201. package/lib/permission-web.js +7 -0
  202. package/lib/plan-validation.js +6 -44
  203. package/lib/preset-materializer.js +2 -0
  204. package/lib/preset-registry.d.ts +1 -1
  205. package/lib/preset-registry.js +38 -24
  206. package/lib/preset-skills.d.ts +4 -1
  207. package/lib/preset-skills.js +60 -19
  208. package/lib/profile-diagnostics.d.ts +45 -0
  209. package/lib/profile-diagnostics.js +148 -0
  210. package/lib/profile-locale.d.ts +3 -0
  211. package/lib/profile-locale.js +2 -0
  212. package/lib/profile-remote.d.ts +22 -0
  213. package/lib/profile-remote.js +344 -27
  214. package/lib/profile-rpc.d.ts +25 -1
  215. package/lib/profile-rpc.js +143 -3
  216. package/lib/profile-runtime.d.ts +63 -0
  217. package/lib/profile-runtime.js +496 -77
  218. package/lib/profile-store.d.ts +56 -1
  219. package/lib/profile-store.js +377 -111
  220. package/lib/profile-types.d.ts +125 -1
  221. package/lib/profile-types.js +1 -0
  222. package/lib/profiles.d.ts +16 -2
  223. package/lib/profiles.js +156 -79
  224. package/lib/prompt-content.d.ts +25 -0
  225. package/lib/prompt-content.js +27 -0
  226. package/lib/prompts.d.ts +45 -4
  227. package/lib/prompts.js +157 -43
  228. package/lib/recovery-policy.js +20 -7
  229. package/lib/role-control-remote.d.ts +38 -0
  230. package/lib/role-control-remote.js +211 -0
  231. package/lib/role-control-rpc.d.ts +51 -0
  232. package/lib/role-control-rpc.js +377 -0
  233. package/lib/role-control-types.d.ts +92 -0
  234. package/lib/role-control-types.js +8 -0
  235. package/lib/role-invocation.d.ts +47 -0
  236. package/lib/role-invocation.js +135 -0
  237. package/lib/role-llm-runtime.d.ts +17 -0
  238. package/lib/role-llm-runtime.js +62 -0
  239. package/lib/role-llm.d.ts +31 -0
  240. package/lib/role-llm.js +66 -0
  241. package/lib/role-policy.d.ts +92 -0
  242. package/lib/role-policy.js +601 -0
  243. package/lib/role-providers.d.ts +7 -3
  244. package/lib/role-providers.js +74 -46
  245. package/lib/role-routing.d.ts +11 -2
  246. package/lib/role-routing.js +42 -25
  247. package/lib/role-runs.d.ts +135 -0
  248. package/lib/role-runs.js +304 -0
  249. package/lib/role-subagents.d.ts +63 -4
  250. package/lib/role-subagents.js +299 -47
  251. package/lib/roles.d.ts +20 -9
  252. package/lib/roles.js +87 -216
  253. package/lib/route-json.d.ts +19 -0
  254. package/lib/route-json.js +129 -0
  255. package/lib/routing-policy.d.ts +2 -0
  256. package/lib/routing-policy.js +12 -2
  257. package/lib/runtime-integration.d.ts +112 -0
  258. package/lib/runtime-integration.js +784 -0
  259. package/lib/runtime-recovery.js +34 -13
  260. package/lib/session-scope.js +2 -0
  261. package/lib/settings.d.ts +116 -14
  262. package/lib/settings.js +455 -149
  263. package/lib/skills.d.ts +24 -9
  264. package/lib/skills.js +114 -35
  265. package/lib/state.d.ts +10 -6
  266. package/lib/state.js +48 -49
  267. package/lib/status.d.ts +35 -1
  268. package/lib/status.js +58 -17
  269. package/lib/subagent-runtime.d.ts +45 -0
  270. package/lib/subagent-runtime.js +131 -0
  271. package/locale/en.json +2 -2
  272. package/locale/zh.json +2 -2
  273. package/package.json +112 -45
  274. package/patches/subagent-runtime.yml +15 -0
  275. package/prompts/deepseek-flash.md +1 -1
  276. package/prompts/deepseek-v4-pro.md +2 -2
  277. package/prompts/deepwork.md +153 -20
  278. package/prompts/source/agents/clarifier.md +47 -0
  279. package/prompts/source/agents/orchestrator.md +72 -0
  280. package/prompts/source/agents/plan-critic.md +29 -0
  281. package/prompts/source/agents/planner.md +21 -0
  282. package/prompts/source/agents/reviewer.md +23 -0
  283. package/prompts/source/catalog.json +548 -0
  284. package/prompts/source/category/coding.md +46 -0
  285. package/prompts/source/category/complex.md +29 -0
  286. package/prompts/source/category/creative.md +40 -0
  287. package/prompts/source/category/cross-cutting.md +54 -0
  288. package/prompts/source/category/deep.md +64 -0
  289. package/prompts/source/category/documenting.md +68 -0
  290. package/prompts/source/category/frontend.md +38 -0
  291. package/prompts/source/category/hard-reasoning.md +53 -0
  292. package/prompts/source/category/normal-task.md +27 -0
  293. package/prompts/source/category/quick.md +34 -0
  294. package/prompts/source/category/research.md +58 -0
  295. package/prompts/source/deepwork/claude-opus-5.md +28 -0
  296. package/prompts/source/deepwork/codex.md +9 -0
  297. package/prompts/source/deepwork/default.md +136 -0
  298. package/prompts/source/deepwork/gemini.md +191 -0
  299. package/prompts/source/deepwork/glm.md +263 -0
  300. package/prompts/source/deepwork/gpt.md +49 -0
  301. package/prompts/source/deepwork/kimi-k27.md +13 -0
  302. package/prompts/source/deepwork/planner.md +44 -0
  303. package/prompts/source/deepwork/swe-2.md +13 -0
  304. package/prompts/source/manifest.json +3233 -0
  305. package/prompts/source/shared/dsh-host-contract.md +8 -0
  306. package/prompts/source/shared/locale.md +8 -0
  307. package/prompts/source/shared/shell-safety.md +7 -0
  308. package/prompts/source/terminal/builder.md +13 -0
  309. package/prompts/source/terminal/clarifier.md +41 -0
  310. package/prompts/source/terminal/code-search.md +39 -0
  311. package/prompts/source/terminal/coding.md +41 -0
  312. package/prompts/source/terminal/complex.md +43 -0
  313. package/prompts/source/terminal/creative.md +41 -0
  314. package/prompts/source/terminal/cross-cutting.md +43 -0
  315. package/prompts/source/terminal/deep.md +43 -0
  316. package/prompts/source/terminal/doc-search.md +39 -0
  317. package/prompts/source/terminal/documenting.md +41 -0
  318. package/prompts/source/terminal/frontend.md +41 -0
  319. package/prompts/source/terminal/hard-reasoning.md +41 -0
  320. package/prompts/source/terminal/media-reader.md +39 -0
  321. package/prompts/source/terminal/normal-task.md +41 -0
  322. package/prompts/source/terminal/oracle-2nd.md +53 -0
  323. package/prompts/source/terminal/oracle.md +53 -0
  324. package/prompts/source/terminal/orchestrator.md +26 -0
  325. package/prompts/source/terminal/plan-critic.md +41 -0
  326. package/prompts/source/terminal/planner.md +42 -0
  327. package/prompts/source/terminal/quick.md +39 -0
  328. package/prompts/source/terminal/research.md +39 -0
  329. package/prompts/source/terminal/reviewer.md +53 -0
  330. package/scripts/cold-profile-composition.mjs +329 -0
  331. package/scripts/cold-profile-sources.mjs +238 -0
  332. package/scripts/migrate-cold-profile.mjs +315 -0
  333. package/skills/ast-grep/LICENSE +21 -0
  334. package/skills/ast-grep/README.md +138 -0
  335. package/skills/ast-grep/SKILL.md +287 -0
  336. package/skills/ast-grep/SOURCE +1 -0
  337. package/skills/ast-grep/install.ps1 +235 -0
  338. package/skills/ast-grep/install.sh +286 -0
  339. package/skills/ast-grep/references/cli.md +233 -0
  340. package/skills/ast-grep/references/install.md +168 -0
  341. package/skills/ast-grep/references/patterns.md +149 -0
  342. package/skills/ast-grep/references/pitfalls.md +305 -0
  343. package/skills/ast-grep/references/recipes.md +404 -0
  344. package/skills/ast-grep/references/sgconfig.md +250 -0
  345. package/skills/ast-grep/references/yaml-rules.md +511 -0
  346. package/skills/ast-grep/scripts/ast_grep_helper.py +760 -0
  347. package/skills/ast-grep/tests/smoke.ps1 +129 -0
  348. package/skills/ast-grep/tests/smoke.sh +212 -0
  349. package/skills/ast-grep/tests/test_resolver.py +154 -0
  350. package/skills/brainstorming/SKILL.md +123 -9
  351. package/skills/coding-agent-sessions/LICENSE-UPSTREAM.md +82 -0
  352. package/skills/coding-agent-sessions/NOTICE.md +24 -0
  353. package/skills/coding-agent-sessions/SKILL.md +147 -0
  354. package/skills/coding-agent-sessions/agents/openai.yaml +4 -0
  355. package/skills/coding-agent-sessions/pyrightconfig.json +5 -0
  356. package/skills/coding-agent-sessions/references/all-platforms.md +77 -0
  357. package/skills/coding-agent-sessions/references/claude.md +34 -0
  358. package/skills/coding-agent-sessions/references/codex.md +32 -0
  359. package/skills/coding-agent-sessions/references/opencode.md +45 -0
  360. package/skills/coding-agent-sessions/references/senpi.md +29 -0
  361. package/skills/coding-agent-sessions/scripts/agent_sessions/__init__.py +1 -0
  362. package/skills/coding-agent-sessions/scripts/agent_sessions/aside_scanner.py +140 -0
  363. package/skills/coding-agent-sessions/scripts/agent_sessions/claude.py +66 -0
  364. package/skills/coding-agent-sessions/scripts/agent_sessions/cli.py +283 -0
  365. package/skills/coding-agent-sessions/scripts/agent_sessions/codex.py +105 -0
  366. package/skills/coding-agent-sessions/scripts/agent_sessions/file_scanners.py +275 -0
  367. package/skills/coding-agent-sessions/scripts/agent_sessions/jsonio.py +55 -0
  368. package/skills/coding-agent-sessions/scripts/agent_sessions/kiro_scanner.py +91 -0
  369. package/skills/coding-agent-sessions/scripts/agent_sessions/opencode.py +289 -0
  370. package/skills/coding-agent-sessions/scripts/agent_sessions/pi_family.py +46 -0
  371. package/skills/coding-agent-sessions/scripts/agent_sessions/scanners.py +104 -0
  372. package/skills/coding-agent-sessions/scripts/agent_sessions/sqlite_optional_scanners.py +203 -0
  373. package/skills/coding-agent-sessions/scripts/agent_sessions/sqlite_scanners.py +177 -0
  374. package/skills/coding-agent-sessions/scripts/agent_sessions/timeparse.py +51 -0
  375. package/skills/coding-agent-sessions/scripts/agent_sessions/transcript.py +149 -0
  376. package/skills/coding-agent-sessions/scripts/agent_sessions/types.py +57 -0
  377. package/skills/coding-agent-sessions/scripts/find-agent-sessions.py +19 -0
  378. package/skills/coding-agent-sessions/scripts/tests/test_agent_sessions.py +322 -0
  379. package/skills/coding-agent-sessions/scripts/tests/test_aside_scanner.py +131 -0
  380. package/skills/coding-agent-sessions/scripts/tests/test_cli_contract.py +126 -0
  381. package/skills/coding-agent-sessions/scripts/tests/test_extended_scanners.py +262 -0
  382. package/skills/coding-agent-sessions/scripts/tests/test_optional_sqlite_scanners.py +79 -0
  383. package/skills/coding-agent-sessions/scripts/tests/test_pi_family_scanners.py +130 -0
  384. package/skills/debugging/SKILL.md +130 -4
  385. package/skills/debugging/references/logging.md +2 -0
  386. package/skills/debugging/references/methodology/00-setup.md +16 -62
  387. package/skills/debugging/references/methodology/02-investigate.md +11 -5
  388. package/skills/debugging/references/methodology/03-flaky-triage.md +6 -4
  389. package/skills/debugging/references/methodology/04-hard-reasoning-escalation.md +6 -16
  390. package/skills/debugging/references/methodology/05-escalate.md +2 -0
  391. package/skills/debugging/references/methodology/06-fix.md +8 -6
  392. package/skills/debugging/references/methodology/08-qa.md +7 -5
  393. package/skills/debugging/references/methodology/09-cleanup.md +16 -152
  394. package/skills/debugging/references/methodology/partial-runtime-evidence.md +7 -18
  395. package/skills/debugging/references/runtimes/bundled-js-binary.md +3 -16
  396. package/skills/debugging/references/runtimes/go.md +2 -0
  397. package/skills/debugging/references/runtimes/native-binary.md +11 -54
  398. package/skills/debugging/references/runtimes/node.md +6 -15
  399. package/skills/debugging/references/runtimes/python.md +5 -15
  400. package/skills/debugging/references/runtimes/rust.md +4 -18
  401. package/skills/debugging/references/scripts/dap.test.mjs +539 -0
  402. package/skills/debugging/references/scripts/fixture-adapter.mjs +164 -0
  403. package/skills/debugging/references/tools/dap.md +4 -2
  404. package/skills/debugging/references/tools/ghidra.md +6 -15
  405. package/skills/debugging/references/tools/playwright-cli.md +5 -15
  406. package/skills/debugging/references/tools/pwndbg.md +2 -0
  407. package/skills/debugging/references/tools/pwntools.md +6 -16
  408. package/skills/dispatching-parallel-agents/SKILL.md +96 -7
  409. package/skills/frontend/.frontend-materialized.json +856 -0
  410. package/skills/frontend/ATTRIBUTION.md +37 -0
  411. package/skills/frontend/LICENSE-Apache-2.0.txt +201 -0
  412. package/skills/frontend/LICENSE-taste-skill.txt +21 -0
  413. package/skills/frontend/LICENSE-ui-ux-pro-max.txt +21 -0
  414. package/skills/frontend/SKILL.md +145 -0
  415. package/skills/frontend/references/design/README.md +256 -0
  416. package/skills/frontend/references/design/_INDEX.md +206 -0
  417. package/skills/frontend/references/design/airbnb.md +393 -0
  418. package/skills/frontend/references/design/airtable.md +92 -0
  419. package/skills/frontend/references/design/apple.md +250 -0
  420. package/skills/frontend/references/design/aside.md +211 -0
  421. package/skills/frontend/references/design/binance.md +348 -0
  422. package/skills/frontend/references/design/bmw.md +183 -0
  423. package/skills/frontend/references/design/brutalist-skill.md +92 -0
  424. package/skills/frontend/references/design/bugatti.md +271 -0
  425. package/skills/frontend/references/design/cal.md +262 -0
  426. package/skills/frontend/references/design/claude.md +315 -0
  427. package/skills/frontend/references/design/clay.md +307 -0
  428. package/skills/frontend/references/design/clickhouse.md +284 -0
  429. package/skills/frontend/references/design/clone-from-url.md +69 -0
  430. package/skills/frontend/references/design/cohere.md +269 -0
  431. package/skills/frontend/references/design/coinbase.md +132 -0
  432. package/skills/frontend/references/design/composio.md +310 -0
  433. package/skills/frontend/references/design/cursor.md +312 -0
  434. package/skills/frontend/references/design/design-system-architecture.md +250 -0
  435. package/skills/frontend/references/design/elevenlabs.md +268 -0
  436. package/skills/frontend/references/design/expo.md +284 -0
  437. package/skills/frontend/references/design/ferrari.md +317 -0
  438. package/skills/frontend/references/design/figma.md +223 -0
  439. package/skills/frontend/references/design/framer.md +249 -0
  440. package/skills/frontend/references/design/gpt-tasteskill.md +74 -0
  441. package/skills/frontend/references/design/hashicorp.md +281 -0
  442. package/skills/frontend/references/design/ibm.md +335 -0
  443. package/skills/frontend/references/design/image-to-code-skill.md +1228 -0
  444. package/skills/frontend/references/design/imagegen-brandkit.md +798 -0
  445. package/skills/frontend/references/design/imagegen-frontend-mobile.md +1465 -0
  446. package/skills/frontend/references/design/imagegen-frontend-web.md +987 -0
  447. package/skills/frontend/references/design/interaction-skill.md +52 -0
  448. package/skills/frontend/references/design/intercom.md +149 -0
  449. package/skills/frontend/references/design/kraken.md +128 -0
  450. package/skills/frontend/references/design/lamborghini.md +291 -0
  451. package/skills/frontend/references/design/linear.app.md +370 -0
  452. package/skills/frontend/references/design/lovable.md +301 -0
  453. package/skills/frontend/references/design/mastercard.md +368 -0
  454. package/skills/frontend/references/design/meta.md +369 -0
  455. package/skills/frontend/references/design/minimalist-skill.md +85 -0
  456. package/skills/frontend/references/design/minimax.md +260 -0
  457. package/skills/frontend/references/design/mintlify.md +329 -0
  458. package/skills/frontend/references/design/miro.md +111 -0
  459. package/skills/frontend/references/design/mistral.ai.md +264 -0
  460. package/skills/frontend/references/design/mongodb.md +269 -0
  461. package/skills/frontend/references/design/nike.md +366 -0
  462. package/skills/frontend/references/design/notion.md +312 -0
  463. package/skills/frontend/references/design/nvidia.md +296 -0
  464. package/skills/frontend/references/design/ollama.md +270 -0
  465. package/skills/frontend/references/design/opencode.ai.md +284 -0
  466. package/skills/frontend/references/design/output-skill.md +49 -0
  467. package/skills/frontend/references/design/pinterest.md +233 -0
  468. package/skills/frontend/references/design/playstation.md +367 -0
  469. package/skills/frontend/references/design/posthog.md +259 -0
  470. package/skills/frontend/references/design/raycast.md +271 -0
  471. package/skills/frontend/references/design/react-dev-tooling-skill.md +232 -0
  472. package/skills/frontend/references/design/redesign-skill.md +178 -0
  473. package/skills/frontend/references/design/renault.md +314 -0
  474. package/skills/frontend/references/design/replicate.md +264 -0
  475. package/skills/frontend/references/design/resend.md +306 -0
  476. package/skills/frontend/references/design/revolut.md +188 -0
  477. package/skills/frontend/references/design/runwayml.md +247 -0
  478. package/skills/frontend/references/design/sanity.md +360 -0
  479. package/skills/frontend/references/design/sentry.md +265 -0
  480. package/skills/frontend/references/design/shopify.md +353 -0
  481. package/skills/frontend/references/design/soft-skill.md +98 -0
  482. package/skills/frontend/references/design/spacex.md +197 -0
  483. package/skills/frontend/references/design/spotify.md +249 -0
  484. package/skills/frontend/references/design/starbucks.md +583 -0
  485. package/skills/frontend/references/design/stitch-design-example.md +121 -0
  486. package/skills/frontend/references/design/stitch-skill.md +184 -0
  487. package/skills/frontend/references/design/stripe.md +325 -0
  488. package/skills/frontend/references/design/supabase.md +258 -0
  489. package/skills/frontend/references/design/superhuman.md +255 -0
  490. package/skills/frontend/references/design/taste-skill.md +1206 -0
  491. package/skills/frontend/references/design/tesla.md +289 -0
  492. package/skills/frontend/references/design/theverge.md +342 -0
  493. package/skills/frontend/references/design/together.ai.md +266 -0
  494. package/skills/frontend/references/design/uber.md +298 -0
  495. package/skills/frontend/references/design/vercel.md +313 -0
  496. package/skills/frontend/references/design/vodafone.md +426 -0
  497. package/skills/frontend/references/design/voltagent.md +326 -0
  498. package/skills/frontend/references/design/warp.md +256 -0
  499. package/skills/frontend/references/design/webflow.md +95 -0
  500. package/skills/frontend/references/design/wired.md +281 -0
  501. package/skills/frontend/references/design/wise.md +176 -0
  502. package/skills/frontend/references/design/x.ai.md +260 -0
  503. package/skills/frontend/references/design/zapier.md +331 -0
  504. package/skills/frontend/references/perfection/README.md +264 -0
  505. package/skills/frontend/references/perfection/react-perf-tooling.md +234 -0
  506. package/skills/frontend/references/ui-ux-db/README.md +659 -0
  507. package/skills/frontend/references/ui-ux-db/data/app-interface.csv +31 -0
  508. package/skills/frontend/references/ui-ux-db/data/charts.csv +26 -0
  509. package/skills/frontend/references/ui-ux-db/data/colors.csv +162 -0
  510. package/skills/frontend/references/ui-ux-db/data/google-fonts.csv +1924 -0
  511. package/skills/frontend/references/ui-ux-db/data/icons.csv +106 -0
  512. package/skills/frontend/references/ui-ux-db/data/landing.csv +35 -0
  513. package/skills/frontend/references/ui-ux-db/data/products.csv +162 -0
  514. package/skills/frontend/references/ui-ux-db/data/react-performance.csv +45 -0
  515. package/skills/frontend/references/ui-ux-db/data/stacks/angular.csv +51 -0
  516. package/skills/frontend/references/ui-ux-db/data/stacks/astro.csv +54 -0
  517. package/skills/frontend/references/ui-ux-db/data/stacks/flutter.csv +53 -0
  518. package/skills/frontend/references/ui-ux-db/data/stacks/html-tailwind.csv +56 -0
  519. package/skills/frontend/references/ui-ux-db/data/stacks/jetpack-compose.csv +53 -0
  520. package/skills/frontend/references/ui-ux-db/data/stacks/laravel.csv +51 -0
  521. package/skills/frontend/references/ui-ux-db/data/stacks/nextjs.csv +53 -0
  522. package/skills/frontend/references/ui-ux-db/data/stacks/nuxt-ui.csv +51 -0
  523. package/skills/frontend/references/ui-ux-db/data/stacks/nuxtjs.csv +59 -0
  524. package/skills/frontend/references/ui-ux-db/data/stacks/react-native.csv +52 -0
  525. package/skills/frontend/references/ui-ux-db/data/stacks/react.csv +54 -0
  526. package/skills/frontend/references/ui-ux-db/data/stacks/shadcn.csv +61 -0
  527. package/skills/frontend/references/ui-ux-db/data/stacks/svelte.csv +54 -0
  528. package/skills/frontend/references/ui-ux-db/data/stacks/swiftui.csv +51 -0
  529. package/skills/frontend/references/ui-ux-db/data/stacks/threejs.csv +54 -0
  530. package/skills/frontend/references/ui-ux-db/data/stacks/vue.csv +50 -0
  531. package/skills/frontend/references/ui-ux-db/data/styles.csv +85 -0
  532. package/skills/frontend/references/ui-ux-db/data/typography.csv +74 -0
  533. package/skills/frontend/references/ui-ux-db/data/ui-reasoning.csv +162 -0
  534. package/skills/frontend/references/ui-ux-db/data/ux-guidelines.csv +100 -0
  535. package/skills/frontend/references/ui-ux-db/data/web-interface.csv +31 -0
  536. package/skills/frontend/references/ui-ux-db/scripts/core.py +262 -0
  537. package/skills/frontend/references/ui-ux-db/scripts/design_system.py +1148 -0
  538. package/skills/frontend/references/ui-ux-db/scripts/search.py +114 -0
  539. package/skills/frontend/scripts/perfection/lighthouse-audit.py +201 -0
  540. package/skills/git-master/SKILL.md +115 -0
  541. package/skills/git-master/agents/openai.yaml +13 -0
  542. package/skills/init-deep/SKILL.md +282 -0
  543. package/skills/receiving-code-review/SKILL.md +117 -7
  544. package/skills/remove-ai-slops/SKILL.md +160 -8
  545. package/skills/requesting-code-review/SKILL.md +98 -3
  546. package/skills/requesting-code-review/code-reviewer.md +59 -0
  547. package/skills/subagent-driven-development/SKILL.md +179 -6
  548. package/skills/subagent-driven-development/code-quality-reviewer-prompt.md +23 -0
  549. package/skills/subagent-driven-development/implementer-prompt.md +87 -0
  550. package/skills/subagent-driven-development/spec-reviewer-prompt.md +37 -0
  551. package/skills/using-git-worktrees/SKILL.md +144 -0
  552. package/skills/writing-plans/SKILL.md +126 -7
  553. package/skills/writing-plans/plan-document-reviewer-prompt.md +47 -0
@@ -0,0 +1,312 @@
1
+ # Design System Inspired by Cursor
2
+
3
+ > Category: Developer Tools
4
+ > AI-first code editor. Sleek dark interface, gradient accents.
5
+
6
+ ## 1. Visual Theme & Atmosphere
7
+
8
+ Cursor's website is a study in warm minimalism meets code-editor elegance. The entire experience is built on a warm off-white canvas (`#f2f1ed`) with dark warm-brown text (`#26251e`) -- not pure black, not neutral gray, but a deeply warm near-black with a yellowish undertone that evokes old paper, ink, and craft. This warmth permeates every surface: backgrounds lean toward cream (`#e6e5e0`, `#ebeae5`), borders dissolve into transparent warm overlays using `oklab` color space, and even the error state (`#cf2d56`) carries warmth rather than clinical red. The result feels more like a premium print publication than a tech website.
9
+
10
+ The custom CursorGothic font is the typographic signature -- a gothic sans-serif with aggressive negative letter-spacing at display sizes (-2.16px at 72px) that creates a compressed, engineered feel. As a secondary voice, the jjannon serif font (with OpenType `"cswh"` contextual swash alternates) provides literary counterpoint for body copy and editorial passages. The monospace voice comes from berkeleyMono, a refined coding font that connects the marketing site to Cursor's core identity as a code editor. This three-font system (gothic display, serif body, mono code) gives Cursor one of the most typographically rich palettes in developer tooling.
11
+
12
+ The border system is particularly distinctive -- Cursor uses `oklab()` color space for border colors, applying warm brown at various alpha levels (0.1, 0.2, 0.55) to create borders that feel organic rather than mechanical. The signature border color `oklab(0.263084 -0.00230259 0.0124794 / 0.1)` is not a simple rgba value but a perceptually uniform color that maintains visual consistency across different backgrounds.
13
+
14
+ **Key Characteristics:**
15
+ - CursorGothic with aggressive negative letter-spacing (-2.16px at 72px, -0.72px at 36px) for compressed display headings
16
+ - jjannon serif for body text with OpenType `"cswh"` (contextual swash alternates)
17
+ - berkeleyMono for code and technical labels
18
+ - Warm off-white background (`#f2f1ed`) instead of pure white -- the entire system is warm-shifted
19
+ - Primary text color `#26251e` (warm near-black with yellow undertone)
20
+ - Accent orange `#f54e00` for brand highlight and links
21
+ - oklab-space borders at various alpha levels for perceptually uniform edge treatment
22
+ - Pill-shaped elements with extreme radius (33.5M px, effectively full-pill)
23
+ - 8px base spacing system with fine-grained sub-8px increments (1.5px, 2px, 2.5px, 3px, 4px, 5px, 6px)
24
+
25
+ ## 2. Color Palette & Roles
26
+
27
+ ### Primary
28
+ - **Cursor Dark** (`#26251e`): Primary text, headings, dark UI surfaces. A warm near-black with distinct yellow-brown undertone -- the defining color of the system.
29
+ - **Cursor Cream** (`#f2f1ed`): Page background, primary surface. Not white but a warm cream that sets the entire warm tone.
30
+ - **Cursor Light** (`#e6e5e0`): Secondary surface, button backgrounds, card fills. A slightly warmer, slightly darker cream.
31
+ - **Pure White** (`#ffffff`): Used sparingly for maximum contrast elements and specific surface highlights.
32
+ - **True Black** (`#000000`): Minimal use, specific code/console contexts.
33
+
34
+ ### Accent
35
+ - **Cursor Orange** (`#f54e00`): Brand accent, `--color-accent`. A vibrant red-orange used for primary CTAs, active links, and brand moments. Warm and urgent.
36
+ - **Gold** (`#c08532`): Secondary accent, warm gold for premium or highlighted contexts.
37
+
38
+ ### Semantic
39
+ - **Error** (`#cf2d56`): `--color-error`. A warm crimson-rose rather than cold red.
40
+ - **Success** (`#1f8a65`): `--color-success`. A muted teal-green, warm-shifted.
41
+
42
+ ### Timeline / Feature Colors
43
+ - **Thinking** (`#dfa88f`): Warm peach for "thinking" state in AI timeline.
44
+ - **Grep** (`#9fc9a2`): Soft sage green for search/grep operations.
45
+ - **Read** (`#9fbbe0`): Soft blue for file reading operations.
46
+ - **Edit** (`#c0a8dd`): Soft lavender for editing operations.
47
+
48
+ ### Surface Scale
49
+ - **Surface 100** (`#f7f7f4`): Lightest button/card surface, barely tinted.
50
+ - **Surface 200** (`#f2f1ed`): Primary page background.
51
+ - **Surface 300** (`#ebeae5`): Button default background, subtle emphasis.
52
+ - **Surface 400** (`#e6e5e0`): Card backgrounds, secondary surfaces.
53
+ - **Surface 500** (`#e1e0db`): Tertiary button background, deeper emphasis.
54
+
55
+ ### Border Colors
56
+ - **Border Primary** (`oklab(0.263084 -0.00230259 0.0124794 / 0.1)`): Standard border, 10% warm brown in oklab space.
57
+ - **Border Medium** (`oklab(0.263084 -0.00230259 0.0124794 / 0.2)`): Emphasized border, 20% warm brown.
58
+ - **Border Strong** (`rgba(38, 37, 30, 0.55)`): Strong borders, table rules.
59
+ - **Border Solid** (`#26251e`): Full-opacity dark border for maximum contrast.
60
+ - **Border Light** (`#f2f1ed`): Light border matching page background.
61
+
62
+ ### Shadows & Depth
63
+ - **Card Shadow** (`rgba(0,0,0,0.14) 0px 28px 70px, rgba(0,0,0,0.1) 0px 14px 32px, oklab(0.263084 -0.00230259 0.0124794 / 0.1) 0px 0px 0px 1px`): Heavy elevated card with warm oklab border ring.
64
+ - **Ambient Shadow** (`rgba(0,0,0,0.02) 0px 0px 16px, rgba(0,0,0,0.008) 0px 0px 8px`): Subtle ambient glow for floating elements.
65
+
66
+ ## 3. Typography Rules
67
+
68
+ ### Font Family
69
+ - **Display/Headlines**: `CursorGothic`, with fallbacks: `CursorGothic Fallback, system-ui, Helvetica Neue, Helvetica, Arial`
70
+ - **Body/Editorial**: `jjannon`, with fallbacks: `Iowan Old Style, Palatino Linotype, URW Palladio L, P052, ui-serif, Georgia, Cambria, Times New Roman, Times`
71
+ - **Code/Technical**: `berkeleyMono`, with fallbacks: `ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New`
72
+ - **UI/System**: `system-ui`, with fallbacks: `-apple-system, Segoe UI, Helvetica Neue, Arial`
73
+ - **Icons**: `CursorIcons16` (icon font at 14px and 12px)
74
+ - **OpenType Features**: `"cswh"` on jjannon body text, `"ss09"` on CursorGothic buttons/captions
75
+
76
+ ### Hierarchy
77
+
78
+ | Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
79
+ |------|------|------|--------|-------------|----------------|-------|
80
+ | Display Hero | CursorGothic | 72px (4.50rem) | 400 | 1.10 (tight) | -2.16px | Maximum compression, hero statements |
81
+ | Section Heading | CursorGothic | 36px (2.25rem) | 400 | 1.20 (tight) | -0.72px | Feature sections, CTA headlines |
82
+ | Sub-heading | CursorGothic | 26px (1.63rem) | 400 | 1.25 (tight) | -0.325px | Card headings, sub-sections |
83
+ | Title Small | CursorGothic | 22px (1.38rem) | 400 | 1.30 (tight) | -0.11px | Smaller titles, list headings |
84
+ | Body Serif | jjannon | 19.2px (1.20rem) | 500 | 1.50 | normal | Editorial body with `"cswh"` |
85
+ | Body Serif SM | jjannon | 17.28px (1.08rem) | 400 | 1.35 | normal | Standard body text, descriptions |
86
+ | Body Sans | CursorGothic | 16px (1.00rem) | 400 | 1.50 | normal/0.08px | UI body text |
87
+ | Button Label | CursorGothic | 14px (0.88rem) | 400 | 1.00 (tight) | normal | Primary button text |
88
+ | Button Caption | CursorGothic | 14px (0.88rem) | 400 | 1.50 | 0.14px | Secondary button with `"ss09"` |
89
+ | Caption | CursorGothic | 11px (0.69rem) | 400-500 | 1.50 | normal | Small captions, metadata |
90
+ | System Heading | system-ui | 20px (1.25rem) | 700 | 1.55 | normal | System UI headings |
91
+ | System Caption | system-ui | 13px (0.81rem) | 500-600 | 1.33 | normal | System UI labels |
92
+ | System Micro | system-ui | 11px (0.69rem) | 500 | 1.27 (tight) | 0.048px | Uppercase micro labels |
93
+ | Mono Body | berkeleyMono | 12px (0.75rem) | 400 | 1.67 (relaxed) | normal | Code blocks |
94
+ | Mono Small | berkeleyMono | 11px (0.69rem) | 400 | 1.33 | -0.275px | Inline code, terminal |
95
+ | Lato Heading | Lato | 16px (1.00rem) | 600 | 1.33 | normal | Lato section headings |
96
+ | Lato Caption | Lato | 14px (0.88rem) | 400-600 | 1.33 | normal | Lato captions |
97
+ | Lato Micro | Lato | 12px (0.75rem) | 400-600 | 1.27 (tight) | 0.053px | Lato small labels |
98
+
99
+ ### Principles
100
+ - **Gothic compression for impact**: CursorGothic at display sizes uses -2.16px letter-spacing at 72px, progressively relaxing: -0.72px at 36px, -0.325px at 26px, -0.11px at 22px, normal at 16px and below. The tracking creates a sense of precision engineering.
101
+ - **Serif for soul**: jjannon provides literary warmth. The `"cswh"` feature adds contextual swash alternates that give body text a calligraphic quality.
102
+ - **Three typographic voices**: Gothic (display/UI), serif (editorial/body), mono (code/technical). Each serves a distinct communication purpose.
103
+ - **Weight restraint**: CursorGothic uses weight 400 almost exclusively, relying on size and tracking for hierarchy rather than weight. System-ui components use 500-700 for functional emphasis.
104
+
105
+ ## 4. Component Stylings
106
+
107
+ ### Buttons
108
+
109
+ **Primary (Warm Surface)**
110
+ - Background: `#ebeae5` (Surface 300)
111
+ - Text: `#26251e` (Cursor Dark)
112
+ - Padding: 10px 12px 10px 14px
113
+ - Radius: 8px
114
+ - Outline: none
115
+ - Hover: text shifts to `var(--color-error)` (`#cf2d56`)
116
+ - Focus shadow: `rgba(0,0,0,0.1) 0px 4px 12px`
117
+ - Use: Primary actions, main CTAs
118
+
119
+ **Secondary Pill**
120
+ - Background: `#e6e5e0` (Surface 400)
121
+ - Text: `oklab(0.263 / 0.6)` (60% warm brown)
122
+ - Padding: 3px 8px
123
+ - Radius: full pill (33.5M px)
124
+ - Hover: text shifts to `var(--color-error)`
125
+ - Use: Tags, filters, secondary actions
126
+
127
+ **Tertiary Pill**
128
+ - Background: `#e1e0db` (Surface 500)
129
+ - Text: `oklab(0.263 / 0.6)` (60% warm brown)
130
+ - Radius: full pill
131
+ - Use: Active filter state, selected tags
132
+
133
+ **Ghost (Transparent)**
134
+ - Background: `rgba(38, 37, 30, 0.06)` (6% warm brown)
135
+ - Text: `rgba(38, 37, 30, 0.55)` (55% warm brown)
136
+ - Padding: 6px 12px
137
+ - Use: Tertiary actions, dismiss buttons
138
+
139
+ **Light Surface**
140
+ - Background: `#f7f7f4` (Surface 100) or `#f2f1ed` (Surface 200)
141
+ - Text: `#26251e` or `oklab(0.263 / 0.9)` (90%)
142
+ - Padding: 0px 8px 1px 12px
143
+ - Use: Dropdown triggers, subtle interactive elements
144
+
145
+ ### Cards & Containers
146
+ - Background: `#e6e5e0` or `#f2f1ed`
147
+ - Border: `1px solid oklab(0.263 / 0.1)` (warm brown at 10%)
148
+ - Radius: 8px (standard), 4px (compact), 10px (featured)
149
+ - Shadow: `rgba(0,0,0,0.14) 0px 28px 70px, rgba(0,0,0,0.1) 0px 14px 32px` for elevated cards
150
+ - Hover: shadow intensification
151
+
152
+ ### Inputs & Forms
153
+ - Background: transparent or surface
154
+ - Text: `#26251e`
155
+ - Padding: 8px 8px 6px (textarea)
156
+ - Border: `1px solid oklab(0.263 / 0.1)`
157
+ - Focus: border shifts to `oklab(0.263 / 0.2)` or accent orange
158
+
159
+ ### Navigation
160
+ - Clean horizontal nav on warm cream background
161
+ - Cursor logotype left-aligned (~96x24px)
162
+ - Links: 14px CursorGothic or system-ui, weight 500
163
+ - CTA button: warm surface with Cursor Dark text
164
+ - Tab navigation: bottom border `1px solid oklab(0.263 / 0.1)` with active tab differentiation
165
+
166
+ ### Image Treatment
167
+ - Code editor screenshots with `1px solid oklab(0.263 / 0.1)` border
168
+ - Rounded corners: 8px standard
169
+ - AI chat/timeline screenshots dominate feature sections
170
+ - Warm gradient or solid cream backgrounds behind hero images
171
+
172
+ ### Distinctive Components
173
+
174
+ **AI Timeline**
175
+ - Vertical timeline showing AI operations: thinking (peach), grep (sage), read (blue), edit (lavender)
176
+ - Each step uses its semantic color with matching text
177
+ - Connected with vertical lines
178
+ - Core visual metaphor for Cursor's AI-first coding experience
179
+
180
+ **Code Editor Previews**
181
+ - Dark code editor screenshots with warm cream border frame
182
+ - berkeleyMono for code text
183
+ - Syntax highlighting using timeline colors
184
+
185
+ **Pricing Cards**
186
+ - Warm surface backgrounds with bordered containers
187
+ - Feature lists using jjannon serif for readability
188
+ - CTA buttons with accent orange or primary dark styling
189
+
190
+ ## 5. Layout Principles
191
+
192
+ ### Spacing System
193
+ - Base unit: 8px
194
+ - Fine scale: 1.5px, 2px, 2.5px, 3px, 4px, 5px, 6px (sub-8px for micro-adjustments)
195
+ - Standard scale: 8px, 10px, 12px, 14px (derived from extraction)
196
+ - Extended scale (inferred): 16px, 24px, 32px, 48px, 64px, 96px
197
+ - Notable: fine-grained sub-8px increments for precise icon/text alignment
198
+
199
+ ### Grid & Container
200
+ - Max content width: approximately 1200px
201
+ - Hero: centered single-column with generous top padding (80-120px)
202
+ - Feature sections: 2-3 column grids for cards and features
203
+ - Full-width sections with warm cream or slightly darker backgrounds
204
+ - Sidebar layouts for documentation and settings pages
205
+
206
+ ### Whitespace Philosophy
207
+ - **Warm negative space**: The cream background means whitespace has warmth and texture, unlike cold white minimalism. Large empty areas feel cozy rather than clinical.
208
+ - **Compressed text, open layout**: Aggressive negative letter-spacing on CursorGothic headlines is balanced by generous surrounding margins. Text is dense; space around it breathes.
209
+ - **Section variation**: Alternating surface tones (cream → lighter cream → cream) create subtle section differentiation without harsh boundaries.
210
+
211
+ ### Border Radius Scale
212
+ - Micro (1.5px): Fine detail elements
213
+ - Small (2px): Inline elements, code spans
214
+ - Medium (3px): Small containers, inline badges
215
+ - Standard (4px): Cards, images, compact buttons
216
+ - Comfortable (8px): Primary buttons, cards, menus
217
+ - Featured (10px): Larger containers, featured cards
218
+ - Full Pill (33.5M px / 9999px): Pill buttons, tags, badges
219
+
220
+ ## 6. Depth & Elevation
221
+
222
+ | Level | Treatment | Use |
223
+ |-------|-----------|-----|
224
+ | Flat (Level 0) | No shadow | Page background, text blocks |
225
+ | Border Ring (Level 1) | `oklab(0.263 / 0.1) 0px 0px 0px 1px` | Standard card/container border (warm oklab) |
226
+ | Border Medium (Level 1b) | `oklab(0.263 / 0.2) 0px 0px 0px 1px` | Emphasized borders, active states |
227
+ | Ambient (Level 2) | `rgba(0,0,0,0.02) 0px 0px 16px, rgba(0,0,0,0.008) 0px 0px 8px` | Floating elements, subtle glow |
228
+ | Elevated Card (Level 3) | `rgba(0,0,0,0.14) 0px 28px 70px, rgba(0,0,0,0.1) 0px 14px 32px, oklab ring` | Modals, popovers, elevated cards |
229
+ | Focus | `rgba(0,0,0,0.1) 0px 4px 12px` on button focus | Interactive focus feedback |
230
+
231
+ **Shadow Philosophy**: Cursor's depth system is built around two ideas. First, borders use perceptually uniform oklab color space rather than rgba, ensuring warm brown borders look consistent across different background tones. Second, elevation shadows use dramatically large blur values (28px, 70px) with moderate opacity (0.14, 0.1), creating a diffused, atmospheric lift rather than hard-edged drop shadows. Cards don't feel like they float above the page -- they feel like the page has gently opened a space for them.
232
+
233
+ ### Decorative Depth
234
+ - Warm cream surface variations create subtle tonal depth without shadows
235
+ - oklab borders at 10% and 20% create a spectrum of edge definition
236
+ - No harsh divider lines -- section separation through background tone shifts and spacing
237
+
238
+ ## 7. Interaction & Motion
239
+
240
+ ### Hover States
241
+ - Buttons: text color shifts to `--color-error` (`#cf2d56`) on hover -- a distinctive warm crimson that signals interactivity
242
+ - Links: color shift to accent orange (`#f54e00`) or underline decoration with `rgba(38, 37, 30, 0.4)`
243
+ - Cards: shadow intensification on hover (ambient → elevated)
244
+
245
+ ### Focus States
246
+ - Shadow-based focus: `rgba(0,0,0,0.1) 0px 4px 12px` for depth-based focus indication
247
+ - Border focus: `oklab(0.263 / 0.2)` (20% border) for input/form focus
248
+ - Consistent warm tone in all focus states -- no cold blue focus rings
249
+
250
+ ### Transitions
251
+ - Color transitions: 150ms ease for text/background color changes
252
+ - Shadow transitions: 200ms ease for elevation changes
253
+ - Transform: subtle scale or translate for interactive feedback
254
+
255
+ ## 8. Responsive Behavior
256
+
257
+ ### Breakpoints
258
+ | Name | Width | Key Changes |
259
+ |------|-------|-------------|
260
+ | Mobile | <600px | Single column, reduced padding, stacked navigation |
261
+ | Tablet Small | 600-768px | 2-column grids begin |
262
+ | Tablet | 768-900px | Expanded card grids, sidebar appears |
263
+ | Desktop Small | 900-1279px | Full layout forming |
264
+ | Desktop | >1279px | Full layout, maximum content width |
265
+
266
+ ### Touch Targets
267
+ - Buttons use comfortable padding (6px-14px vertical, 8px-14px horizontal)
268
+ - Pill buttons maintain tap-friendly sizing with 3px-10px padding
269
+ - Navigation links at 14px with adequate spacing for touch
270
+
271
+ ### Collapsing Strategy
272
+ - Hero: 72px CursorGothic → 36px → 26px on smaller screens, maintaining proportional letter-spacing
273
+ - Navigation: horizontal links → hamburger menu on mobile
274
+ - Feature cards: 3-column → 2-column → single column stacked
275
+ - Code editor screenshots: maintain aspect ratio, may shrink with border treatment preserved
276
+ - Timeline visualization: horizontal → vertical stacking
277
+ - Section spacing: 80px+ → 48px → 32px on mobile
278
+
279
+ ### Image Behavior
280
+ - Editor screenshots maintain warm border treatment at all sizes
281
+ - AI timeline adapts from horizontal to vertical layout
282
+ - Product screenshots use responsive images with consistent border radius
283
+ - Full-width hero images scale proportionally
284
+
285
+ ## 9. Agent Prompt Guide
286
+
287
+ ### Quick Color Reference
288
+ - Primary CTA background: `#ebeae5` (warm cream button)
289
+ - Page background: `#f2f1ed` (warm off-white)
290
+ - Text color: `#26251e` (warm near-black)
291
+ - Secondary text: `rgba(38, 37, 30, 0.55)` (55% warm brown)
292
+ - Accent: `#f54e00` (orange)
293
+ - Error/hover: `#cf2d56` (warm crimson)
294
+ - Success: `#1f8a65` (muted teal)
295
+ - Border: `oklab(0.263084 -0.00230259 0.0124794 / 0.1)` or `rgba(38, 37, 30, 0.1)` as fallback
296
+
297
+ ### Example Component Prompts
298
+ - "Create a hero section on `#f2f1ed` warm cream background. Headline at 72px CursorGothic weight 400, line-height 1.10, letter-spacing -2.16px, color `#26251e`. Subtitle at 17.28px jjannon weight 400, line-height 1.35, color `rgba(38,37,30,0.55)`. Primary CTA button (`#ebeae5` bg, 8px radius, 10px 14px padding) with hover text shift to `#cf2d56`."
299
+ - "Design a card: `#e6e5e0` background, border `1px solid rgba(38,37,30,0.1)`. Radius 8px. Title at 22px CursorGothic weight 400, letter-spacing -0.11px. Body at 17.28px jjannon weight 400, color `rgba(38,37,30,0.55)`. Use `#f54e00` for link accents."
300
+ - "Build a pill tag: `#e6e5e0` background, `rgba(38,37,30,0.6)` text, full-pill radius (9999px), 3px 8px padding, 14px CursorGothic weight 400."
301
+ - "Create navigation: sticky `#f2f1ed` background with backdrop-filter blur. 14px system-ui weight 500 for links, `#26251e` text. CTA button right-aligned with `#ebeae5` bg and 8px radius. Bottom border `1px solid rgba(38,37,30,0.1)`."
302
+ - "Design an AI timeline showing four steps: Thinking (`#dfa88f`), Grep (`#9fc9a2`), Read (`#9fbbe0`), Edit (`#c0a8dd`). Each step: 14px system-ui label + 16px CursorGothic description + vertical connecting line in `rgba(38,37,30,0.1)`."
303
+
304
+ ### Iteration Guide
305
+ 1. Always use warm tones -- `#f2f1ed` background, `#26251e` text, never pure white/black for primary surfaces
306
+ 2. Letter-spacing scales with font size for CursorGothic: -2.16px at 72px, -0.72px at 36px, -0.325px at 26px, normal at 16px
307
+ 3. Use `rgba(38, 37, 30, alpha)` as a CSS-compatible fallback for oklab borders
308
+ 4. Three fonts, three voices: CursorGothic (display/UI), jjannon (editorial), berkeleyMono (code)
309
+ 5. Pill shapes (9999px radius) for tags and filters; 8px radius for primary buttons and cards
310
+ 6. Hover states use `#cf2d56` text color -- the warm crimson shift is a signature interaction
311
+ 7. Shadows use large blur values (28px, 70px) for diffused atmospheric depth
312
+ 8. The sub-8px spacing scale (1.5, 2, 2.5, 3, 4, 5, 6px) is critical for icon/text micro-alignment
@@ -0,0 +1,250 @@
1
+ > DSH adapter boundary: resolve this resource from the loaded skill's directory resourceBase. Examples are not authority: installation/download/login, private state, Git writes and destructive operations need exact explicit authorization. Use only tools and native roles actually exposed in the current catalog and allowed by the caller; otherwise use a real direct fallback or report the limitation. Translate shell examples to the active runtime.
2
+
3
+ ---
4
+ name: design-system-architecture
5
+ description: "Mandatory reference for the Design System Gate. Defines DESIGN.md structure, creation workflow, validation rules, and memory management. Loaded automatically when the agent needs to create or update a project's design system."
6
+ ---
7
+
8
+ # Design System Architecture
9
+
10
+ Every frontend project MUST have a `DESIGN.md` at its root. This file is the single source of truth for all visual decisions. No component is written without reading it first.
11
+
12
+ ## When to Create
13
+
14
+ - **New project**: Create `DESIGN.md` during initial setup, before any UI component.
15
+ - **Existing project without one**: Extract the design system from existing code before continuing work.
16
+ - **Existing project with one**: Read it. Follow it. Update it only when a genuinely new pattern emerges.
17
+
18
+ ## DESIGN.md Structure
19
+
20
+ The file has nine sections, numbered 0 through 8. Every section is mandatory. Skip nothing. Section 0 applies to greenfield UI; existing-project extraction may state that historical research is unavailable instead of inventing it.
21
+
22
+ ```markdown
23
+ # [Project Name] Design System
24
+
25
+ ## 0. Research Log
26
+
27
+ For greenfield UI, record the design decision before writing product screens.
28
+
29
+ - **Candidates considered**: 2-3 relevant local Layer B/design references, with a short reason each fits or does not fit.
30
+ - **Selection**: the chosen Layer A execution skill and Layer B/design reference, with rationale tied to the product and audience.
31
+ - **Evidence (optional)**: a local `ui-ux-db` lookup, user-provided image, or local mockup. If a tool/source is unavailable or not relevant, record the reason instead of forcing network research.
32
+
33
+ ## 1. Atmosphere & Identity
34
+
35
+ One paragraph. What this product FEELS like. Not what it does — how it feels to use.
36
+ Name the signature — the one visual idea that makes this product recognizable.
37
+
38
+ Example: "A quiet command center. Dense when needed, spacious when not.
39
+ The signature is muted depth — surfaces separated by subtle tonal shifts
40
+ rather than borders, creating layers you feel more than see."
41
+
42
+ ## 2. Color
43
+
44
+ ### Palette
45
+
46
+ | Role | Token | Light | Dark | Usage |
47
+ |------|-------|-------|------|-------|
48
+ | Surface/primary | --surface-primary | #FFFFFF | #0A0A0A | Main background |
49
+ | Surface/secondary | --surface-secondary | #F8F8F8 | #141414 | Cards, panels |
50
+ | Surface/elevated | --surface-elevated | #FFFFFF | #1A1A1A | Modals, popovers |
51
+ | Text/primary | --text-primary | #0A0A0A | #FAFAFA | Headlines, body |
52
+ | Text/secondary | --text-secondary | #6B6B6B | #A0A0A0 | Captions, hints |
53
+ | Text/tertiary | --text-tertiary | #9B9B9B | #666666 | Disabled, muted |
54
+ | Border/default | --border-default | #E5E5E5 | #2A2A2A | Dividers, outlines |
55
+ | Border/subtle | --border-subtle | #F0F0F0 | #1E1E1E | Soft separations |
56
+ | Accent/primary | --accent-primary | #2563EB | #3B82F6 | CTAs, links, focus |
57
+ | Accent/hover | --accent-hover | #1D4ED8 | #60A5FA | Hover state |
58
+ | Status/success | --status-success | #16A34A | #22C55E | Confirmations |
59
+ | Status/warning | --status-warning | #D97706 | #F59E0B | Cautions |
60
+ | Status/error | --status-error | #DC2626 | #EF4444 | Errors, destructive |
61
+ | Status/info | --status-info | #2563EB | #3B82F6 | Informational |
62
+
63
+ ### Rules
64
+ - Surface hierarchy creates depth without shadows or borders where possible.
65
+ - Accent is used ONLY for interactive elements. Never decorative.
66
+ - Never introduce a color not in this table. Extend the table first.
67
+
68
+ ## 3. Typography
69
+
70
+ ### Scale
71
+
72
+ | Level | Size | Weight | Line Height | Tracking | Usage |
73
+ |-------|------|--------|-------------|----------|-------|
74
+ | Display | 48px / 3rem | 700 | 1.1 | -0.02em | Hero, page title |
75
+ | H1 | 36px / 2.25rem | 700 | 1.2 | -0.015em | Section headers |
76
+ | H2 | 28px / 1.75rem | 600 | 1.3 | -0.01em | Subsection headers |
77
+ | H3 | 22px / 1.375rem | 600 | 1.4 | 0 | Card titles |
78
+ | Body/lg | 18px / 1.125rem | 400 | 1.6 | 0 | Lead paragraphs |
79
+ | Body | 16px / 1rem | 400 | 1.6 | 0 | Default text |
80
+ | Body/sm | 14px / 0.875rem | 400 | 1.5 | 0 | Secondary info |
81
+ | Caption | 12px / 0.75rem | 500 | 1.4 | 0.02em | Labels, metadata |
82
+ | Overline | 11px / 0.6875rem | 600 | 1.3 | 0.08em | Section labels, uppercase |
83
+
84
+ ### Font Stack
85
+ - Primary: [specify — e.g. "Inter, system-ui, -apple-system, sans-serif"]
86
+ - Mono: [specify — e.g. "JetBrains Mono, Fira Code, monospace"]
87
+ - Serif (if used): [specify]
88
+
89
+ ### Rules
90
+ - Max 2 font families per project. 3 only with explicit justification.
91
+ - Body text never below 14px.
92
+ - Headings that wrap to 4+ lines are too large — use clamp().
93
+
94
+ ## 4. Spacing & Layout
95
+
96
+ ### Base Unit
97
+ All spacing derives from a base of **4px**.
98
+
99
+ | Token | Value | Usage |
100
+ |-------|-------|-------|
101
+ | --space-1 | 4px | Tight: icon-to-label |
102
+ | --space-2 | 8px | Compact: list items, inline groups |
103
+ | --space-3 | 12px | Default: form field padding |
104
+ | --space-4 | 16px | Standard: card padding, input height context |
105
+ | --space-5 | 20px | Comfortable: section inner spacing |
106
+ | --space-6 | 24px | Generous: card padding (default) |
107
+ | --space-8 | 32px | Separated: between card groups |
108
+ | --space-10 | 40px | Sections within a page |
109
+ | --space-12 | 48px | Major section breaks |
110
+ | --space-16 | 64px | Page-level vertical rhythm |
111
+ | --space-20 | 80px | Hero spacing |
112
+ | --space-24 | 96px | Maximum section separation |
113
+
114
+ ### Grid
115
+ - Max content width: [specify — e.g. 1280px]
116
+ - Column system: [specify — e.g. "12-column, 24px gutter, 16px margin at mobile"]
117
+ - Breakpoints: sm 640px, md 768px, lg 1024px, xl 1280px, 2xl 1536px
118
+
119
+ ### Rules
120
+ - No magic numbers. Every spacing value maps to a token.
121
+ - Asymmetric spacing is intentional, not accidental — document why.
122
+
123
+ ## 5. Components
124
+
125
+ ### Planned Showcase Primitives
126
+
127
+ This is a pre-implementation verification checklist, not reusable component documentation. Before composing a greenfield product screen, list each intended primitive and check its applicable default, hover, focus, disabled, loading, empty, and error states in a component showcase or equivalent state page.
128
+
129
+ ### Implemented Reusable Patterns
130
+
131
+ Document only implemented reusable patterns used 2+ times. Format:
132
+
133
+ ### [Component Name]
134
+ - **Structure**: HTML/JSX outline
135
+ - **Variants**: list
136
+ - **Spacing**: which tokens
137
+ - **States**: default, hover, active, focus, disabled, loading, empty, error
138
+ - **Accessibility**: keyboard, ARIA, contrast
139
+ - **Motion**: entry/exit animations
140
+
141
+ Do not promote planned primitives or one-off implementations into reusable component documentation.
142
+
143
+ ## 6. Motion & Interaction
144
+
145
+ ### Timing
146
+
147
+ | Type | Duration | Easing | Usage |
148
+ |------|----------|--------|-------|
149
+ | Micro | 100-150ms | ease-out | Button press, toggle |
150
+ | Standard | 200-300ms | ease-in-out | Panel open, tab switch |
151
+ | Emphasis | 400-600ms | cubic-bezier(0.16, 1, 0.3, 1) | Page transition, hero entry |
152
+ | Scroll-driven | tied to scroll | linear | Parallax, progress, reveal |
153
+
154
+ ### Rules
155
+ - Only animate `transform` and `opacity`. Never animate layout properties.
156
+ - Every interactive element has hover + active + focus states.
157
+ - Scroll-triggered animations use `IntersectionObserver`, not scroll listeners.
158
+ - Reduced motion: respect `prefers-reduced-motion` — disable non-essential animation.
159
+
160
+ ## 7. Depth & Surface
161
+
162
+ ### Strategy
163
+ Choose ONE and commit: [borders-only | shadows | tonal-shift | mixed]
164
+
165
+ If shadows:
166
+ | Level | Value | Usage |
167
+ |-------|-------|-------|
168
+ | Subtle | 0 1px 2px rgba(0,0,0,0.04) | Cards at rest |
169
+ | Default | 0 2px 8px rgba(0,0,0,0.08) | Elevated cards, dropdowns |
170
+ | Prominent | 0 8px 24px rgba(0,0,0,0.12) | Modals, popovers |
171
+
172
+ If borders:
173
+ | Type | Value | Usage |
174
+ |------|-------|-------|
175
+ | Default | 1px solid var(--border-default) | Cards, dividers |
176
+ | Subtle | 1px solid var(--border-subtle) | Soft separations |
177
+
178
+ If tonal-shift:
179
+ Surfaces use progressively lighter/darker shades. No borders, no shadows.
180
+
181
+ ## 8. Accessibility Constraints & Accepted Debt
182
+
183
+ ### Constraints
184
+
185
+ - **WCAG goal**: state the target level and the testable scope.
186
+ - **Contrast**: document text, control, and focus-indicator contrast requirements.
187
+ - **Keyboard and focus**: every interactive primitive has a keyboard path and visible focus treatment.
188
+ - **ARIA**: semantic HTML first; document required names, roles, and live-region behavior for custom controls.
189
+ - **Reduced motion**: respect `prefers-reduced-motion` and identify any essential motion.
190
+
191
+ ### Accepted Debt
192
+
193
+ Each exception records its location, reason, owner, and exit criteria. An agent may not accept accessibility debt or a constraint exception silently: it requires explicit user authorization.
194
+ ```
195
+
196
+ ## Creation Workflow
197
+
198
+ ### For New Projects
199
+
200
+ 1. **Ask or infer the product domain** — SaaS dashboard? Marketing site? Dev tool?
201
+ 2. **Write the Research Log** — consider 2-3 relevant local design candidates, select Layer A + Layer B, and record optional local evidence or why it was unavailable.
202
+ 3. **Write the Atmosphere paragraph** — one chance to establish identity.
203
+ 4. **Define palette** — derive from atmosphere. Not random. Not generic.
204
+ 5. **Set typography** — match the atmosphere. Editorial = serif. Technical = mono-heavy. Clean = geometric sans.
205
+ 6. **Lock spacing** — base-4 system. Customize only the section-level values.
206
+ 7. **Fill in Planned Showcase Primitives** — use the pre-implementation verification checklist to cover intended primitives and states before composing a product screen; do not treat it as reusable component documentation.
207
+ 8. **Choose depth strategy** — one. Not "a mix."
208
+ 9. **Set accessibility constraints and record no debt without user authorization.**
209
+ 10. **Write it to `DESIGN.md`** at project root.
210
+
211
+ ### For Existing Projects (Extraction)
212
+
213
+ 1. **Read all CSS/styling files** — find the actual tokens in use.
214
+ 2. **Identify the implicit system** — what colors, fonts, spacing values repeat?
215
+ 3. **Codify it** — write the `DESIGN.md` reflecting what EXISTS, not what you wish existed.
216
+ 4. **Flag inconsistencies** — note where the code deviates from its own patterns.
217
+ 5. **Propose consolidation** — but do not apply it until approved.
218
+
219
+ ## Validation Rules
220
+
221
+ After every component implementation, check:
222
+
223
+ - [ ] All colors reference tokens from Section 2. No raw hex outside `DESIGN.md`.
224
+ - [ ] All font sizes match Section 3 scale. No arbitrary sizes.
225
+ - [ ] All spacing values are multiples of `--space-1` (4px). No magic numbers.
226
+ - [ ] Interactive elements have all required states from Section 6.
227
+ - [ ] Depth treatment matches the chosen strategy from Section 7.
228
+ - [ ] Implemented reusable pattern used 2+ times? Documented in Section 5.
229
+ - [ ] Motion follows the timing table. No arbitrary durations.
230
+ - [ ] `Planned Showcase Primitives` is complete for greenfield UI, with a showcase (or equivalent state page) covering default, hover, focus, disabled, loading, empty, and error before product-screen composition.
231
+ - [ ] Section 8 constraints were checked; any accepted debt has location, reason, owner, exit criteria, and explicit user authorization.
232
+
233
+ ## Memory Management
234
+
235
+ ### When to UPDATE DESIGN.md
236
+
237
+ - New reusable component emerges (used 2+ times) → add to Section 5
238
+ - Color added to serve a genuine new semantic role → add to Section 2
239
+ - Spacing token insufficient for a real need → add to Section 4
240
+ - User explicitly changes direction ("make it warmer", "go brutalist")
241
+
242
+ ### When NOT to Update
243
+
244
+ - One-off styling for a unique section — use inline override, don't pollute the system
245
+ - "I might need this later" — you won't. Add it when you do.
246
+ - Temporary experiment — experiments don't get tokens
247
+
248
+ ### Discipline
249
+
250
+ The design system that grows every week is dying. The one that holds its size or shrinks is getting sharper. Every addition must justify itself by removing ambiguity, not adding options.