@istmx/skills 1.2.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (332) hide show
  1. package/README.md +134 -40
  2. package/RELEASE_v2.1.0.md +69 -0
  3. package/bin/cli.js +95 -91
  4. package/context/conversation_transcript.md +768 -0
  5. package/context/progress.md +121 -0
  6. package/istm/SKILL.md +20 -11
  7. package/istm-animate/SKILL.md +46 -33
  8. package/istm-animate/core/motion-principles/SKILL.md +284 -0
  9. package/istm-animate/core/motion-principles/references/designers.md +127 -0
  10. package/istm-animate/core/motion-principles/references/easing-guide.md +231 -0
  11. package/istm-animate/core/motion-principles/references/enter-exit-recipes.md +466 -0
  12. package/istm-animate/frameworks/canvas-generative/SKILL.md +325 -0
  13. package/istm-animate/frameworks/canvas-generative/references/algorithms.md +925 -0
  14. package/istm-animate/frameworks/css-native/SKILL.md +319 -0
  15. package/istm-animate/frameworks/css-native/references/modern-css.md +465 -0
  16. package/istm-animate/frameworks/framer-motion/SKILL.md +187 -0
  17. package/istm-animate/frameworks/framer-motion/references/api.md +312 -0
  18. package/istm-animate/frameworks/gsap/SKILL.md +188 -0
  19. package/istm-animate/frameworks/gsap/references/core.md +218 -0
  20. package/istm-animate/frameworks/gsap/references/plugins.md +371 -0
  21. package/istm-animate/frameworks/gsap/references/scrolltrigger.md +325 -0
  22. package/istm-animate/frameworks/gsap/references/timeline.md +218 -0
  23. package/istm-animate/frameworks/threejs-r3f/SKILL.md +243 -0
  24. package/istm-animate/frameworks/threejs-r3f/references/scene-setup.md +392 -0
  25. package/istm-animate/frameworks/threejs-r3f/references/shaders.md +446 -0
  26. package/istm-animate/mobile/android/compose-graphics/SKILL.md +503 -0
  27. package/istm-animate/mobile/android/compose-graphics/references/agsl-recipes.md +356 -0
  28. package/istm-animate/mobile/android/compose-graphics/references/canvas-generative.md +282 -0
  29. package/istm-animate/mobile/android/compose-graphics/references/m3-expressive-deep.md +303 -0
  30. package/istm-animate/mobile/android/compose-motion/SKILL.md +359 -0
  31. package/istm-animate/mobile/android/compose-motion/references/gestures-compose.md +273 -0
  32. package/istm-animate/mobile/android/compose-motion/references/recomposition-and-anim.md +196 -0
  33. package/istm-animate/mobile/android/compose-motion/references/shared-transitions.md +281 -0
  34. package/istm-animate/mobile/android/compose-multiplatform/SKILL.md +311 -0
  35. package/istm-animate/mobile/android/compose-multiplatform/references/cmp-interop.md +288 -0
  36. package/istm-animate/mobile/android/compose-multiplatform/references/cmp-platform-quirks.md +156 -0
  37. package/istm-animate/mobile/apple/swiftui-graphics/SKILL.md +408 -0
  38. package/istm-animate/mobile/apple/swiftui-graphics/references/canvas-swiftui.md +239 -0
  39. package/istm-animate/mobile/apple/swiftui-graphics/references/liquid-glass-deep.md +252 -0
  40. package/istm-animate/mobile/apple/swiftui-graphics/references/metal-recipes.md +382 -0
  41. package/istm-animate/mobile/apple/swiftui-motion/SKILL.md +379 -0
  42. package/istm-animate/mobile/apple/swiftui-motion/references/gestures-swiftui.md +336 -0
  43. package/istm-animate/mobile/apple/swiftui-motion/references/phase-keyframe-deep.md +231 -0
  44. package/istm-animate/mobile/apple/swiftui-motion/references/springs-cheatsheet.md +129 -0
  45. package/istm-animate/references/animate.md +199 -0
  46. package/istm-animate/references/audit.md +115 -0
  47. package/istm-animate/references/design-engineering.md +674 -0
  48. package/istm-animate/references/improve.md +101 -0
  49. package/istm-animate/references/opportunities.md +132 -0
  50. package/istm-animate/references/plan-template.md +73 -0
  51. package/istm-animate/references/recipes.md +324 -0
  52. package/istm-animate/references/review.md +112 -0
  53. package/istm-animate/references/standards.md +187 -0
  54. package/istm-animate/references/vocabulary.md +173 -0
  55. package/istm-architecture/SKILL.md +70 -14
  56. package/istm-architecture/templates/agents.md +21 -2
  57. package/istm-awwward-designer/SKILL.md +53 -17
  58. package/istm-design/SKILL.md +49 -63
  59. package/istm-design/anti-laziness/architectural-patterns.md +55 -0
  60. package/istm-design/anti-laziness/parameter-tuning.md +44 -0
  61. package/istm-design/anti-laziness/prompt-engineering.md +52 -0
  62. package/istm-design/anti-laziness/reference-prompts.md +79 -0
  63. package/istm-design/archetypes/brandkit/SKILL.md +798 -0
  64. package/istm-design/archetypes/brutalist/SKILL.md +92 -0
  65. package/istm-design/archetypes/minimalist/SKILL.md +85 -0
  66. package/istm-design/archetypes/soft/SKILL.md +98 -0
  67. package/istm-design/core/design-audit/SKILL.md +248 -0
  68. package/istm-design/core/desktop-principles/SKILL.md +363 -0
  69. package/istm-design/core/desktop-principles/references/keyboard-patterns.md +137 -0
  70. package/istm-design/core/desktop-principles/references/multi-window.md +105 -0
  71. package/istm-design/core/mobile-principles/SKILL.md +289 -0
  72. package/istm-design/core/mobile-principles/references/accessibility-mobile.md +175 -0
  73. package/istm-design/core/mobile-principles/references/gestures-deep.md +220 -0
  74. package/istm-design/core/ui-ux-pro-max/SKILL.md +392 -0
  75. package/istm-design/core/ui-ux-pro-max/UPSTREAM.md +23 -0
  76. package/istm-design/core/ui-ux-pro-max/data/app-interface.csv +31 -0
  77. package/istm-design/core/ui-ux-pro-max/data/charts.csv +26 -0
  78. package/istm-design/core/ui-ux-pro-max/data/colors.csv +193 -0
  79. package/istm-design/core/ui-ux-pro-max/data/google-fonts.csv +1924 -0
  80. package/istm-design/core/ui-ux-pro-max/data/icons.csv +106 -0
  81. package/istm-design/core/ui-ux-pro-max/data/landing.csv +35 -0
  82. package/istm-design/core/ui-ux-pro-max/data/motion.csv +17 -0
  83. package/istm-design/core/ui-ux-pro-max/data/products.csv +193 -0
  84. package/istm-design/core/ui-ux-pro-max/data/react-performance.csv +45 -0
  85. package/istm-design/core/ui-ux-pro-max/data/stacks/angular.csv +51 -0
  86. package/istm-design/core/ui-ux-pro-max/data/stacks/astro.csv +54 -0
  87. package/istm-design/core/ui-ux-pro-max/data/stacks/avalonia.csv +57 -0
  88. package/istm-design/core/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
  89. package/istm-design/core/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
  90. package/istm-design/core/ui-ux-pro-max/data/stacks/javafx.csv +76 -0
  91. package/istm-design/core/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
  92. package/istm-design/core/ui-ux-pro-max/data/stacks/laravel.csv +51 -0
  93. package/istm-design/core/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
  94. package/istm-design/core/ui-ux-pro-max/data/stacks/nuxt-ui.csv +71 -0
  95. package/istm-design/core/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
  96. package/istm-design/core/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
  97. package/istm-design/core/ui-ux-pro-max/data/stacks/react.csv +54 -0
  98. package/istm-design/core/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
  99. package/istm-design/core/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
  100. package/istm-design/core/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
  101. package/istm-design/core/ui-ux-pro-max/data/stacks/threejs.csv +54 -0
  102. package/istm-design/core/ui-ux-pro-max/data/stacks/uno.csv +60 -0
  103. package/istm-design/core/ui-ux-pro-max/data/stacks/uwp.csv +56 -0
  104. package/istm-design/core/ui-ux-pro-max/data/stacks/vue.csv +50 -0
  105. package/istm-design/core/ui-ux-pro-max/data/stacks/winui.csv +60 -0
  106. package/istm-design/core/ui-ux-pro-max/data/stacks/wpf.csv +57 -0
  107. package/istm-design/core/ui-ux-pro-max/data/styles.csv +85 -0
  108. package/istm-design/core/ui-ux-pro-max/data/typography.csv +75 -0
  109. package/istm-design/core/ui-ux-pro-max/data/ui-reasoning.csv +162 -0
  110. package/istm-design/core/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
  111. package/istm-design/core/ui-ux-pro-max/references/pro-rules.md +109 -0
  112. package/istm-design/core/ui-ux-pro-max/references/quick-reference.md +240 -0
  113. package/istm-design/core/ui-ux-pro-max/scripts/core.py +464 -0
  114. package/istm-design/core/ui-ux-pro-max/scripts/design_system.py +1371 -0
  115. package/istm-design/core/ui-ux-pro-max/scripts/search.py +162 -0
  116. package/istm-design/core/ui-ux-pro-max/scripts/tests/test_core.py +134 -0
  117. package/istm-design/core/ui-ux-pro-max/scripts/validate_data.py +114 -0
  118. package/istm-design/image-to-code/SKILL.md +1228 -0
  119. package/istm-design/imagegen/SKILL.md +987 -0
  120. package/istm-design/presets/airbnb/DESIGN.md +545 -0
  121. package/istm-design/presets/airbnb/README.md +5 -0
  122. package/istm-design/presets/airtable/DESIGN.md +554 -0
  123. package/istm-design/presets/airtable/README.md +5 -0
  124. package/istm-design/presets/apple/DESIGN.md +562 -0
  125. package/istm-design/presets/apple/README.md +5 -0
  126. package/istm-design/presets/binance/DESIGN.md +634 -0
  127. package/istm-design/presets/binance/README.md +5 -0
  128. package/istm-design/presets/bmw/DESIGN.md +544 -0
  129. package/istm-design/presets/bmw/README.md +5 -0
  130. package/istm-design/presets/bmw-m/DESIGN.md +503 -0
  131. package/istm-design/presets/bmw-m/README.md +5 -0
  132. package/istm-design/presets/bugatti/DESIGN.md +454 -0
  133. package/istm-design/presets/bugatti/README.md +5 -0
  134. package/istm-design/presets/cal/DESIGN.md +542 -0
  135. package/istm-design/presets/cal/README.md +5 -0
  136. package/istm-design/presets/catalog.md +127 -0
  137. package/istm-design/presets/claude/DESIGN.md +589 -0
  138. package/istm-design/presets/claude/README.md +5 -0
  139. package/istm-design/presets/clay/DESIGN.md +541 -0
  140. package/istm-design/presets/clay/README.md +5 -0
  141. package/istm-design/presets/clickhouse/DESIGN.md +544 -0
  142. package/istm-design/presets/clickhouse/README.md +5 -0
  143. package/istm-design/presets/cohere/DESIGN.md +451 -0
  144. package/istm-design/presets/cohere/README.md +5 -0
  145. package/istm-design/presets/coinbase/DESIGN.md +570 -0
  146. package/istm-design/presets/coinbase/README.md +5 -0
  147. package/istm-design/presets/composio/DESIGN.md +506 -0
  148. package/istm-design/presets/composio/README.md +5 -0
  149. package/istm-design/presets/cursor/DESIGN.md +537 -0
  150. package/istm-design/presets/cursor/README.md +5 -0
  151. package/istm-design/presets/dell-1996/DESIGN.md +632 -0
  152. package/istm-design/presets/dell-1996/README.md +5 -0
  153. package/istm-design/presets/elevenlabs/DESIGN.md +504 -0
  154. package/istm-design/presets/elevenlabs/README.md +5 -0
  155. package/istm-design/presets/expo/DESIGN.md +526 -0
  156. package/istm-design/presets/expo/README.md +5 -0
  157. package/istm-design/presets/ferrari/DESIGN.md +531 -0
  158. package/istm-design/presets/ferrari/README.md +5 -0
  159. package/istm-design/presets/figma/DESIGN.md +578 -0
  160. package/istm-design/presets/figma/README.md +5 -0
  161. package/istm-design/presets/framer/DESIGN.md +544 -0
  162. package/istm-design/presets/framer/README.md +5 -0
  163. package/istm-design/presets/hashicorp/DESIGN.md +575 -0
  164. package/istm-design/presets/hashicorp/README.md +5 -0
  165. package/istm-design/presets/hp/DESIGN.md +670 -0
  166. package/istm-design/presets/hp/README.md +5 -0
  167. package/istm-design/presets/ibm/DESIGN.md +550 -0
  168. package/istm-design/presets/ibm/README.md +5 -0
  169. package/istm-design/presets/intercom/DESIGN.md +546 -0
  170. package/istm-design/presets/intercom/README.md +5 -0
  171. package/istm-design/presets/kraken/DESIGN.md +125 -0
  172. package/istm-design/presets/kraken/README.md +5 -0
  173. package/istm-design/presets/lamborghini/DESIGN.md +288 -0
  174. package/istm-design/presets/lamborghini/README.md +5 -0
  175. package/istm-design/presets/linear/DESIGN.md +548 -0
  176. package/istm-design/presets/linear/README.md +5 -0
  177. package/istm-design/presets/lovable/DESIGN.md +298 -0
  178. package/istm-design/presets/lovable/README.md +5 -0
  179. package/istm-design/presets/mastercard/DESIGN.md +365 -0
  180. package/istm-design/presets/mastercard/README.md +5 -0
  181. package/istm-design/presets/meta/DESIGN.md +683 -0
  182. package/istm-design/presets/meta/README.md +5 -0
  183. package/istm-design/presets/minimax/DESIGN.md +746 -0
  184. package/istm-design/presets/minimax/README.md +5 -0
  185. package/istm-design/presets/mintlify/DESIGN.md +852 -0
  186. package/istm-design/presets/mintlify/README.md +5 -0
  187. package/istm-design/presets/miro/DESIGN.md +825 -0
  188. package/istm-design/presets/miro/README.md +5 -0
  189. package/istm-design/presets/mistral/DESIGN.md +773 -0
  190. package/istm-design/presets/mistral/README.md +5 -0
  191. package/istm-design/presets/mongodb/DESIGN.md +767 -0
  192. package/istm-design/presets/mongodb/README.md +5 -0
  193. package/istm-design/presets/nike/DESIGN.md +575 -0
  194. package/istm-design/presets/nike/README.md +5 -0
  195. package/istm-design/presets/nintendo-2001/DESIGN.md +649 -0
  196. package/istm-design/presets/nintendo-2001/README.md +5 -0
  197. package/istm-design/presets/notion/DESIGN.md +821 -0
  198. package/istm-design/presets/notion/README.md +5 -0
  199. package/istm-design/presets/nvidia/DESIGN.md +640 -0
  200. package/istm-design/presets/nvidia/README.md +5 -0
  201. package/istm-design/presets/ollama/DESIGN.md +539 -0
  202. package/istm-design/presets/ollama/README.md +5 -0
  203. package/istm-design/presets/opencode/DESIGN.md +521 -0
  204. package/istm-design/presets/opencode/README.md +5 -0
  205. package/istm-design/presets/pinterest/DESIGN.md +597 -0
  206. package/istm-design/presets/pinterest/README.md +5 -0
  207. package/istm-design/presets/playstation/DESIGN.md +661 -0
  208. package/istm-design/presets/playstation/README.md +5 -0
  209. package/istm-design/presets/posthog/DESIGN.md +690 -0
  210. package/istm-design/presets/posthog/README.md +5 -0
  211. package/istm-design/presets/raycast/DESIGN.md +669 -0
  212. package/istm-design/presets/raycast/README.md +5 -0
  213. package/istm-design/presets/renault/DESIGN.md +589 -0
  214. package/istm-design/presets/renault/README.md +5 -0
  215. package/istm-design/presets/replicate/DESIGN.md +616 -0
  216. package/istm-design/presets/replicate/README.md +5 -0
  217. package/istm-design/presets/resend/DESIGN.md +585 -0
  218. package/istm-design/presets/resend/README.md +5 -0
  219. package/istm-design/presets/revolut/DESIGN.md +636 -0
  220. package/istm-design/presets/revolut/README.md +5 -0
  221. package/istm-design/presets/runwayml/DESIGN.md +244 -0
  222. package/istm-design/presets/runwayml/README.md +5 -0
  223. package/istm-design/presets/sanity/DESIGN.md +357 -0
  224. package/istm-design/presets/sanity/README.md +5 -0
  225. package/istm-design/presets/sentry/DESIGN.md +551 -0
  226. package/istm-design/presets/sentry/README.md +5 -0
  227. package/istm-design/presets/shopify/DESIGN.md +516 -0
  228. package/istm-design/presets/shopify/README.md +5 -0
  229. package/istm-design/presets/slack/DESIGN.md +482 -0
  230. package/istm-design/presets/spacex/DESIGN.md +363 -0
  231. package/istm-design/presets/spacex/README.md +5 -0
  232. package/istm-design/presets/spotify/DESIGN.md +246 -0
  233. package/istm-design/presets/spotify/README.md +5 -0
  234. package/istm-design/presets/starbucks/DESIGN.md +580 -0
  235. package/istm-design/presets/starbucks/README.md +5 -0
  236. package/istm-design/presets/stripe/DESIGN.md +487 -0
  237. package/istm-design/presets/stripe/README.md +5 -0
  238. package/istm-design/presets/supabase/DESIGN.md +462 -0
  239. package/istm-design/presets/supabase/README.md +5 -0
  240. package/istm-design/presets/superhuman/DESIGN.md +448 -0
  241. package/istm-design/presets/superhuman/README.md +5 -0
  242. package/istm-design/presets/tesla/DESIGN.md +286 -0
  243. package/istm-design/presets/tesla/README.md +5 -0
  244. package/istm-design/presets/theverge/DESIGN.md +339 -0
  245. package/istm-design/presets/theverge/README.md +5 -0
  246. package/istm-design/presets/together/DESIGN.md +633 -0
  247. package/istm-design/presets/together/README.md +5 -0
  248. package/istm-design/presets/uber/DESIGN.md +636 -0
  249. package/istm-design/presets/uber/README.md +5 -0
  250. package/istm-design/presets/vercel/DESIGN.md +736 -0
  251. package/istm-design/presets/vercel/README.md +5 -0
  252. package/istm-design/presets/vodafone/DESIGN.md +538 -0
  253. package/istm-design/presets/vodafone/README.md +5 -0
  254. package/istm-design/presets/voltagent/DESIGN.md +521 -0
  255. package/istm-design/presets/voltagent/README.md +5 -0
  256. package/istm-design/presets/warp/DESIGN.md +526 -0
  257. package/istm-design/presets/warp/README.md +5 -0
  258. package/istm-design/presets/webflow/DESIGN.md +588 -0
  259. package/istm-design/presets/webflow/README.md +5 -0
  260. package/istm-design/presets/wired/DESIGN.md +497 -0
  261. package/istm-design/presets/wired/README.md +5 -0
  262. package/istm-design/presets/wise/DESIGN.md +544 -0
  263. package/istm-design/presets/wise/README.md +5 -0
  264. package/istm-design/presets/xai/DESIGN.md +465 -0
  265. package/istm-design/presets/xai/README.md +5 -0
  266. package/istm-design/presets/zapier/DESIGN.md +537 -0
  267. package/istm-design/presets/zapier/README.md +5 -0
  268. package/istm-design/references/apple-design.md +282 -0
  269. package/istm-design/references/generation-guide.md +209 -0
  270. package/istm-design/references/pick-ui-library.md +77 -0
  271. package/istm-design/references/picker.md +197 -0
  272. package/istm-design/references/prototype.md +90 -0
  273. package/istm-design/references/schema.md +366 -0
  274. package/istm-design/semantic-design/DESIGN.md +121 -0
  275. package/istm-design/semantic-design/SKILL.md +184 -0
  276. package/istm-system-design/SKILL.md +12 -5
  277. package/istm-workflow/istm-autoplan/SKILL.md +1905 -0
  278. package/istm-workflow/istm-autoplan/SKILL.md.tmpl +923 -0
  279. package/istm-workflow/istm-craft/SKILL.md +12 -6
  280. package/istm-workflow/istm-cso/ACKNOWLEDGEMENTS.md +14 -0
  281. package/istm-workflow/istm-cso/SKILL.md +1313 -0
  282. package/istm-workflow/istm-cso/SKILL.md.tmpl +407 -0
  283. package/istm-workflow/istm-cso/sections/audit-phases.md +253 -0
  284. package/istm-workflow/istm-cso/sections/audit-phases.md.tmpl +251 -0
  285. package/istm-workflow/istm-cso/sections/manifest.json +14 -0
  286. package/istm-workflow/istm-debt/SKILL.md +44 -0
  287. package/istm-workflow/istm-debug/SKILL.md +12 -3
  288. package/istm-workflow/istm-design-review/SKILL.md +2053 -0
  289. package/istm-workflow/istm-design-review/SKILL.md.tmpl +312 -0
  290. package/istm-workflow/istm-develop/SKILL.md +10 -4
  291. package/istm-workflow/istm-eng-review/SKILL.md +1112 -0
  292. package/istm-workflow/istm-eng-review/SKILL.md.tmpl +163 -0
  293. package/istm-workflow/istm-eng-review/sections/manifest.json +14 -0
  294. package/istm-workflow/istm-eng-review/sections/review-sections.md +942 -0
  295. package/istm-workflow/istm-eng-review/sections/review-sections.md.tmpl +225 -0
  296. package/istm-workflow/istm-gain/SKILL.md +50 -0
  297. package/istm-workflow/istm-health/SKILL.md +1104 -0
  298. package/istm-workflow/istm-health/SKILL.md.tmpl +320 -0
  299. package/istm-workflow/istm-qa/BROWSER.md +1468 -0
  300. package/istm-workflow/istm-qa/SKILL.md +1743 -0
  301. package/istm-workflow/istm-qa/SKILL.md.tmpl +354 -0
  302. package/istm-workflow/istm-qa/references/issue-taxonomy.md +85 -0
  303. package/istm-workflow/istm-qa/templates/qa-report-template.md +126 -0
  304. package/istm-workflow/istm-release/SKILL.md +989 -0
  305. package/istm-workflow/istm-release/SKILL.md.tmpl +160 -0
  306. package/istm-workflow/istm-release/sections/manifest.json +14 -0
  307. package/istm-workflow/istm-release/sections/release-body.md +547 -0
  308. package/istm-workflow/istm-release/sections/release-body.md.tmpl +420 -0
  309. package/istm-workflow/istm-review/SKILL.md +57 -0
  310. package/istm-workflow/istm-ship/SKILL.md +1504 -0
  311. package/istm-workflow/istm-ship/SKILL.md.tmpl +582 -0
  312. package/istm-workflow/istm-ship/sections/adversarial.md +218 -0
  313. package/istm-workflow/istm-ship/sections/adversarial.md.tmpl +19 -0
  314. package/istm-workflow/istm-ship/sections/apple-release.md +58 -0
  315. package/istm-workflow/istm-ship/sections/apple-release.md.tmpl +56 -0
  316. package/istm-workflow/istm-ship/sections/changelog.md +45 -0
  317. package/istm-workflow/istm-ship/sections/changelog.md.tmpl +3 -0
  318. package/istm-workflow/istm-ship/sections/greptile.md +51 -0
  319. package/istm-workflow/istm-ship/sections/greptile.md.tmpl +49 -0
  320. package/istm-workflow/istm-ship/sections/manifest.json +62 -0
  321. package/istm-workflow/istm-ship/sections/plan-completion.md +329 -0
  322. package/istm-workflow/istm-ship/sections/plan-completion.md.tmpl +31 -0
  323. package/istm-workflow/istm-ship/sections/pr-body.md +209 -0
  324. package/istm-workflow/istm-ship/sections/pr-body.md.tmpl +207 -0
  325. package/istm-workflow/istm-ship/sections/review-army.md +406 -0
  326. package/istm-workflow/istm-ship/sections/review-army.md.tmpl +56 -0
  327. package/istm-workflow/istm-ship/sections/test-coverage.md +264 -0
  328. package/istm-workflow/istm-ship/sections/test-coverage.md.tmpl +23 -0
  329. package/istm-workflow/istm-ship/sections/tests.md +403 -0
  330. package/istm-workflow/istm-ship/sections/tests.md.tmpl +116 -0
  331. package/package.json +6 -3
  332. package/RELEASE_v1.2.0.md +0 -40
