@mohanscodex/spectra-code 0.4.9 → 0.5.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 (861) hide show
  1. package/README.md +42 -2
  2. package/dist/package.json +8 -5
  3. package/dist/src/agents/definitions/build.d.ts +3 -0
  4. package/dist/src/agents/definitions/build.d.ts.map +1 -0
  5. package/dist/src/agents/definitions/build.js +51 -0
  6. package/dist/src/agents/definitions/build.js.map +1 -0
  7. package/dist/src/agents/definitions/debug.d.ts +3 -0
  8. package/dist/src/agents/definitions/debug.d.ts.map +1 -0
  9. package/dist/src/agents/definitions/debug.js +45 -0
  10. package/dist/src/agents/definitions/debug.js.map +1 -0
  11. package/dist/src/agents/definitions/explore.d.ts +3 -0
  12. package/dist/src/agents/definitions/explore.d.ts.map +1 -0
  13. package/dist/src/agents/definitions/explore.js +34 -0
  14. package/dist/src/agents/definitions/explore.js.map +1 -0
  15. package/dist/src/agents/definitions/index.d.ts +5 -0
  16. package/dist/src/agents/definitions/index.d.ts.map +1 -0
  17. package/dist/src/agents/definitions/index.js +19 -0
  18. package/dist/src/agents/definitions/index.js.map +1 -0
  19. package/dist/src/agents/definitions/plan.d.ts +3 -0
  20. package/dist/src/agents/definitions/plan.d.ts.map +1 -0
  21. package/dist/src/agents/definitions/plan.js +44 -0
  22. package/dist/src/agents/definitions/plan.js.map +1 -0
  23. package/dist/src/agents/definitions/title.d.ts +3 -0
  24. package/dist/src/agents/definitions/title.d.ts.map +1 -0
  25. package/dist/src/agents/definitions/title.js +34 -0
  26. package/dist/src/agents/definitions/title.js.map +1 -0
  27. package/dist/src/agents/index.d.ts +6 -0
  28. package/dist/src/agents/index.d.ts.map +1 -0
  29. package/dist/src/agents/index.js +10 -0
  30. package/dist/src/agents/index.js.map +1 -0
  31. package/dist/src/agents/types.d.ts +15 -0
  32. package/dist/src/agents/types.d.ts.map +1 -0
  33. package/dist/src/agents/types.js +2 -0
  34. package/dist/src/agents/types.js.map +1 -0
  35. package/dist/src/cli.js +2 -2
  36. package/dist/src/cli.js.map +1 -1
  37. package/dist/src/commands/session.js +1 -1
  38. package/dist/src/commands/session.js.map +1 -1
  39. package/dist/src/integrations/acp/server.js +1 -1
  40. package/dist/src/integrations/acp/server.js.map +1 -1
  41. package/dist/src/services/prompt-history.d.ts +32 -0
  42. package/dist/src/services/prompt-history.d.ts.map +1 -0
  43. package/dist/src/services/prompt-history.js +144 -0
  44. package/dist/src/services/prompt-history.js.map +1 -0
  45. package/dist/src/services/snapshot-manager.d.ts +32 -32
  46. package/dist/src/services/snapshot-manager.d.ts.map +1 -1
  47. package/dist/src/services/snapshot-manager.js +308 -155
  48. package/dist/src/services/snapshot-manager.js.map +1 -1
  49. package/dist/src/tools/edit.d.ts.map +1 -1
  50. package/dist/src/tools/edit.js +5 -22
  51. package/dist/src/tools/edit.js.map +1 -1
  52. package/dist/src/tools/glob.d.ts.map +1 -1
  53. package/dist/src/tools/glob.js +2 -1
  54. package/dist/src/tools/glob.js.map +1 -1
  55. package/dist/src/tools/grep.js +2 -2
  56. package/dist/src/tools/grep.js.map +1 -1
  57. package/dist/src/tools/index.d.ts +5 -0
  58. package/dist/src/tools/index.d.ts.map +1 -1
  59. package/dist/src/tools/index.js +30 -1
  60. package/dist/src/tools/index.js.map +1 -1
  61. package/dist/src/tools/task.js +1 -1
  62. package/dist/src/tools/task.js.map +1 -1
  63. package/dist/src/tools/write.d.ts.map +1 -1
  64. package/dist/src/tools/write.js +7 -4
  65. package/dist/src/tools/write.js.map +1 -1
  66. package/dist/src/tui/app-constants.js +1 -1
  67. package/dist/src/tui/app-constants.js.map +1 -1
  68. package/dist/src/tui/app.d.ts.map +1 -1
  69. package/dist/src/tui/app.js +35 -15
  70. package/dist/src/tui/app.js.map +1 -1
  71. package/dist/src/tui/commands.d.ts +15 -0
  72. package/dist/src/tui/commands.d.ts.map +1 -1
  73. package/dist/src/tui/commands.js +252 -1
  74. package/dist/src/tui/commands.js.map +1 -1
  75. package/dist/src/tui/components/chat-area.d.ts.map +1 -1
  76. package/dist/src/tui/components/chat-area.js +1 -1
  77. package/dist/src/tui/components/chat-area.js.map +1 -1
  78. package/dist/src/tui/components/message.d.ts.map +1 -1
  79. package/dist/src/tui/components/message.js +79 -4
  80. package/dist/src/tui/components/message.js.map +1 -1
  81. package/dist/src/tui/hooks/use-agent.d.ts.map +1 -1
  82. package/dist/src/tui/hooks/use-agent.js +17 -4
  83. package/dist/src/tui/hooks/use-agent.js.map +1 -1
  84. package/dist/src/tui/hooks/use-app-keyboard.d.ts +4 -5
  85. package/dist/src/tui/hooks/use-app-keyboard.d.ts.map +1 -1
  86. package/dist/src/tui/hooks/use-app-keyboard.js +23 -24
  87. package/dist/src/tui/hooks/use-app-keyboard.js.map +1 -1
  88. package/dist/src/tui/hooks/use-chat-submit.d.ts +2 -2
  89. package/dist/src/tui/hooks/use-chat-submit.d.ts.map +1 -1
  90. package/dist/src/tui/hooks/use-chat-submit.js +143 -20
  91. package/dist/src/tui/hooks/use-chat-submit.js.map +1 -1
  92. package/dist/src/tui/hooks/use-revert.d.ts +3 -5
  93. package/dist/src/tui/hooks/use-revert.d.ts.map +1 -1
  94. package/dist/src/tui/hooks/use-revert.js +83 -34
  95. package/dist/src/tui/hooks/use-revert.js.map +1 -1
  96. package/dist/src/tui/hooks/use-title-agent.d.ts +13 -0
  97. package/dist/src/tui/hooks/use-title-agent.d.ts.map +1 -0
  98. package/dist/src/tui/hooks/use-title-agent.js +50 -0
  99. package/dist/src/tui/hooks/use-title-agent.js.map +1 -0
  100. package/dist/src/tui/prompt-bar.d.ts.map +1 -1
  101. package/dist/src/tui/prompt-bar.js +27 -33
  102. package/dist/src/tui/prompt-bar.js.map +1 -1
  103. package/dist/src/tui/theme.d.ts +2 -0
  104. package/dist/src/tui/theme.d.ts.map +1 -1
  105. package/dist/src/tui/theme.js +2 -0
  106. package/dist/src/tui/theme.js.map +1 -1
  107. package/dist/src/tui/types.d.ts +5 -0
  108. package/dist/src/tui/types.d.ts.map +1 -1
  109. package/dist/src/tui/ui/agent-switcher.js +1 -1
  110. package/dist/src/tui/ui/agent-switcher.js.map +1 -1
  111. package/dist/src/tui/ui/cost-dialog.d.ts +14 -0
  112. package/dist/src/tui/ui/cost-dialog.d.ts.map +1 -0
  113. package/dist/src/tui/ui/cost-dialog.js +28 -0
  114. package/dist/src/tui/ui/cost-dialog.js.map +1 -0
  115. package/dist/src/tui/ui/debug-dialog.js +1 -1
  116. package/dist/src/tui/ui/debug-dialog.js.map +1 -1
  117. package/dist/src/tui/ui/session-list.js +1 -1
  118. package/dist/src/tui/ui/session-list.js.map +1 -1
  119. package/dist/src/tui/utils/terminal-title.d.ts +3 -0
  120. package/dist/src/tui/utils/terminal-title.d.ts.map +1 -0
  121. package/dist/src/tui/utils/terminal-title.js +14 -0
  122. package/dist/src/tui/utils/terminal-title.js.map +1 -0
  123. package/dist/src/tui/utils/version.d.ts +1 -1
  124. package/dist/src/tui/utils/version.d.ts.map +1 -1
  125. package/dist/src/tui/utils/version.js +4 -22
  126. package/dist/src/tui/utils/version.js.map +1 -1
  127. package/dist/src/utils/paths.d.ts +1 -0
  128. package/dist/src/utils/paths.d.ts.map +1 -1
  129. package/dist/src/utils/paths.js +13 -0
  130. package/dist/src/utils/paths.js.map +1 -1
  131. package/package.json +9 -6
  132. package/skills/REQUESTS.md +36 -0
  133. package/skills/architecture/ABOUT.md +20 -0
  134. package/skills/architecture/preserving-productive-tensions/SKILL.md +152 -0
  135. package/skills/aspnet-core/LICENSE.txt +202 -0
  136. package/skills/aspnet-core/SKILL.md +61 -0
  137. package/skills/aspnet-core/agents/openai.yaml +5 -0
  138. package/skills/aspnet-core/assets/dotnet-logo.png +0 -0
  139. package/skills/aspnet-core/references/_sections.md +40 -0
  140. package/skills/aspnet-core/references/apis-minimal-and-controllers.md +81 -0
  141. package/skills/aspnet-core/references/data-state-and-services.md +69 -0
  142. package/skills/aspnet-core/references/program-and-pipeline.md +103 -0
  143. package/skills/aspnet-core/references/realtime-grpc-and-background-work.md +58 -0
  144. package/skills/aspnet-core/references/security-and-identity.md +75 -0
  145. package/skills/aspnet-core/references/source-map.md +43 -0
  146. package/skills/aspnet-core/references/stack-selection.md +63 -0
  147. package/skills/aspnet-core/references/testing-performance-and-operations.md +92 -0
  148. package/skills/aspnet-core/references/ui-blazor.md +53 -0
  149. package/skills/aspnet-core/references/ui-mvc.md +56 -0
  150. package/skills/aspnet-core/references/ui-razor-pages.md +55 -0
  151. package/skills/aspnet-core/references/versioning-and-upgrades.md +51 -0
  152. package/skills/chatgpt-apps/LICENSE.txt +201 -0
  153. package/skills/chatgpt-apps/SKILL.md +320 -0
  154. package/skills/chatgpt-apps/agents/openai.yaml +13 -0
  155. package/skills/chatgpt-apps/references/app-archetypes.md +132 -0
  156. package/skills/chatgpt-apps/references/apps-sdk-docs-workflow.md +135 -0
  157. package/skills/chatgpt-apps/references/interactive-state-sync-patterns.md +113 -0
  158. package/skills/chatgpt-apps/references/repo-contract-and-validation.md +93 -0
  159. package/skills/chatgpt-apps/references/search-fetch-standard.md +67 -0
  160. package/skills/chatgpt-apps/references/upstream-example-workflow.md +79 -0
  161. package/skills/chatgpt-apps/references/window-openai-patterns.md +70 -0
  162. package/skills/chatgpt-apps/scripts/scaffold_node_ext_apps.mjs +606 -0
  163. package/skills/cloudflare-deploy/LICENSE.txt +201 -0
  164. package/skills/cloudflare-deploy/SKILL.md +224 -0
  165. package/skills/cloudflare-deploy/agents/openai.yaml +6 -0
  166. package/skills/cloudflare-deploy/assets/cloudflare-small.svg +3 -0
  167. package/skills/cloudflare-deploy/assets/cloudflare.png +0 -0
  168. package/skills/cloudflare-deploy/references/agents-sdk/README.md +89 -0
  169. package/skills/cloudflare-deploy/references/agents-sdk/api.md +190 -0
  170. package/skills/cloudflare-deploy/references/agents-sdk/configuration.md +182 -0
  171. package/skills/cloudflare-deploy/references/agents-sdk/gotchas.md +158 -0
  172. package/skills/cloudflare-deploy/references/agents-sdk/patterns.md +192 -0
  173. package/skills/cloudflare-deploy/references/ai-gateway/README.md +175 -0
  174. package/skills/cloudflare-deploy/references/ai-gateway/configuration.md +111 -0
  175. package/skills/cloudflare-deploy/references/ai-gateway/dynamic-routing.md +82 -0
  176. package/skills/cloudflare-deploy/references/ai-gateway/features.md +96 -0
  177. package/skills/cloudflare-deploy/references/ai-gateway/sdk-integration.md +114 -0
  178. package/skills/cloudflare-deploy/references/ai-gateway/troubleshooting.md +88 -0
  179. package/skills/cloudflare-deploy/references/ai-search/README.md +138 -0
  180. package/skills/cloudflare-deploy/references/ai-search/api.md +87 -0
  181. package/skills/cloudflare-deploy/references/ai-search/configuration.md +88 -0
  182. package/skills/cloudflare-deploy/references/ai-search/gotchas.md +81 -0
  183. package/skills/cloudflare-deploy/references/ai-search/patterns.md +85 -0
  184. package/skills/cloudflare-deploy/references/analytics-engine/README.md +92 -0
  185. package/skills/cloudflare-deploy/references/analytics-engine/api.md +112 -0
  186. package/skills/cloudflare-deploy/references/analytics-engine/configuration.md +112 -0
  187. package/skills/cloudflare-deploy/references/analytics-engine/gotchas.md +85 -0
  188. package/skills/cloudflare-deploy/references/analytics-engine/patterns.md +83 -0
  189. package/skills/cloudflare-deploy/references/api/README.md +65 -0
  190. package/skills/cloudflare-deploy/references/api/api.md +204 -0
  191. package/skills/cloudflare-deploy/references/api/configuration.md +160 -0
  192. package/skills/cloudflare-deploy/references/api/gotchas.md +225 -0
  193. package/skills/cloudflare-deploy/references/api/patterns.md +204 -0
  194. package/skills/cloudflare-deploy/references/api-shield/README.md +44 -0
  195. package/skills/cloudflare-deploy/references/api-shield/api.md +141 -0
  196. package/skills/cloudflare-deploy/references/api-shield/configuration.md +192 -0
  197. package/skills/cloudflare-deploy/references/api-shield/gotchas.md +125 -0
  198. package/skills/cloudflare-deploy/references/api-shield/patterns.md +180 -0
  199. package/skills/cloudflare-deploy/references/argo-smart-routing/README.md +90 -0
  200. package/skills/cloudflare-deploy/references/argo-smart-routing/api.md +240 -0
  201. package/skills/cloudflare-deploy/references/argo-smart-routing/configuration.md +197 -0
  202. package/skills/cloudflare-deploy/references/argo-smart-routing/gotchas.md +111 -0
  203. package/skills/cloudflare-deploy/references/argo-smart-routing/patterns.md +104 -0
  204. package/skills/cloudflare-deploy/references/bindings/README.md +122 -0
  205. package/skills/cloudflare-deploy/references/bindings/api.md +203 -0
  206. package/skills/cloudflare-deploy/references/bindings/configuration.md +188 -0
  207. package/skills/cloudflare-deploy/references/bindings/gotchas.md +208 -0
  208. package/skills/cloudflare-deploy/references/bindings/patterns.md +200 -0
  209. package/skills/cloudflare-deploy/references/bot-management/README.md +94 -0
  210. package/skills/cloudflare-deploy/references/bot-management/api.md +169 -0
  211. package/skills/cloudflare-deploy/references/bot-management/configuration.md +163 -0
  212. package/skills/cloudflare-deploy/references/bot-management/gotchas.md +114 -0
  213. package/skills/cloudflare-deploy/references/bot-management/patterns.md +182 -0
  214. package/skills/cloudflare-deploy/references/browser-rendering/README.md +78 -0
  215. package/skills/cloudflare-deploy/references/browser-rendering/api.md +108 -0
  216. package/skills/cloudflare-deploy/references/browser-rendering/configuration.md +78 -0
  217. package/skills/cloudflare-deploy/references/browser-rendering/gotchas.md +88 -0
  218. package/skills/cloudflare-deploy/references/browser-rendering/patterns.md +91 -0
  219. package/skills/cloudflare-deploy/references/c3/README.md +111 -0
  220. package/skills/cloudflare-deploy/references/c3/api.md +71 -0
  221. package/skills/cloudflare-deploy/references/c3/configuration.md +81 -0
  222. package/skills/cloudflare-deploy/references/c3/gotchas.md +92 -0
  223. package/skills/cloudflare-deploy/references/c3/patterns.md +82 -0
  224. package/skills/cloudflare-deploy/references/cache-reserve/README.md +147 -0
  225. package/skills/cloudflare-deploy/references/cache-reserve/api.md +194 -0
  226. package/skills/cloudflare-deploy/references/cache-reserve/configuration.md +169 -0
  227. package/skills/cloudflare-deploy/references/cache-reserve/gotchas.md +132 -0
  228. package/skills/cloudflare-deploy/references/cache-reserve/patterns.md +197 -0
  229. package/skills/cloudflare-deploy/references/containers/README.md +85 -0
  230. package/skills/cloudflare-deploy/references/containers/api.md +187 -0
  231. package/skills/cloudflare-deploy/references/containers/configuration.md +188 -0
  232. package/skills/cloudflare-deploy/references/containers/gotchas.md +178 -0
  233. package/skills/cloudflare-deploy/references/containers/patterns.md +202 -0
  234. package/skills/cloudflare-deploy/references/cron-triggers/README.md +99 -0
  235. package/skills/cloudflare-deploy/references/cron-triggers/api.md +196 -0
  236. package/skills/cloudflare-deploy/references/cron-triggers/configuration.md +180 -0
  237. package/skills/cloudflare-deploy/references/cron-triggers/gotchas.md +199 -0
  238. package/skills/cloudflare-deploy/references/cron-triggers/patterns.md +190 -0
  239. package/skills/cloudflare-deploy/references/d1/README.md +133 -0
  240. package/skills/cloudflare-deploy/references/d1/api.md +196 -0
  241. package/skills/cloudflare-deploy/references/d1/configuration.md +188 -0
  242. package/skills/cloudflare-deploy/references/d1/gotchas.md +98 -0
  243. package/skills/cloudflare-deploy/references/d1/patterns.md +189 -0
  244. package/skills/cloudflare-deploy/references/ddos/README.md +41 -0
  245. package/skills/cloudflare-deploy/references/ddos/api.md +164 -0
  246. package/skills/cloudflare-deploy/references/ddos/configuration.md +93 -0
  247. package/skills/cloudflare-deploy/references/ddos/gotchas.md +107 -0
  248. package/skills/cloudflare-deploy/references/ddos/patterns.md +174 -0
  249. package/skills/cloudflare-deploy/references/do-storage/README.md +75 -0
  250. package/skills/cloudflare-deploy/references/do-storage/api.md +102 -0
  251. package/skills/cloudflare-deploy/references/do-storage/configuration.md +112 -0
  252. package/skills/cloudflare-deploy/references/do-storage/gotchas.md +150 -0
  253. package/skills/cloudflare-deploy/references/do-storage/patterns.md +182 -0
  254. package/skills/cloudflare-deploy/references/do-storage/testing.md +183 -0
  255. package/skills/cloudflare-deploy/references/durable-objects/README.md +185 -0
  256. package/skills/cloudflare-deploy/references/durable-objects/api.md +187 -0
  257. package/skills/cloudflare-deploy/references/durable-objects/configuration.md +160 -0
  258. package/skills/cloudflare-deploy/references/durable-objects/gotchas.md +197 -0
  259. package/skills/cloudflare-deploy/references/durable-objects/patterns.md +201 -0
  260. package/skills/cloudflare-deploy/references/email-routing/README.md +89 -0
  261. package/skills/cloudflare-deploy/references/email-routing/api.md +195 -0
  262. package/skills/cloudflare-deploy/references/email-routing/configuration.md +186 -0
  263. package/skills/cloudflare-deploy/references/email-routing/gotchas.md +196 -0
  264. package/skills/cloudflare-deploy/references/email-routing/patterns.md +229 -0
  265. package/skills/cloudflare-deploy/references/email-workers/README.md +151 -0
  266. package/skills/cloudflare-deploy/references/email-workers/api.md +237 -0
  267. package/skills/cloudflare-deploy/references/email-workers/configuration.md +112 -0
  268. package/skills/cloudflare-deploy/references/email-workers/gotchas.md +125 -0
  269. package/skills/cloudflare-deploy/references/email-workers/patterns.md +102 -0
  270. package/skills/cloudflare-deploy/references/hyperdrive/README.md +82 -0
  271. package/skills/cloudflare-deploy/references/hyperdrive/api.md +143 -0
  272. package/skills/cloudflare-deploy/references/hyperdrive/configuration.md +159 -0
  273. package/skills/cloudflare-deploy/references/hyperdrive/gotchas.md +77 -0
  274. package/skills/cloudflare-deploy/references/hyperdrive/patterns.md +190 -0
  275. package/skills/cloudflare-deploy/references/images/README.md +61 -0
  276. package/skills/cloudflare-deploy/references/images/api.md +96 -0
  277. package/skills/cloudflare-deploy/references/images/configuration.md +211 -0
  278. package/skills/cloudflare-deploy/references/images/gotchas.md +99 -0
  279. package/skills/cloudflare-deploy/references/images/patterns.md +115 -0
  280. package/skills/cloudflare-deploy/references/kv/README.md +89 -0
  281. package/skills/cloudflare-deploy/references/kv/api.md +160 -0
  282. package/skills/cloudflare-deploy/references/kv/configuration.md +144 -0
  283. package/skills/cloudflare-deploy/references/kv/gotchas.md +131 -0
  284. package/skills/cloudflare-deploy/references/kv/patterns.md +196 -0
  285. package/skills/cloudflare-deploy/references/miniflare/README.md +105 -0
  286. package/skills/cloudflare-deploy/references/miniflare/api.md +187 -0
  287. package/skills/cloudflare-deploy/references/miniflare/configuration.md +173 -0
  288. package/skills/cloudflare-deploy/references/miniflare/gotchas.md +160 -0
  289. package/skills/cloudflare-deploy/references/miniflare/patterns.md +181 -0
  290. package/skills/cloudflare-deploy/references/network-interconnect/README.md +99 -0
  291. package/skills/cloudflare-deploy/references/network-interconnect/api.md +199 -0
  292. package/skills/cloudflare-deploy/references/network-interconnect/configuration.md +114 -0
  293. package/skills/cloudflare-deploy/references/network-interconnect/gotchas.md +165 -0
  294. package/skills/cloudflare-deploy/references/network-interconnect/patterns.md +166 -0
  295. package/skills/cloudflare-deploy/references/observability/README.md +87 -0
  296. package/skills/cloudflare-deploy/references/observability/api.md +164 -0
  297. package/skills/cloudflare-deploy/references/observability/configuration.md +169 -0
  298. package/skills/cloudflare-deploy/references/observability/gotchas.md +115 -0
  299. package/skills/cloudflare-deploy/references/observability/patterns.md +105 -0
  300. package/skills/cloudflare-deploy/references/pages/README.md +88 -0
  301. package/skills/cloudflare-deploy/references/pages/api.md +204 -0
  302. package/skills/cloudflare-deploy/references/pages/configuration.md +201 -0
  303. package/skills/cloudflare-deploy/references/pages/gotchas.md +203 -0
  304. package/skills/cloudflare-deploy/references/pages/patterns.md +204 -0
  305. package/skills/cloudflare-deploy/references/pages-functions/README.md +98 -0
  306. package/skills/cloudflare-deploy/references/pages-functions/api.md +143 -0
  307. package/skills/cloudflare-deploy/references/pages-functions/configuration.md +122 -0
  308. package/skills/cloudflare-deploy/references/pages-functions/gotchas.md +94 -0
  309. package/skills/cloudflare-deploy/references/pages-functions/patterns.md +137 -0
  310. package/skills/cloudflare-deploy/references/pipelines/README.md +105 -0
  311. package/skills/cloudflare-deploy/references/pipelines/api.md +208 -0
  312. package/skills/cloudflare-deploy/references/pipelines/configuration.md +98 -0
  313. package/skills/cloudflare-deploy/references/pipelines/gotchas.md +80 -0
  314. package/skills/cloudflare-deploy/references/pipelines/patterns.md +87 -0
  315. package/skills/cloudflare-deploy/references/pulumi/README.md +100 -0
  316. package/skills/cloudflare-deploy/references/pulumi/api.md +200 -0
  317. package/skills/cloudflare-deploy/references/pulumi/configuration.md +198 -0
  318. package/skills/cloudflare-deploy/references/pulumi/gotchas.md +181 -0
  319. package/skills/cloudflare-deploy/references/pulumi/patterns.md +191 -0
  320. package/skills/cloudflare-deploy/references/queues/README.md +96 -0
  321. package/skills/cloudflare-deploy/references/queues/api.md +206 -0
  322. package/skills/cloudflare-deploy/references/queues/configuration.md +144 -0
  323. package/skills/cloudflare-deploy/references/queues/gotchas.md +206 -0
  324. package/skills/cloudflare-deploy/references/queues/patterns.md +220 -0
  325. package/skills/cloudflare-deploy/references/r2/README.md +95 -0
  326. package/skills/cloudflare-deploy/references/r2/api.md +200 -0
  327. package/skills/cloudflare-deploy/references/r2/configuration.md +165 -0
  328. package/skills/cloudflare-deploy/references/r2/gotchas.md +190 -0
  329. package/skills/cloudflare-deploy/references/r2/patterns.md +193 -0
  330. package/skills/cloudflare-deploy/references/r2-data-catalog/README.md +149 -0
  331. package/skills/cloudflare-deploy/references/r2-data-catalog/api.md +199 -0
  332. package/skills/cloudflare-deploy/references/r2-data-catalog/configuration.md +198 -0
  333. package/skills/cloudflare-deploy/references/r2-data-catalog/gotchas.md +170 -0
  334. package/skills/cloudflare-deploy/references/r2-data-catalog/patterns.md +191 -0
  335. package/skills/cloudflare-deploy/references/r2-sql/README.md +128 -0
  336. package/skills/cloudflare-deploy/references/r2-sql/api.md +158 -0
  337. package/skills/cloudflare-deploy/references/r2-sql/configuration.md +147 -0
  338. package/skills/cloudflare-deploy/references/r2-sql/gotchas.md +212 -0
  339. package/skills/cloudflare-deploy/references/r2-sql/patterns.md +222 -0
  340. package/skills/cloudflare-deploy/references/realtime-sfu/README.md +65 -0
  341. package/skills/cloudflare-deploy/references/realtime-sfu/api.md +158 -0
  342. package/skills/cloudflare-deploy/references/realtime-sfu/configuration.md +137 -0
  343. package/skills/cloudflare-deploy/references/realtime-sfu/gotchas.md +133 -0
  344. package/skills/cloudflare-deploy/references/realtime-sfu/patterns.md +174 -0
  345. package/skills/cloudflare-deploy/references/realtimekit/README.md +113 -0
  346. package/skills/cloudflare-deploy/references/realtimekit/api.md +212 -0
  347. package/skills/cloudflare-deploy/references/realtimekit/configuration.md +203 -0
  348. package/skills/cloudflare-deploy/references/realtimekit/gotchas.md +169 -0
  349. package/skills/cloudflare-deploy/references/realtimekit/patterns.md +223 -0
  350. package/skills/cloudflare-deploy/references/sandbox/README.md +96 -0
  351. package/skills/cloudflare-deploy/references/sandbox/api.md +198 -0
  352. package/skills/cloudflare-deploy/references/sandbox/configuration.md +143 -0
  353. package/skills/cloudflare-deploy/references/sandbox/gotchas.md +194 -0
  354. package/skills/cloudflare-deploy/references/sandbox/patterns.md +201 -0
  355. package/skills/cloudflare-deploy/references/secrets-store/README.md +74 -0
  356. package/skills/cloudflare-deploy/references/secrets-store/api.md +200 -0
  357. package/skills/cloudflare-deploy/references/secrets-store/configuration.md +185 -0
  358. package/skills/cloudflare-deploy/references/secrets-store/gotchas.md +97 -0
  359. package/skills/cloudflare-deploy/references/secrets-store/patterns.md +207 -0
  360. package/skills/cloudflare-deploy/references/smart-placement/README.md +138 -0
  361. package/skills/cloudflare-deploy/references/smart-placement/api.md +183 -0
  362. package/skills/cloudflare-deploy/references/smart-placement/configuration.md +196 -0
  363. package/skills/cloudflare-deploy/references/smart-placement/gotchas.md +174 -0
  364. package/skills/cloudflare-deploy/references/smart-placement/patterns.md +183 -0
  365. package/skills/cloudflare-deploy/references/snippets/README.md +68 -0
  366. package/skills/cloudflare-deploy/references/snippets/api.md +198 -0
  367. package/skills/cloudflare-deploy/references/snippets/configuration.md +227 -0
  368. package/skills/cloudflare-deploy/references/snippets/gotchas.md +86 -0
  369. package/skills/cloudflare-deploy/references/snippets/patterns.md +135 -0
  370. package/skills/cloudflare-deploy/references/spectrum/README.md +52 -0
  371. package/skills/cloudflare-deploy/references/spectrum/api.md +181 -0
  372. package/skills/cloudflare-deploy/references/spectrum/configuration.md +194 -0
  373. package/skills/cloudflare-deploy/references/spectrum/gotchas.md +145 -0
  374. package/skills/cloudflare-deploy/references/spectrum/patterns.md +196 -0
  375. package/skills/cloudflare-deploy/references/static-assets/README.md +65 -0
  376. package/skills/cloudflare-deploy/references/static-assets/api.md +199 -0
  377. package/skills/cloudflare-deploy/references/static-assets/configuration.md +186 -0
  378. package/skills/cloudflare-deploy/references/static-assets/gotchas.md +162 -0
  379. package/skills/cloudflare-deploy/references/static-assets/patterns.md +189 -0
  380. package/skills/cloudflare-deploy/references/stream/README.md +114 -0
  381. package/skills/cloudflare-deploy/references/stream/api-live.md +195 -0
  382. package/skills/cloudflare-deploy/references/stream/api.md +199 -0
  383. package/skills/cloudflare-deploy/references/stream/configuration.md +141 -0
  384. package/skills/cloudflare-deploy/references/stream/gotchas.md +130 -0
  385. package/skills/cloudflare-deploy/references/stream/patterns.md +184 -0
  386. package/skills/cloudflare-deploy/references/tail-workers/README.md +89 -0
  387. package/skills/cloudflare-deploy/references/tail-workers/api.md +200 -0
  388. package/skills/cloudflare-deploy/references/tail-workers/configuration.md +176 -0
  389. package/skills/cloudflare-deploy/references/tail-workers/gotchas.md +192 -0
  390. package/skills/cloudflare-deploy/references/tail-workers/patterns.md +180 -0
  391. package/skills/cloudflare-deploy/references/terraform/README.md +102 -0
  392. package/skills/cloudflare-deploy/references/terraform/api.md +178 -0
  393. package/skills/cloudflare-deploy/references/terraform/configuration.md +197 -0
  394. package/skills/cloudflare-deploy/references/terraform/gotchas.md +150 -0
  395. package/skills/cloudflare-deploy/references/terraform/patterns.md +174 -0
  396. package/skills/cloudflare-deploy/references/tunnel/README.md +129 -0
  397. package/skills/cloudflare-deploy/references/tunnel/api.md +193 -0
  398. package/skills/cloudflare-deploy/references/tunnel/configuration.md +157 -0
  399. package/skills/cloudflare-deploy/references/tunnel/gotchas.md +147 -0
  400. package/skills/cloudflare-deploy/references/tunnel/networking.md +168 -0
  401. package/skills/cloudflare-deploy/references/tunnel/patterns.md +192 -0
  402. package/skills/cloudflare-deploy/references/turn/README.md +82 -0
  403. package/skills/cloudflare-deploy/references/turn/api.md +239 -0
  404. package/skills/cloudflare-deploy/references/turn/configuration.md +179 -0
  405. package/skills/cloudflare-deploy/references/turn/gotchas.md +231 -0
  406. package/skills/cloudflare-deploy/references/turn/patterns.md +213 -0
  407. package/skills/cloudflare-deploy/references/turnstile/README.md +99 -0
  408. package/skills/cloudflare-deploy/references/turnstile/api.md +240 -0
  409. package/skills/cloudflare-deploy/references/turnstile/configuration.md +222 -0
  410. package/skills/cloudflare-deploy/references/turnstile/gotchas.md +218 -0
  411. package/skills/cloudflare-deploy/references/turnstile/patterns.md +193 -0
  412. package/skills/cloudflare-deploy/references/vectorize/README.md +133 -0
  413. package/skills/cloudflare-deploy/references/vectorize/api.md +88 -0
  414. package/skills/cloudflare-deploy/references/vectorize/configuration.md +88 -0
  415. package/skills/cloudflare-deploy/references/vectorize/gotchas.md +76 -0
  416. package/skills/cloudflare-deploy/references/vectorize/patterns.md +90 -0
  417. package/skills/cloudflare-deploy/references/waf/README.md +113 -0
  418. package/skills/cloudflare-deploy/references/waf/api.md +202 -0
  419. package/skills/cloudflare-deploy/references/waf/configuration.md +203 -0
  420. package/skills/cloudflare-deploy/references/waf/gotchas.md +204 -0
  421. package/skills/cloudflare-deploy/references/waf/patterns.md +197 -0
  422. package/skills/cloudflare-deploy/references/web-analytics/README.md +140 -0
  423. package/skills/cloudflare-deploy/references/web-analytics/configuration.md +76 -0
  424. package/skills/cloudflare-deploy/references/web-analytics/gotchas.md +82 -0
  425. package/skills/cloudflare-deploy/references/web-analytics/integration.md +60 -0
  426. package/skills/cloudflare-deploy/references/web-analytics/patterns.md +91 -0
  427. package/skills/cloudflare-deploy/references/workerd/README.md +78 -0
  428. package/skills/cloudflare-deploy/references/workerd/api.md +185 -0
  429. package/skills/cloudflare-deploy/references/workerd/configuration.md +183 -0
  430. package/skills/cloudflare-deploy/references/workerd/gotchas.md +139 -0
  431. package/skills/cloudflare-deploy/references/workerd/patterns.md +192 -0
  432. package/skills/cloudflare-deploy/references/workers/README.md +108 -0
  433. package/skills/cloudflare-deploy/references/workers/api.md +195 -0
  434. package/skills/cloudflare-deploy/references/workers/configuration.md +185 -0
  435. package/skills/cloudflare-deploy/references/workers/frameworks.md +197 -0
  436. package/skills/cloudflare-deploy/references/workers/gotchas.md +136 -0
  437. package/skills/cloudflare-deploy/references/workers/patterns.md +198 -0
  438. package/skills/cloudflare-deploy/references/workers-ai/README.md +197 -0
  439. package/skills/cloudflare-deploy/references/workers-ai/api.md +112 -0
  440. package/skills/cloudflare-deploy/references/workers-ai/configuration.md +97 -0
  441. package/skills/cloudflare-deploy/references/workers-ai/gotchas.md +114 -0
  442. package/skills/cloudflare-deploy/references/workers-ai/patterns.md +120 -0
  443. package/skills/cloudflare-deploy/references/workers-for-platforms/README.md +89 -0
  444. package/skills/cloudflare-deploy/references/workers-for-platforms/api.md +196 -0
  445. package/skills/cloudflare-deploy/references/workers-for-platforms/configuration.md +167 -0
  446. package/skills/cloudflare-deploy/references/workers-for-platforms/gotchas.md +134 -0
  447. package/skills/cloudflare-deploy/references/workers-for-platforms/patterns.md +188 -0
  448. package/skills/cloudflare-deploy/references/workers-playground/README.md +127 -0
  449. package/skills/cloudflare-deploy/references/workers-playground/api.md +101 -0
  450. package/skills/cloudflare-deploy/references/workers-playground/configuration.md +163 -0
  451. package/skills/cloudflare-deploy/references/workers-playground/gotchas.md +88 -0
  452. package/skills/cloudflare-deploy/references/workers-playground/patterns.md +132 -0
  453. package/skills/cloudflare-deploy/references/workers-vpc/README.md +127 -0
  454. package/skills/cloudflare-deploy/references/workers-vpc/api.md +202 -0
  455. package/skills/cloudflare-deploy/references/workers-vpc/configuration.md +147 -0
  456. package/skills/cloudflare-deploy/references/workers-vpc/gotchas.md +167 -0
  457. package/skills/cloudflare-deploy/references/workers-vpc/patterns.md +209 -0
  458. package/skills/cloudflare-deploy/references/workflows/README.md +69 -0
  459. package/skills/cloudflare-deploy/references/workflows/api.md +185 -0
  460. package/skills/cloudflare-deploy/references/workflows/configuration.md +151 -0
  461. package/skills/cloudflare-deploy/references/workflows/gotchas.md +97 -0
  462. package/skills/cloudflare-deploy/references/workflows/patterns.md +175 -0
  463. package/skills/cloudflare-deploy/references/wrangler/README.md +141 -0
  464. package/skills/cloudflare-deploy/references/wrangler/api.md +188 -0
  465. package/skills/cloudflare-deploy/references/wrangler/auth.md +73 -0
  466. package/skills/cloudflare-deploy/references/wrangler/configuration.md +197 -0
  467. package/skills/cloudflare-deploy/references/wrangler/gotchas.md +197 -0
  468. package/skills/cloudflare-deploy/references/wrangler/patterns.md +209 -0
  469. package/skills/cloudflare-deploy/references/zaraz/IMPLEMENTATION_SUMMARY.md +121 -0
  470. package/skills/cloudflare-deploy/references/zaraz/README.md +111 -0
  471. package/skills/cloudflare-deploy/references/zaraz/api.md +112 -0
  472. package/skills/cloudflare-deploy/references/zaraz/configuration.md +90 -0
  473. package/skills/cloudflare-deploy/references/zaraz/gotchas.md +81 -0
  474. package/skills/cloudflare-deploy/references/zaraz/patterns.md +74 -0
  475. package/skills/collaboration/brainstorming/SKILL.md +75 -0
  476. package/skills/collaboration/dispatching-parallel-agents/SKILL.md +184 -0
  477. package/skills/collaboration/executing-plans/SKILL.md +78 -0
  478. package/skills/collaboration/finishing-a-development-branch/SKILL.md +202 -0
  479. package/skills/collaboration/phase-prompting/SKILL.md +292 -0
  480. package/skills/collaboration/receiving-code-review/SKILL.md +211 -0
  481. package/skills/collaboration/requesting-code-review/SKILL.md +107 -0
  482. package/skills/collaboration/requesting-code-review/code-reviewer.md +146 -0
  483. package/skills/collaboration/subagent-driven-development/SKILL.md +188 -0
  484. package/skills/collaboration/using-git-worktrees/SKILL.md +215 -0
  485. package/skills/collaboration/writing-plans/SKILL.md +118 -0
  486. package/skills/debugging/defense-in-depth/SKILL.md +130 -0
  487. package/skills/debugging/root-cause-tracing/SKILL.md +177 -0
  488. package/skills/debugging/root-cause-tracing/find-polluter.sh +63 -0
  489. package/skills/debugging/systematic-debugging/SKILL.md +295 -0
  490. package/skills/debugging/systematic-debugging/test-academic.md +14 -0
  491. package/skills/debugging/systematic-debugging/test-pressure-1.md +58 -0
  492. package/skills/debugging/systematic-debugging/test-pressure-2.md +68 -0
  493. package/skills/debugging/systematic-debugging/test-pressure-3.md +69 -0
  494. package/skills/debugging/verification-before-completion/SKILL.md +142 -0
  495. package/skills/develop-web-game/LICENSE.txt +201 -0
  496. package/skills/develop-web-game/SKILL.md +149 -0
  497. package/skills/develop-web-game/agents/openai.yaml +6 -0
  498. package/skills/develop-web-game/assets/game-small.svg +4 -0
  499. package/skills/develop-web-game/assets/game.png +0 -0
  500. package/skills/develop-web-game/references/action_payloads.json +7 -0
  501. package/skills/develop-web-game/scripts/web_game_playwright_client.js +356 -0
  502. package/skills/doc/LICENSE.txt +201 -0
  503. package/skills/doc/SKILL.md +80 -0
  504. package/skills/doc/agents/openai.yaml +6 -0
  505. package/skills/doc/assets/doc-small.svg +3 -0
  506. package/skills/doc/assets/doc.png +0 -0
  507. package/skills/doc/scripts/render_docx.py +296 -0
  508. package/skills/figma/LICENSE.txt +202 -0
  509. package/skills/figma/SKILL.md +42 -0
  510. package/skills/figma/agents/openai.yaml +14 -0
  511. package/skills/figma/assets/figma-small.svg +3 -0
  512. package/skills/figma/assets/figma.png +0 -0
  513. package/skills/figma/assets/icon.svg +28 -0
  514. package/skills/figma/references/figma-mcp-config.md +35 -0
  515. package/skills/figma/references/figma-tools-and-prompts.md +34 -0
  516. package/skills/figma-implement-design/LICENSE.txt +202 -0
  517. package/skills/figma-implement-design/SKILL.md +264 -0
  518. package/skills/figma-implement-design/agents/openai.yaml +14 -0
  519. package/skills/figma-implement-design/assets/figma-small.svg +3 -0
  520. package/skills/figma-implement-design/assets/figma.png +0 -0
  521. package/skills/figma-implement-design/assets/icon.svg +28 -0
  522. package/skills/gh-address-comments/LICENSE.txt +202 -0
  523. package/skills/gh-address-comments/SKILL.md +25 -0
  524. package/skills/gh-address-comments/agents/openai.yaml +6 -0
  525. package/skills/gh-address-comments/assets/github-small.svg +3 -0
  526. package/skills/gh-address-comments/assets/github.png +0 -0
  527. package/skills/gh-address-comments/scripts/fetch_comments.py +237 -0
  528. package/skills/gh-fix-ci/LICENSE.txt +201 -0
  529. package/skills/gh-fix-ci/SKILL.md +69 -0
  530. package/skills/gh-fix-ci/agents/openai.yaml +6 -0
  531. package/skills/gh-fix-ci/assets/github-small.svg +3 -0
  532. package/skills/gh-fix-ci/assets/github.png +0 -0
  533. package/skills/gh-fix-ci/scripts/inspect_pr_checks.py +509 -0
  534. package/skills/goal-driven-project-loop/SKILL.md +217 -0
  535. package/skills/goal-driven-project-loop/references/goal-contract-template.md +42 -0
  536. package/skills/imagegen/LICENSE.txt +201 -0
  537. package/skills/imagegen/SKILL.md +174 -0
  538. package/skills/imagegen/agents/openai.yaml +6 -0
  539. package/skills/imagegen/assets/imagegen-small.svg +5 -0
  540. package/skills/imagegen/assets/imagegen.png +0 -0
  541. package/skills/imagegen/references/cli.md +132 -0
  542. package/skills/imagegen/references/codex-network.md +28 -0
  543. package/skills/imagegen/references/image-api.md +36 -0
  544. package/skills/imagegen/references/prompting.md +81 -0
  545. package/skills/imagegen/references/sample-prompts.md +384 -0
  546. package/skills/imagegen/scripts/image_gen.py +876 -0
  547. package/skills/jupyter-notebook/LICENSE.txt +201 -0
  548. package/skills/jupyter-notebook/SKILL.md +107 -0
  549. package/skills/jupyter-notebook/agents/openai.yaml +6 -0
  550. package/skills/jupyter-notebook/assets/experiment-template.ipynb +110 -0
  551. package/skills/jupyter-notebook/assets/jupyter-small.svg +3 -0
  552. package/skills/jupyter-notebook/assets/jupyter.png +0 -0
  553. package/skills/jupyter-notebook/assets/tutorial-template.ipynb +107 -0
  554. package/skills/jupyter-notebook/references/experiment-patterns.md +10 -0
  555. package/skills/jupyter-notebook/references/notebook-structure.md +17 -0
  556. package/skills/jupyter-notebook/references/quality-checklist.md +11 -0
  557. package/skills/jupyter-notebook/references/tutorial-patterns.md +9 -0
  558. package/skills/jupyter-notebook/scripts/new_notebook.py +130 -0
  559. package/skills/linear/LICENSE.txt +202 -0
  560. package/skills/linear/SKILL.md +87 -0
  561. package/skills/linear/agents/openai.yaml +14 -0
  562. package/skills/linear/assets/linear-small.svg +5 -0
  563. package/skills/linear/assets/linear.png +0 -0
  564. package/skills/netlify-deploy/LICENSE.txt +201 -0
  565. package/skills/netlify-deploy/SKILL.md +247 -0
  566. package/skills/netlify-deploy/agents/openai.yaml +6 -0
  567. package/skills/netlify-deploy/assets/netlify-small.svg +11 -0
  568. package/skills/netlify-deploy/assets/netlify.png +0 -0
  569. package/skills/netlify-deploy/references/cli-commands.md +162 -0
  570. package/skills/netlify-deploy/references/deployment-patterns.md +303 -0
  571. package/skills/netlify-deploy/references/netlify-toml.md +259 -0
  572. package/skills/notion-knowledge-capture/LICENSE.txt +7 -0
  573. package/skills/notion-knowledge-capture/SKILL.md +56 -0
  574. package/skills/notion-knowledge-capture/agents/openai.yaml +14 -0
  575. package/skills/notion-knowledge-capture/assets/notion-small.svg +11 -0
  576. package/skills/notion-knowledge-capture/assets/notion.png +0 -0
  577. package/skills/notion-knowledge-capture/evaluations/README.md +95 -0
  578. package/skills/notion-knowledge-capture/evaluations/conversation-to-wiki.json +31 -0
  579. package/skills/notion-knowledge-capture/evaluations/decision-record.json +31 -0
  580. package/skills/notion-knowledge-capture/examples/conversation-to-faq.md +226 -0
  581. package/skills/notion-knowledge-capture/examples/decision-capture.md +126 -0
  582. package/skills/notion-knowledge-capture/examples/how-to-guide.md +118 -0
  583. package/skills/notion-knowledge-capture/reference/database-best-practices.md +112 -0
  584. package/skills/notion-knowledge-capture/reference/decision-log-database.md +58 -0
  585. package/skills/notion-knowledge-capture/reference/documentation-database.md +93 -0
  586. package/skills/notion-knowledge-capture/reference/faq-database.md +57 -0
  587. package/skills/notion-knowledge-capture/reference/how-to-guide-database.md +38 -0
  588. package/skills/notion-knowledge-capture/reference/learning-database.md +35 -0
  589. package/skills/notion-knowledge-capture/reference/team-wiki-database.md +27 -0
  590. package/skills/notion-meeting-intelligence/LICENSE.txt +7 -0
  591. package/skills/notion-meeting-intelligence/SKILL.md +60 -0
  592. package/skills/notion-meeting-intelligence/agents/openai.yaml +14 -0
  593. package/skills/notion-meeting-intelligence/assets/notion-small.svg +11 -0
  594. package/skills/notion-meeting-intelligence/assets/notion.png +0 -0
  595. package/skills/notion-meeting-intelligence/evaluations/README.md +101 -0
  596. package/skills/notion-meeting-intelligence/evaluations/decision-meeting-prep.json +35 -0
  597. package/skills/notion-meeting-intelligence/evaluations/status-meeting-prep.json +35 -0
  598. package/skills/notion-meeting-intelligence/examples/customer-meeting.md +125 -0
  599. package/skills/notion-meeting-intelligence/examples/executive-review.md +78 -0
  600. package/skills/notion-meeting-intelligence/examples/project-decision.md +431 -0
  601. package/skills/notion-meeting-intelligence/examples/sprint-planning.md +80 -0
  602. package/skills/notion-meeting-intelligence/reference/brainstorming-template.md +81 -0
  603. package/skills/notion-meeting-intelligence/reference/decision-meeting-template.md +94 -0
  604. package/skills/notion-meeting-intelligence/reference/one-on-one-template.md +58 -0
  605. package/skills/notion-meeting-intelligence/reference/retrospective-template.md +58 -0
  606. package/skills/notion-meeting-intelligence/reference/sprint-planning-template.md +68 -0
  607. package/skills/notion-meeting-intelligence/reference/status-update-template.md +74 -0
  608. package/skills/notion-meeting-intelligence/reference/template-selection-guide.md +56 -0
  609. package/skills/notion-research-documentation/LICENSE.txt +7 -0
  610. package/skills/notion-research-documentation/SKILL.md +59 -0
  611. package/skills/notion-research-documentation/agents/openai.yaml +14 -0
  612. package/skills/notion-research-documentation/assets/notion-small.svg +11 -0
  613. package/skills/notion-research-documentation/assets/notion.png +0 -0
  614. package/skills/notion-research-documentation/evaluations/README.md +109 -0
  615. package/skills/notion-research-documentation/evaluations/basic-research.json +28 -0
  616. package/skills/notion-research-documentation/evaluations/research-to-database.json +29 -0
  617. package/skills/notion-research-documentation/examples/competitor-analysis.md +283 -0
  618. package/skills/notion-research-documentation/examples/market-research.md +62 -0
  619. package/skills/notion-research-documentation/examples/technical-investigation.md +233 -0
  620. package/skills/notion-research-documentation/examples/trip-planning.md +128 -0
  621. package/skills/notion-research-documentation/reference/advanced-search.md +212 -0
  622. package/skills/notion-research-documentation/reference/citations.md +190 -0
  623. package/skills/notion-research-documentation/reference/comparison-format.md +37 -0
  624. package/skills/notion-research-documentation/reference/comparison-template.md +44 -0
  625. package/skills/notion-research-documentation/reference/comprehensive-report-format.md +41 -0
  626. package/skills/notion-research-documentation/reference/comprehensive-report-template.md +64 -0
  627. package/skills/notion-research-documentation/reference/format-selection-guide.md +95 -0
  628. package/skills/notion-research-documentation/reference/quick-brief-format.md +37 -0
  629. package/skills/notion-research-documentation/reference/quick-brief-template.md +25 -0
  630. package/skills/notion-research-documentation/reference/research-summary-format.md +33 -0
  631. package/skills/notion-research-documentation/reference/research-summary-template.md +49 -0
  632. package/skills/notion-spec-to-implementation/LICENSE.txt +7 -0
  633. package/skills/notion-spec-to-implementation/SKILL.md +58 -0
  634. package/skills/notion-spec-to-implementation/agents/openai.yaml +14 -0
  635. package/skills/notion-spec-to-implementation/assets/notion-small.svg +11 -0
  636. package/skills/notion-spec-to-implementation/assets/notion.png +0 -0
  637. package/skills/notion-spec-to-implementation/evaluations/README.md +120 -0
  638. package/skills/notion-spec-to-implementation/evaluations/basic-spec-implementation.json +32 -0
  639. package/skills/notion-spec-to-implementation/evaluations/spec-to-tasks.json +35 -0
  640. package/skills/notion-spec-to-implementation/examples/api-feature.md +461 -0
  641. package/skills/notion-spec-to-implementation/examples/database-migration.md +81 -0
  642. package/skills/notion-spec-to-implementation/examples/ui-component.md +68 -0
  643. package/skills/notion-spec-to-implementation/reference/milestone-summary-template.md +27 -0
  644. package/skills/notion-spec-to-implementation/reference/progress-tracking.md +458 -0
  645. package/skills/notion-spec-to-implementation/reference/progress-update-template.md +25 -0
  646. package/skills/notion-spec-to-implementation/reference/quick-implementation-plan.md +26 -0
  647. package/skills/notion-spec-to-implementation/reference/spec-parsing.md +383 -0
  648. package/skills/notion-spec-to-implementation/reference/standard-implementation-plan.md +146 -0
  649. package/skills/notion-spec-to-implementation/reference/task-creation-template.md +34 -0
  650. package/skills/notion-spec-to-implementation/reference/task-creation.md +441 -0
  651. package/skills/openai-docs/LICENSE.txt +201 -0
  652. package/skills/openai-docs/SKILL.md +68 -0
  653. package/skills/openai-docs/agents/openai.yaml +14 -0
  654. package/skills/openai-docs/assets/openai-small.svg +3 -0
  655. package/skills/openai-docs/assets/openai.png +0 -0
  656. package/skills/openai-docs/references/gpt-5p4-prompting-guide.md +433 -0
  657. package/skills/openai-docs/references/latest-model.md +35 -0
  658. package/skills/openai-docs/references/upgrading-to-gpt-5p4.md +164 -0
  659. package/skills/pdf/LICENSE.txt +201 -0
  660. package/skills/pdf/SKILL.md +67 -0
  661. package/skills/pdf/agents/openai.yaml +5 -0
  662. package/skills/pdf/assets/pdf.png +0 -0
  663. package/skills/phase-prompting/SKILL.md +162 -0
  664. package/skills/playwright/LICENSE.txt +201 -0
  665. package/skills/playwright/NOTICE.txt +14 -0
  666. package/skills/playwright/SKILL.md +147 -0
  667. package/skills/playwright/agents/openai.yaml +6 -0
  668. package/skills/playwright/assets/playwright-small.svg +3 -0
  669. package/skills/playwright/assets/playwright.png +0 -0
  670. package/skills/playwright/references/cli.md +116 -0
  671. package/skills/playwright/references/workflows.md +95 -0
  672. package/skills/playwright/scripts/playwright_cli.sh +25 -0
  673. package/skills/playwright-interactive/LICENSE.txt +201 -0
  674. package/skills/playwright-interactive/NOTICE.txt +13 -0
  675. package/skills/playwright-interactive/SKILL.md +693 -0
  676. package/skills/playwright-interactive/agents/openai.yaml +6 -0
  677. package/skills/playwright-interactive/assets/playwright-small.svg +3 -0
  678. package/skills/playwright-interactive/assets/playwright.png +0 -0
  679. package/skills/problem-solving/ABOUT.md +40 -0
  680. package/skills/problem-solving/collision-zone-thinking/SKILL.md +62 -0
  681. package/skills/problem-solving/inversion-exercise/SKILL.md +58 -0
  682. package/skills/problem-solving/meta-pattern-recognition/SKILL.md +54 -0
  683. package/skills/problem-solving/scale-game/SKILL.md +63 -0
  684. package/skills/problem-solving/simplification-cascades/SKILL.md +76 -0
  685. package/skills/problem-solving/when-stuck/SKILL.md +88 -0
  686. package/skills/render-deploy/LICENSE.txt +201 -0
  687. package/skills/render-deploy/SKILL.md +479 -0
  688. package/skills/render-deploy/agents/openai.yaml +14 -0
  689. package/skills/render-deploy/assets/docker.yaml +62 -0
  690. package/skills/render-deploy/assets/go-api.yaml +35 -0
  691. package/skills/render-deploy/assets/nextjs-postgres.yaml +35 -0
  692. package/skills/render-deploy/assets/node-express.yaml +25 -0
  693. package/skills/render-deploy/assets/python-django.yaml +89 -0
  694. package/skills/render-deploy/assets/render-small.svg +3 -0
  695. package/skills/render-deploy/assets/render.png +0 -0
  696. package/skills/render-deploy/assets/static-site.yaml +54 -0
  697. package/skills/render-deploy/references/blueprint-spec.md +718 -0
  698. package/skills/render-deploy/references/codebase-analysis.md +49 -0
  699. package/skills/render-deploy/references/configuration-guide.md +603 -0
  700. package/skills/render-deploy/references/deployment-details.md +224 -0
  701. package/skills/render-deploy/references/direct-creation.md +113 -0
  702. package/skills/render-deploy/references/error-patterns.md +13 -0
  703. package/skills/render-deploy/references/post-deploy-checks.md +36 -0
  704. package/skills/render-deploy/references/runtimes.md +473 -0
  705. package/skills/render-deploy/references/service-types.md +450 -0
  706. package/skills/render-deploy/references/troubleshooting-basics.md +36 -0
  707. package/skills/research/ABOUT.md +20 -0
  708. package/skills/research/tracing-knowledge-lineages/SKILL.md +203 -0
  709. package/skills/round-prompting/SKILL.md +148 -0
  710. package/skills/screenshot/LICENSE.txt +201 -0
  711. package/skills/screenshot/SKILL.md +267 -0
  712. package/skills/screenshot/agents/openai.yaml +6 -0
  713. package/skills/screenshot/assets/screenshot-small.svg +5 -0
  714. package/skills/screenshot/assets/screenshot.png +0 -0
  715. package/skills/screenshot/scripts/ensure_macos_permissions.sh +54 -0
  716. package/skills/screenshot/scripts/macos_display_info.swift +22 -0
  717. package/skills/screenshot/scripts/macos_permissions.swift +40 -0
  718. package/skills/screenshot/scripts/macos_window_info.swift +126 -0
  719. package/skills/screenshot/scripts/take_screenshot.ps1 +163 -0
  720. package/skills/screenshot/scripts/take_screenshot.py +585 -0
  721. package/skills/security-best-practices/LICENSE.txt +201 -0
  722. package/skills/security-best-practices/SKILL.md +86 -0
  723. package/skills/security-best-practices/agents/openai.yaml +4 -0
  724. package/skills/security-best-practices/references/golang-general-backend-security.md +826 -0
  725. package/skills/security-best-practices/references/javascript-express-web-server-security.md +1158 -0
  726. package/skills/security-best-practices/references/javascript-general-web-frontend-security.md +747 -0
  727. package/skills/security-best-practices/references/javascript-jquery-web-frontend-security.md +678 -0
  728. package/skills/security-best-practices/references/javascript-typescript-nextjs-web-server-security.md +1144 -0
  729. package/skills/security-best-practices/references/javascript-typescript-react-web-frontend-security.md +990 -0
  730. package/skills/security-best-practices/references/javascript-typescript-vue-web-frontend-security.md +791 -0
  731. package/skills/security-best-practices/references/python-django-web-server-security.md +882 -0
  732. package/skills/security-best-practices/references/python-fastapi-web-server-security.md +1036 -0
  733. package/skills/security-best-practices/references/python-flask-web-server-security.md +705 -0
  734. package/skills/security-ownership-map/LICENSE.txt +201 -0
  735. package/skills/security-ownership-map/SKILL.md +206 -0
  736. package/skills/security-ownership-map/agents/openai.yaml +4 -0
  737. package/skills/security-ownership-map/references/neo4j-import.md +60 -0
  738. package/skills/security-ownership-map/scripts/build_ownership_map.py +956 -0
  739. package/skills/security-ownership-map/scripts/community_maintainers.py +544 -0
  740. package/skills/security-ownership-map/scripts/query_ownership.py +483 -0
  741. package/skills/security-ownership-map/scripts/run_ownership_map.py +200 -0
  742. package/skills/security-threat-model/LICENSE.txt +201 -0
  743. package/skills/security-threat-model/SKILL.md +81 -0
  744. package/skills/security-threat-model/agents/openai.yaml +4 -0
  745. package/skills/security-threat-model/references/prompt-template.md +255 -0
  746. package/skills/security-threat-model/references/security-controls-and-assets.md +32 -0
  747. package/skills/sentry/LICENSE.txt +201 -0
  748. package/skills/sentry/SKILL.md +123 -0
  749. package/skills/sentry/agents/openai.yaml +6 -0
  750. package/skills/sentry/assets/sentry-small.svg +3 -0
  751. package/skills/sentry/assets/sentry.png +0 -0
  752. package/skills/sentry/scripts/sentry_api.py +238 -0
  753. package/skills/slides/LICENSE.txt +201 -0
  754. package/skills/slides/SKILL.md +71 -0
  755. package/skills/slides/agents/openai.yaml +6 -0
  756. package/skills/slides/assets/pptxgenjs_helpers/code.js +104 -0
  757. package/skills/slides/assets/pptxgenjs_helpers/image.js +333 -0
  758. package/skills/slides/assets/pptxgenjs_helpers/index.js +33 -0
  759. package/skills/slides/assets/pptxgenjs_helpers/latex.js +51 -0
  760. package/skills/slides/assets/pptxgenjs_helpers/layout.js +643 -0
  761. package/skills/slides/assets/pptxgenjs_helpers/layout_builders.js +358 -0
  762. package/skills/slides/assets/pptxgenjs_helpers/svg.js +36 -0
  763. package/skills/slides/assets/pptxgenjs_helpers/text.js +789 -0
  764. package/skills/slides/assets/pptxgenjs_helpers/util.js +24 -0
  765. package/skills/slides/assets/slides-small.svg +3 -0
  766. package/skills/slides/assets/slides.png +0 -0
  767. package/skills/slides/references/pptxgenjs-helpers.md +61 -0
  768. package/skills/slides/scripts/create_montage.py +300 -0
  769. package/skills/slides/scripts/detect_font.py +873 -0
  770. package/skills/slides/scripts/ensure_raster_image.py +202 -0
  771. package/skills/slides/scripts/render_slides.py +273 -0
  772. package/skills/slides/scripts/slides_test.py +201 -0
  773. package/skills/sora/LICENSE.txt +201 -0
  774. package/skills/sora/SKILL.md +153 -0
  775. package/skills/sora/agents/openai.yaml +6 -0
  776. package/skills/sora/assets/sora-small.svg +4 -0
  777. package/skills/sora/assets/sora.png +0 -0
  778. package/skills/sora/references/cinematic-shots.md +53 -0
  779. package/skills/sora/references/cli.md +248 -0
  780. package/skills/sora/references/codex-network.md +28 -0
  781. package/skills/sora/references/prompting.md +137 -0
  782. package/skills/sora/references/sample-prompts.md +95 -0
  783. package/skills/sora/references/social-ads.md +42 -0
  784. package/skills/sora/references/troubleshooting.md +58 -0
  785. package/skills/sora/references/video-api.md +45 -0
  786. package/skills/sora/scripts/sora.py +970 -0
  787. package/skills/speech/LICENSE.txt +201 -0
  788. package/skills/speech/SKILL.md +144 -0
  789. package/skills/speech/agents/openai.yaml +6 -0
  790. package/skills/speech/assets/speech-small.svg +3 -0
  791. package/skills/speech/assets/speech.png +0 -0
  792. package/skills/speech/references/accessibility.md +32 -0
  793. package/skills/speech/references/audio-api.md +31 -0
  794. package/skills/speech/references/cli.md +99 -0
  795. package/skills/speech/references/codex-network.md +28 -0
  796. package/skills/speech/references/ivr.md +32 -0
  797. package/skills/speech/references/narration.md +31 -0
  798. package/skills/speech/references/prompting.md +38 -0
  799. package/skills/speech/references/sample-prompts.md +44 -0
  800. package/skills/speech/references/voice-directions.md +80 -0
  801. package/skills/speech/references/voiceover.md +31 -0
  802. package/skills/speech/scripts/text_to_speech.py +528 -0
  803. package/skills/spreadsheet/LICENSE.txt +201 -0
  804. package/skills/spreadsheet/SKILL.md +145 -0
  805. package/skills/spreadsheet/agents/openai.yaml +6 -0
  806. package/skills/spreadsheet/assets/spreadsheet-small.svg +3 -0
  807. package/skills/spreadsheet/assets/spreadsheet.png +0 -0
  808. package/skills/spreadsheet/references/examples/openpyxl/create_basic_spreadsheet.py +51 -0
  809. package/skills/spreadsheet/references/examples/openpyxl/create_spreadsheet_with_styling.py +96 -0
  810. package/skills/spreadsheet/references/examples/openpyxl/read_existing_spreadsheet.py +59 -0
  811. package/skills/spreadsheet/references/examples/openpyxl/styling_spreadsheet.py +79 -0
  812. package/skills/testing/condition-based-waiting/SKILL.md +123 -0
  813. package/skills/testing/condition-based-waiting/example.ts +158 -0
  814. package/skills/testing/test-driven-development/SKILL.md +367 -0
  815. package/skills/testing/testing-anti-patterns/SKILL.md +304 -0
  816. package/skills/transcribe/LICENSE.txt +201 -0
  817. package/skills/transcribe/SKILL.md +81 -0
  818. package/skills/transcribe/agents/openai.yaml +6 -0
  819. package/skills/transcribe/assets/transcribe-small.svg +3 -0
  820. package/skills/transcribe/assets/transcribe.png +0 -0
  821. package/skills/transcribe/references/api.md +8 -0
  822. package/skills/transcribe/scripts/transcribe_diarize.py +276 -0
  823. package/skills/using-skills/SKILL.md +102 -0
  824. package/skills/using-skills/find-skills +107 -0
  825. package/skills/using-skills/skill-run +44 -0
  826. package/skills/vercel-deploy/LICENSE.txt +21 -0
  827. package/skills/vercel-deploy/SKILL.md +77 -0
  828. package/skills/vercel-deploy/agents/openai.yaml +6 -0
  829. package/skills/vercel-deploy/assets/vercel-small.svg +5 -0
  830. package/skills/vercel-deploy/assets/vercel.png +0 -0
  831. package/skills/vercel-deploy/scripts/deploy.sh +301 -0
  832. package/skills/winui-app/LICENSE.txt +202 -0
  833. package/skills/winui-app/SKILL.md +94 -0
  834. package/skills/winui-app/agents/openai.yaml +5 -0
  835. package/skills/winui-app/assets/winui.png +0 -0
  836. package/skills/winui-app/config.yaml +50 -0
  837. package/skills/winui-app/references/_sections.md +96 -0
  838. package/skills/winui-app/references/accessibility-input-and-localization.md +51 -0
  839. package/skills/winui-app/references/build-run-and-launch-verification.md +72 -0
  840. package/skills/winui-app/references/community-toolkit-controls-and-helpers.md +57 -0
  841. package/skills/winui-app/references/controls-layout-and-adaptive-ui.md +84 -0
  842. package/skills/winui-app/references/foundation-environment-audit-and-remediation.md +82 -0
  843. package/skills/winui-app/references/foundation-setup-and-project-selection.md +67 -0
  844. package/skills/winui-app/references/foundation-template-first-recovery.md +62 -0
  845. package/skills/winui-app/references/foundation-winui-app-structure.md +62 -0
  846. package/skills/winui-app/references/motion-animations-and-polish.md +45 -0
  847. package/skills/winui-app/references/performance-diagnostics-and-responsiveness.md +46 -0
  848. package/skills/winui-app/references/sample-source-map.md +37 -0
  849. package/skills/winui-app/references/shell-navigation-and-windowing.md +67 -0
  850. package/skills/winui-app/references/styling-theming-materials-and-icons.md +71 -0
  851. package/skills/winui-app/references/testing-debugging-and-review-checklists.md +77 -0
  852. package/skills/winui-app/references/windows-app-sdk-lifecycle-notifications-and-deployment.md +52 -0
  853. package/skills/yeet/LICENSE.txt +201 -0
  854. package/skills/yeet/SKILL.md +28 -0
  855. package/skills/yeet/agents/openai.yaml +6 -0
  856. package/skills/yeet/assets/yeet-small.svg +3 -0
  857. package/skills/yeet/assets/yeet.png +0 -0
  858. package/dist/src/agents/definitions.d.ts +0 -16
  859. package/dist/src/agents/definitions.d.ts.map +0 -1
  860. package/dist/src/agents/definitions.js +0 -148
  861. package/dist/src/agents/definitions.js.map +0 -1
