@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
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: istm-awwward-designer
3
3
  allowed-tools: Bash, Read, Grep, Glob, Write, Edit, Agent, AskUserQuestion
4
- description: "The premium frontend spec orchestrator. It translates human design ideas into highly technical Awwwards-level GSAP/WebGL blueprints (.istm-context/specs/NNNN-motion-<feature>.md) for /istm-develop to physically build."
4
+ description: "The premium frontend orchestrator and executor. Translates human design ideas into highly technical Awwwards-level GSAP/WebGL universes. Operates in Dual-Mode: generates the MASTER.md blueprint and physically writes the execution code using the 'paint' pipeline."
5
5
  ---
6
6
 
7
7
  ## Output style (plain words, no dashes, no hyphens)
@@ -12,28 +12,64 @@ Write everything this skill produces in plain simple language. Keep technical te
12
12
 
13
13
  ## What this skill does
14
14
 
15
- This is the ultimate Motion Translator and Spec Writer. **THIS SKILL DOES NOT WRITE APPLICATION CODE.**
15
+ The ultimate Premium Visual Universe orchestrator and executor.
16
16
 
17
- Unlike `/istm-develop` (which writes code), `/istm-awwward-designer` acts exactly like `/istm-craft`, but specialized entirely for high-end frontend execution. It takes a vague human request ("make the hero section pop and slide in smoothly") and translates it into a highly technical, rigorous GSAP motion specification that a developer agent can execute flawlessly without hallucinating.
18
-
19
- - **Teaches & Implements GSAP via Specs**: It writes complex GSAP timelines, `ScrollTrigger` logic, stagger values, and precise easing curves into `.istm-context/specs/`.
20
- - **Physics Integration**: It mandates how `Lenis` mounts for buttery smooth scroll-jacking in the spec.
21
- - **Asset Fallbacks**: It defines stunning typography-driven design specs even without images, using extreme scaling and brutalist logic.
22
- - **WebGL Constraint**: It avoids heavily relying on WebGL unless explicitly required, focusing on elite DOM/GSAP animations that dominate 95% of premium sites.
17
+ - **Dual-Mode Execution**:
18
+ - **Context Phase (Day Zero)**: Builds a complete visual universe from scratch. Brainstorm first, implement second. Writes the `MASTER.md` design system.
19
+ - **Execution Phase (Day-to-Day)**: Translates the visual universe into flawless execution code, bypassing `/istm-develop`.
20
+ - **The Paint Pipeline**: Brainstorm -> Define visual + interaction thesis -> Generate design system (`MASTER.md`) -> Implement -> Full audit.
21
+ - **Teaches & Implements**: Writes complex GSAP timelines, `ScrollTrigger` logic, stagger values, precise easing curves, and WebGL components directly into the codebase.
23
22
 
24
23
  ## Blueprint file convention
25
24
 
26
25
  You READ the foundational blueprints:
27
- - `.istm-context/design.md`: For UI tokens, colors, and typography.
28
- - `.istm-context/agents.md`: For the project architecture.
26
+ - `.istm-context/design.md`
27
+ - `.istm-context/agents.md`
28
+
29
+ You WRITE the overarching universe spec:
30
+ - `.istm-context/MASTER.md` (or `.istm-context/specs/NNNN-motion-<feature>.md` if scoped).
31
+
32
+ ## Execution
33
+
34
+ ### `Pre-flight` (main thread does this before anything else)
35
+ 1. **Mandatory Token Ingestion Gate**: Read `.istm-context/design.md` and the `istm-design/` token rules (typography scaling, semantic color tokens, spacing) to ensure visual coherence.
36
+ 2. **Trend & Pattern Ingestion**: If requested for cutting-edge 2026 aesthetics or unfamiliar libraries, execute a live search to benchmark modern Awwwards/WebGL interaction patterns.
37
+ 3. Read the user's prompt:
38
+ - If the request is for a full experience/landing page or starting from scratch, execute the Context Phase (Paint Pipeline - Full).
39
+ - If the request is localized (e.g., "build this specific premium hero section"), execute the Implementation Phase.
29
40
 