@@ -0,0 +1,121 @@
1
+ # @istmx/skills Progress Record
2
+
3
+ This document tracks the massive architectural work completed to build the ultimate AI coding agent orchestrator.
4
+
5
+ ## Phase 1: The "Impeccable" Context Engine
6
+ - **Master Orchestrator (`SKILL.md`)**: Rewrote the entire root architecture skill to act as a self-consuming bootstrap. It evaluates raw prompts, executes a Discovery Gate, and orchestrates the generation of 4 foundational pillars.
7
+ - **The 4 Pillars**: Created highly structured templates for `.istm-context/`:
8
+ - `agents.md`: The 250-line rulebook and progress memory loops.
9
+ - `project-overview.md`: Business logic and core features.
10
+ - `architecture.md`: System design and API flows.
11
+ - `design.md`: The UX strategy, motion logic, and UI principles.
12
+ - **Aesthetic Enforcement**: Hardcoded strict rules forbidding emojis and forcing the AI to pause for asset uploads, ensuring premium visual output.
13
+
14
+ ## Phase 2: The CLI Installer (`bin/cli.js`)
15
+ - **Multi-Tier Harness Detection**: The CLI smartly detects the user's IDE via `process.env.TERM_PROGRAM` or directory scanning (`.cursor`, `.claude`, `.gemini`, `.cline`).
16
+ - **Pure Installer Mode**: The CLI was stripped of redundant interactive questions. It now acts as a silent dropper that prepares the environment for the AI to take over.
17
+ - **The Self-Destruct Loop**:
18
+ - The CLI drops the Master Orchestrator at the root (named after the IDE harness).
19
+ - It drops the blank `agents.md` rulebook into `.istm-context/`.
20
+ - The Orchestrator instructs the AI to interview the user, hydrate `agents.md`, and then overwrite the root Orchestrator file with the finished rulebook.
21
+
22
+ ## Phase 3: The 1-2 Punch Workflow (`istm-craft`)
23
+ - Separated "Day Zero" architecture (`istm-architecture`) from "Day-to-Day" feature building.
24
+ - Renamed the bloated JSM `architect` skill to `istm-craft`.
25
+ - Gutted the 29,000-byte JSM file and replaced it with a lean, targeted skill that strictly reads `.istm-context/` blueprints before designing new features in `docs/specs/`.
26
+
27
+ ## Phase 4: Full Orchestrator Ecosystem Completion
28
+ - **Architectural Mapping**: Mapped out a highly modular dependency graph linking all skills (`SKILL_ARCHITECTURE.md`).
29
+ - **The Core Orchestrators**: Built out the remaining elite `SKILL.md` files:
30
+ - `/istm-design`: Visual token core with anti-slop rules.
31
+ - `/istm-animate`: Hardware-accelerated motion orchestrator.
32
+ - `/istm-system-design`: Backend logic and schema orchestrator.
33
+ - `/istm-awwward-designer`: Premium frontend engine combining WebGL and GSAP.
34
+ - **The Universal NLP Router (`/istm`)**: Upgraded the God Mode command to semantically route raw prompts to the absolute best skill across the entire ecosystem, including workflow tools like `/audit` and `/istm-craft`.
35
+ - **Structural Distribution**: Removed UI framework stacks out of `system-design` and strictly distributed them to `design` (Shadcn, Uno), `architecture` (Next.js, React, Flutter), and `awwward-designer` (ThreeJS).
36
+ - **GitHub Syncing**: Synced these sweeping changes directly to `istmX/skills` and `laughing-giggle`. Removed legacy files (`install.sh`, `.gitignore`) from `/istm-awwward-designer` via a Pull Request workflow.
37
+
38
+ ## Next Steps
39
+ - Write the dynamic install scripts (e.g., inside `bin/cli.js`) to intelligently stitch these completed orchestrators together into the end-user's IDE.
40
+ - Continue refactoring the `/istm-workflow` commands (like `/audit`, `/develop`, `/debug`) to ensure they fully adopt the new Impeccable YAML structure and `.istm-context/` blueprints.
41
+
42
+ ## Phase 5: The Awwwards Execution Engine & Refactoring
43
+ - **Execution Conversion (`istm-awwward-designer`)**: Rewrote the premium frontend engine to physically *write code* rather than just output blueprints. Enforced GSAP, Lenis, and strict visual aesthetics.
44
+ - **Reference Library Flattening**: Cleaned up legacy git clone cruft inside `istm-awwward-designer` and flattened the massive `references/` documentation library for direct AI access.
45
+ - **Blueprint Centralization**: Ensured all workflow skills strictly output their blueprints to `.istm-context/` instead of polluting the root repository.
46
+ - **Slash Command Fix**: Identified why custom skills weren't appearing in the Antigravity CLI `/` menu (they need to be in `.gemini/skills/`).
47
+
48
+ ## Phase 6: Production CLI & Open-Source NPM Launch
49
+ - **Installer Precision (`bin/cli.js`)**: Fixed the fatal symlinking issue. The installer now perfectly drops the true Universal NLP Router (`/istm`) and correctly routes IDE slash commands into `.gemini/skills/` or `.cursor/rules/`.
50
+ - **Public Ecosystem Preparation**: Obliterated the `_legacy_archive` and messy development files to ensure a lean package size.
51
+ - **Production Manifest**: Transformed `package.json` into a production-ready artifact with native `npx` routing (`bin: "bin/cli.js"`) and SEO-optimized keywords.
52
+ - **The Global README**: Authored a massive, compelling `README.md` introducing "Context-as-a-Service" and the `@istmx/skills` philosophy.
53
+ - **Merge & Publish**: Successfully resolved git merge conflicts on GitHub via command-line force resolution. Masterfully published `npx @istmx/skills` to the global NPM registry via direct OTP bypass token.
54
+
55
+ ## Phase 7: NPM SEO Maximization & Global Workflow Injection
56
+ - **SEO Powerhouse**: Completely maxed out the `keywords` array in `package.json` with nearly 90 high-value search terms targeting Generative AI, Awwwards animations (GSAP/Lenis), DX, architectures, and UI/UX.
57
+ - **Google Search Optimization**: Overhauled the GitHub/NPM `README.md` to be extremely highly indexed by Google. Embedded major search intent keywords organically into H1/H2 structures and descriptive paragraphs.
58
+ - **Global Skill Symlinking**: Fixed the IDE detection issue by directly symlinking all `.agents/skills` and nested `istm-workflow` utility skills into the global `~/.gemini/skills/` directory. All slash commands are now natively accessible in the terminal from any folder.
59
+ - **Installer Bug Fix (`bin/cli.js`)**: Modified the NodeJS installer logic to correctly extract individual workflow skills (`istm-audit`, `istm-craft`, etc.) from the `istm-workflow` source directory instead of incorrectly nesting them as a single parent folder in the user's IDE context.
60
+ - **Git Remote Restoration**: Identified and fixed a fatal git collision where the `skills` repository's `origin` remote was incorrectly pointing to the `laughing-giggle` parent directory. Re-routed the config to securely push to `istmX/skills`.
61
+ - **The Masterpiece README**: Completely rewrote the `@istmx/skills` README from scratch. It is now a high-end, engaging manifesto explicitly detailing the exact capabilities of every single Core Orchestrator (e.g., `/istm-awwward-designer`) and Day-to-Day Workflow Skill (e.g., `/istm-debug`, `/istm-craft`), establishing absolute clarity for the open-source community.
62
+
63
+ ## Phase 8: Landing Page Expansion (Skills & Sponsors)
64
+ - **Skills Page Interactive UI**: Refactored the generic skills grid into a massive typography list. Implemented responsive fork logic: Desktop features a `FollowerPointerCard` glassmorphic tooltip, while Mobile uses a sleek tap-to-expand accordion using Framer Motion spring physics.
65
+ - **Sponsor Page God Tier Pitch**: Architected and developed a 3-section storytelling funnel for the `/sponsor` route. Transformed it from a basic "0 Sponsors" text into a premium God Sponsor pitch with scrolling animations, dynamic sticky headers, and integrated the `GooeyInput` for immediate lead capture.
66
+ - **Motion Architecture Setup**: Replaced basic intersection observers with scroll-linked physics using Framer Motion's `useScroll` and `useTransform` to bind exact scroll wheel progress to element opacity, scale, and parallax dragging on the Sponsor page.
67
+
68
+ ## Phase 9: The Anti-Slop Architecture & Open Source Release
69
+ - **Strict Scaffold Validation**: Overhauled `/istm-architecture` to enforce Just-In-Time Scaffold creation, completely banning the generation of massive empty folder trees upfront. Native framework structures (e.g. Next.js `app/`) are explicitly preserved.
70
+ - **Component Boundary Guardrails**: Codified Feature-Based Architecture rules into the Builder engine. Reusable elements (like Shadcn components) are strictly isolated to `shared/components/`, while feature-specific logic is locked in `features/<name>/components/`.
71
+ - **Dynamic Context Parsing**: Implemented real-time URL ingestion logic into `/istm-craft` and `/istm-develop`. Agents can now scrape documentation URLs pasted into prompts, overriding outdated AI training weights (e.g. Next.js 16 updates) and caching the patterns to `.istm-context/docs/`.
72
+ - **Bespoke Design Token Engine**: Eradicated generic "AI Slop" style presets (Minimal, Brutalism, etc.) from `/istm-design`. Added a mandatory `Step 0` execution gate forcing the AI to recursively read the massive internal `istm-design/` subdirectories to parse user prompts into bespoke typography scaling and semantic color variables.
73
+ - **Open-Source Professionalization**: Upgraded the repository for public scaling. Rewrote the `README.md` to highlight the new deterministic features and solicit community collaboration. Drafted an AI-specific `CODE_OF_CONDUCT.md` and expanded the MIT `LICENSE` to legally guarantee user ownership of all AI-generated code output.
74
+ - **v1.2.0 Launch**: Bumped the framework version across the board, generated the official release notes, guided the GitHub Tag resolution process, and successfully prepared the project for its massive public launch after achieving immense early organic traction.
75
+
76
+ ## Phase 10: Cloudflare Deployment & Advanced SEO Architecture
77
+ - **Cloudflare Integration**: Configured the `istm-landing` Next.js application for Cloudflare deployment by installing `@cloudflare/next-on-pages` and generating a strict `wrangler.jsonc` file with Node.js compatibility flags.
78
+ - **Dynamic SEO Enforcement**: Eradicated static `public/sitemap.xml` and `public/robots.txt` files to fix Google Search Console parsing failures. Implemented Next.js dynamic Metadata API endpoints (`app/sitemap.ts` and `app/robots.ts`) to guarantee precise HTTP header delivery.
79
+ - **Agent Knowledge Bases**: Engineered a massive `lmm.txt` file serving as an exhaustive LLM manifesto. It documents the entire CLI architecture, 4 Pillars of Truth, and God Mode frameworks directly for AI crawling. Updated `AGENTS.md` to permanently ban the use of static SEO files.
80
+ - **Global Domain Migration**: Executed a codebase-wide domain migration from Vercel to `https://istmx.dpdns.org`, programmatically updating all OpenGraph, canonical, and structured JSON-LD URL tokens across every Next.js route.
81
+
82
+ ## Phase 11: The Omni-Channel Architecture & Dual-Mode Paradigm
83
+ - **Repository Integration**: Successfully extracted and merged the native intelligence from `genjutsu`, `design-dna`, and Emil Kowalski's physics into the core `@istmx/skills` orchestrators. Permanently scrubbed all external branding, ensuring 100% `@istmx` native identity.
84
+ - **Dual-Mode Orchestration**: Rewrote `istm-animate/SKILL.md` and `istm-awwward-designer/SKILL.md` to introduce the **Dual-Mode Paradigm**. Agents now operate as Architects (Context Phase via Discovery Gate) or lethal Executors (Execution Phase via Cast & Paint pipelines).
85
+ - **Omni-Channel Expansion**: Engineered the architecture to natively support multi-platform environments beyond the web. Integrated flawless execution principles for Apple (SwiftUI, Metal) and Android (Jetpack Compose, AGSL).
86
+ - **Claude Code Supremacy**: Completely overhauled the root `README.md` to explicitly optimize the ecosystem for **Claude Code**. Eradicated all hardcoded technology stacks (Next.js, React, Shadcn, Prisma) to establish the orchestrators as 100% stack-agnostic.
87
+ - **Enterprise Guardrails Documentation**: Updated the documentation to heavily highlight the Day-to-Day workflow safety net, explicitly detailing the **Spec Gate** (mathematical refusal to guess) and **Git Guardrails** (mandatory branch status checks).
88
+ - **v2.0 Deployment**: Checked out and committed the massive 23,927+ line codebase update to the `feat/v2-architecture-rebrand` branch, successfully synchronized both `laughing-giggle` and `skills` repositories back to `main`, and published the finalized `RELEASE_v1.2.0.md` for public deployment.
89
+
90
+ ## Phase 12: Unified Suite Installer & 7 Root Anti-Slop Architectural Upgrades
91
+ - **Unified Suite Installer (`bin/cli.js`)**: Resolved the dependency calculation bug where selecting God Mode skipped context blueprints. Unified the CLI to drop all core orchestrators, workflow tools, and `.istm-context/` blueprints together without fragmented selection prompts.
92
+ - **7 Root Architectural Upgrades**:
93
+ 1. *Anti-Slop Landing Page Standard*: Mandated complete 5–8 section narrative arc (*Hero → Social Proof → Feature Bento → Live Playground/Universe → Deep Dive → Testimonials → Pricing → FAQ → God-Tier Footer*), strictly banning 2-section "Hero + Footer" slop.
94
+ 2. *Mandatory Pre-Flight Ingestion Gate*: Enforced cross-skill reading (`istm-animate` and `istm-awwward-designer` must read `istm-design` tokens before writing code).
95
+ 3. *Modern Tailwind v4 Standard*: Banned inline arbitrary CSS variables (`bg-[var(--background)]`); enforced modern semantic utility classes (`bg-background`, `text-foreground`, `border-border`, `bg-muted`, `bg-card`).
96
+ 4. *Shadcn UI & Primitive Reuse Priority*: Mandated reusing `@/components/ui/` primitives instead of raw unaccessible `<div>` and `<button>` hacks.
97
+ 5. *Stack-Idiomatic Structure & Live Research Gate*: Banned dogmatic `features/` folder forcing; respected framework-native conventions (Next.js `app/`, Nuxt, Vite, Flutter). Enabled live web/doc searches for bleeding-edge frameworks.
98
+ 6. *Compiler-Grade TypeScript*: Strictly enforced `No any` tolerance, discriminated unions, and Zod inference.
99
+ 7. *Clean Code & Noise Comment Ban*: Strictly banned chatty, redundant comments (`// handle click`, `// button component`); self-documenting code only.
100
+ - **PR #18 Merged**: Pushed 6 atomic commits on branch `feat/anti-slop-root-standards`, merged via PR #18, and synchronized with `main`.
101
+
102
+ ## Phase 13: Enterprise SDLC Expansion, Headless Browser QA, Design Archetypes & Anti-Laziness
103
+ - **Design Archetypes & Visual Intelligence (`istm-design/`)**: Integrated `brutalist`, `minimalist`, `soft`, and `brandkit` design archetypes, `image-to-code` reverse-engineering pipeline, `semantic-design` compiler, and research-backed anti-laziness XML verification loops to eliminate output truncation.
104
+ - **Senior Developer Efficiency Suite (`istm-workflow/`)**: Enforced the 7-Rung Efficiency Ladder (YAGNI, reuse, stdlib, platform, minimal diff) and Grep-All-Callers root cause resolution across `/istm-debug` and `/istm-develop`. Added `/istm-gain`, `/istm-debt`, and `/istm-review`.
105
+ - **Enterprise Autonomous Testing & QA (`istm-workflow/`)**: Added `/istm-qa` with headless browser automation (`BROWSER.md`) for visual breakpoint validation and interaction verification, alongside `/istm-cso` (vulnerability and secret leak scanner).
106
+ - **Autonomous Lifecycle Workflows (`istm-workflow/`)**: Added `/istm-health`, `/istm-ship`, `/istm-autoplan`, `/istm-sprint`, `/istm-design-review`, `/istm-eng-review`, and `/istm-release`.
107
+ - **100% Native `@istmx` Scrubbing**: Permanently scrubbed all external branding, authors, and third-party references. Everything is 100% native `@istmx` architecture.
108
+ - **Dynamic Installer Discovery (`bin/cli.js`)**: Updated the installer and master router `/istm` to dynamically discover and inject all new workflow skills into user harnesses.
109
+ - **PR #19 Merged**: Pushed 5 atomic commits on branch `feat/omni-sdlc-expansion`, merged via PR #19, and cleanly synchronized back to `main`.
110
+
111
+ ## Phase 14: 70+ Production Design Presets Catalog & Dynamic Discovery Engine
112
+ - **70+ Production Design Presets (`istm-design/presets/`)**: Integrated reverse-engineered specifications across AI/RAG (`claude`, `cursor`, `cohere`, `mistral`, `ollama`, `elevenlabs`, `xai`), DevTools (`linear`, `vercel`, `supabase`, `raycast`, `posthog`, `clickhouse`, `sentry`, `mongodb`, `warp`), Fintech (`stripe`, `wise`, `coinbase`, `binance`, `kraken`, `revolut`, `mastercard`), Creative (`figma`, `notion`, `framer`, `miro`, `airtable`, `cal`, `intercom`), Luxury (`porsche`, `ferrari`, `bugatti`, `lamborghini`, `bmw-m`, `tesla`), and Commerce (`apple`, `airbnb`, `spotify`, `shopify`, `nike`, `uber`).
113
+ - **Central Taxonomy ([`istm-design/presets/catalog.md`](file:///workspaces/skills/istm-design/presets/catalog.md))**: Categorized all presets by industry domain with exact palettes, font pairings, and keyword triggers.
114
+ - **Dynamic Discovery Matching in `/istm-design`**: Enabled direct keyword matching (`--preset=linear`, `stripe-style`), domain-based recommendations during Discovery Gate interviews, and on-demand aesthetic switching.
115
+ - **PR #20 Merged**: Pushed commit on branch `feat/presets-catalog-engine`, merged via PR #20, and synchronized with `main`.
116
+
117
+ ## Phase 15: 2-Track Architecture Engine (Greenfield vs. Brownfield Reverse-Engineering)
118
+ - **Track 1 (Greenfield Setup)**: Evaluates user prompts, executes domain interviews via the Discovery Gate, applies smart defaults, and scaffolds fresh 4 Pillars from templates.
119
+ - **Track 2 (Brownfield Reverse-Engineering)**: Zero-interrogation mode. Automatically scans `package.json`, runtime frameworks (Next.js, Nuxt, Vite, FastAPI), styling tokens (Tailwind v4, Shadcn), ORMs (Prisma, Drizzle), and Auth providers (Auth.js, Supabase, Clerk). Faithfully reverse-engineers `architecture.md`, `design.md`, `project-overview.md`, and `agents.md` to document the real codebase state with a non-destructive guarantee.
120
+ - **Track 3 (Gap Fill)**: Safely updates `.istm-context/` blueprints to match evolving requirements without wiping unrelated architectural context.
121
+ - **PR #21 Merged**: Pushed commit on branch `feat/brownfield-codebase-architecture`, merged via PR #21, and cleanly synchronized back to `main`.
package/istm/SKILL.md CHANGED
@@ -41,17 +41,26 @@ Gather signals to determine the archetype:
41
41
 
42
42
  ### Route to the selected phase (Semantic Mapping)
43
43
 
44
- Analyze the prompt and guide the user on the absolute best skill to use. You act as the NLP brain that routes their intent to the right tool.
45
-
46
- 1. **If they want to build or design a brand new project**:
47
- - Standard SaaS / Web App: Advise them to run the CLI installer again and select the `A Full Stack App` core skill (`istm-architecture`).
48
- - Premium Marketing Site (GSAP/WebGL): Advise them to select the `Premium Awwwards Site` core skill (`istm-awwward-designer`).
49
- - Backend APIs only: Advise them to select the `Backend / APIs Only` skill (`istm-system-design`).
50
- 2. **If they want Day-to-Day Execution (These are already installed!)**:
51
- - Building a specific feature: Tell them to run `/istm-craft` (or just run it for them).
52
- - Debugging a massive error: Tell them to run `/istm-debug`.
53
- - Reviewing code quality: Tell them to run `/istm-audit` or `/istm-check`.
54
- - Writing tests: Tell them to run `/istm-test`.
44
+ Analyze the prompt and immediately route execution to the absolute best skill in the installed suite:
45
+
46
+ 1. **If they want to build or design a brand new project (Day Zero)**:
47
+ - Standard SaaS / Full-Stack Web App: Delegate immediately to `/istm-architecture` to execute the Discovery Gate and create the 4 Pillars of Truth.
48
+ - Premium Marketing Site (GSAP/WebGL/Animations): Delegate immediately to `/istm-awwward-designer` to build the interaction thesis and physical universe.
49
+ - Backend APIs / Database Schema only: Delegate immediately to `/istm-system-design`.
50
+ - Dedicated UI Design System / Design Tokens: Delegate immediately to `/istm-design`.
51
+ - Specialized Motion Curves / Hardware Physics: Delegate immediately to `/istm-animate`.
52
+
53
+ 2. **If they want Day-to-Day Execution (Workflow Suite)**:
54
+ - Building a specific feature: Execute `/istm-craft` to spec it out, followed by `/istm-develop` to write the code.
55
+ - Debugging a complex error: Execute `/istm-debug` (7-Rung Efficiency Ladder & root-cause caller tracing).
56
+ - Reviewing code quality & tech debt: Execute `/istm-audit`, `/istm-debt`, or `/istm-check`.
57
+ - Security & Vulnerability scans: Execute `/istm-cso`.
58
+ - Automated Browser QA & Visual Testing: Execute `/istm-qa` (headless browser interaction & layout validation).
59
+ - Performance & Bundle Optimization: Execute `/istm-gain`.
60
+ - Code Review & Pre-Merge Audits: Execute `/istm-review` or `/istm-eng-review`.
61
+ - Sprint & Milestone Planning: Execute `/istm-autoplan` or `/istm-sprint`.
62
+ - Shipping & Release Management: Execute `/istm-ship` or `/istm-release`.
63
+ - Writing tests: Execute `/istm-test`.
55
64
 
56
65
  ### Phase 0: Classify (only when `pre-flight` is ambiguous)
57
66
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: istm-animate
3
3
  allowed-tools: Bash, Read, Grep, Glob, Write, Edit, Agent, AskUserQuestion
4
- description: "The dedicated motion orchestrator for @istmx/skills. Acts as a translator: takes human animation requests, asks clarifying questions, and writes precise motion blueprints/specs outlining triggers, timelines, and cleanup logic."
4
+ description: "The dedicated motion orchestrator and executor for @istmx/skills. Merges Emil Kowalski's design-engineering standards with the 'cast' pipeline. Operates in Dual-Mode: acts as a planner (writing specs) or an executor (physically injecting motion code like GSAP/Framer Motion/Compose into components)."
5
5
  ---
6
6
 
7
7
  ## Output style (plain words, no dashes, no hyphens)
@@ -12,41 +12,54 @@ Write everything this skill produces, files and messages alike, in plain simple
12
12
 
13
13
  ## What this skill does
14
14
 
15
- The master motion orchestrator. It acts as the bridge between human creativity and developer math.
15
+ The master motion orchestrator and executor. It bridges human creativity and elite design-engineering math.
16
16
 
17
- - **Translation**: Takes vague prompts ("make it float", "animate on scroll") and breaks them down into exact technical choreography.
18
- - **Interviewing**: If the prompt is confusing, it stops and asks clarifying questions before writing anything.
19
- - **Component Breakdown**: Splices complex animations into bite-sized components (triggers, states, timelines, unmount cleanup) so `/istm-develop` can easily build them.
20
- - **Performance Enforcement**: Strictly enforces hardware-accelerated properties (transform, opacity).
17
+ - **Dual-Mode Execution**:
18
+ - **Context Phase (Day Zero)**: Operates as an architect. Uses the Discovery Gate (Interview) to lock in the exact easing curves, durations, and triggers. Writes the blueprint (`.istm-context/animate.md`).
19
+ - **Execution Phase (Day-to-Day)**: Operates as an executor. If asked to "animate this button" or "add a scroll reveal", it bypasses blueprint generation, asks how you want to preview it, and writes the actual animation code instantly (GSAP, Framer Motion, SwiftUI, or Compose) without needing `/istm-develop`.
20
+ - **The Cast Pipeline**: Scan stack -> Evaluate scope -> Propose interaction thesis -> Implement -> Mini-audit.
21
+ - **Auditing**: Can scan the codebase to find animation opportunities and point out what *should not* be animated based on premium design-engineering standards.
21
22
 
22
- **CRITICAL RULE: NEVER WRITE APPLICATION CODE (HTML/CSS/JS/React).** You are an architect. You ONLY write the blueprint files (`.istm-context/animate.md` for global motion tokens, or `.istm-context/specs/NNNN-<feature>.md` for specific component animations).
23
+ Does not build system architecture (/istm-architecture owns that) or generate full UI design systems (/istm-design owns that).
23
24
 
24
- ## Execution
25
+ ## Blueprint file convention
26
+
27
+ You READ the foundational blueprints:
28
+ - `.istm-context/design.md`
29
+ - `references/vocabulary.md`, `references/review.md`, `references/opportunities.md`, `references/animate.md`, `references/recipes.md`, `references/design-engineering.md`
30
+
31
+ You WRITE the motion feature specs (if in Context Phase):
32
+ - `.istm-context/animate.md`
33
+
34
+ ## Scope and Stack Detection
35
+
36
+ Automatically detects the stack across Web (GSAP, Framer Motion, CSS), Android (Compose), and Apple (SwiftUI). Loads the appropriate framework intel from `frameworks/` and `mobile/`.
25
37
 
26
- The main thread compiles the animation strategy. It must first verify that design tokens exist, as animation cannot exist without a layout.
38
+ ## Execution
27
39
 
28
40
  ### `Pre-flight` (main thread does this before anything else)
29
- 1. Read the user's prompt.
30
- 2. If the request is vague ("make the page pop"), execute Phase 1 (Interview).
31
- 3. If the request is clear but complex, execute Phase 2 (Spec Generation).
32
-
33
- ### Phase 1: Interview & Clarify
34
- Don't guess. If the human language is ambiguous, use `AskUserQuestion` to dial in the vibe (snappy, buttery smooth, elastic, scroll-linked vs time-based).
35
-
36
- ### Phase 2: Spec Generation
37
- Translate the human intent into a rigid technical spec:
38
- 1. Define the exact library to use (default to GSAP or Framer Motion based on `agents.md`).
39
- 2. Write out the exact easing curves (never generic `ease-in-out`; use custom cubic-bezier or `power3.out`).
40
- 3. Define the triggers (e.g., `ScrollTrigger` start/end markers).
41
- 4. Define the unmount cleanup logic to prevent memory leaks.
42
- 5. Save this to `.istm-context/specs/NNNN-motion-<feature>.md`.
43
-
44
- ### Handoff
45
- After writing the spec, instruct the user to run `/istm-develop` to physically build the code.
46
-
47
- ## Absolute Motion Enforcement Rules
48
-
49
- 1. **Hardware Acceleration**: Only animate `transform` (translate, scale, rotate) and `opacity`.
50
- 2. **Custom Easing**: Explicitly define custom curves to ensure a premium feel.
51
- 3. **Scroll-Jacking Restraint**: Scroll-jacking MUST be attached to a defined start and end point. Infinite scrolling traps are forbidden.
52
- 4. **Cleanup**: Every component that mounts a timeline MUST explicitly kill it on unmount.
41
+ 1. **Mandatory Token Ingestion Gate**: Read `.istm-context/design.md` and `istm-design/` token rules (colors, typography, spacing) to ensure motion aligns with the global visual tokens.
42
+ 2. Read the user's prompt and scan the stack.
43
+ 3. If the request is a vague setup ("setup animation rules"), execute the Context Phase.
44
+ 4. If the request is an implementation command ("animate this hero section"), execute the Execution Phase (Cast Pipeline).
45
+
46
+ ### The Cast Pipeline (Execution Phase)
47
+ 1. **Scan Stack & Ingest**: Determine Web, Android, or Apple. Cross-reference `design.md`.
48
+ 2. **Evaluate Scope**: Analyze the component to animate without breaking primitive accessibility.
49
+ 3. **Propose Interaction Thesis**: Use `references/vocabulary.md` to propose exact easing, physics, and intent. **Discovery Gate:** Ask the user if they want to preview it as an Artifact, Live Preview, or Inline text.
50
+ 4. **Implement**: Write the physical code into the project files using clean semantic Tailwind v4 tokens and strict types.
51
+ 5. **Mini-Audit**: Run a quick audit (reduced-motion check, exit animations, memory leak prevention).
52
+
53
+ ## Absolute Motion & Code Enforcement Rules
54
+
55
+ 1. **Mandatory Design Cross-Referencing**: Motion MUST harmonize with the semantic colors and layout spacing defined in `istm-design`. Never inject raw arbitrary color styles.
56
+ 2. **Modern Tailwind v4 Semantic Standard**:
57
+ - Strictly FORBID ugly inline arbitrary variables like `bg-[var(--background)]`.
58
+ - Use clean semantic utility classes (`bg-background`, `text-foreground`, `border-border`, `bg-muted`).
59
+ 3. **Hardware Acceleration**: Only animate `transform` (translate, scale, rotate) and `opacity`. Layout animating properties (`width`, `height`, `top`, `left`) are strictly forbidden.
60
+ 4. **Custom Easing**: Explicitly define custom curves (e.g., `power3.out`, spring configurations). Never use generic `ease-in-out`.
61
+ 5. **Scroll-Jacking Restraint**: Scroll-jacking MUST be attached to a defined start and end point. Infinite scrolling traps are forbidden.
62
+ 6. **Cleanup**: Every component that mounts a GSAP timeline, Lenis instance, or physics listener MUST explicitly kill it on unmount.
63
+ 7. **Compiler-Grade TypeScript (Zero `any` Tolerance)**: Absolute ban on `any` and `unknown as any`. Strict typing on all animation hooks, refs, and spring variants.
64
+ 8. **Clean Code & Noise Comment Ban**: Strictly ban redundant comments (`// animate on hover`, `// spring transition`). Self-documenting code only.
65
+
@@ -0,0 +1,284 @@
1
+ ---
2
+ name: motion-principles
3
+ description: "Motion design foundation - timing, easing, enter/exit patterns, accessibility, performance."
4
+ ---
5
+
6
+ # Motion Principles
7
+
8
+ > The foundation. Loaded by every creative skill invocation.
9
+ > Concise rules here. Deep-dive in `references/`.
10
+
11
+ ---
12
+
13
+ ## Timing Rules
14
+
15
+ | Context | Duration | Why |
16
+ |---|---|---|
17
+ | Micro-interaction (toggle, hover, focus) | 100-150ms | Instant feedback, no perceived delay |
18
+ | UI transition (modal, drawer, tab switch) | 200-300ms | Smooth but never sluggish |
19
+ | Page/route transition | 300-500ms | Establishes spatial narrative |
20
+ | Scroll-driven / 3D | Free (progress-based) | Tied to user input, no fixed duration |
21
+
22
+ **Frequency rule:** The more often an animation plays, the shorter and subtler it must be.
23
+ A button hover (1000x/day) = 100ms opacity. An onboarding reveal (1x ever) = 600ms+ full choreography.
24
+
25
+ ---
26
+
27
+ ## Easing Cheat Sheet
28
+
29
+ | Action | Easing | Why |
30
+ |---|---|---|
31
+ | Element enters | `ease-out` / spring | Decelerates into resting position (natural arrival) |
32
+ | Element exits | `ease-in` | Accelerates away (gets out of the way) |
33
+ | Element moves between states | `ease-in-out` | Smooth start and stop |
34
+ | Scroll-synced | `linear` / `none` | Matches 1:1 with input, no lag perception |
35
+ | Bouncy/playful | spring (underdamped) | Overshoot creates life |
36
+ | Snappy UI | `cubic-bezier(0.2, 0, 0, 1)` | Fast start, smooth land |
37
+
38
+ > **Exit is always more subtle than enter.**
39
+ > Enter: 300ms ease-out, full choreography. Exit: 200ms ease-in, opacity only.
40
+
41
+ ### Native easing equivalents (cross-platform)
42
+
43
+ | Web (CSS / JS) | SwiftUI | Compose |
44
+ |---|---|---|
45
+ | `cubic-bezier(0.2, 0, 0, 1)` | `.spring(response: 0.4, dampingFraction: 0.85)` or `.snappy` | `spring(stiffness = Spring.StiffnessMedium, dampingRatio = 0.85f)` |
46
+ | `ease-out` | `.easeOut(duration: 0.3)` | `tween(durationMillis = 300, easing = LinearOutSlowInEasing)` |
47
+ | `ease-in` | `.easeIn(duration: 0.2)` | `tween(durationMillis = 200, easing = FastOutLinearInEasing)` |
48
+ | spring (bouncy) | `.bouncy` (iOS 17+) | `spring(stiffness = Spring.StiffnessLow, dampingRatio = Spring.DampingRatioMediumBouncy)` |
49
+ | spring (smooth) | `.smooth` (iOS 17+) | `spring(stiffness = Spring.StiffnessMedium, dampingRatio = Spring.DampingRatioNoBouncy)` |
50
+
51
+ ---
52
+
53
+ ## Accessibility (Non-Negotiable)
54
+
55
+ ### Reduced motion - MANDATORY
56
+
57
+ Every animated component must respect the user's reduced-motion preference. No exceptions, regardless of platform.
58
+
59
+ | Platform | API |
60
+ |---|---|
61
+ | Web CSS | `@media (prefers-reduced-motion: reduce)` |
62
+ | Web JS | `window.matchMedia('(prefers-reduced-motion: reduce)')` |
63
+ | SwiftUI | `@Environment(\.accessibilityReduceMotion) var reduceMotion` |
64
+ | UIKit | `UIAccessibility.isReduceMotionEnabled` (+ `reduceMotionStatusDidChangeNotification`) |
65
+ | Compose | Custom helper using `Settings.Global.ANIMATOR_DURATION_SCALE` (deep-dive in `mobile-principles/references/accessibility-mobile.md`) |
66
+
67
+ **CSS:**
68
+ ```css
69
+ @media (prefers-reduced-motion: reduce) {
70
+ *, *::before, *::after {
71
+ animation-duration: 0.01ms !important;
72
+ animation-iteration-count: 1 !important;
73
+ transition-duration: 0.01ms !important;
74
+ scroll-behavior: auto !important;
75
+ }
76
+ }
77
+ ```
78
+
79
+ **SwiftUI:**
80
+ ```swift
81
+ struct AnimatedView: View {
82
+ @Environment(\.accessibilityReduceMotion) var reduceMotion
83
+ @State var visible = false
84
+
85
+ var body: some View {
86
+ Text("Hello")
87
+ .opacity(visible ? 1 : 0)
88
+ .animation(reduceMotion ? .none : .spring(response: 0.4, dampingFraction: 0.85), value: visible)
89
+ }
90
+ }
91
+ ```
92
+
93
+ **Compose:**
94
+ ```kotlin
95
+ @Composable
96
+ fun rememberReduceMotion(): Boolean {
97
+ val context = LocalContext.current
98
+ return remember {
99
+ Settings.Global.getFloat(context.contentResolver, Settings.Global.ANIMATOR_DURATION_SCALE, 1f) == 0f
100
+ }
101
+ }
102
+
103
+ @Composable
104
+ fun AnimatedComponent(visible: Boolean) {
105
+ val reduce = rememberReduceMotion()
106
+ val alpha by animateFloatAsState(
107
+ targetValue = if (visible) 1f else 0f,
108
+ animationSpec = if (reduce) snap() else spring(stiffness = Spring.StiffnessMedium)
109
+ )
110
+ }
111
+ ```
112
+
113
+ ### Other a11y requirements
114
+ - Focus indicators must never be hidden by animations
115
+ - Animated content must meet WCAG contrast ratios at every frame (no mid-transition fading to invisible text)
116
+ - Looping animations: provide a pause mechanism
117
+
118
+ ---
119
+
120
+ ## Universal "Do Not" Rules
121
+
122
+ ### 1. Never animate width/height/top/left
123
+
124
+ Triggers layout recalculation every frame = jank.
125
+
126
+ ```css
127
+ /* BAD */
128
+ .drawer { transition: height 0.3s ease; }
129
+ .drawer.open { height: 400px; }
130
+
131
+ /* GOOD */
132
+ .drawer { transition: transform 0.3s ease-out; transform: translateY(100%); }
133
+ .drawer.open { transform: translateY(0); }
134
+ ```
135
+
136
+ **SwiftUI equivalent (BAD vs GOOD):**
137
+ ```swift
138
+ // BAD - animates frame (causes layout pass)
139
+ .frame(height: open ? 400 : 0)
140
+ .animation(.easeInOut, value: open)
141
+
142
+ // GOOD - animates transform via offset
143
+ .offset(y: open ? 0 : 400)
144
+ .animation(.spring(), value: open)
145
+ ```
146
+
147
+ **Compose equivalent (BAD vs GOOD):**
148
+ ```kotlin
149
+ // BAD - animates size (full layout pass)
150
+ val height by animateDpAsState(if (open) 400.dp else 0.dp)
151
+
152
+ // GOOD - animates Y offset via graphicsLayer
153
+ val translation by animateFloatAsState(if (open) 0f else 400f)
154
+ Box(modifier = Modifier.graphicsLayer { translationY = translation })
155
+ ```
156
+
157
+ ### 2. Never scale to 0
158
+
159
+ `scale(0)` causes elements to vanish in a black hole. Always keep a minimum.
160
+
161
+ ```css
162
+ /* BAD */
163
+ .modal-exit { transform: scale(0); }
164
+
165
+ /* GOOD */
166
+ .modal-exit { transform: scale(0.95); opacity: 0; }
167
+ ```
168
+
169
+ **SwiftUI equivalent:**
170
+ ```swift
171
+ // BAD
172
+ .scaleEffect(visible ? 1.0 : 0.0)
173
+
174
+ // GOOD
175
+ .scaleEffect(visible ? 1.0 : 0.95)
176
+ .opacity(visible ? 1.0 : 0.0)
177
+ ```
178
+
179
+ **Compose equivalent:**
180
+ ```kotlin
181
+ // BAD
182
+ Modifier.graphicsLayer { scaleX = if (visible) 1f else 0f; scaleY = if (visible) 1f else 0f }
183
+
184
+ // GOOD
185
+ Modifier.graphicsLayer {
186
+ scaleX = if (visible) 1f else 0.95f
187
+ scaleY = if (visible) 1f else 0.95f
188
+ alpha = if (visible) 1f else 0f
189
+ }
190
+ ```
191
+
192
+ ### 3. Never ease-in on an entry
193
+
194
+ Ease-in = slow start. An entering element that hesitates feels broken.
195
+
196
+ ```css
197
+ /* BAD */
198
+ .card-enter { animation: fadeIn 0.3s ease-in; }
199
+
200
+ /* GOOD */
201
+ .card-enter { animation: fadeIn 0.3s ease-out; }
202
+ /* OR spring via JS for natural feel */
203
+ ```
204
+
205
+ ### 4. Never exceed 500ms on a UI interaction
206
+
207
+ Modals, dropdowns, tooltips, tabs -- users are waiting. Respect their time.
208
+
209
+ ```js
210
+ // BAD
211
+ gsap.to(modal, { opacity: 1, y: 0, duration: 0.8 });
212
+
213
+ // GOOD
214
+ gsap.to(modal, { opacity: 1, y: 0, duration: 0.25, ease: "power2.out" });
215
+ ```
216
+
217
+ **SwiftUI:**
218
+ ```swift
219
+ // BAD
220
+ .animation(.easeInOut(duration: 0.8), value: state)
221
+
222
+ // GOOD
223
+ .animation(.spring(response: 0.25, dampingFraction: 0.85), value: state)
224
+ ```
225
+
226
+ **Compose:**
227
+ ```kotlin
228
+ // BAD
229
+ animateContentSize(animationSpec = tween(800))
230
+
231
+ // GOOD
232
+ animateContentSize(animationSpec = spring(stiffness = Spring.StiffnessMediumLow))
233
+ ```
234
+
235
+ ### 5. Never skip prefers-reduced-motion
236
+
237
+ This is an accessibility requirement, not a nice-to-have.
238
+
239
+ ```js
240
+ // BAD
241
+ gsap.from('.hero-title', { opacity: 0, y: 40, duration: 0.6 });
242
+
243
+ // GOOD
244
+ const prefersReduced = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
245
+ if (!prefersReduced) {
246
+ gsap.from('.hero-title', { opacity: 0, y: 40, duration: 0.6 });
247
+ }
248
+ ```
249
+
250
+ > See the cross-platform Reduced Motion section above for SwiftUI / Compose equivalents.
251
+
252
+ ---
253
+
254
+ ## Performance Checklist
255
+
256
+ - Only animate `transform` and `opacity` (composite-only properties)
257
+ - Use `will-change` sparingly and remove it after animation completes
258
+ - Prefer `requestAnimationFrame` over `setTimeout`/`setInterval` for JS animations
259
+ - For scroll-driven: CSS `animation-timeline` > JS `IntersectionObserver` > scroll listeners
260
+ - Test on low-end devices (throttle CPU 4x in DevTools)
261
+
262
+ ---
263
+
264
+ ## Quick Reference: Loading Sub-skills
265
+
266
+ | Need | Load |
267
+ |---|---|
268
+ | Easing deep-dive, spring configs | `references/easing-guide.md` |
269
+ | Copy-paste enter/exit patterns | `references/enter-exit-recipes.md` |
270
+ | Designer-weighted style choice | `references/designers.md` |
271
+ | Mobile UX context | `../mobile-principles/SKILL.md` |
272
+ | Desktop UX context | `../desktop-principles/SKILL.md` |
273
+ | GSAP specifics | `../gsap/SKILL.md` |
274
+ | Framer Motion specifics | `../framer-motion/SKILL.md` |
275
+ | CSS-only animations | `../css-native/SKILL.md` |
276
+ | Three.js / R3F | `../threejs-r3f/SKILL.md` |
277
+ | Canvas / generative | `../canvas-generative/SKILL.md` |
278
+ | Compose Android animations | `../compose-motion/SKILL.md` |
279
+ | Compose Multiplatform | `../compose-multiplatform/SKILL.md` |
280
+ | SwiftUI iOS/macOS animations | `../swiftui-motion/SKILL.md` |
281
+ | Compose advanced graphics | `../compose-graphics/SKILL.md` |
282
+ | SwiftUI advanced graphics | `../swiftui-graphics/SKILL.md` |
283
+ | Visual / motion / a11y audit | `../design-audit/SKILL.md` |
284
+ | UI/UX intelligence (84 styles, 192 palettes) | `../ui-ux-pro-max/SKILL.md` |