@@ -0,0 +1,96 @@
1
+ # Reference Sections
2
+
3
+ Use this index to choose the narrowest reference file that fits the current task.
4
+
5
+ ## 1. Foundations
6
+
7
+ - `foundation-setup-and-project-selection.md`
8
+ - Priority: CRITICAL
9
+ - Use for first-project setup, packaged vs unpackaged decisions, and core WinUI prerequisites.
10
+ - Authority: Microsoft Learn WinUI and Windows App SDK setup docs.
11
+
12
+ - `foundation-environment-audit-and-remediation.md`
13
+ - Priority: CRITICAL
14
+ - Use for machine readiness checks, missing prerequisites, and guided remediation.
15
+ - Authority: Microsoft Learn setup and system requirements docs, plus the bundled bootstrap workflow.
16
+
17
+ - `foundation-winui-app-structure.md`
18
+ - Priority: HIGH
19
+ - Use for solution layout, shell composition, resources, bindings, and C#-first project structure.
20
+ - Authority: WinUI Gallery source plus Learn XAML guidance.
21
+
22
+ - `foundation-template-first-recovery.md`
23
+ - Priority: CRITICAL
24
+ - Use for opaque `MSB3073`, `XamlCompiler.exe`, and startup failures that should be recovered by comparing against a fresh `dotnet new winui` scaffold instead of applying alternate baseline files.
25
+ - Authority: Learn packaged and unpackaged deployment guidance plus recurring template-first recovery patterns.
26
+
27
+ - `build-run-and-launch-verification.md`
28
+ - Priority: CRITICAL
29
+ - Use for build/run workflows, actual launch verification, startup crashes, and packaged-vs-unpackaged local execution choices.
30
+ - Authority: Learn setup and deployment guidance plus recurring WinUI troubleshooting patterns.
31
+
32
+ ## 2. Shell, Navigation, and Windowing
33
+
34
+ - `shell-navigation-and-windowing.md`
35
+ - Priority: HIGH
36
+ - Use for `NavigationView`, page shells, title bars, `AppWindow`, and multi-window design.
37
+ - Authority: Learn design guidance, WinUI Gallery samples, Windows App SDK Windowing samples.
38
+
39
+ ## 3. Controls, Layout, and Adaptive UI
40
+
41
+ - `controls-layout-and-adaptive-ui.md`
42
+ - Priority: HIGH
43
+ - Use for control selection, command surfaces, responsive layout, and page composition.
44
+ - Authority: Learn design guidance and WinUI Gallery control pages.
45
+
46
+ ## 4. Styling, Theming, Materials, and Icons
47
+
48
+ - `styling-theming-materials-and-icons.md`
49
+ - Priority: HIGH
50
+ - Use for Fluent styling, theme resources, Mica, Acrylic, typography, and iconography.
51
+ - Authority: Learn design/material docs, WinUI Gallery backdrop samples, Windows App SDK Mica samples.
52
+
53
+ - `motion-animations-and-polish.md`
54
+ - Priority: MEDIUM
55
+ - Use for transitions, connected animation, subtle polish, and animation discipline.
56
+ - Authority: Learn motion guidance, WinUI Gallery transition samples, CommunityToolkit animations.
57
+
58
+ ## 5. Accessibility, Input, and Localization
59
+
60
+ - `accessibility-input-and-localization.md`
61
+ - Priority: HIGH
62
+ - Use for keyboarding, Narrator, high contrast, automation properties, and localization concerns.
63
+ - Authority: Learn accessibility and globalization guidance, WinUI Gallery automation patterns.
64
+
65
+ ## 6. Performance and Diagnostics
66
+
67
+ - `performance-diagnostics-and-responsiveness.md`
68
+ - Priority: HIGH
69
+ - Use for UI-thread responsiveness, large item collections, rendering cost, and diagnostic tooling.
70
+ - Authority: Learn WinUI performance docs and XAML frame analysis guidance.
71
+
72
+ ## 7. Windows App SDK Scenarios
73
+
74
+ - `windows-app-sdk-lifecycle-notifications-and-deployment.md`
75
+ - Priority: HIGH
76
+ - Use for lifecycle, activation, notifications, packaged vs unpackaged deployment, and runtime initialization.
77
+ - Authority: Microsoft Learn Windows App SDK docs and WindowsAppSDK-Samples.
78
+
79
+ ## 8. CommunityToolkit Extensions
80
+
81
+ - `community-toolkit-controls-and-helpers.md`
82
+ - Priority: MEDIUM
83
+ - Use when built-in WinUI controls are not enough and Toolkit packages might close the gap cleanly.
84
+ - Authority: CommunityToolkit/Windows packages and samples.
85
+
86
+ ## 9. Testing, Debugging, and Review
87
+
88
+ - `testing-debugging-and-review-checklists.md`
89
+ - Priority: HIGH
90
+ - Use for final review passes, debugging workflows, and validation checklists.
91
+ - Authority: Learn tooling docs plus recurring WinUI review patterns.
92
+
93
+ - `sample-source-map.md`
94
+ - Priority: MEDIUM
95
+ - Use when you need to know which canonical repo or doc to inspect first for a given task.
96
+ - Authority: Curated map across Learn, WinUI Gallery, WindowsAppSDK-Samples, and CommunityToolkit.
@@ -0,0 +1,51 @@
1
+ ---
2
+ title: Accessibility, Input, and Localization
3
+ priority: HIGH
4
+ tags: accessibility, keyboard, narrator, automation, localization, high-contrast
5
+ sources:
6
+ - https://learn.microsoft.com/windows/apps/design/accessibility/accessibility
7
+ - https://learn.microsoft.com/windows/apps/design/accessibility/keyboard-accessibility
8
+ - https://learn.microsoft.com/windows/apps/design/accessibility/high-contrast-themes
9
+ - https://learn.microsoft.com/windows/apps/design/globalizing/globalizing-portal
10
+ - https://github.com/microsoft/WinUI-Gallery
11
+ ---
12
+
13
+ ## What This Reference Is For
14
+
15
+ Use this file for keyboard accessibility, Narrator support, automation properties, input parity, high contrast, and localization-ready UI.
16
+
17
+ ## Prefer
18
+
19
+ - Accessible names, help text, and landmarks for meaningful UI elements.
20
+ - Full keyboard reachability for the main workflow.
21
+ - High-contrast-safe visuals.
22
+ - Localizable strings and layouts that tolerate growth.
23
+ - Equal support for mouse, touch, pen, and keyboard where the platform expects it.
24
+
25
+ ## Avoid
26
+
27
+ - Icon-only interactions without accessible naming.
28
+ - Focus traps, hidden tab stops, or keyboard-only dead ends.
29
+ - Hard-coded strings in XAML or code-behind that block localization.
30
+ - Text layouts that collapse when strings expand.
31
+
32
+ ## Guidance
33
+
34
+ - Use automation properties intentionally.
35
+ - Preserve visible focus and logical tab order.
36
+ - Verify context menus, flyouts, and dialogs by keyboard as well as mouse.
37
+ - Respect text scaling, contrast changes, and RTL where relevant.
38
+ - Keep touch targets and spacing usable on both mouse and touch hardware.
39
+
40
+ ## WinUI Gallery Anchors
41
+
42
+ - Accessibility-related control samples
43
+ - Automation helper patterns in shell code
44
+ - Standard WinUI controls that already expose useful accessibility behavior
45
+
46
+ ## Review Checklist
47
+
48
+ - Can a keyboard-only user complete the task?
49
+ - Does Narrator have enough information to describe the important UI?
50
+ - Does the experience stay legible in high contrast?
51
+ - Are strings and layout ready for localization and RTL growth?
@@ -0,0 +1,72 @@
1
+ ---
2
+ title: Build, Run, and Launch Verification
3
+ priority: CRITICAL
4
+ tags: build, run, launch, verification, packaged, unpackaged, debugging
5
+ sources:
6
+ - https://learn.microsoft.com/windows/apps/get-started/start-here
7
+ - https://learn.microsoft.com/windows/apps/windows-app-sdk/deploy-packaged-apps
8
+ - https://learn.microsoft.com/windows/apps/windows-app-sdk/deploy-unpackaged-apps
9
+ ---
10
+
11
+ ## What This Reference Is For
12
+
13
+ Use this file when the task involves building, running, launch failures, startup crashes, or final verification that a WinUI app actually opens on the current machine.
14
+
15
+ ## Required Workflow
16
+
17
+ 1. Identify the real build target:
18
+ - solution or project file
19
+ - configuration
20
+ - platform
21
+ - packaged or unpackaged model
22
+ 2. Build after each meaningful code edit and again at task completion.
23
+ 3. Run the app after changes when feasible. Always do it when the user asked for it or when startup, navigation, resources, or packaging changed.
24
+ 4. Use the launch path that matches the deployment model:
25
+ - packaged local dev: normally Visual Studio deploy or another package-aware flow
26
+ - unpackaged local dev: normally the built executable the user will actually run
27
+ 5. Verify real launch with objective evidence such as:
28
+ - non-zero main window handle
29
+ - expected window title
30
+ - responsive process with visible shell
31
+ - no immediate startup exception or crash
32
+ 6. After completing app work, including a first scaffold or a later build-and-fix cycle, leave a successfully verified final app instance running so the user can see that it worked unless they explicitly asked you not to.
33
+ 7. If launch fails or verification is ambiguous, debug the failure before saying the app is ready.
34
+
35
+ ## Packaged vs Unpackaged Rules
36
+
37
+ - Choose one model intentionally before wiring startup, persistence, and launch instructions.
38
+ - Packaged apps can rely on package identity and package-backed storage.
39
+ - Unpackaged apps must not assume package identity. Guard or replace APIs that require it.
40
+ - APIs such as `Windows.Storage.ApplicationData.Current` can fail in unpackaged runs even when the build succeeds.
41
+ - Do not mix packaged-only assumptions into an unpackaged startup path.
42
+
43
+ ## Build and Launch Guidance
44
+
45
+ - Prefer explicit platform targets when WinUI output is sensitive to architecture defaults. If `AnyCPU` creates ambiguity, use `x64` for local verification.
46
+ - For unpackaged verification, prefer launching the built `.exe` from `bin\Debug\...\win-x64\` or the project-specific output path.
47
+ - After a successful final launch verification, do not immediately tear the app down just because verification succeeded; keep it open for the user unless it blocks the next required action.
48
+ - If `dotnet run` throws bootstrapper, deployment, or COM activation errors, treat that as a signal that the chosen launch path or packaging setup is wrong for the current app.
49
+ - Stop old app instances before rebuilding if they can lock output files.
50
+
51
+ ## Debugging Startup Failures
52
+
53
+ - Separate environment problems from app-code startup crashes.
54
+ - If the app exits before showing a window, inspect the startup path first:
55
+ - `App.xaml`
56
+ - merged resource dictionaries
57
+ - converters
58
+ - `MainWindow`
59
+ - services used during startup
60
+ - For startup or manifest issues, compare the current app against a fresh `dotnet new winui` scaffold for the same packaging model before broader surgery.
61
+ - For opaque `MSB3073` and `XamlCompiler.exe` failures, simplify back toward the template-generated startup and shared-resource shape before making further structural changes.
62
+ - Restore complex startup pieces incrementally when the failure point is unclear. A minimal `App.xaml` plus minimal `MainWindow` is a valid isolation step.
63
+ - If the diagnostics look stale or inconsistent with the current files, run a clean build once before deeper surgery.
64
+ - Prefer restoring the last known-good template-based shared-resource state over moving styles inline as the long-term fix.
65
+ - When using unpackaged startup, review persistence, notifications, storage, and activation code for hidden package-identity assumptions.
66
+
67
+ ## Exit Criteria
68
+
69
+ - Build succeeds from the intended local workflow.
70
+ - The app launches from the intended local workflow.
71
+ - A real top-level window or equivalent expected UI is confirmed.
72
+ - No unresolved startup exception remains.
@@ -0,0 +1,57 @@
1
+ ---
2
+ title: CommunityToolkit Controls and Helpers
3
+ priority: MEDIUM
4
+ tags: communitytoolkit, controls, helpers, animations, settingscontrols
5
+ sources:
6
+ - https://github.com/CommunityToolkit/Windows
7
+ - https://learn.microsoft.com/dotnet/communitytoolkit/windows/getting-started
8
+ ---
9
+
10
+ ## What This Reference Is For
11
+
12
+ Use this file when deciding whether the Windows Community Toolkit should be added to a WinUI 3 app.
13
+
14
+ ## Prefer
15
+
16
+ - Platform controls first.
17
+ - Targeted Toolkit package additions for clear gaps such as richer settings surfaces, segmented controls, or focused animation helpers.
18
+ - The smallest package set that solves the problem.
19
+
20
+ ## Avoid
21
+
22
+ - Adding Toolkit packages because they look convenient without checking whether WinUI already covers the need.
23
+ - Pulling in multiple Toolkit packages for a minor visual difference.
24
+ - Hiding fundamental UX problems behind a new dependency.
25
+
26
+ ## Good Candidate Areas
27
+
28
+ - `SettingsControls`
29
+ - useful for settings surfaces and cards
30
+ - `Segmented`
31
+ - useful when segmented selection is clearer than a tab or radio cluster
32
+ - `HeaderedControls`
33
+ - useful for labeled control groupings
34
+ - `Animations`
35
+ - useful when built-in transitions are not enough
36
+ - helpers and extensions
37
+ - useful when they reduce repetitive WinUI plumbing cleanly
38
+
39
+ ## Package Guidance
40
+
41
+ - Prefer WinUI 3 compatible Toolkit packages.
42
+ - Add only what the app will actually use.
43
+ - Document why a Toolkit dependency was added and what built-in alternative was rejected.
44
+
45
+ ## Sample and Source Anchors
46
+
47
+ - CommunityToolkit `components/SettingsControls`
48
+ - CommunityToolkit `components/Segmented`
49
+ - CommunityToolkit `components/HeaderedControls`
50
+ - Toolkit animations and helper packages
51
+
52
+ ## Review Checklist
53
+
54
+ - Does built-in WinUI already solve the problem?
55
+ - Is the dependency narrowly scoped and justified?
56
+ - Does the new control match the rest of the app’s design language?
57
+ - Will the package meaningfully reduce custom code or improve UX?
@@ -0,0 +1,84 @@
1
+ ---
2
+ title: Controls, Layout, and Adaptive UI
3
+ priority: HIGH
4
+ tags: controls, layout, adaptive-ui, responsive, forms, lists
5
+ sources:
6
+ - https://learn.microsoft.com/windows/apps/design/layout/responsive-design
7
+ - https://learn.microsoft.com/windows/apps/design/basics/navigation-basics
8
+ - https://github.com/microsoft/WinUI-Gallery
9
+ ---
10
+
11
+ ## What This Reference Is For
12
+
13
+ Use this file when choosing controls, composing pages, or making a WinUI layout adapt well to different window sizes and input modes.
14
+
15
+ ## Prefer
16
+
17
+ - Built-in WinUI controls first.
18
+ - Native command surfaces such as `CommandBar` when the UI is grouping actions, toggles, and lightweight tool controls.
19
+ - Standard controls for common tasks: `TextBox`, `NumberBox`, `ComboBox`, `ListView`, `GridView`, `ContentDialog`, `InfoBar`, `TeachingTip`, `TabView`, `NavigationView`.
20
+ - Explicit scroll ownership for collection layouts. If the page already scrolls vertically, prefer giving a media shelf its own horizontal `ScrollViewer` and a simple horizontal panel.
21
+ - Responsive techniques such as reposition, resize, reflow, and show/hide.
22
+ - Layouts that remain usable when the window becomes narrow.
23
+ - A real phone-width plan when the app may be resized that far: fewer columns, reduced padding, simplified controls, and stacked content instead of compressed desktop rails.
24
+
25
+ ## Avoid
26
+
27
+ - Replacing standard WinUI controls with custom controls just to change appearance.
28
+ - Building custom toolbar rows out of generic layout panels when a stock `CommandBar` would cover the grouping cleanly.
29
+ - Hard-coded sizes that only look correct at one window width.
30
+ - Dense desktop-only layouts that break touch or keyboard workflows.
31
+ - Adding extra controls for local filtering or sorting when live updates and a simpler layout would better match the workflow.
32
+ - Nesting a scroll-owning `GridView` inside an outer page `ScrollViewer` without deciding which control owns scrolling; this often produces a single vertical column or awkward scroll conflicts instead of a horizontal media shelf.
33
+ - Wrapping list sections or card groups in an extra `Border` when the section header, spacing, and child surfaces already establish grouping.
34
+
35
+ ## Control Selection Guidance
36
+
37
+ - Forms and settings:
38
+ - Prefer native controls first; add Toolkit settings controls only if the experience clearly benefits.
39
+ - Command surfaces:
40
+ - Prefer `CommandBar` for grouped document, formatting, view, and page-level actions before composing a custom bar from `Grid`, `StackPanel`, `Border`, and loose buttons.
41
+ - Prefer the `CommandBar` overflow model for secondary actions before splitting the command surface into multiple custom rows.
42
+ - Fall back to a custom command layout only when a verified `CommandBar` limitation, an explicit product design requirement, or unusual content composition makes the native surface a poor fit.
43
+ - Large collections:
44
+ - Prefer controls with virtualization-friendly behavior.
45
+ - Use `GridView` when it owns the collection surface and its scrolling behavior is part of the intended experience.
46
+ - For poster rails or other horizontal shelves inside a vertically scrolling page, prefer a horizontal `ScrollViewer` containing an `ItemsControl` or `ItemsRepeater` with a horizontal panel instead of a nested `GridView`.
47
+ - Consider `ItemsRepeater` when the layout is custom and performance matters.
48
+ - Search and filtering:
49
+ - Prefer a single search field with live updates for local or otherwise inexpensive filtering.
50
+ - Add explicit apply, refresh, or mode-selection controls only when the underlying operation is expensive, remote, asynchronous, or semantically different.
51
+ - Dialogs and transient guidance:
52
+ - Use `ContentDialog` for modal decisions.
53
+ - Use `InfoBar` for persistent status.
54
+ - Use `TeachingTip` for contextual onboarding.
55
+
56
+ ## Adaptive Layout Guidance
57
+
58
+ - Design with effective pixels, not fixed device assumptions.
59
+ - Make the smallest supported layout fully usable.
60
+ - Add density or multi-column views only when width allows.
61
+ - Use visual states, adaptive triggers, or layout state changes intentionally.
62
+ - Keep commands and primary content reachable after resize.
63
+ - Verify collection orientation and scrolling behavior at runtime. A shelf that looks horizontal in XAML can still render as a vertical stack once nested scroll regions are involved.
64
+ - When simplifying a dense section, remove redundant outer surfaces before adding more adaptive layout rules; fewer layers usually adapt more cleanly across breakpoints.
65
+ - Define breakpoint intent explicitly. Typical questions: when does a shelf become a stacked list, when does a footer drop nonessential controls, and when does the page stop behaving like a desktop canvas and become a single-column phone layout?
66
+ - Simplify as width shrinks. Prefer dropping secondary controls or moving them behind shell affordances over preserving every control at every breakpoint.
67
+ - When a page contains desktop-oriented horizontal shelves, add a phone-width alternative that stacks items vertically instead of relying on clipped rails and horizontal scrolling everywhere.
68
+
69
+ ## WinUI Gallery Anchors
70
+
71
+ - Control pages for built-in WinUI control usage
72
+ - Gallery home and shell pages for adaptive layout ideas
73
+ - Sample pages for title bar and system backdrop interactions with content layout
74
+
75
+ ## Review Checklist
76
+
77
+ - Did you choose the simplest built-in control that fits?
78
+ - Are search and filter controls no more complex than the data flow requires?
79
+ - Does the page remain usable when narrow?
80
+ - Can keyboard, mouse, and touch all reach the same core actions?
81
+ - Are spacing and hierarchy consistent across breakpoints?
82
+ - If the page mixes page scrolling with collection scrolling, is it obvious which control owns vertical scrolling and which one, if any, owns horizontal shelf scrolling?
83
+ - Are section containers doing real layout or surface work, or are some outer borders now redundant?
84
+ - At phone width, does the page read as a coherent single-column flow instead of a squeezed desktop layout?
@@ -0,0 +1,82 @@
1
+ ---
2
+ title: Environment Audit and Remediation
3
+ priority: CRITICAL
4
+ tags: setup, audit, install, dotnet, visual-studio, windows-sdk, developer-mode
5
+ sources:
6
+ - https://learn.microsoft.com/windows/apps/get-started/start-here
7
+ - https://learn.microsoft.com/windows/apps/windows-app-sdk/system-requirements
8
+ - https://learn.microsoft.com/windows/apps/get-started/developer-mode-features-and-debugging
9
+ - https://learn.microsoft.com/dotnet/core/install/windows
10
+ ---
11
+
12
+ ## What This Reference Is For
13
+
14
+ Use this file for machine-readiness checks, build failures caused by missing tools, and any request to install WinUI prerequisites.
15
+
16
+ ## Required Workflow
17
+
18
+ 1. Use the setup-and-scaffold flow in [../SKILL.md](../SKILL.md) for environment readiness, remediation, and initial verification.
19
+ 2. If the user asked only for an audit and not for setup, explain that the bundled bootstrap may change the machine and get confirmation before running it.
20
+ 3. If the user declines machine changes, run a manual non-mutating audit instead and summarize the result under four headings:
21
+ - present
22
+ - missing
23
+ - uncertain
24
+ - recommended optional tools
25
+ 4. Manual non-mutating audit coverage should focus on:
26
+ - OS version and build floor
27
+ - Developer Mode state when relevant to the task
28
+ - `dotnet --list-sdks`
29
+ - `dotnet new list winui`
30
+ - Visual Studio presence and edition
31
+ - Windows SDK presence
32
+ - MSBuild availability for XAML compilation
33
+ 5. If prerequisites are still missing after the bundled setup flow, stop and report the blocker clearly instead of inventing alternate install recipes.
34
+
35
+ ## Required vs Optional
36
+
37
+ Required for normal C# WinUI 3 development:
38
+
39
+ - Supported Windows build
40
+ - Visual Studio with WinUI C# support
41
+ - Windows SDK 10.0.19041.0 or later
42
+ - MSBuild available for XAML compilation
43
+ - .NET SDK 6 or later
44
+
45
+ Usually optional, but often recommended:
46
+
47
+ - Developer Mode for local deploy and debug
48
+ - WinGet for one-command remediation
49
+ - Visual Studio debugging features such as Hot Reload and Live Visual Tree
50
+
51
+ ## Prefer
52
+
53
+ - The setup-and-scaffold flow in `SKILL.md` over ad hoc manual checks or duplicated setup instructions in this reference.
54
+ - A short manual audit only when the user wants a non-mutating readiness check.
55
+
56
+ ## Avoid
57
+
58
+ - Rewriting or paraphrasing the bundled setup workflow here when `SKILL.md` already covers the user's goal.
59
+ - Marking workload detection as present when the bootstrap or manual audit leaves uncertainty.
60
+ - Branching into custom per-component install steps unless the user explicitly asks for them.
61
+ - Treating Developer Mode as a hard requirement for every task.
62
+
63
+ ## Remediation Strategy
64
+
65
+ - Missing any required WinUI prerequisite:
66
+ - Use the setup-and-scaffold flow in `SKILL.md` after confirmation when the request is audit-only.
67
+ - The bundled setup flow reports a partial failure but the toolchain appears usable:
68
+ - Note the partial failure and continue when the user's task can proceed.
69
+ - The bundled setup flow fails and prerequisites still appear to be missing:
70
+ - Use the manual audit checks above for detail if needed, then stop and report the blocker clearly.
71
+ - Windows build unsupported:
72
+ - Upgrade Windows first. The WinUI bootstrap command does not replace the OS requirement.
73
+ - Developer Mode disabled:
74
+ - Explain whether the current task needs it.
75
+ - If it does, prefer the bundled setup flow or let the user enable it manually.
76
+
77
+ ## Review Checklist
78
+
79
+ - Was the setup-and-scaffold flow in `SKILL.md` used before advice was given?
80
+ - Are missing items clearly separated from uncertain signals?
81
+ - Is the remediation plan the minimum needed for the user's goal?
82
+ - Was post-install verification handled by the bundled setup flow or by a clearly justified fallback?
@@ -0,0 +1,67 @@
1
+ ---
2
+ title: Setup and Project Selection
3
+ priority: CRITICAL
4
+ tags: setup, prerequisites, packaged, unpackaged, visual-studio, dotnet
5
+ sources:
6
+ - https://learn.microsoft.com/windows/apps/get-started/start-here
7
+ - https://learn.microsoft.com/windows/apps/winui/winui3/
8
+ - https://learn.microsoft.com/windows/apps/windows-app-sdk/
9
+ - https://learn.microsoft.com/windows/apps/windows-app-sdk/system-requirements
10
+ ---
11
+
12
+ ## What This Reference Is For
13
+
14
+ Use this file when the user is starting from scratch, choosing a project template, or asking what a WinUI machine needs before code work begins.
15
+
16
+ ## Prefer
17
+
18
+ - The setup-and-scaffold flow in [../SKILL.md](../SKILL.md) for prerequisite setup, template verification, and the first scaffold.
19
+ - A C# WinUI 3 desktop app on the Windows App SDK unless the user has a clear reason to prefer C++ or an existing non-WinUI stack.
20
+ - Official project templates and default packaging choices first.
21
+ - The current supported LTS .NET SDK for new C# work instead of only meeting the bare minimum.
22
+ - A packaged app by default for the smoothest first-project, deployment, and Store-compatible path.
23
+ - An unpackaged app when the user explicitly needs repeatable CLI build-and-run verification or direct executable launches as the normal local workflow.
24
+
25
+ ## Avoid
26
+
27
+ - Starting project setup before the setup-and-scaffold flow in this skill has finished.
28
+ - Starting with unpackaged deployment unless the user needs repeatable CLI launch, an installer, existing desktop app integration, or a deliberate runtime strategy.
29
+ - Giving machine-readiness advice without verification.
30
+ - Treating old Windows builds, missing SDKs, or partial Visual Studio installs as "probably fine."
31
+ - Deferring the packaging choice until after startup, storage, and launch code are already written.
32
+
33
+ ## Setup Baseline
34
+
35
+ - Use the setup-and-scaffold flow in [../SKILL.md](../SKILL.md) for prerequisite setup, template verification, and the first scaffold.
36
+ - Treat [../config.yaml](../config.yaml) as the bundled WinGet bootstrap source for setup and remediation.
37
+ - Return to this reference only after that workflow completes or when the task moves beyond initial project creation.
38
+ - Windows 10 version 1809 (build 17763) or later is the floor.
39
+ - Windows SDK 10.0.19041.0 or later is the practical baseline.
40
+ - Visual Studio with the WinUI application development workload is the supported primary IDE path.
41
+ - For C# apps, a supported .NET SDK must be installed.
42
+ - Developer Mode matters for common local deploy and debug flows.
43
+
44
+ ## Project Selection Guidance
45
+
46
+ - Choose packaged when the user wants the default WinUI 3 path, easy local F5 workflows, or Store-friendly deployment. Keep the scaffold at its default unless the user explicitly asks for unpackaged behavior.
47
+ - Choose packaged when the app needs package identity or package-backed APIs during normal operation.
48
+ - Choose unpackaged when the user expects direct `.exe` launches, agent-driven local verification after each change, or integration with an existing installer or external location. Request that option through the setup flow instead of converting the initial project afterward.
49
+ - For either packaging model, scaffold first through the setup flow in `SKILL.md` and continue from the generated project instead of copying in prebuilt baseline files.
50
+ - If startup or shared resources later become suspect, create a fresh comparison app with the same packaging model and diff against that `dotnet new winui` output before broader restructuring.
51
+ - Once the model is chosen, keep startup and service code consistent with that model.
52
+ - Choose the standard blank app template first, then layer in navigation, title bar, or windowing patterns as the app matures.
53
+
54
+ ## Sample and Source Anchors
55
+
56
+ - Learn `start-here.md` for the current official setup path.
57
+ - Learn `winui/winui3/index.md` for the framework position and platform benefits.
58
+ - Learn `windows-app-sdk/index.md` for the Windows App SDK feature surface.
59
+ - Learn `system-requirements.md` for tool and OS baselines.
60
+
61
+ ## Review Checklist
62
+
63
+ - Is the machine baseline actually verified through the setup-and-scaffold flow in `SKILL.md`?
64
+ - Is the chosen packaging model intentional?
65
+ - Does the launch workflow match the chosen packaging model?
66
+ - Is the app still rooted in the standard WinUI template unless there is a real reason not to?
67
+ - Is the recommendation aligned with a C#-first WinUI 3 workflow?
@@ -0,0 +1,62 @@
1
+ ---
2
+ title: Template-First Recovery for Startup and XAML Failures
3
+ priority: CRITICAL
4
+ tags: template, recovery, xaml-compiler, msb3073, startup
5
+ sources:
6
+ - https://learn.microsoft.com/windows/apps/get-started/start-here
7
+ - https://learn.microsoft.com/windows/apps/windows-app-sdk/deploy-packaged-apps
8
+ - https://learn.microsoft.com/windows/apps/windows-app-sdk/deploy-unpackaged-apps
9
+ - https://github.com/microsoft/WinUI-Gallery
10
+ ---
11
+
12
+ ## What This Reference Is For
13
+
14
+ Use this file when a new app should stay close to the `dotnet new winui` scaffold, or when opaque `MSB3073`, `XamlCompiler.exe`, and startup failures make it unclear whether the problem is in app code, shared resources, or the surrounding project structure.
15
+
16
+ ## Prefer
17
+
18
+ - Scaffold with the standard `dotnet new winui` template first and keep the generated project file, manifests, assets, and startup shape unless the task explicitly requires broader changes.
19
+ - Match any comparison scaffold to the app's actual packaging model.
20
+ - Keep `App.xaml` minimal while isolating startup problems.
21
+ - Prefer explicit `new Window()` and avoid `Window.Current` when customizing WinUI 3 startup.
22
+ - Reintroduce shell, resources, bindings, and services incrementally after a clean build and launch.
23
+
24
+ ## Avoid
25
+
26
+ - Swapping in alternate baseline files or helper scripts as the first recovery move.
27
+ - Replacing the template-generated `.csproj` or manifests during initial isolation.
28
+ - Flattening all styles into page-local markup as the permanent fix for opaque compiler failures.
29
+ - Treating `MSB3073` as proof that the most recently edited XAML line is the only fault.
30
+
31
+ ## Template-First Recovery Loop
32
+
33
+ 1. Confirm the intended packaging model and launch path.
34
+ 2. If the current startup shape is unclear, scaffold a temporary comparison app with the same packaging choice. Example:
35
+ - `dotnet new winui -n RecoveryReference -o RecoveryReference --use-slnx false --no-solution-file false`
36
+ - Add `--unpackaged true` when the target app is unpackaged.
37
+ 3. Diff only the startup and shared-resource areas against that comparison scaffold:
38
+ - `App.xaml`
39
+ - `App.xaml.cs`
40
+ - `MainWindow.xaml` / `MainWindow.xaml.cs` or the app's actual shell entry point
41
+ - merged resource dictionaries
42
+ - startup-related project properties
43
+ 4. Revert the suspect area toward the template-generated shape until the app builds cleanly again.
44
+ 5. Build explicitly for a concrete architecture. Example:
45
+ - `dotnet build MyApp.sln -c Debug -p:Platform=x64`
46
+ 6. Launch using the correct packaged or unpackaged path and confirm objective startup signals.
47
+ 7. Reapply custom changes in small slices, building and running after each meaningful edit.
48
+
49
+ ## Common Recovery Checks
50
+
51
+ - Confirm `Window.Current` is not used in WinUI 3 startup code.
52
+ - Confirm `x:Class`, namespaces, and code-behind names still match.
53
+ - Confirm merged resource dictionaries load cleanly before adding more layers.
54
+ - Confirm project content items still match any local data or asset files the app expects at runtime.
55
+ - Run one clean build if diagnostics appear stale.
56
+
57
+ ## Exit Criteria
58
+
59
+ - The current app is still rooted in the generated `dotnet new winui` scaffold rather than an alternate baseline shell.
60
+ - Build succeeds from the intended local workflow.
61
+ - The app launches from the intended local workflow.
62
+ - A real top-level window or equivalent expected UI is confirmed.
@@ -0,0 +1,62 @@
1
+ ---
2
+ title: WinUI App Structure
3
+ priority: HIGH
4
+ tags: app-structure, xaml, resources, pages, bindings, csharp
5
+ sources:
6
+ - https://github.com/microsoft/WinUI-Gallery
7
+ - https://learn.microsoft.com/windows/apps/winui/
8
+ ---
9
+
10
+ ## What This Reference Is For
11
+
12
+ Use this file when structuring a WinUI 3 app, reviewing project layout, or deciding where shell, pages, controls, resources, and view models should live.
13
+
14
+ ## Prefer
15
+
16
+ - A clear C#-first folder split such as `Pages`, `Controls`, `ViewModels`, `Services`, `Styles`, and `Assets`.
17
+ - `App.xaml` and shared resource dictionaries for app-wide theme resources and styles.
18
+ - A single main shell window that owns navigation and common chrome.
19
+ - Native command surfaces such as `CommandBar` for grouped window or page actions before inventing a custom toolbar composition.
20
+ - Strongly typed `x:Bind` where it improves compile-time safety and performance.
21
+
22
+ ## Avoid
23
+
24
+ - Putting shell logic, page logic, and resource definitions into one large window file.
25
+ - Scattering theme brushes and styles across many page-local dictionaries.
26
+ - Introducing MVVM ceremony that the project will not actually maintain.
27
+
28
+ ## Recommended Shape
29
+
30
+ - `App.xaml` / `App.xaml.cs`
31
+ - global resources, startup, window creation, app-level exceptions
32
+ - `MainWindow.xaml` / `MainWindow.xaml.cs`
33
+ - shell, title bar, top-level navigation host
34
+ - `Pages/`
35
+ - page views and page-specific logic
36
+ - `Controls/`
37
+ - reusable WinUI user controls
38
+ - `ViewModels/`
39
+ - state and commands when the app benefits from separation
40
+ - `Styles/`
41
+ - resource dictionaries, theme tokens, shared control styles
42
+ - `Helpers/` or `Services/`
43
+ - windowing, navigation, persistence, OS integration helpers
44
+
45
+ ## Binding Guidance
46
+
47
+ - Prefer `x:Bind` for page-local properties, event handlers, and strongly typed view model access.
48
+ - Use `Binding` where the data context is dynamic or a template must stay flexible.
49
+ - Avoid binding patterns that depend on unclear page lifetime or implicit data contexts.
50
+
51
+ ## WinUI Gallery Anchors
52
+
53
+ - `App.xaml.cs` shows app-level startup and integration points.
54
+ - `MainWindow.xaml` shows shell composition, title bar usage, and search integration.
55
+ - `Pages/` and `Samples/` show how Microsoft organizes pages, helpers, and styles in a real WinUI companion app.
56
+
57
+ ## Review Checklist
58
+
59
+ - Are app resources centralized?
60
+ - Is shell logic separated from content pages?
61
+ - Are bindings explicit and maintainable?
62
+ - Is the structure consistent with the scale of the app?