30
- You WRITE the motion feature specs:
31
- - `.istm-context/specs/NNNN-motion-<feature>.md`: This is your output. You break down the human prompt into a rigid, step-by-step technical plan.
41
+ ### The Paint Pipeline
42
+ 1. **Brainstorm (Discovery Gate)**: Mandatory creative direction session. Ask questions to establish the visual and interaction thesis. Show the user the proposed identity.
43
+ 2. **Define Thesis**: Lock in the interaction mechanics and visual aesthetic.
44
+ 3. **Generate Design System**: Write the `MASTER.md` file integrating the stack-aware rules.
45
+ 4. **Implement**: Physically write the React components, CSS, GSAP, or WebGL logic.
46
+ 5. **Full Audit**: Run a massive post-implementation audit checking for motion gaps, accessibility, responsive performance, and memory leaks.
47
+
48
+ ## Landing Page Narrative Arc Law (Anti-Slop Standard)
49
+
50
+ Generating a lazy 2-section page (Hero + Footer only) is strictly banned as AI slop. When asked to create an Awwwards-level landing page or site experience, you MUST build a complete, immersive 5–8 section narrative universe:
51
+
52
+ 1. **High-Impact Cinematic Hero**: Magnetic value proposition, primary/secondary CTAs, live WebGL/GSAP centerpiece or interactive 3D/canvas anchor.
53
+ 2. **Social Proof & Trust Layer**: High-contrast client/partner logos, live metric counters, or verified developer statistics.
54
+ 3. **Interactive Bento Feature Universe**: Asymmetrical bento grid with dynamic mouse-tracking spotlights, magnetic hover borders, and fluid micro-interactions.
55
+ 4. **Live Interactive Playground / Canvas Demo**: A tangible, functional playground or real-time simulation allowing users to interact directly with the core product mechanics.
56
+ 5. **Deep-Dive Engineering & Value Columns**: Architecture breakdown, interactive comparison sliders, or code-diff showcases.
57
+ 6. **Social Validation & Testimonial Wall**: Verifiable user quotes, case studies, or developer reviews with editorial typography.
58
+ 7. **Pricing & Conversion Funnel**: Premium tiered cards with glowing border highlights and frictionless conversion triggers.
59
+ 8. **Interactive FAQ Accordion**: Smooth height-interpolated expand/collapse accordion.
60
+ 9. **God-Tier Masterpiece Footer**: Full navigation matrix, live status indicators, newsletter capture, and bold brand manifesto.
32
61
 
33
62
  ## Absolute Awwwards Execution Rules
34
63
 
35
- 1. **Write The Spec, Not The Code**: Your primary job is to generate the Markdown blueprint describing exactly how the React components, CSS, and GSAP logic should be written by `/istm-develop`.
36
- 2. **Translate Human to Tech**: When the user says "smooth", you write `ease: power4.out`. When they say "scroll reveal", you write `ScrollTrigger: { start: "top 80%", toggleActions: "play none none reverse" }`.
37
- 3. **DOM Performance Strictness**: Mandate `will-change: transform` in the spec. Absolutely forbid animating layout properties (`width`, `height`, `top`, `left`). Animate `transform` and `opacity` only.
38
- 4. **Cleanup Mandate**: Every spec involving a GSAP timeline or physics listener MUST explicitly instruct the developer to kill the timeline/listener on unmount to prevent memory leaks.
39
- 5. **Handoff**: Once you finish writing the spec, instruct the user to run `/istm-develop` to physically build it.
64
+ 1. **Mandatory Design Cross-Referencing**: Never invent raw hex codes or unaligned typography. All components MUST consume the semantic tokens defined in `istm-design` and `.istm-context/design.md`.
65
+ 2. **Modern Tailwind v4 Semantic Standard**:
66
+ - Strictly FORBID ugly inline arbitrary variables like `bg-[var(--background)]` or `text-[var(--foreground)]`.
67
+ - Use clean Tailwind v4 semantic utilities (`bg-background`, `text-foreground`, `bg-muted`, `border-border`, `bg-card`).
68
+ 3. **Primitive Reuse Priority**: Reusable atoms (buttons, inputs, dialogs, tooltips, sheets) MUST be imported from `@/components/ui/` (Shadcn UI). Never write unaccessible custom `<div>` click handlers.
69
+ 4. **Translate Human to Tech**: When the user says "smooth", you code `ease: power4.out`. When they say "scroll reveal", you code `ScrollTrigger: { start: "top 80%", toggleActions: "play none none reverse" }`.
70
+ 5. **DOM Performance Strictness**: Mandate `will-change: transform`. Absolutely forbid animating layout properties (`width`, `height`, `top`, `left`). Animate `transform` and `opacity` only.
71
+ 6. **Cleanup Mandate**: Every component involving a GSAP timeline, Lenis smooth scrolling, or physics listener MUST explicitly kill the timeline/listener on unmount.
72
+ 7. **Asset Fallbacks**: Define stunning typography-driven design specs even without images, using extreme scaling and brutalist logic.
73
+ 8. **Compiler-Grade TypeScript (Zero `any` Tolerance)**: Absolute ban on `any` and `unknown as any`. Strict interfaces and typed props only.
74
+ 9. **Clean Code & Noise Comment Ban**: Strictly ban redundant comments (`// animate on scroll`, `// button component`). Self-documenting code only.
75
+
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: istm-design
3
- allowed-tools: Bash, Read, Grep, Glob, Write, Edit, Agent, AskUserQuestion
4
- description: "The core visual orchestrator for the @istmx/skills framework. Establishes the foundational design tokens (colors, typography, spacing, standard motion) and strictly enforces premium UI aesthetics. Excludes heavy GSAP animation unless explicitly mandated."
3
+ allowed-tools: Bash, Read, Grep, Glob, Write, Edit, Agent, AskUserQuestion, GenerateImage
4
+ description: "The core visual context engine and executor for the @istmx/skills framework. Extends design tokens (colors, typography, spacing, standard motion) and strictly enforces premium UI aesthetics via a 3-Phase dual-mode execution (Structure, Analyze, Generate). Excludes heavy GSAP animation unless explicitly mandated."
5
5
  ---
6
6
 
7
7
  ## Output style (plain words, no dashes, no hyphens)
@@ -12,16 +12,18 @@ 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 visual token engine: compiles the design system, enforces typography scaling, and establishes the baseline aesthetic rules for the project.
15
+ The master visual token engine and dual-mode executor. It compiles the design system, enforces typography scaling, reverse-engineers screenshots/URLs into JSON profiles, and physically writes implementation code.
16
16
 
17
- - Token Compilation: Reads the internal legacy design rules (`colors`, `styles`, `typography`, `ux`) and synthesizes them into a cohesive `design.md` blueprint.
18
- - Standard Motion: Defines standard micro-interactions (hover states, simple transitions, loading skeletons). Strictly forbids heavy GSAP scroll-jacking and complex choreographies to keep the baseline application fast and accessible.
19
- - Anti-Slop Enforcement: Explicitly forbids generic AI UI slop (e.g., plain blue buttons, unstyled default fonts, emoji placeholders). Forces the use of curated semantic tokens and professional iconography.
20
-
21
- Does not build system architecture (/istm-architecture owns that), wire complex databases (/istm-system-design owns that), or build heavy marketing animations (/istm-animate and /istm-awwward-designer own that).
22
-
23
- **CRITICAL RULE: NEVER WRITE APPLICATION CODE (HTML/CSS/JS/React).** You are an architect. You ONLY write the blueprint file (`.istm-context/design.md`). If the user asks you to build a page, you must refuse, write the blueprint instead, and instruct the user to run `/develop` to build the code.
17
+ - **Dual-Mode Execution**:
18
+ - **Context Phase (Day Zero)**: Operates as an architect. Uses the extraction engine to generate blueprints (`design.md`, `ui-tokens.md`) in `.istm-context/`. Pauses for the **Discovery Gate** (asks the user to confirm/adjust tokens before saving).
19
+ - **Execution Phase (Day-to-Day)**: Operates as an executor. If asked to "create a landing page", it bypasses blueprint generation, reads `.istm-context/`, asks for preview preferences, and writes the final React/Next.js code directly without needing `/istm-develop`.
20
+ - **The 3-Phase Design Engine**:
21
+ - 1. **Structure**: Surfacing the full schema (System, Style, Effects).
22
+ - 2. **Analyze**: Pulling tokens from reference images or URLs to generate a JSON profile.
23
+ - 3. **Generate**: Applying the profile to write faithful UI implementation code.
24
+ - **Anti-Slop Enforcement**: Explicitly forbids generic AI UI slop (e.g., plain blue buttons, unstyled default fonts, emoji placeholders). Forces the use of curated semantic tokens and professional iconography.
24
25
 
26
+ Does not build system architecture (/istm-architecture owns that) or wire complex databases (/istm-system-design owns that).
25
27
 
26
28
  ## Blueprint file convention
27
29
 
@@ -29,71 +31,55 @@ Durable design context lives in the `.istm-context/` directory. This skill speci
29
31
 
30
32
  - `design.md`: The UX strategy, standard motion logic, and strict UI token dictionary.
31
33
 
32
- **GOLD STANDARD REFERENCE:** When creating a new `design.md`, you MUST read and use the workspace root `/workspaces/laughing-giggle/DESIGN.md` as your structural template. Your output must match its level of detail: including comprehensive YAML frontmatter (colors, typography scaling, rounded corners, spacing, components) followed by deep, philosophical markdown explaining the rules. Do not output a shallow file. Read the root `DESIGN.md` first to understand the required depth.
33
-
34
-
35
- Never overwrite an existing `design.md` without permission; gap-fill conservatively and respect established brand guidelines.
34
+ **GOLD STANDARD REFERENCE:** When creating a new `design.md`, you MUST read and use the workspace root `/workspaces/laughing-giggle/DESIGN.md` as your structural template. Your output must match its level of detail: including comprehensive YAML frontmatter followed by deep philosophical markdown explaining the rules.
36
35
 
37
36
  ## Scope
38
37
 
39
- The `--force-gsap` flag overrides the standard motion rule and allows basic GSAP imports. With no argument, the `Pre-flight` signals below route to Phase 0 (ambiguous), or Phase 1 (greenfield token generation).
38
+ The `--force-gsap` flag overrides the standard motion rule and allows basic GSAP imports. With no argument, the `Pre-flight` signals below route to Phase 0 (ambiguous), Phase 1 (greenfield token generation), or Phase 3 (code execution).
40
39
 
41
40
  ## Acts vs asks
42
41
 
43
- Phase 1 asks aesthetic questions (brand vibe, dark/light mode preference, typography style) via MCQ before generating the design tokens. Phase 2 acts immediately; it scans the repo for existing Tailwind configs, CSS variables, or styled-components and reverse-engineers the design system.
44
-
45
- ## Artifact ownership
46
-
47
- The `design.md` file holds the content. Create it if missing. When writing the design tokens, inject the precise CSS variables, tailwind utility classes, and font stacks. You own the enforcement of these tokens; all UI components generated by implementation agents must strictly use the tokens defined here.
48
-
49
- ## Portability (any OS, any agent)
50
-
51
- - Commands: Use your agent's cross-platform file tools to read `tailwind.config.js` or `index.css` and populate templates.
52
- - If interactive question support (`AskUserQuestion`) is missing, ask any multiple choice question as plain text with the same options.
42
+ In the **Context Phase**, ask aesthetic questions (brand vibe, dark/light mode preference) or ask for a URL/screenshot to reverse-engineer. Always pass the **Discovery Gate** by asking the user to confirm the extracted tokens before saving `design.md`.
43
+ In the **Execution Phase**, act immediately to write the code based on `.istm-context/`.
53
44
 
54
45
  ## Execution
55
46
 
56
- The main thread compiles the design system. It reads the legacy rules in `istm-design/` (`colors/`, `typography/`, etc.) and the user inputs, synthesizing them into the final `design.md`.
47
+ The main thread compiles the design system or writes code.
57
48
 
58
49
  ### `Pre-flight` (main thread does this before anything else)
59
50
 
60
51
  Gather signals to determine the execution path:
61
52
 
62
- 1. Flag check: Was `--force-gsap` provided? → `GSAP_FLAG`.
63
- 2. Context files: Is `design.md` already hydrated in `.istm-context/`? → `DESIGN_EXISTS`.
64
- 3. Source count: Are there existing CSS/Tailwind configs indicating an established design system? → `HAS_STYLES`.
65
-
66
- Pick the phase based on these signals:
67
-
68
- | Condition | Phase |
69
- |---|---|
70
- | `HAS_STYLES` is present | Phase 2 (Reverse-engineer the existing design system). |
71
- | `DESIGN_EXISTS` | Phase 3 (Gap-fill: analyze the prompt against existing design tokens and update only what changed). |
72
- | No flag, no design, no styles (or raw prompt) | Phase 1 (Greenfield: execute Design Interview and generate tokens). |
73
- | No flag, no design, but `HAS_STYLES` | Phase 0 (Ambiguous: ask if they want to override existing styles or document them). |
74
-
75
- ### Route to the selected phase
76
-
77
- - **Step 0 (Mandatory Reading)**: Before suggesting any design or generating files, you MUST recursively read all rule files inside `istm-design/colors/`, `istm-design/styles/`, `istm-design/typography/`, and `istm-design/ux/`. You must understand these massive, rich design rules first.
78
- - Phase 1 (Greenfield Setup): Analyze the user's prompt to extract their exact aesthetic vision. **Do NOT force them to pick from generic styles (e.g., minimal, brutalist, corporate).** If their prompt says "massive fonts and vibrant colors", use the rules from Step 0 to generate a bespoke `design.md` that perfectly captures that unique vibe with strict H1-H6 scaling and custom semantic color variables. Interview the user ONLY if the prompt is completely blank on design direction.
79
- - Phase 2 (Reverse Engineering): Do not interview. Read `tailwind.config.js`, `globals.css`, or equivalent. Reverse-engineer the color palette and typography scale. Hydrate `design.md`.
80
- - Phase 3 (Gap Fill): Read existing `design.md`. Identify missing tokens (e.g., missing success/error states). Update existing blueprints carefully.
81
-
82
- ### Phase 0: Classify (only when `pre-flight` is ambiguous)
83
-
84
- Don't guess. Ask once via your agent's interactive option picker (`AskUserQuestion`), or plain text.
85
- - question: "I see existing CSS styles, but no `design.md` blueprint. How should I proceed?"
86
- - header: "Design state"
87
- - options: 1. `Reverse-Engineer from CSS`, "I will read your styles and generate the design tokens." → Phase 2. 2. `Start Fresh from Prompt`, "I will interview you and overwrite the design system." → Phase 1.
88
-
89
- ### After all phases
90
-
91
- If no tokens were written when they should have been, report the failure. Relay the report: what aesthetic was chosen, what typography scale was locked in, and the primary color values.
92
-
93
- ## Absolute Aesthetic Enforcement Rules
53
+ 1. Flag check: Was `--force-gsap` provided?
54
+ 2. Intent check: Did the user ask to "extract", "analyze", "setup design", or did they ask to "build", "create", "design this page"?
55
+ 3. Context files: Is `design.md` already hydrated in `.istm-context/`?
56
+
57
+ ### The 3-Phase Engine
58
+
59
+ - **Step 0 (Mandatory Reading)**: Before suggesting any design or generating files, you MUST recursively read all rule files inside `istm-design/colors/`, `istm-design/styles/`, `istm-design/typography/`, `istm-design/ux/`, `istm-design/archetypes/` (brutalist, minimalist, soft, brandkit), `istm-design/image-to-code/`, `istm-design/semantic-design/`, `istm-design/anti-laziness/`, `istm-design/presets/catalog.md`, and `istm-design/references/`.
60
+
61
+ - **Phase 1: Structure & Presets Discovery**: Read `references/schema.md` and `presets/catalog.md`.
62
+ - **Direct Preset Match**: If the user requested a specific brand or archetype (e.g. `--preset=linear`, `stripe-style`, `like apple`, `supabase theme`), immediately load that preset from `istm-design/presets/<slug>/DESIGN.md`.
63
+ - **Domain Taxonomy Match**: If building for a known industry (e.g. AI/RAG platform, Fintech, Developer Tools, Luxury), scan `presets/catalog.md` and recommend the top 3 curated presets.
64
+ - **Discovery Gate**: Ask the user to confirm or choose from the top 3 recommended presets (or provide a custom URL/screenshot).
65
+ - **Phase 2: Analyze & Vibe Switching**: If the user provides a URL or image, analyze it visually. Map color palettes, typography classes, spacing density, layout grids, and visual effects into a JSON profile. If the user dislikes an initial design, immediately offer 2-3 contrasting presets from `presets/catalog.md` to switch aesthetics instantly.
66
+ - **Phase 3: Generate (Implementation)**: If the user asks to build UI components, read `.istm-context/design.md` and `references/generation-guide.md`. Convert tokens to clean Tailwind classes/CSS variables, fetch assets, and implement the design faithfully.
67
+
68
+ ### Absolute Aesthetic & Code Enforcement Rules
69
+
70
+ 1. **Tailwind v4 Semantic Token Standard**:
71
+ - Strictly FORBID ugly inline arbitrary CSS variables (`bg-[var(--background)]`, `text-[var(--foreground)]`, `border-[var(--border)]`).
72
+ - Mandate modern Tailwind v4 semantic utility tokens: `bg-background`, `text-foreground`, `bg-muted`, `text-muted-foreground`, `border-border`, `bg-card`, `text-card-foreground`, `bg-primary`, `text-primary-foreground`, `bg-accent`, `text-accent-foreground`, `bg-popover`, `ring-ring`.
73
+ 2. **Shadcn UI & Primitive Reuse Priority**:
74
+ - For all interactive atoms (buttons, inputs, dialogs, dropdowns, tooltips, sheets, badges, accordions), ALWAYS reuse/import from `@/components/ui/` (or create accessible primitives). Never write unaccessible custom `<div>` click handlers or unstyled button hacks.
75
+ 3. **Landing Page Narrative Arc Law (No 2-Section Slop)**:
76
+ - Generating a lazy 2-section page (Hero + Footer only) is strictly banned.
77
+ - Any full landing page must construct a complete 5–8 section journey: *Hero → Social Proof/Trust → Bento Grid Feature Showcase → Live Interactive Demo/Universe → Deep Dive Columns → Social Validation → Pricing/CTA → FAQ Accordion → God-Tier Footer*.
78
+ 4. **Typography Supremacy**: Never use browser default fonts. Explicitly define a sans-serif and optionally a display font. Enforce a strict typographic scale.
79
+ 5. **Semantic Colors Over Hex Codes**: Forbid direct use of raw hex codes in UI. Force the use of semantic tokens.
80
+ 6. **Micro-Interactions**: Enforce standard hover states on all interactive elements.
81
+ 7. **No Emojis**: Strictly forbid emojis in UI. Mandate professional SVG icons (Lucide, Phosphor, Heroicons).
82
+ 8. **Compiler-Grade TypeScript (Zero `any` Tolerance)**: Absolute ban on `any` and `unknown as any`. Use strict interfaces, domain models, and Zod inference.
83
+ 9. **Clean Code & Noise Comment Ban**: Strictly ban redundant, chatty comments (`// button component`, `// handle click`). Self-documenting code only.
84
+ 10. **No GSAP Default**: Standard motion relies on CSS/Framer Motion. Heavy scroll-jacking is forbidden unless `/istm-animate` or `/istm-awwward-designer` is explicitly invoked.
94
85
 
95
- 1. **Typography Supremacy**: Never use browser default fonts. Explicitly define a sans-serif (e.g., Inter, Roboto, Geist) and optionally a display font. Enforce a strict typographic scale.
96
- 2. **Semantic Colors Over Hex Codes**: Forbid the direct use of raw hex codes in UI components. Force the use of semantic tokens (e.g., `bg-surface-elevated`, `text-ink-muted`, `border-hairline`).
97
- 3. **Micro-Interactions**: Enforce standard hover states (opacity shifts, slight scaling, background color transitions) on all interactive elements.
98
- 4. **No Emojis**: Strictly forbid emojis in empty states or UI components. Mandate the use of professional SVG icon libraries (Lucide, Heroicons, Phosphor).
99
- 5. **No GSAP Default**: Standard motion relies on CSS transitions and lightweight Framer Motion/Spring logic. Heavy scroll-jacking or GSAP is forbidden unless `/istm-animate` or `/istm-awwward-designer` is explicitly invoked, or the `--force-gsap` flag is present.
@@ -0,0 +1,55 @@
1
+ # Architectural Patterns
2
+
3
+ ## Lazy-Loaded Skills
4
+
5
+ The standard pattern for managing large context requirements across AI agents is lazy-loaded prompt engineering through skill files.
6
+
7
+ A skill is a folder containing a `SKILL.md` file with:
8
+
9
+ - **YAML front-matter:** Contains `name` and a precise `description`. This metadata acts as the discovery hook — the agent reads only this during initialization (~100 tokens per skill).
10
+ - **Markdown body:** Full workflows, rules, and instructions. Loaded on-demand only when the agent determines the skill is relevant.
11
+
12
+ This architecture yields a documented 35% reduction in average context usage and prevents context dilution. However, discovery reliability depends on the specificity of the YAML description:
13
+
14
+ | Description Quality | Discovery Success Rate |
15
+ |:---|:---:|
16
+ | Vague ("Helps with designing APIs") | ~68% |
17
+ | Specific ("Design RESTful HTTP APIs with OpenAPI specs, focusing on versioning, error codes, and backward compatibility") | ~90% |
18
+
19
+ ## Model Context Protocol (MCP)
20
+
21
+ MCP is an open standard (pioneered by Anthropic, adopted by Google and OpenAI) that enables real-time, bidirectional connections between LLMs and external data sources.
22
+
23
+ ### Architecture Components
24
+
25
+ - **Host:** The AI application (IDE, terminal tool, chatbot) containing the LLM engine.
26
+ - **Client:** Internal bridge within the host that handles protocol communication.
27
+ - **Server:** External service exposing databases, APIs, or documentation to the client.
28
+ - **Transport:** JSON-RPC 2.0 messages over stdio (local) or HTTP (remote).
29
+
30
+ ### How It Reduces Truncation
31
+
32
+ Without MCP, models rely on static training weights for factual claims. When those weights are outdated (e.g., a new API version was released after training cutoff), the model either hallucinates a plausible answer or truncates its response to avoid committing to specifics.
33
+
34
+ With MCP, the model fetches current documentation directly into its context window. This transforms the model from a static knowledge store into a reasoning engine operating on real-time data, eliminating the incentive to hallucinate or truncate.
35
+
36
+ ### Example: Developer Knowledge API
37
+
38
+ Google's Developer Knowledge MCP Server indexes live documentation across Firebase, Android, and Google Cloud. When a model receives a development question:
39
+
40
+ 1. It executes a `search_document` query against the live index
41
+ 2. It evaluates returned page URIs
42
+ 3. It fetches full document content via `get_document` or `batch_get_documents`
43
+ 4. It generates its response based on current, authoritative documentation
44
+
45
+ This entirely bypasses the tendency to fabricate answers from outdated training data.
46
+
47
+ ## Chunked Task Execution
48
+
49
+ For complex tasks that would produce outputs exceeding the model's generation limit, break the work into sequential steps:
50
+
51
+ 1. Request the architecture and structure first (outline only)
52
+ 2. Request each component individually with explicit instructions for completeness
53
+ 3. Request assembly and integration after all components are generated
54
+
55
+ This prevents the model from attempting to estimate total output length and preemptively compressing its response.
@@ -0,0 +1,44 @@
1
+ # Parameter Tuning
2
+
3
+ ## Temperature and Top-p
4
+
5
+ Autoregressive models select each next token from a probability distribution generated by a softmax function applied to logit values. When a model defaults to brief outputs, the tokens associated with truncation and summarization have been assigned the highest probabilities through RLHF alignment.
6
+
7
+ ### Temperature
8
+
9
+ Adjusting the temperature parameter changes how the softmax function distributes probability mass across candidate tokens.
10
+
11
+ - **Low temperature (0.0 - 0.5):** Amplifies differences between high and low-probability tokens. The model becomes highly deterministic, consistently selecting the highest-confidence continuation. Optimal for code generation, data extraction, and structured output.
12
+ - **Default temperature (1.0):** Retains the original probability distribution from training.
13
+ - **High temperature (1.5+):** Flattens the distribution, introducing more randomness. Useful for creative tasks but increases the risk of incoherent outputs.
14
+
15
+ Example probability distribution shift for a single token position:
16
+
17
+ | Token Candidate | Probability at Temp 1.5 | Probability at Temp ~0.0 | Raw Logit |
18
+ |:---|:---:|:---:|:---:|
19
+ | lazy | 0.4875 | 0.9933 | 2.0 |
20
+ | quick | 0.2503 | 0.0067 | 1.0 |
21
+ | tired | 0.1285 | 0.0000 | 0.0 |
22
+ | slow | 0.0660 | 0.0000 | -1.0 |
23
+ | clumsy | 0.0339 | 0.0000 | -2.0 |
24
+
25
+ ### Top-p (Nucleus Sampling)
26
+
27
+ Top-p truncates the probability distribution by only considering the smallest set of tokens whose cumulative probability exceeds threshold p. A Top-p of 0.0 to 0.6 combined with low temperature forces the model into a narrow, deterministic execution path, reducing the entropy that enables creative refusals and unnecessary summarization.
28
+
29
+ ## Gemini Thinking Level Configuration
30
+
31
+ Google Gemini 3 models replaced the legacy `thinking_budget` (a hard token count cap on internal reasoning) with a `thinking_level` parameter that provides relative guidance on computational depth.
32
+
33
+ | Setting | Flash Support | Pro Support | Use Case |
34
+ |:---|:---:|:---:|:---|
35
+ | `minimal` | Yes | No | High-throughput, low-latency tasks |
36
+ | `low` | Yes | Yes | Simple instruction following, data extraction |
37
+ | `medium` | Yes | Yes (3.1 Pro) | Moderate complexity tasks |
38
+ | `high` | Yes (Default) | Yes (Default) | Complex analysis, code generation, mathematics |
39
+
40
+ Important constraints:
41
+ - `thinking_level` and `thinking_budget` are mutually exclusive. Using both in one API call triggers an HTTP 400 error.
42
+ - Even at `low`, Gemini Pro models perform mandatory minimum internal deliberation for safety and alignment.
43
+ - For code generation and complex analysis, set to `medium` or `high` for quality scores consistently exceeding 92-95% compared to baseline.
44
+ - Avoid combining extremely low temperature with `high` thinking level, as this can occasionally induce internal reasoning loops.
@@ -0,0 +1,52 @@
1
+ # Prompt Engineering Techniques
2
+
3
+ ## Psychological Pattern Matching
4
+
5
+ LLMs do not have emotions or understand monetary incentives. However, specific linguistic patterns in the prompt activate different quality distributions in the model's latent space. Research has documented measurable effects:
6
+
7
+ | Technique | Documented Effect |
8
+ |:---|:---|
9
+ | "I will tip you $200 for a perfect solution" | Up to 45% increase in output quality and length |
10
+ | "Take a deep breath and solve step by step" | Accuracy improvement from 34% to 80% on logic tasks |
11
+ | "This task is critical to my career" | Average 10% performance increase |
12
+
13
+ These phrases work because they are statistically correlated with high-effort, rigorously reviewed content in the training data (academic papers, enterprise codebases, legal documents). The attention mechanism prioritizes the high-quality data distributions associated with these patterns.
14
+
15
+ ## Explicit Syntax Binding
16
+
17
+ Conversational requests allow the model to exercise discretion about output length and detail. Structural binding removes this discretion by explicitly prohibiting truncation patterns.
18
+
19
+ Effective binding requires two components:
20
+
21
+ 1. **Mandatory tool execution:** Forbid the model from generating answers solely from training weights. Require it to execute search, computation, or code before answering.
22
+ 2. **Evidence blocks:** Require the model to output raw data (URLs, code execution results, data fragments) before producing its narrative response. This forces the model to read its own retrieved evidence, reducing hallucination probability to near zero.
23
+
24
+ ## XML-Structured Prompts
25
+
26
+ Enterprise systems use strict XML tagging to separate prompt components, reducing the cognitive load required for the model to parse intent:
27
+
28
+ 1. **System instructions** — Persona definition, quality expectations, explicit prohibitions on filler content.
29
+ 2. **Context block** (`<context>`) — Passive background data: architecture details, configurations, existing code.
30
+ 3. **Data block** (`<data>`, `<logs>`, `<config>`) — Active information the model must process against the context.
31
+ 4. **Task block** (`<tasks>`) — Numbered list of specific actions to execute.
32
+
33
+ This compartmentalization ensures the model can distinguish between persistent rules, background context, and immediate work items. It significantly reduces the confusion that triggers premature truncation.
34
+
35
+ ## Verification Loops
36
+
37
+ ### Chain of Verification
38
+ 1. Model generates an initial response
39
+ 2. Model generates verification questions about its own claims
40
+ 3. Model independently answers those verification questions
41
+ 4. Model outputs a revised, evidence-backed response
42
+
43
+ This process forces iterative self-correction, consuming the model's capacity for shortcutting.
44
+
45
+ ### Reverse Prompting
46
+ Instead of manually constructing a structured prompt, provide the model with a one-line objective and instruct it to generate the optimal prompt for that objective. The model produces the XML structure, constraints, and roles required for the task.
47
+
48
+ ### Self-Grading Loop
49
+ The prompt requires the model to:
50
+ 1. Define what excellence looks like for the given task
51
+ 2. Grade its own initial output against that definition
52
+ 3. Iterate until the self-defined quality bar is met
@@ -0,0 +1,79 @@
1
+ # Reference Prompts
2
+
3
+ Ready-to-use prompt templates for enforcing complete outputs. Append to any prompt or include in system instructions.
4
+
5
+ ---
6
+
7
+ ## General Purpose
8
+
9
+ ```
10
+ You must provide the FULL, complete, and exhaustive output for this task.
11
+ Do not summarize, abbreviate, or truncate for brevity.
12
+
13
+ You are strictly forbidden from using placeholders. Never use comments like
14
+ "// ... rest of code here", "[continue here]", or bare ellipses standing
15
+ in for omitted content. If the output is 500 lines, produce all 500 lines.
16
+
17
+ If you approach your output limit, stop at a clean breakpoint and indicate
18
+ where to resume. Do not rush to a conclusion or compress remaining sections.
19
+ ```
20
+
21
+ ---
22
+
23
+ ## Code Generation
24
+
25
+ ```
26
+ Write the complete, production-ready implementation. Every function, every
27
+ import, every edge case handler must be present in the output.
28
+
29
+ Do not use placeholder comments (// TODO, // implement here, // similar
30
+ to above). Do not describe what code should do — write the actual code.
31
+
32
+ If the implementation requires multiple files, output each file completely
33
+ with its full path as a header.
34
+ ```
35
+
36
+ ---
37
+
38
+ ## Analysis and Documentation
39
+
40
+ ```
41
+ Provide an exhaustive analysis covering every aspect requested. Each section
42
+ must contain substantive content, not summaries or references to "see above."
43
+
44
+ Do not use phrases like "as mentioned earlier" to avoid repeating necessary
45
+ context. Each section should be self-contained and complete.
46
+
47
+ Structure your output with clear headings. If the analysis requires multiple
48
+ parts, produce all parts in full.
49
+ ```
50
+
51
+ ---
52
+
53
+ ## Step-by-Step Reasoning
54
+
55
+ ```
56
+ Before generating your final response, work through the problem systematically:
57
+
58
+ 1. Identify all requirements and constraints from the prompt
59
+ 2. Break the task into discrete steps
60
+ 3. Execute each step completely
61
+ 4. Verify your output against the original requirements
62
+
63
+ Output your reasoning process, then your final answer. Do not skip steps
64
+ or summarize intermediate work.
65
+ ```
66
+
67
+ ---
68
+
69
+ ## Continuation Handling
70
+
71
+ ```
72
+ If your response approaches the output token limit:
73
+ - Do not compress remaining content to fit
74
+ - Do not skip ahead to a conclusion
75
+ - Stop at a natural breakpoint (end of a function, end of a section)
76
+ - End with: [PAUSED - X of Y sections complete. Send "continue" to resume]
77
+
78
+ On "continue", pick up exactly where you stopped. No recaps or repetition.
79
+ ```