@minhduydev/mdpi 0.3.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 (561) hide show
  1. package/README.md +31 -0
  2. package/dist/index.js +1187 -0
  3. package/dist/template/.pi/.env.example +28 -0
  4. package/dist/template/.pi/AGENTS.md +226 -0
  5. package/dist/template/.pi/QUALITY.md +13 -0
  6. package/dist/template/.pi/README.md +452 -0
  7. package/dist/template/.pi/VERSION +1 -0
  8. package/dist/template/.pi/agents/INDEX.md +54 -0
  9. package/dist/template/.pi/agents/build.md +194 -0
  10. package/dist/template/.pi/agents/explore.md +85 -0
  11. package/dist/template/.pi/agents/general.md +189 -0
  12. package/dist/template/.pi/agents/plan.md +407 -0
  13. package/dist/template/.pi/agents/review.md +198 -0
  14. package/dist/template/.pi/agents/scout.md +142 -0
  15. package/dist/template/.pi/agents/vision.md +157 -0
  16. package/dist/template/.pi/artifacts/example/plan.md +12 -0
  17. package/dist/template/.pi/artifacts/example/progress.md +4 -0
  18. package/dist/template/.pi/artifacts/example/research.md +4 -0
  19. package/dist/template/.pi/artifacts/example/spec.md +16 -0
  20. package/dist/template/.pi/context/architecture.md +141 -0
  21. package/dist/template/.pi/context/fallow.md +137 -0
  22. package/dist/template/.pi/extensions/templates-injector.ts +76 -0
  23. package/dist/template/.pi/extensions/workflows-runner.ts +301 -0
  24. package/dist/template/.pi/guard.example.json +75 -0
  25. package/dist/template/.pi/prompts/INDEX.md +78 -0
  26. package/dist/template/.pi/prompts/audit.md +109 -0
  27. package/dist/template/.pi/prompts/close.md +88 -0
  28. package/dist/template/.pi/prompts/create.md +197 -0
  29. package/dist/template/.pi/prompts/fix.md +117 -0
  30. package/dist/template/.pi/prompts/gc.md +112 -0
  31. package/dist/template/.pi/prompts/init.md +206 -0
  32. package/dist/template/.pi/prompts/loop-check.md +87 -0
  33. package/dist/template/.pi/prompts/loop-init.md +157 -0
  34. package/dist/template/.pi/prompts/loop-review.md +90 -0
  35. package/dist/template/.pi/prompts/plan.md +254 -0
  36. package/dist/template/.pi/prompts/research.md +136 -0
  37. package/dist/template/.pi/prompts/ship.md +219 -0
  38. package/dist/template/.pi/prompts/status.md +92 -0
  39. package/dist/template/.pi/prompts/verify.md +154 -0
  40. package/dist/template/.pi/scripts/gc-check.sh +86 -0
  41. package/dist/template/.pi/settings.json +15 -0
  42. package/dist/template/.pi/skills/INDEX.md +331 -0
  43. package/dist/template/.pi/skills/accessibility-audit/SKILL.md +205 -0
  44. package/dist/template/.pi/skills/accessibility-audit/references/accessibility-checklist.md +109 -0
  45. package/dist/template/.pi/skills/agent-code-quality-gate/SKILL.md +131 -0
  46. package/dist/template/.pi/skills/api-and-interface-design/SKILL.md +159 -0
  47. package/dist/template/.pi/skills/behavioral-kernel/SKILL.md +92 -0
  48. package/dist/template/.pi/skills/brainstorming/SKILL.md +138 -0
  49. package/dist/template/.pi/skills/browser-testing-with-devtools/SKILL.md +90 -0
  50. package/dist/template/.pi/skills/chrome-devtools/SKILL.md +129 -0
  51. package/dist/template/.pi/skills/ci-cd-and-automation/SKILL.md +199 -0
  52. package/dist/template/.pi/skills/cloudflare/SKILL.md +271 -0
  53. package/dist/template/.pi/skills/cloudflare/references/agents-sdk/README.md +35 -0
  54. package/dist/template/.pi/skills/cloudflare/references/agents-sdk/api.md +100 -0
  55. package/dist/template/.pi/skills/cloudflare/references/agents-sdk/configuration.md +99 -0
  56. package/dist/template/.pi/skills/cloudflare/references/agents-sdk/gotchas.md +59 -0
  57. package/dist/template/.pi/skills/cloudflare/references/agents-sdk/patterns.md +89 -0
  58. package/dist/template/.pi/skills/cloudflare/references/ai-gateway/README.md +695 -0
  59. package/dist/template/.pi/skills/cloudflare/references/ai-search/README.md +14 -0
  60. package/dist/template/.pi/skills/cloudflare/references/ai-search/api.md +38 -0
  61. package/dist/template/.pi/skills/cloudflare/references/ai-search/configuration.md +52 -0
  62. package/dist/template/.pi/skills/cloudflare/references/ai-search/gotchas.md +41 -0
  63. package/dist/template/.pi/skills/cloudflare/references/ai-search/patterns.md +45 -0
  64. package/dist/template/.pi/skills/cloudflare/references/analytics-engine/README.md +14 -0
  65. package/dist/template/.pi/skills/cloudflare/references/analytics-engine/api.md +27 -0
  66. package/dist/template/.pi/skills/cloudflare/references/analytics-engine/configuration.md +45 -0
  67. package/dist/template/.pi/skills/cloudflare/references/analytics-engine/gotchas.md +3 -0
  68. package/dist/template/.pi/skills/cloudflare/references/analytics-engine/patterns.md +36 -0
  69. package/dist/template/.pi/skills/cloudflare/references/api/README.md +21 -0
  70. package/dist/template/.pi/skills/cloudflare/references/api/api.md +31 -0
  71. package/dist/template/.pi/skills/cloudflare/references/api/configuration.md +20 -0
  72. package/dist/template/.pi/skills/cloudflare/references/api/gotchas.md +28 -0
  73. package/dist/template/.pi/skills/cloudflare/references/api/patterns.md +47 -0
  74. package/dist/template/.pi/skills/cloudflare/references/api-shield/README.md +20 -0
  75. package/dist/template/.pi/skills/cloudflare/references/api-shield/api.md +78 -0
  76. package/dist/template/.pi/skills/cloudflare/references/api-shield/configuration.md +128 -0
  77. package/dist/template/.pi/skills/cloudflare/references/api-shield/gotchas.md +51 -0
  78. package/dist/template/.pi/skills/cloudflare/references/api-shield/patterns.md +145 -0
  79. package/dist/template/.pi/skills/cloudflare/references/argo-smart-routing/README.md +16 -0
  80. package/dist/template/.pi/skills/cloudflare/references/argo-smart-routing/api.md +50 -0
  81. package/dist/template/.pi/skills/cloudflare/references/argo-smart-routing/configuration.md +53 -0
  82. package/dist/template/.pi/skills/cloudflare/references/argo-smart-routing/gotchas.md +16 -0
  83. package/dist/template/.pi/skills/cloudflare/references/argo-smart-routing/patterns.md +45 -0
  84. package/dist/template/.pi/skills/cloudflare/references/bindings/README.md +14 -0
  85. package/dist/template/.pi/skills/cloudflare/references/bindings/api.md +3 -0
  86. package/dist/template/.pi/skills/cloudflare/references/bindings/configuration.md +58 -0
  87. package/dist/template/.pi/skills/cloudflare/references/bindings/gotchas.md +35 -0
  88. package/dist/template/.pi/skills/cloudflare/references/bindings/patterns.md +37 -0
  89. package/dist/template/.pi/skills/cloudflare/references/bot-management/README.md +71 -0
  90. package/dist/template/.pi/skills/cloudflare/references/bot-management/api.md +168 -0
  91. package/dist/template/.pi/skills/cloudflare/references/bot-management/configuration.md +114 -0
  92. package/dist/template/.pi/skills/cloudflare/references/bot-management/gotchas.md +99 -0
  93. package/dist/template/.pi/skills/cloudflare/references/bot-management/patterns.md +125 -0
  94. package/dist/template/.pi/skills/cloudflare/references/browser-rendering/README.md +16 -0
  95. package/dist/template/.pi/skills/cloudflare/references/browser-rendering/api.md +54 -0
  96. package/dist/template/.pi/skills/cloudflare/references/browser-rendering/configuration.md +47 -0
  97. package/dist/template/.pi/skills/cloudflare/references/browser-rendering/gotchas.md +29 -0
  98. package/dist/template/.pi/skills/cloudflare/references/browser-rendering/patterns.md +29 -0
  99. package/dist/template/.pi/skills/cloudflare/references/c3/README.md +264 -0
  100. package/dist/template/.pi/skills/cloudflare/references/cache-reserve/README.md +93 -0
  101. package/dist/template/.pi/skills/cloudflare/references/cache-reserve/api.md +176 -0
  102. package/dist/template/.pi/skills/cloudflare/references/cache-reserve/configuration.md +164 -0
  103. package/dist/template/.pi/skills/cloudflare/references/cache-reserve/gotchas.md +203 -0
  104. package/dist/template/.pi/skills/cloudflare/references/cache-reserve/patterns.md +180 -0
  105. package/dist/template/.pi/skills/cloudflare/references/containers/README.md +16 -0
  106. package/dist/template/.pi/skills/cloudflare/references/containers/api.md +43 -0
  107. package/dist/template/.pi/skills/cloudflare/references/containers/configuration.md +56 -0
  108. package/dist/template/.pi/skills/cloudflare/references/containers/gotchas.md +21 -0
  109. package/dist/template/.pi/skills/cloudflare/references/containers/patterns.md +40 -0
  110. package/dist/template/.pi/skills/cloudflare/references/cron-triggers/README.md +85 -0
  111. package/dist/template/.pi/skills/cloudflare/references/cron-triggers/api.md +198 -0
  112. package/dist/template/.pi/skills/cloudflare/references/cron-triggers/configuration.md +151 -0
  113. package/dist/template/.pi/skills/cloudflare/references/cron-triggers/gotchas.md +129 -0
  114. package/dist/template/.pi/skills/cloudflare/references/cron-triggers/patterns.md +122 -0
  115. package/dist/template/.pi/skills/cloudflare/references/d1/README.md +92 -0
  116. package/dist/template/.pi/skills/cloudflare/references/d1/api.md +141 -0
  117. package/dist/template/.pi/skills/cloudflare/references/d1/configuration.md +127 -0
  118. package/dist/template/.pi/skills/cloudflare/references/d1/gotchas.md +70 -0
  119. package/dist/template/.pi/skills/cloudflare/references/d1/patterns.md +144 -0
  120. package/dist/template/.pi/skills/cloudflare/references/ddos/README.md +34 -0
  121. package/dist/template/.pi/skills/cloudflare/references/ddos/api.md +136 -0
  122. package/dist/template/.pi/skills/cloudflare/references/ddos/configuration.md +67 -0
  123. package/dist/template/.pi/skills/cloudflare/references/ddos/gotchas.md +114 -0
  124. package/dist/template/.pi/skills/cloudflare/references/ddos/patterns.md +158 -0
  125. package/dist/template/.pi/skills/cloudflare/references/do-storage/README.md +62 -0
  126. package/dist/template/.pi/skills/cloudflare/references/do-storage/api.md +89 -0
  127. package/dist/template/.pi/skills/cloudflare/references/do-storage/configuration.md +116 -0
  128. package/dist/template/.pi/skills/cloudflare/references/do-storage/gotchas.md +93 -0
  129. package/dist/template/.pi/skills/cloudflare/references/do-storage/patterns.md +112 -0
  130. package/dist/template/.pi/skills/cloudflare/references/durable-objects/README.md +125 -0
  131. package/dist/template/.pi/skills/cloudflare/references/durable-objects/api.md +152 -0
  132. package/dist/template/.pi/skills/cloudflare/references/durable-objects/configuration.md +148 -0
  133. package/dist/template/.pi/skills/cloudflare/references/durable-objects/gotchas.md +158 -0
  134. package/dist/template/.pi/skills/cloudflare/references/durable-objects/patterns.md +255 -0
  135. package/dist/template/.pi/skills/cloudflare/references/email-routing/README.md +18 -0
  136. package/dist/template/.pi/skills/cloudflare/references/email-routing/api.md +46 -0
  137. package/dist/template/.pi/skills/cloudflare/references/email-routing/configuration.md +63 -0
  138. package/dist/template/.pi/skills/cloudflare/references/email-routing/gotchas.md +16 -0
  139. package/dist/template/.pi/skills/cloudflare/references/email-routing/patterns.md +46 -0
  140. package/dist/template/.pi/skills/cloudflare/references/email-workers/README.md +598 -0
  141. package/dist/template/.pi/skills/cloudflare/references/hyperdrive/README.md +62 -0
  142. package/dist/template/.pi/skills/cloudflare/references/hyperdrive/api.md +137 -0
  143. package/dist/template/.pi/skills/cloudflare/references/hyperdrive/configuration.md +133 -0
  144. package/dist/template/.pi/skills/cloudflare/references/hyperdrive/gotchas.md +184 -0
  145. package/dist/template/.pi/skills/cloudflare/references/hyperdrive/patterns.md +176 -0
  146. package/dist/template/.pi/skills/cloudflare/references/images/README.md +14 -0
  147. package/dist/template/.pi/skills/cloudflare/references/images/api.md +3 -0
  148. package/dist/template/.pi/skills/cloudflare/references/images/configuration.md +45 -0
  149. package/dist/template/.pi/skills/cloudflare/references/images/gotchas.md +23 -0
  150. package/dist/template/.pi/skills/cloudflare/references/images/patterns.md +31 -0
  151. package/dist/template/.pi/skills/cloudflare/references/kv/README.md +60 -0
  152. package/dist/template/.pi/skills/cloudflare/references/kv/api.md +114 -0
  153. package/dist/template/.pi/skills/cloudflare/references/kv/configuration.md +92 -0
  154. package/dist/template/.pi/skills/cloudflare/references/kv/gotchas.md +117 -0
  155. package/dist/template/.pi/skills/cloudflare/references/kv/patterns.md +139 -0
  156. package/dist/template/.pi/skills/cloudflare/references/miniflare/README.md +64 -0
  157. package/dist/template/.pi/skills/cloudflare/references/miniflare/api.md +144 -0
  158. package/dist/template/.pi/skills/cloudflare/references/miniflare/configuration.md +203 -0
  159. package/dist/template/.pi/skills/cloudflare/references/miniflare/gotchas.md +187 -0
  160. package/dist/template/.pi/skills/cloudflare/references/miniflare/patterns.md +211 -0
  161. package/dist/template/.pi/skills/cloudflare/references/network-interconnect/README.md +60 -0
  162. package/dist/template/.pi/skills/cloudflare/references/network-interconnect/api.md +240 -0
  163. package/dist/template/.pi/skills/cloudflare/references/network-interconnect/configuration.md +127 -0
  164. package/dist/template/.pi/skills/cloudflare/references/network-interconnect/gotchas.md +171 -0
  165. package/dist/template/.pi/skills/cloudflare/references/network-interconnect/patterns.md +171 -0
  166. package/dist/template/.pi/skills/cloudflare/references/observability/README.md +18 -0
  167. package/dist/template/.pi/skills/cloudflare/references/observability/api.md +51 -0
  168. package/dist/template/.pi/skills/cloudflare/references/observability/configuration.md +60 -0
  169. package/dist/template/.pi/skills/cloudflare/references/observability/gotchas.md +36 -0
  170. package/dist/template/.pi/skills/cloudflare/references/observability/patterns.md +42 -0
  171. package/dist/template/.pi/skills/cloudflare/references/pages/README.md +76 -0
  172. package/dist/template/.pi/skills/cloudflare/references/pages/api.md +200 -0
  173. package/dist/template/.pi/skills/cloudflare/references/pages/configuration.md +228 -0
  174. package/dist/template/.pi/skills/cloudflare/references/pages/gotchas.md +161 -0
  175. package/dist/template/.pi/skills/cloudflare/references/pages/patterns.md +145 -0
  176. package/dist/template/.pi/skills/cloudflare/references/pages-functions/README.md +57 -0
  177. package/dist/template/.pi/skills/cloudflare/references/pages-functions/api.md +201 -0
  178. package/dist/template/.pi/skills/cloudflare/references/pages-functions/configuration.md +159 -0
  179. package/dist/template/.pi/skills/cloudflare/references/pages-functions/gotchas.md +151 -0
  180. package/dist/template/.pi/skills/cloudflare/references/pages-functions/patterns.md +190 -0
  181. package/dist/template/.pi/skills/cloudflare/references/pipelines/README.md +664 -0
  182. package/dist/template/.pi/skills/cloudflare/references/pulumi/README.md +107 -0
  183. package/dist/template/.pi/skills/cloudflare/references/pulumi/api.md +194 -0
  184. package/dist/template/.pi/skills/cloudflare/references/pulumi/configuration.md +216 -0
  185. package/dist/template/.pi/skills/cloudflare/references/pulumi/gotchas.md +223 -0
  186. package/dist/template/.pi/skills/cloudflare/references/pulumi/patterns.md +139 -0
  187. package/dist/template/.pi/skills/cloudflare/references/queues/README.md +69 -0
  188. package/dist/template/.pi/skills/cloudflare/references/queues/api.md +138 -0
  189. package/dist/template/.pi/skills/cloudflare/references/queues/configuration.md +125 -0
  190. package/dist/template/.pi/skills/cloudflare/references/queues/gotchas.md +112 -0
  191. package/dist/template/.pi/skills/cloudflare/references/queues/patterns.md +155 -0
  192. package/dist/template/.pi/skills/cloudflare/references/r2/README.md +61 -0
  193. package/dist/template/.pi/skills/cloudflare/references/r2/api.md +127 -0
  194. package/dist/template/.pi/skills/cloudflare/references/r2/configuration.md +76 -0
  195. package/dist/template/.pi/skills/cloudflare/references/r2/gotchas.md +94 -0
  196. package/dist/template/.pi/skills/cloudflare/references/r2/patterns.md +127 -0
  197. package/dist/template/.pi/skills/cloudflare/references/r2-data-catalog/README.md +18 -0
  198. package/dist/template/.pi/skills/cloudflare/references/r2-data-catalog/api.md +29 -0
  199. package/dist/template/.pi/skills/cloudflare/references/r2-data-catalog/configuration.md +39 -0
  200. package/dist/template/.pi/skills/cloudflare/references/r2-data-catalog/gotchas.md +20 -0
  201. package/dist/template/.pi/skills/cloudflare/references/r2-data-catalog/patterns.md +46 -0
  202. package/dist/template/.pi/skills/cloudflare/references/r2-sql/README.md +512 -0
  203. package/dist/template/.pi/skills/cloudflare/references/realtime-sfu/README.md +21 -0
  204. package/dist/template/.pi/skills/cloudflare/references/realtime-sfu/api.md +135 -0
  205. package/dist/template/.pi/skills/cloudflare/references/realtime-sfu/configuration.md +63 -0
  206. package/dist/template/.pi/skills/cloudflare/references/realtime-sfu/gotchas.md +75 -0
  207. package/dist/template/.pi/skills/cloudflare/references/realtime-sfu/patterns.md +102 -0
  208. package/dist/template/.pi/skills/cloudflare/references/realtimekit/README.md +81 -0
  209. package/dist/template/.pi/skills/cloudflare/references/realtimekit/api.md +164 -0
  210. package/dist/template/.pi/skills/cloudflare/references/realtimekit/configuration.md +147 -0
  211. package/dist/template/.pi/skills/cloudflare/references/realtimekit/gotchas.md +172 -0
  212. package/dist/template/.pi/skills/cloudflare/references/realtimekit/patterns.md +155 -0
  213. package/dist/template/.pi/skills/cloudflare/references/sandbox/README.md +90 -0
  214. package/dist/template/.pi/skills/cloudflare/references/sandbox/api.md +178 -0
  215. package/dist/template/.pi/skills/cloudflare/references/sandbox/configuration.md +131 -0
  216. package/dist/template/.pi/skills/cloudflare/references/sandbox/gotchas.md +156 -0
  217. package/dist/template/.pi/skills/cloudflare/references/sandbox/patterns.md +203 -0
  218. package/dist/template/.pi/skills/cloudflare/references/secrets-store/README.md +58 -0
  219. package/dist/template/.pi/skills/cloudflare/references/secrets-store/api.md +182 -0
  220. package/dist/template/.pi/skills/cloudflare/references/secrets-store/configuration.md +140 -0
  221. package/dist/template/.pi/skills/cloudflare/references/secrets-store/gotchas.md +129 -0
  222. package/dist/template/.pi/skills/cloudflare/references/secrets-store/patterns.md +218 -0
  223. package/dist/template/.pi/skills/cloudflare/references/smart-placement/README.md +91 -0
  224. package/dist/template/.pi/skills/cloudflare/references/smart-placement/api.md +139 -0
  225. package/dist/template/.pi/skills/cloudflare/references/smart-placement/configuration.md +129 -0
  226. package/dist/template/.pi/skills/cloudflare/references/smart-placement/gotchas.md +87 -0
  227. package/dist/template/.pi/skills/cloudflare/references/smart-placement/patterns.md +135 -0
  228. package/dist/template/.pi/skills/cloudflare/references/snippets/README.md +15 -0
  229. package/dist/template/.pi/skills/cloudflare/references/snippets/api.md +47 -0
  230. package/dist/template/.pi/skills/cloudflare/references/snippets/configuration.md +33 -0
  231. package/dist/template/.pi/skills/cloudflare/references/snippets/gotchas.md +21 -0
  232. package/dist/template/.pi/skills/cloudflare/references/snippets/patterns.md +34 -0
  233. package/dist/template/.pi/skills/cloudflare/references/spectrum/README.md +16 -0
  234. package/dist/template/.pi/skills/cloudflare/references/spectrum/api.md +24 -0
  235. package/dist/template/.pi/skills/cloudflare/references/spectrum/configuration.md +43 -0
  236. package/dist/template/.pi/skills/cloudflare/references/spectrum/gotchas.md +42 -0
  237. package/dist/template/.pi/skills/cloudflare/references/spectrum/patterns.md +40 -0
  238. package/dist/template/.pi/skills/cloudflare/references/static-assets/README.md +14 -0
  239. package/dist/template/.pi/skills/cloudflare/references/static-assets/api.md +3 -0
  240. package/dist/template/.pi/skills/cloudflare/references/static-assets/configuration.md +47 -0
  241. package/dist/template/.pi/skills/cloudflare/references/static-assets/gotchas.md +44 -0
  242. package/dist/template/.pi/skills/cloudflare/references/static-assets/patterns.md +42 -0
  243. package/dist/template/.pi/skills/cloudflare/references/stream/README.md +103 -0
  244. package/dist/template/.pi/skills/cloudflare/references/stream/api.md +204 -0
  245. package/dist/template/.pi/skills/cloudflare/references/stream/configuration.md +127 -0
  246. package/dist/template/.pi/skills/cloudflare/references/stream/gotchas.md +131 -0
  247. package/dist/template/.pi/skills/cloudflare/references/stream/patterns.md +152 -0
  248. package/dist/template/.pi/skills/cloudflare/references/tail-workers/README.md +640 -0
  249. package/dist/template/.pi/skills/cloudflare/references/terraform/README.md +76 -0
  250. package/dist/template/.pi/skills/cloudflare/references/terraform/api.md +159 -0
  251. package/dist/template/.pi/skills/cloudflare/references/terraform/configuration.md +156 -0
  252. package/dist/template/.pi/skills/cloudflare/references/terraform/gotchas.md +207 -0
  253. package/dist/template/.pi/skills/cloudflare/references/terraform/patterns.md +135 -0
  254. package/dist/template/.pi/skills/cloudflare/references/tunnel/README.md +82 -0
  255. package/dist/template/.pi/skills/cloudflare/references/tunnel/api.md +105 -0
  256. package/dist/template/.pi/skills/cloudflare/references/tunnel/configuration.md +113 -0
  257. package/dist/template/.pi/skills/cloudflare/references/tunnel/gotchas.md +115 -0
  258. package/dist/template/.pi/skills/cloudflare/references/tunnel/patterns.md +157 -0
  259. package/dist/template/.pi/skills/cloudflare/references/turn/README.md +699 -0
  260. package/dist/template/.pi/skills/cloudflare/references/turnstile/README.md +14 -0
  261. package/dist/template/.pi/skills/cloudflare/references/turnstile/api.md +3 -0
  262. package/dist/template/.pi/skills/cloudflare/references/turnstile/configuration.md +19 -0
  263. package/dist/template/.pi/skills/cloudflare/references/turnstile/gotchas.md +27 -0
  264. package/dist/template/.pi/skills/cloudflare/references/turnstile/patterns.md +41 -0
  265. package/dist/template/.pi/skills/cloudflare/references/vectorize/README.md +682 -0
  266. package/dist/template/.pi/skills/cloudflare/references/waf/README.md +14 -0
  267. package/dist/template/.pi/skills/cloudflare/references/waf/api.md +3 -0
  268. package/dist/template/.pi/skills/cloudflare/references/waf/configuration.md +44 -0
  269. package/dist/template/.pi/skills/cloudflare/references/waf/gotchas.md +24 -0
  270. package/dist/template/.pi/skills/cloudflare/references/waf/patterns.md +29 -0
  271. package/dist/template/.pi/skills/cloudflare/references/web-analytics/README.md +19 -0
  272. package/dist/template/.pi/skills/cloudflare/references/web-analytics/api.md +52 -0
  273. package/dist/template/.pi/skills/cloudflare/references/web-analytics/configuration.md +31 -0
  274. package/dist/template/.pi/skills/cloudflare/references/web-analytics/gotchas.md +28 -0
  275. package/dist/template/.pi/skills/cloudflare/references/web-analytics/patterns.md +52 -0
  276. package/dist/template/.pi/skills/cloudflare/references/workerd/README.md +47 -0
  277. package/dist/template/.pi/skills/cloudflare/references/workerd/api.md +199 -0
  278. package/dist/template/.pi/skills/cloudflare/references/workerd/configuration.md +185 -0
  279. package/dist/template/.pi/skills/cloudflare/references/workerd/gotchas.md +203 -0
  280. package/dist/template/.pi/skills/cloudflare/references/workerd/patterns.md +216 -0
  281. package/dist/template/.pi/skills/cloudflare/references/workers/README.md +96 -0
  282. package/dist/template/.pi/skills/cloudflare/references/workers/api.md +137 -0
  283. package/dist/template/.pi/skills/cloudflare/references/workers/configuration.md +147 -0
  284. package/dist/template/.pi/skills/cloudflare/references/workers/gotchas.md +99 -0
  285. package/dist/template/.pi/skills/cloudflare/references/workers/patterns.md +149 -0
  286. package/dist/template/.pi/skills/cloudflare/references/workers-ai/README.md +116 -0
  287. package/dist/template/.pi/skills/cloudflare/references/workers-for-platforms/README.md +48 -0
  288. package/dist/template/.pi/skills/cloudflare/references/workers-for-platforms/api.md +169 -0
  289. package/dist/template/.pi/skills/cloudflare/references/workers-for-platforms/configuration.md +136 -0
  290. package/dist/template/.pi/skills/cloudflare/references/workers-for-platforms/gotchas.md +130 -0
  291. package/dist/template/.pi/skills/cloudflare/references/workers-for-platforms/patterns.md +170 -0
  292. package/dist/template/.pi/skills/cloudflare/references/workers-playground/README.md +16 -0
  293. package/dist/template/.pi/skills/cloudflare/references/workers-playground/api.md +20 -0
  294. package/dist/template/.pi/skills/cloudflare/references/workers-playground/configuration.md +3 -0
  295. package/dist/template/.pi/skills/cloudflare/references/workers-playground/gotchas.md +35 -0
  296. package/dist/template/.pi/skills/cloudflare/references/workers-playground/patterns.md +42 -0
  297. package/dist/template/.pi/skills/cloudflare/references/workers-vpc/README.md +579 -0
  298. package/dist/template/.pi/skills/cloudflare/references/workflows/README.md +62 -0
  299. package/dist/template/.pi/skills/cloudflare/references/workflows/api.md +125 -0
  300. package/dist/template/.pi/skills/cloudflare/references/workflows/configuration.md +177 -0
  301. package/dist/template/.pi/skills/cloudflare/references/workflows/gotchas.md +136 -0
  302. package/dist/template/.pi/skills/cloudflare/references/workflows/patterns.md +132 -0
  303. package/dist/template/.pi/skills/cloudflare/references/wrangler/README.md +90 -0
  304. package/dist/template/.pi/skills/cloudflare/references/wrangler/api.md +140 -0
  305. package/dist/template/.pi/skills/cloudflare/references/wrangler/configuration.md +128 -0
  306. package/dist/template/.pi/skills/cloudflare/references/wrangler/gotchas.md +93 -0
  307. package/dist/template/.pi/skills/cloudflare/references/wrangler/patterns.md +150 -0
  308. package/dist/template/.pi/skills/cloudflare/references/zaraz/README.md +360 -0
  309. package/dist/template/.pi/skills/code-cleanup/SKILL.md +232 -0
  310. package/dist/template/.pi/skills/code-review-and-quality/SKILL.md +344 -0
  311. package/dist/template/.pi/skills/code-simplification/SKILL.md +348 -0
  312. package/dist/template/.pi/skills/context-engineering/SKILL.md +296 -0
  313. package/dist/template/.pi/skills/core-data-expert/SKILL.md +117 -0
  314. package/dist/template/.pi/skills/core-data-expert/references/batch-operations.md +543 -0
  315. package/dist/template/.pi/skills/core-data-expert/references/cloudkit-integration.md +259 -0
  316. package/dist/template/.pi/skills/core-data-expert/references/concurrency.md +522 -0
  317. package/dist/template/.pi/skills/core-data-expert/references/fetch-requests.md +643 -0
  318. package/dist/template/.pi/skills/core-data-expert/references/glossary.md +233 -0
  319. package/dist/template/.pi/skills/core-data-expert/references/migration.md +393 -0
  320. package/dist/template/.pi/skills/core-data-expert/references/model-configuration.md +597 -0
  321. package/dist/template/.pi/skills/core-data-expert/references/performance.md +300 -0
  322. package/dist/template/.pi/skills/core-data-expert/references/persistent-history.md +553 -0
  323. package/dist/template/.pi/skills/core-data-expert/references/project-audit.md +60 -0
  324. package/dist/template/.pi/skills/core-data-expert/references/saving.md +574 -0
  325. package/dist/template/.pi/skills/core-data-expert/references/stack-setup.md +625 -0
  326. package/dist/template/.pi/skills/core-data-expert/references/testing.md +300 -0
  327. package/dist/template/.pi/skills/core-data-expert/references/threading.md +589 -0
  328. package/dist/template/.pi/skills/debugging-and-error-recovery/SKILL.md +274 -0
  329. package/dist/template/.pi/skills/deep-module-design/SKILL.md +218 -0
  330. package/dist/template/.pi/skills/defense-in-depth/SKILL.md +161 -0
  331. package/dist/template/.pi/skills/deprecation-and-migration/SKILL.md +186 -0
  332. package/dist/template/.pi/skills/design-system-audit/SKILL.md +176 -0
  333. package/dist/template/.pi/skills/design-taste-frontend/SKILL.md +255 -0
  334. package/dist/template/.pi/skills/development-lifecycle/SKILL.md +285 -0
  335. package/dist/template/.pi/skills/documentation-and-adrs/SKILL.md +217 -0
  336. package/dist/template/.pi/skills/doubt-driven-development/SKILL.md +207 -0
  337. package/dist/template/.pi/skills/fallow/SKILL.md +457 -0
  338. package/dist/template/.pi/skills/fallow/references/cli-reference.md +1905 -0
  339. package/dist/template/.pi/skills/fallow/references/gotchas.md +644 -0
  340. package/dist/template/.pi/skills/fallow/references/patterns.md +791 -0
  341. package/dist/template/.pi/skills/figma/SKILL.md +241 -0
  342. package/dist/template/.pi/skills/frontend-design/SKILL.md +262 -0
  343. package/dist/template/.pi/skills/frontend-design/references/animation/motion-advanced.md +224 -0
  344. package/dist/template/.pi/skills/frontend-design/references/animation/motion-core.md +181 -0
  345. package/dist/template/.pi/skills/frontend-design/references/canvas/execution.md +90 -0
  346. package/dist/template/.pi/skills/frontend-design/references/canvas/philosophy.md +94 -0
  347. package/dist/template/.pi/skills/frontend-design/references/design/color-system.md +111 -0
  348. package/dist/template/.pi/skills/frontend-design/references/design/interaction.md +149 -0
  349. package/dist/template/.pi/skills/frontend-design/references/design/typography-rules.md +106 -0
  350. package/dist/template/.pi/skills/frontend-design/references/design/ux-writing.md +99 -0
  351. package/dist/template/.pi/skills/frontend-design/references/shadcn/accessibility.md +132 -0
  352. package/dist/template/.pi/skills/frontend-design/references/shadcn/core-components.md +153 -0
  353. package/dist/template/.pi/skills/frontend-design/references/shadcn/form-components.md +158 -0
  354. package/dist/template/.pi/skills/frontend-design/references/shadcn/setup.md +69 -0
  355. package/dist/template/.pi/skills/frontend-design/references/shadcn/theming.md +152 -0
  356. package/dist/template/.pi/skills/frontend-design/references/tailwind/responsive.md +112 -0
  357. package/dist/template/.pi/skills/frontend-design/references/tailwind/utilities-layout.md +134 -0
  358. package/dist/template/.pi/skills/frontend-design/references/tailwind/utilities-styling.md +165 -0
  359. package/dist/template/.pi/skills/frontend-design/references/tailwind/v4-config.md +147 -0
  360. package/dist/template/.pi/skills/frontend-design/references/tailwind/v4-features.md +128 -0
  361. package/dist/template/.pi/skills/frontend-ui-engineering/SKILL.md +217 -0
  362. package/dist/template/.pi/skills/gemini-large-context/SKILL.md +238 -0
  363. package/dist/template/.pi/skills/git-workflow-and-versioning/SKILL.md +217 -0
  364. package/dist/template/.pi/skills/grill-me/SKILL.md +162 -0
  365. package/dist/template/.pi/skills/high-end-visual-design/SKILL.md +128 -0
  366. package/dist/template/.pi/skills/idea-refine/SKILL.md +195 -0
  367. package/dist/template/.pi/skills/idea-refine/examples.md +62 -0
  368. package/dist/template/.pi/skills/idea-refine/frameworks.md +63 -0
  369. package/dist/template/.pi/skills/idea-refine/refinement-criteria.md +56 -0
  370. package/dist/template/.pi/skills/incremental-implementation/SKILL.md +190 -0
  371. package/dist/template/.pi/skills/industrial-brutalist-ui/SKILL.md +131 -0
  372. package/dist/template/.pi/skills/interview-me/SKILL.md +227 -0
  373. package/dist/template/.pi/skills/jira/SKILL.md +306 -0
  374. package/dist/template/.pi/skills/loop-audit/SKILL.md +141 -0
  375. package/dist/template/.pi/skills/loop-cost/SKILL.md +130 -0
  376. package/dist/template/.pi/skills/loop-engineering/SKILL.md +175 -0
  377. package/dist/template/.pi/skills/minimalist-ui/SKILL.md +124 -0
  378. package/dist/template/.pi/skills/mockup-to-code/SKILL.md +197 -0
  379. package/dist/template/.pi/skills/observability-and-instrumentation/SKILL.md +202 -0
  380. package/dist/template/.pi/skills/opensrc/SKILL.md +297 -0
  381. package/dist/template/.pi/skills/opensrc/references/architecture.md +176 -0
  382. package/dist/template/.pi/skills/opensrc/references/cli-usage.md +176 -0
  383. package/dist/template/.pi/skills/opensrc/references/registry-support.md +137 -0
  384. package/dist/template/.pi/skills/pdf-extract/SKILL.md +461 -0
  385. package/dist/template/.pi/skills/performance-optimization/SKILL.md +233 -0
  386. package/dist/template/.pi/skills/performance-optimization/references/performance-checklist.md +85 -0
  387. package/dist/template/.pi/skills/planning-and-task-breakdown/SKILL.md +204 -0
  388. package/dist/template/.pi/skills/playwright/SKILL.md +404 -0
  389. package/dist/template/.pi/skills/playwright/references/agent-browser-cli.md +405 -0
  390. package/dist/template/.pi/skills/polar/SKILL.md +125 -0
  391. package/dist/template/.pi/skills/react-best-practices/SKILL.md +156 -0
  392. package/dist/template/.pi/skills/react-best-practices/rules/_sections.md +46 -0
  393. package/dist/template/.pi/skills/react-best-practices/rules/_template.md +28 -0
  394. package/dist/template/.pi/skills/react-best-practices/rules/advanced-event-handler-refs.md +55 -0
  395. package/dist/template/.pi/skills/react-best-practices/rules/advanced-use-latest.md +49 -0
  396. package/dist/template/.pi/skills/react-best-practices/rules/async-api-routes.md +38 -0
  397. package/dist/template/.pi/skills/react-best-practices/rules/async-defer-await.md +80 -0
  398. package/dist/template/.pi/skills/react-best-practices/rules/async-dependencies.md +36 -0
  399. package/dist/template/.pi/skills/react-best-practices/rules/async-parallel.md +28 -0
  400. package/dist/template/.pi/skills/react-best-practices/rules/async-suspense-boundaries.md +99 -0
  401. package/dist/template/.pi/skills/react-best-practices/rules/bundle-barrel-imports.md +59 -0
  402. package/dist/template/.pi/skills/react-best-practices/rules/bundle-conditional.md +31 -0
  403. package/dist/template/.pi/skills/react-best-practices/rules/bundle-defer-third-party.md +49 -0
  404. package/dist/template/.pi/skills/react-best-practices/rules/bundle-dynamic-imports.md +35 -0
  405. package/dist/template/.pi/skills/react-best-practices/rules/bundle-preload.md +50 -0
  406. package/dist/template/.pi/skills/react-best-practices/rules/client-event-listeners.md +74 -0
  407. package/dist/template/.pi/skills/react-best-practices/rules/client-localstorage-schema.md +71 -0
  408. package/dist/template/.pi/skills/react-best-practices/rules/client-passive-event-listeners.md +48 -0
  409. package/dist/template/.pi/skills/react-best-practices/rules/client-swr-dedup.md +56 -0
  410. package/dist/template/.pi/skills/react-best-practices/rules/js-batch-dom-css.md +82 -0
  411. package/dist/template/.pi/skills/react-best-practices/rules/js-cache-function-results.md +80 -0
  412. package/dist/template/.pi/skills/react-best-practices/rules/js-cache-property-access.md +28 -0
  413. package/dist/template/.pi/skills/react-best-practices/rules/js-cache-storage.md +70 -0
  414. package/dist/template/.pi/skills/react-best-practices/rules/js-combine-iterations.md +32 -0
  415. package/dist/template/.pi/skills/react-best-practices/rules/js-early-exit.md +50 -0
  416. package/dist/template/.pi/skills/react-best-practices/rules/js-hoist-regexp.md +45 -0
  417. package/dist/template/.pi/skills/react-best-practices/rules/js-index-maps.md +37 -0
  418. package/dist/template/.pi/skills/react-best-practices/rules/js-length-check-first.md +49 -0
  419. package/dist/template/.pi/skills/react-best-practices/rules/js-min-max-loop.md +82 -0
  420. package/dist/template/.pi/skills/react-best-practices/rules/js-set-map-lookups.md +24 -0
  421. package/dist/template/.pi/skills/react-best-practices/rules/js-tosorted-immutable.md +57 -0
  422. package/dist/template/.pi/skills/react-best-practices/rules/rendering-activity.md +26 -0
  423. package/dist/template/.pi/skills/react-best-practices/rules/rendering-animate-svg-wrapper.md +47 -0
  424. package/dist/template/.pi/skills/react-best-practices/rules/rendering-conditional-render.md +40 -0
  425. package/dist/template/.pi/skills/react-best-practices/rules/rendering-content-visibility.md +38 -0
  426. package/dist/template/.pi/skills/react-best-practices/rules/rendering-hoist-jsx.md +46 -0
  427. package/dist/template/.pi/skills/react-best-practices/rules/rendering-hydration-no-flicker.md +82 -0
  428. package/dist/template/.pi/skills/react-best-practices/rules/rendering-svg-precision.md +28 -0
  429. package/dist/template/.pi/skills/react-best-practices/rules/rerender-defer-reads.md +39 -0
  430. package/dist/template/.pi/skills/react-best-practices/rules/rerender-dependencies.md +45 -0
  431. package/dist/template/.pi/skills/react-best-practices/rules/rerender-derived-state.md +29 -0
  432. package/dist/template/.pi/skills/react-best-practices/rules/rerender-functional-setstate.md +74 -0
  433. package/dist/template/.pi/skills/react-best-practices/rules/rerender-lazy-state-init.md +58 -0
  434. package/dist/template/.pi/skills/react-best-practices/rules/rerender-memo.md +44 -0
  435. package/dist/template/.pi/skills/react-best-practices/rules/rerender-transitions.md +40 -0
  436. package/dist/template/.pi/skills/react-best-practices/rules/server-after-nonblocking.md +73 -0
  437. package/dist/template/.pi/skills/react-best-practices/rules/server-cache-lru.md +41 -0
  438. package/dist/template/.pi/skills/react-best-practices/rules/server-cache-react.md +76 -0
  439. package/dist/template/.pi/skills/react-best-practices/rules/server-parallel-fetching.md +83 -0
  440. package/dist/template/.pi/skills/react-best-practices/rules/server-serialization.md +38 -0
  441. package/dist/template/.pi/skills/redesign-existing-projects/SKILL.md +217 -0
  442. package/dist/template/.pi/skills/resend/SKILL.md +196 -0
  443. package/dist/template/.pi/skills/resend/references/react-email.md +287 -0
  444. package/dist/template/.pi/skills/resend/references/receive-email.md +248 -0
  445. package/dist/template/.pi/skills/resend/references/send-email.md +318 -0
  446. package/dist/template/.pi/skills/root-cause-tracing/SKILL.md +216 -0
  447. package/dist/template/.pi/skills/security-and-hardening/SKILL.md +293 -0
  448. package/dist/template/.pi/skills/security-and-hardening/references/security-checklist.md +105 -0
  449. package/dist/template/.pi/skills/shipping-and-launch/SKILL.md +101 -0
  450. package/dist/template/.pi/skills/source-driven-development/SKILL.md +108 -0
  451. package/dist/template/.pi/skills/spec-driven-development/SKILL.md +177 -0
  452. package/dist/template/.pi/skills/srcwalk/SKILL.md +182 -0
  453. package/dist/template/.pi/skills/subagent-driven-development/SKILL.md +253 -0
  454. package/dist/template/.pi/skills/supabase/SKILL.md +153 -0
  455. package/dist/template/.pi/skills/supabase-postgres-best-practices/SKILL.md +88 -0
  456. package/dist/template/.pi/skills/supabase-postgres-best-practices/rules/advanced-full-text-search.md +55 -0
  457. package/dist/template/.pi/skills/supabase-postgres-best-practices/rules/advanced-jsonb-indexing.md +49 -0
  458. package/dist/template/.pi/skills/supabase-postgres-best-practices/rules/conn-idle-timeout.md +46 -0
  459. package/dist/template/.pi/skills/supabase-postgres-best-practices/rules/conn-limits.md +44 -0
  460. package/dist/template/.pi/skills/supabase-postgres-best-practices/rules/conn-pooling.md +41 -0
  461. package/dist/template/.pi/skills/supabase-postgres-best-practices/rules/conn-prepared-statements.md +46 -0
  462. package/dist/template/.pi/skills/supabase-postgres-best-practices/rules/data-batch-inserts.md +54 -0
  463. package/dist/template/.pi/skills/supabase-postgres-best-practices/rules/data-n-plus-one.md +53 -0
  464. package/dist/template/.pi/skills/supabase-postgres-best-practices/rules/data-pagination.md +50 -0
  465. package/dist/template/.pi/skills/supabase-postgres-best-practices/rules/data-upsert.md +50 -0
  466. package/dist/template/.pi/skills/supabase-postgres-best-practices/rules/lock-advisory.md +56 -0
  467. package/dist/template/.pi/skills/supabase-postgres-best-practices/rules/lock-deadlock-prevention.md +68 -0
  468. package/dist/template/.pi/skills/supabase-postgres-best-practices/rules/lock-short-transactions.md +50 -0
  469. package/dist/template/.pi/skills/supabase-postgres-best-practices/rules/lock-skip-locked.md +54 -0
  470. package/dist/template/.pi/skills/supabase-postgres-best-practices/rules/monitor-explain-analyze.md +45 -0
  471. package/dist/template/.pi/skills/supabase-postgres-best-practices/rules/monitor-pg-stat-statements.md +55 -0
  472. package/dist/template/.pi/skills/supabase-postgres-best-practices/rules/monitor-vacuum-analyze.md +55 -0
  473. package/dist/template/.pi/skills/supabase-postgres-best-practices/rules/query-composite-indexes.md +44 -0
  474. package/dist/template/.pi/skills/supabase-postgres-best-practices/rules/query-covering-indexes.md +40 -0
  475. package/dist/template/.pi/skills/supabase-postgres-best-practices/rules/query-index-types.md +45 -0
  476. package/dist/template/.pi/skills/supabase-postgres-best-practices/rules/query-missing-indexes.md +43 -0
  477. package/dist/template/.pi/skills/supabase-postgres-best-practices/rules/query-partial-indexes.md +45 -0
  478. package/dist/template/.pi/skills/supabase-postgres-best-practices/rules/schema-data-types.md +46 -0
  479. package/dist/template/.pi/skills/supabase-postgres-best-practices/rules/schema-foreign-key-indexes.md +59 -0
  480. package/dist/template/.pi/skills/supabase-postgres-best-practices/rules/schema-lowercase-identifiers.md +55 -0
  481. package/dist/template/.pi/skills/supabase-postgres-best-practices/rules/schema-partitioning.md +55 -0
  482. package/dist/template/.pi/skills/supabase-postgres-best-practices/rules/schema-primary-keys.md +61 -0
  483. package/dist/template/.pi/skills/supabase-postgres-best-practices/rules/security-privileges.md +54 -0
  484. package/dist/template/.pi/skills/supabase-postgres-best-practices/rules/security-rls-basics.md +50 -0
  485. package/dist/template/.pi/skills/supabase-postgres-best-practices/rules/security-rls-performance.md +57 -0
  486. package/dist/template/.pi/skills/swift-concurrency/SKILL.md +290 -0
  487. package/dist/template/.pi/skills/swift-concurrency/references/actors.md +640 -0
  488. package/dist/template/.pi/skills/swift-concurrency/references/async-algorithms.md +822 -0
  489. package/dist/template/.pi/skills/swift-concurrency/references/async-await-basics.md +249 -0
  490. package/dist/template/.pi/skills/swift-concurrency/references/async-sequences.md +670 -0
  491. package/dist/template/.pi/skills/swift-concurrency/references/core-data.md +533 -0
  492. package/dist/template/.pi/skills/swift-concurrency/references/glossary.md +128 -0
  493. package/dist/template/.pi/skills/swift-concurrency/references/linting.md +142 -0
  494. package/dist/template/.pi/skills/swift-concurrency/references/memory-management.md +542 -0
  495. package/dist/template/.pi/skills/swift-concurrency/references/migration.md +1076 -0
  496. package/dist/template/.pi/skills/swift-concurrency/references/performance.md +574 -0
  497. package/dist/template/.pi/skills/swift-concurrency/references/sendable.md +578 -0
  498. package/dist/template/.pi/skills/swift-concurrency/references/tasks.md +604 -0
  499. package/dist/template/.pi/skills/swift-concurrency/references/testing.md +565 -0
  500. package/dist/template/.pi/skills/swift-concurrency/references/threading.md +452 -0
  501. package/dist/template/.pi/skills/swiftui-expert-skill/SKILL.md +343 -0
  502. package/dist/template/.pi/skills/swiftui-expert-skill/references/animation-advanced.md +351 -0
  503. package/dist/template/.pi/skills/swiftui-expert-skill/references/animation-basics.md +284 -0
  504. package/dist/template/.pi/skills/swiftui-expert-skill/references/animation-transitions.md +326 -0
  505. package/dist/template/.pi/skills/swiftui-expert-skill/references/image-optimization.md +286 -0
  506. package/dist/template/.pi/skills/swiftui-expert-skill/references/layout-best-practices.md +312 -0
  507. package/dist/template/.pi/skills/swiftui-expert-skill/references/liquid-glass.md +377 -0
  508. package/dist/template/.pi/skills/swiftui-expert-skill/references/list-patterns.md +153 -0
  509. package/dist/template/.pi/skills/swiftui-expert-skill/references/modern-apis.md +400 -0
  510. package/dist/template/.pi/skills/swiftui-expert-skill/references/performance-patterns.md +377 -0
  511. package/dist/template/.pi/skills/swiftui-expert-skill/references/scroll-patterns.md +305 -0
  512. package/dist/template/.pi/skills/swiftui-expert-skill/references/sheet-navigation-patterns.md +292 -0
  513. package/dist/template/.pi/skills/swiftui-expert-skill/references/state-management.md +447 -0
  514. package/dist/template/.pi/skills/swiftui-expert-skill/references/text-formatting.md +285 -0
  515. package/dist/template/.pi/skills/swiftui-expert-skill/references/view-structure.md +276 -0
  516. package/dist/template/.pi/skills/test-driven-development/SKILL.md +400 -0
  517. package/dist/template/.pi/skills/test-driven-development/references/testing-patterns.md +155 -0
  518. package/dist/template/.pi/skills/testing-anti-patterns/SKILL.md +339 -0
  519. package/dist/template/.pi/skills/using-agent-skills/SKILL.md +371 -0
  520. package/dist/template/.pi/skills/using-git-worktrees/SKILL.md +275 -0
  521. package/dist/template/.pi/skills/vercel-deploy-claimable/SKILL.md +144 -0
  522. package/dist/template/.pi/skills/vercel-deploy-claimable/scripts/deploy.sh +249 -0
  523. package/dist/template/.pi/skills/verification-before-completion/SKILL.md +348 -0
  524. package/dist/template/.pi/skills/webclaw/SKILL.md +188 -0
  525. package/dist/template/.pi/skills/writing-skills/SKILL.md +329 -0
  526. package/dist/template/.pi/skills/writing-skills/references/anti-patterns.md +25 -0
  527. package/dist/template/.pi/skills/writing-skills/references/claude-search-optimization.md +140 -0
  528. package/dist/template/.pi/skills/writing-skills/references/discovery-workflow.md +11 -0
  529. package/dist/template/.pi/skills/writing-skills/references/file-organization.md +32 -0
  530. package/dist/template/.pi/skills/writing-skills/references/flowcharts-and-examples.md +57 -0
  531. package/dist/template/.pi/skills/writing-skills/references/rationalization-hardening.md +75 -0
  532. package/dist/template/.pi/skills/writing-skills/references/testing-methodology.md +397 -0
  533. package/dist/template/.pi/skills/writing-skills/references/testing-skill-types.md +52 -0
  534. package/dist/template/.pi/subagents.json +10 -0
  535. package/dist/template/.pi/templates/adr.md +47 -0
  536. package/dist/template/.pi/templates/design.md +61 -0
  537. package/dist/template/.pi/templates/loop-github-action.yml +162 -0
  538. package/dist/template/.pi/templates/loop-orchestrator.sh +514 -0
  539. package/dist/template/.pi/templates/loop-orchestrator.test.ts +332 -0
  540. package/dist/template/.pi/templates/loop-orchestrator.ts +936 -0
  541. package/dist/template/.pi/templates/loop-state.json +24 -0
  542. package/dist/template/.pi/templates/loop-state.md +98 -0
  543. package/dist/template/.pi/templates/loop-vision.md +110 -0
  544. package/dist/template/.pi/templates/prd.md +204 -0
  545. package/dist/template/.pi/templates/progress.md +55 -0
  546. package/dist/template/.pi/templates/project.md +58 -0
  547. package/dist/template/.pi/templates/proposal.md +40 -0
  548. package/dist/template/.pi/templates/review-state.json +20 -0
  549. package/dist/template/.pi/templates/roadmap.md +93 -0
  550. package/dist/template/.pi/templates/state.md +97 -0
  551. package/dist/template/.pi/templates/tasks.md +202 -0
  552. package/dist/template/.pi/templates/tech-stack.md +85 -0
  553. package/dist/template/.pi/templates/user.md +26 -0
  554. package/dist/template/.pi/workflows/INDEX.md +63 -0
  555. package/dist/template/.pi/workflows/audit-pattern.md +84 -0
  556. package/dist/template/.pi/workflows/batch-implement.md +121 -0
  557. package/dist/template/.pi/workflows/deep-research.md +89 -0
  558. package/dist/template/.pi/workflows/development-lifecycle-workflow.md +175 -0
  559. package/dist/template/.pi/workflows/garbage-collection.md +144 -0
  560. package/dist/template/.pi/workflows/quality-loop.md +211 -0
  561. package/package.json +57 -0
@@ -0,0 +1,329 @@
1
+ ---
2
+ name: writing-skills
3
+ description: Use when creating new skills, editing existing skills, or verifying skills work before deployment - applies TDD to process documentation by testing with subagents before writing, iterating until bulletproof against rationalization. Includes complete pressure testing methodology.
4
+ ---
5
+
6
+ # Writing Skills
7
+
8
+ ## When to Use
9
+
10
+ - Creating a new skill from scratch
11
+ - Editing or improving an existing skill
12
+ - Verifying a skill works correctly before deployment
13
+ - Applying TDD methodology to process documentation
14
+
15
+ ## When NOT to Use
16
+
17
+ - Routine code implementation (use `incremental-implementation` instead)
18
+ - One-off instructions that don't need to be reusable
19
+ - Quick configuration changes that don't warrant a skill
20
+
21
+ ## Overview
22
+
23
+ **Writing skills IS Test-Driven Development applied to process documentation.**
24
+
25
+ **Personal skills live in agent-specific directories (`~/.claude/skills` for Claude Code, `~/.codex/skills` for Codex)**
26
+
27
+ You write test cases (pressure scenarios with subagents), watch them fail (baseline behavior), write the skill (documentation), watch tests pass (agents comply), and refactor (close loopholes).
28
+
29
+ **Core principle:** If you didn't watch an agent fail without the skill, you don't know if the skill teaches the right thing.
30
+
31
+ **REQUIRED BACKGROUND:** You MUST understand test-driven-development before using this skill. That skill defines the fundamental RED-GREEN-REFACTOR cycle. This skill adapts TDD to documentation.
32
+
33
+ **Official guidance:** For Anthropic's official skill authoring best practices, see anthropic-best-practices.md. This document provides additional patterns and guidelines that complement the TDD-focused approach in this skill.
34
+
35
+ ## What is a Skill?
36
+
37
+ A **skill** is a reference guide for proven techniques, patterns, or tools. Skills help future Claude instances find and apply effective approaches.
38
+
39
+ **Skills are:** Reusable techniques, patterns, tools, reference guides
40
+
41
+ **Skills are NOT:** Narratives about how you solved a problem once
42
+
43
+ ## TDD Mapping for Skills
44
+
45
+ | TDD Concept | Skill Creation |
46
+ | ----------------------- | ------------------------------------------------ |
47
+ | **Test case** | Pressure scenario with subagent |
48
+ | **Production code** | Skill document (SKILL.md) |
49
+ | **Test fails (RED)** | Agent violates rule without skill (baseline) |
50
+ | **Test passes (GREEN)** | Agent complies with skill present |
51
+ | **Refactor** | Close loopholes while maintaining compliance |
52
+ | **Write test first** | Run baseline scenario BEFORE writing skill |
53
+ | **Watch it fail** | Document exact rationalizations agent uses |
54
+ | **Minimal code** | Write skill addressing those specific violations |
55
+ | **Watch it pass** | Verify agent now complies |
56
+ | **Refactor cycle** | Find new rationalizations → plug → re-verify |
57
+
58
+ The entire skill creation process follows RED-GREEN-REFACTOR.
59
+
60
+ ## When to Create a Skill
61
+
62
+ **Create when:**
63
+
64
+ - Technique wasn't intuitively obvious to you
65
+ - You'd reference this again across projects
66
+ - Pattern applies broadly (not project-specific)
67
+ - Others would benefit
68
+
69
+ **Don't create for:**
70
+
71
+ - One-off solutions
72
+ - Standard practices well-documented elsewhere
73
+ - Project-specific conventions (put in CLAUDE.md)
74
+
75
+ ## Skill Types
76
+
77
+ ### Technique
78
+
79
+ Concrete method with steps to follow (condition-based-waiting, root-cause-tracing)
80
+
81
+ ### Pattern
82
+
83
+ Way of thinking about problems (flatten-with-flags, test-invariants)
84
+
85
+ ### Reference
86
+
87
+ API docs, syntax guides, tool documentation (office docs)
88
+
89
+ ## Directory Structure
90
+
91
+ ```
92
+ skills/
93
+ skill-name/
94
+ SKILL.md # Main reference (required)
95
+ supporting-file.* # Only if needed
96
+ ```
97
+
98
+ **Flat namespace** - all skills in one searchable namespace
99
+
100
+ **Separate files for:**
101
+
102
+ 1. **Heavy reference** (100+ lines) - API docs, comprehensive syntax
103
+ 2. **Reusable tools** - Scripts, utilities, templates
104
+
105
+ **Keep inline:**
106
+
107
+ - Principles and concepts
108
+ - Code patterns (< 50 lines)
109
+ - Everything else
110
+
111
+ ## SKILL.md Structure
112
+
113
+ **Frontmatter (YAML):**
114
+
115
+ - Only two fields supported: `name` and `description`
116
+ - Max 1024 characters total
117
+ - `name`: Use letters, numbers, and hyphens only (no parentheses, special chars)
118
+ - `description`: Third-person, includes BOTH what it does AND when to use it
119
+ - Start with "Use when..." to focus on triggering conditions
120
+ - Include specific symptoms, situations, and contexts
121
+ - Keep under 500 characters if possible
122
+
123
+ ```markdown
124
+ ---
125
+ name: Skill-Name-With-Hyphens
126
+ description: Use when [specific triggering conditions and symptoms] - [what the skill does and how it helps, written in third person]
127
+ ---
128
+
129
+ # Skill Name
130
+
131
+ ## Overview
132
+
133
+ What is this? Core principle in 1-2 sentences.
134
+
135
+ ## When to Use
136
+
137
+ [Small inline flowchart IF decision non-obvious]
138
+
139
+ Bullet list with SYMPTOMS and use cases
140
+ When NOT to use
141
+
142
+ ## Core Pattern (for techniques/patterns)
143
+
144
+ Before/after code comparison
145
+
146
+ ## Quick Reference
147
+
148
+ Table or bullets for scanning common operations
149
+
150
+ ## Implementation
151
+
152
+ Inline code for simple patterns
153
+ Link to file for heavy reference or reusable tools
154
+
155
+ ## Common Mistakes
156
+
157
+ What goes wrong + fixes
158
+
159
+ ## Real-World Impact (optional)
160
+
161
+ Concrete results
162
+ ```
163
+
164
+ ## The Iron Law (Same as TDD)
165
+
166
+ ```
167
+ NO SKILL WITHOUT A FAILING TEST FIRST
168
+ ```
169
+
170
+ This applies to NEW skills AND EDITS to existing skills.
171
+
172
+ Write skill before testing? Delete it. Start over.
173
+ Edit skill without testing? Same violation.
174
+
175
+ **No exceptions:**
176
+
177
+ - Not for "simple additions"
178
+ - Not for "just adding a section"
179
+ - Not for "documentation updates"
180
+ - Don't keep untested changes as "reference"
181
+ - Don't "adapt" while running tests
182
+ - Don't look at it
183
+ - Delete means delete
184
+
185
+ **REQUIRED BACKGROUND:** The test-driven-development skill explains why this matters. Same principles apply to documentation.
186
+
187
+ ## RED-GREEN-REFACTOR for Skills
188
+
189
+ Follow the TDD cycle:
190
+
191
+ ### RED: Write Failing Test (Baseline)
192
+
193
+ Run pressure scenario with subagent WITHOUT the skill. Document exact behavior:
194
+
195
+ - What choices did they make?
196
+ - What rationalizations did they use (verbatim)?
197
+ - Which pressures triggered violations?
198
+
199
+ This is "watch the test fail" - you must see what agents naturally do before writing the skill.
200
+
201
+ ### GREEN: Write Minimal Skill
202
+
203
+ Write skill that addresses those specific rationalizations. Don't add extra content for hypothetical cases.
204
+
205
+ Run same scenarios WITH skill. Agent should now comply.
206
+
207
+ ### REFACTOR: Close Loopholes
208
+
209
+ Agent found new rationalization? Add explicit counter. Re-test until bulletproof.
210
+
211
+ **DETAILED TESTING METHODOLOGY:** See `references/testing-methodology.md` for the complete testing guide:
212
+
213
+ - Full RED-GREEN-REFACTOR testing workflow for skills
214
+ - Scenario templates and pressure campaign examples
215
+ - Rationalization hardening patterns and iteration loops
216
+ - End-to-end checklists and worked examples
217
+
218
+ ### Inline Testing Summary (Merged Essentials)
219
+
220
+ Use this quick inline summary while authoring; use `references/testing-methodology.md` for full details.
221
+
222
+ #### Pressure scenarios (test format)
223
+
224
+ - Test behavior under realistic stress, not quiz-style prompts
225
+ - Force concrete A/B/C choices so violations are observable
226
+ - Combine at least 3 pressures per scenario for discipline skills
227
+ - Capture exact rationalizations verbatim during RED
228
+
229
+ | Pressure Type | What to Inject |
230
+ | --------------- | ------------------------------------------- |
231
+ | Time | Deadline, production incident, deploy clock |
232
+ | Sunk cost | Hours already spent, large diff to discard |
233
+ | Authority | Senior/manager asking to skip process |
234
+ | Economic | Revenue loss, promotion/job pressure |
235
+ | Exhaustion | End-of-day fatigue, urgency to finish |
236
+ | Social | Fear of looking rigid or uncooperative |
237
+ | Pragmatic frame | "Be practical, not dogmatic" framing |
238
+
239
+ #### Meta-testing (after failure)
240
+
241
+ When agent fails with skill loaded, ask how the skill should be rewritten to make the right choice unambiguous.
242
+
243
+ - If response is "skill was clear, I ignored it" → strengthen foundational principle
244
+ - If response is "skill should explicitly say X" → add X verbatim
245
+ - If response is "I missed section Y" → improve placement/prominence
246
+
247
+ #### Exit criteria for bulletproof skills
248
+
249
+ - Agent chooses correct action under maximum pressure
250
+ - Agent cites relevant sections to justify action
251
+ - No new rationalizations emerge across retests
252
+ - Meta-test confirms clarity, not ambiguity
253
+
254
+ ## STOP: Before Moving to Next Skill
255
+
256
+ **After writing ANY skill, you MUST STOP and complete the deployment process.**
257
+
258
+ **Do NOT:**
259
+
260
+ - Create multiple skills in batch without testing each
261
+ - Move to next skill before current one is verified
262
+ - Skip testing because "batching is more efficient"
263
+
264
+ **The deployment checklist below is MANDATORY for EACH skill.**
265
+
266
+ Deploying untested skills = deploying untested code. It's a violation of quality standards.
267
+
268
+ ## Skill Creation Checklist (TDD Adapted)
269
+
270
+ **IMPORTANT: Use TodoWrite to create todos for EACH checklist item below.**
271
+
272
+ **RED Phase - Write Failing Test:**
273
+
274
+ - [ ] Create pressure scenarios (3+ combined pressures for discipline skills)
275
+ - [ ] Run scenarios WITHOUT skill - document baseline behavior verbatim
276
+ - [ ] Identify patterns in rationalizations/failures
277
+
278
+ **GREEN Phase - Write Minimal Skill:**
279
+
280
+ - [ ] Name uses only letters, numbers, hyphens (no parentheses/special chars)
281
+ - [ ] YAML frontmatter with only name and description (max 1024 chars)
282
+ - [ ] Description starts with "Use when..." and includes specific triggers/symptoms
283
+ - [ ] Description written in third person
284
+ - [ ] Keywords throughout for search (errors, symptoms, tools)
285
+ - [ ] Clear overview with core principle
286
+ - [ ] Address specific baseline failures identified in RED
287
+ - [ ] Code inline OR link to separate file
288
+ - [ ] One excellent example (not multi-language)
289
+ - [ ] Run scenarios WITH skill - verify agents now comply
290
+
291
+ **REFACTOR Phase - Close Loopholes:**
292
+
293
+ - [ ] Identify NEW rationalizations from testing
294
+ - [ ] Add explicit counters (if discipline skill)
295
+ - [ ] Build rationalization table from all test iterations
296
+ - [ ] Create red flags list
297
+ - [ ] Re-test until bulletproof
298
+
299
+ **Quality Checks:**
300
+
301
+ - [ ] Small flowchart only if decision non-obvious
302
+ - [ ] Quick reference table
303
+ - [ ] Common mistakes section
304
+ - [ ] No narrative storytelling
305
+ - [ ] Supporting files only for tools or heavy reference
306
+
307
+ **Deployment:**
308
+
309
+ - [ ] Commit skill to git and push to your fork (if configured)
310
+ - [ ] Consider contributing back via PR (if broadly useful)
311
+
312
+ ## References
313
+
314
+ - `references/claude-search-optimization.md` - CSO guidance: descriptions, keywords, token efficiency, cross-references
315
+ - `references/flowcharts-and-examples.md` - Flowchart usage rules and code example guidance
316
+ - `references/file-organization.md` - Patterns for self-contained vs heavy-reference skills
317
+ - `references/testing-methodology.md` - Complete pressure-testing methodology merged from testing-skills-with-subagents
318
+ - `references/testing-skill-types.md` - How to test discipline, technique, pattern, and reference skills
319
+ - `references/rationalization-hardening.md` - Loophole closure, rationalization tables, red flags
320
+ - `references/anti-patterns.md` - Anti-patterns to avoid
321
+ - `references/discovery-workflow.md` - How future agents find and use skills
322
+
323
+ ## Red Flags
324
+
325
+ - Skill written without pressure-testing by a subagent
326
+ - No anti-rationalization table in the skill
327
+ - Verification section is generic ("tests pass") instead of skill-specific
328
+ - Skill body is prose without process steps
329
+ - Missing "When NOT to Use" section
@@ -0,0 +1,25 @@
1
+ # Anti-Patterns
2
+
3
+ ## [ ] Narrative Example
4
+
5
+ "In session 2025-10-03, we found empty projectDir caused..."
6
+ **Why bad:** Too specific, not reusable
7
+
8
+ ## [ ] Multi-Language Dilution
9
+
10
+ example-js.js, example-py.py, example-go.go
11
+ **Why bad:** Mediocre quality, maintenance burden
12
+
13
+ ## [ ] Code in Flowcharts
14
+
15
+ ```dot
16
+ step1 [label="import fs"];
17
+ step2 [label="read file"];
18
+ ```
19
+
20
+ **Why bad:** Can't copy-paste, hard to read
21
+
22
+ ## [ ] Generic Labels
23
+
24
+ helper1, helper2, step3, pattern4
25
+ **Why bad:** Labels should have semantic meaning
@@ -0,0 +1,140 @@
1
+ # Claude Search Optimization (CSO)
2
+
3
+ **Critical for discovery:** Future Claude needs to FIND your skill
4
+
5
+ ## 1. Rich Description Field
6
+
7
+ **Purpose:** Claude reads description to decide which skills to load for a given task. Make it answer: "Should I read this skill right now?"
8
+
9
+ **Format:** Start with "Use when..." to focus on triggering conditions, then explain what it does
10
+
11
+ **Content:**
12
+
13
+ - Use concrete triggers, symptoms, and situations that signal this skill applies
14
+ - Describe the _problem_ (race conditions, inconsistent behavior) not _language-specific symptoms_ (setTimeout, sleep)
15
+ - Keep triggers technology-agnostic unless the skill itself is technology-specific
16
+ - If skill is technology-specific, make that explicit in the trigger
17
+ - Write in third person (injected into system prompt)
18
+
19
+ ```yaml
20
+ # [ ] BAD: Too abstract, vague, doesn't include when to use
21
+ description: For async testing
22
+
23
+ # [ ] BAD: First person
24
+ description: I can help you with async tests when they're flaky
25
+
26
+ # [ ] BAD: Mentions technology but skill isn't specific to it
27
+ description: Use when tests use setTimeout/sleep and are flaky
28
+
29
+ # [x] GOOD: Starts with "Use when", describes problem, then what it does
30
+ description: Use when tests have race conditions, timing dependencies, or pass/fail inconsistently - replaces arbitrary timeouts with condition polling for reliable async tests
31
+
32
+ # [x] GOOD: Technology-specific skill with explicit trigger
33
+ description: Use when using React Router and handling authentication redirects - provides patterns for protected routes and auth state management
34
+ ```
35
+
36
+ ## 2. Keyword Coverage
37
+
38
+ Use words Claude would search for:
39
+
40
+ - Error messages: "Hook timed out", "ENOTEMPTY", "race condition"
41
+ - Symptoms: "flaky", "hanging", "zombie", "pollution"
42
+ - Synonyms: "timeout/hang/freeze", "cleanup/teardown/afterEach"
43
+ - Tools: Actual commands, library names, file types
44
+
45
+ ## 3. Descriptive Naming
46
+
47
+ **Use active voice, verb-first:**
48
+
49
+ - [x] `creating-skills` not `skill-creation`
50
+ - [x] `testing-skills-with-subagents` not `subagent-skill-testing`
51
+
52
+ ## 4. Token Efficiency (Critical)
53
+
54
+ **Problem:** getting-started and frequently-referenced skills load into EVERY conversation. Every token counts.
55
+
56
+ **Target word counts:**
57
+
58
+ - getting-started workflows: <150 words each
59
+ - Frequently-loaded skills: <200 words total
60
+ - Other skills: <500 words (still be concise)
61
+
62
+ **Techniques:**
63
+
64
+ **Move details to tool help:**
65
+
66
+ ```bash
67
+ # [ ] BAD: Document all flags in SKILL.md
68
+ search-conversations supports --text, --both, --after DATE, --before DATE, --limit N
69
+
70
+ # [x] GOOD: Reference --help
71
+ search-conversations supports multiple modes and filters. Run --help for details.
72
+ ```
73
+
74
+ **Use cross-references:**
75
+
76
+ ```markdown
77
+ # [ ] BAD: Repeat workflow details
78
+
79
+ When searching, dispatch subagent with template...
80
+ [20 lines of repeated instructions]
81
+
82
+ # [x] GOOD: Reference other skill
83
+
84
+ Always use subagents (50-100x context savings). REQUIRED: Use [other-skill-name] for workflow.
85
+ ```
86
+
87
+ **Compress examples:**
88
+
89
+ ```markdown
90
+ # [ ] BAD: Verbose example (42 words)
91
+
92
+ your human partner: "How did we handle authentication errors in React Router before?"
93
+ You: I'll search past conversations for React Router authentication patterns.
94
+ [Dispatch subagent with search query: "React Router authentication error handling 401"]
95
+
96
+ # [x] GOOD: Minimal example (20 words)
97
+
98
+ Partner: "How did we handle auth errors in React Router?"
99
+ You: Searching...
100
+ [Dispatch subagent → synthesis]
101
+ ```
102
+
103
+ **Eliminate redundancy:**
104
+
105
+ - Don't repeat what's in cross-referenced skills
106
+ - Don't explain what's obvious from command
107
+ - Don't include multiple examples of same pattern
108
+
109
+ **Verification:**
110
+
111
+ ```bash
112
+ wc -w skills/path/SKILL.md
113
+ # getting-started workflows: aim for <150 each
114
+ # Other frequently-loaded: aim for <200 total
115
+ ```
116
+
117
+ **Name by what you DO or core insight:**
118
+
119
+ - [x] `condition-based-waiting` > `async-test-helpers`
120
+ - [x] `using-skills` not `skill-usage`
121
+ - [x] `flatten-with-flags` > `data-structure-refactoring`
122
+ - [x] `root-cause-tracing` > `debugging-techniques`
123
+
124
+ **Gerunds (-ing) work well for processes:**
125
+
126
+ - `creating-skills`, `testing-skills`, `debugging-with-logs`
127
+ - Active, describes the action you're taking
128
+
129
+ ## 4. Cross-Referencing Other Skills
130
+
131
+ **When writing documentation that references other skills:**
132
+
133
+ Use skill name only, with explicit requirement markers:
134
+
135
+ - [x] Good: `**REQUIRED SUB-SKILL:** Use skill({ name: "test-driven-development" })`
136
+ - [x] Good: `**REQUIRED BACKGROUND:** You MUST understand systematic-debugging`
137
+ - [ ] Bad: `See skills/testing/test-driven-development` (unclear if required)
138
+ - [ ] Bad: `@skills/testing/test-driven-development/SKILL.md` (force-loads, burns context)
139
+
140
+ **Why no @ links:** `@` syntax force-loads files immediately, consuming 200k+ context before you need them.
@@ -0,0 +1,11 @@
1
+ # Discovery Workflow
2
+
3
+ How future Claude finds your skill:
4
+
5
+ 1. **Encounters problem** ("tests are flaky")
6
+ 2. **Finds SKILL** (description matches)
7
+ 3. **Scans overview** (is this relevant?)
8
+ 4. **Reads patterns** (quick reference table)
9
+ 5. **Loads example** (only when implementing)
10
+
11
+ **Optimize for this flow** - put searchable terms early and often.
@@ -0,0 +1,32 @@
1
+ # File Organization
2
+
3
+ ## Self-Contained Skill
4
+
5
+ ```
6
+ defense-in-depth/
7
+ SKILL.md # Everything inline
8
+ ```
9
+
10
+ When: All content fits, no heavy reference needed
11
+
12
+ ## Skill with Reusable Tool
13
+
14
+ ```
15
+ condition-based-waiting/
16
+ SKILL.md # Overview + patterns
17
+ example.ts # Working helpers to adapt
18
+ ```
19
+
20
+ When: Tool is reusable code, not just narrative
21
+
22
+ ## Skill with Heavy Reference
23
+
24
+ ```
25
+ pptx/
26
+ SKILL.md # Overview + workflows
27
+ pptxgenjs.md # 600 lines API reference
28
+ ooxml.md # 500 lines XML structure
29
+ scripts/ # Executable tools
30
+ ```
31
+
32
+ When: Reference material too large for inline
@@ -0,0 +1,57 @@
1
+ # Flowchart Usage and Code Examples
2
+
3
+ ## Flowchart Usage
4
+
5
+ ```dot
6
+ digraph when_flowchart {
7
+ "Need to show information?" [shape=diamond];
8
+ "Decision where I might go wrong?" [shape=diamond];
9
+ "Use markdown" [shape=box];
10
+ "Small inline flowchart" [shape=box];
11
+
12
+ "Need to show information?" -> "Decision where I might go wrong?" [label="yes"];
13
+ "Decision where I might go wrong?" -> "Small inline flowchart" [label="yes"];
14
+ "Decision where I might go wrong?" -> "Use markdown" [label="no"];
15
+ }
16
+ ```
17
+
18
+ **Use flowcharts ONLY for:**
19
+
20
+ - Non-obvious decision points
21
+ - Process loops where you might stop too early
22
+ - "When to use A vs B" decisions
23
+
24
+ **Never use flowcharts for:**
25
+
26
+ - Reference material → Tables, lists
27
+ - Code examples → Markdown blocks
28
+ - Linear instructions → Numbered lists
29
+ - Labels without semantic meaning (step1, helper2)
30
+
31
+ See @graphviz-conventions.dot for graphviz style rules.
32
+
33
+ ## Code Examples
34
+
35
+ **One excellent example beats many mediocre ones**
36
+
37
+ Choose most relevant language:
38
+
39
+ - Testing techniques → TypeScript/JavaScript
40
+ - System debugging → Shell/Python
41
+ - Data processing → Python
42
+
43
+ **Good example:**
44
+
45
+ - Complete and runnable
46
+ - Well-commented explaining WHY
47
+ - From real scenario
48
+ - Shows pattern clearly
49
+ - Ready to adapt (not generic template)
50
+
51
+ **Don't:**
52
+
53
+ - Implement in 5+ languages
54
+ - Create fill-in-the-blank templates
55
+ - Write contrived examples
56
+
57
+ You're good at porting - one great example is enough.
@@ -0,0 +1,75 @@
1
+ # Bulletproofing Skills Against Rationalization
2
+
3
+ Skills that enforce discipline (like TDD) need to resist rationalization. Agents are smart and will find loopholes when under pressure.
4
+
5
+ **Psychology note:** Understanding WHY persuasion techniques work helps you apply them systematically. See persuasion-principles.md for research foundation (Cialdini, 2021; Meincke et al., 2025) on authority, commitment, scarcity, social proof, and unity principles.
6
+
7
+ ## Close Every Loophole Explicitly
8
+
9
+ Don't just state the rule - forbid specific workarounds:
10
+
11
+ <Bad>
12
+ ```markdown
13
+ Write code before test? Delete it.
14
+ ```
15
+ </Bad>
16
+
17
+ <Good>
18
+ ```markdown
19
+ Write code before test? Delete it. Start over.
20
+
21
+ **No exceptions:**
22
+
23
+ - Don't keep it as "reference"
24
+ - Don't "adapt" it while writing tests
25
+ - Don't look at it
26
+ - Delete means delete
27
+
28
+ ````
29
+ </Good>
30
+
31
+ ## Address "Spirit vs Letter" Arguments
32
+
33
+ Add foundational principle early:
34
+
35
+ ```markdown
36
+ **Violating the letter of the rules is violating the spirit of the rules.**
37
+ ````
38
+
39
+ This cuts off entire class of "I'm following the spirit" rationalizations.
40
+
41
+ ## Build Rationalization Table
42
+
43
+ Capture rationalizations from baseline testing (see Testing section below). Every excuse agents make goes in the table:
44
+
45
+ ```markdown
46
+ | Excuse | Reality |
47
+ | -------------------------------- | ----------------------------------------------------------------------- |
48
+ | "Too simple to test" | Simple code breaks. Test takes 30 seconds. |
49
+ | "I'll test after" | Tests passing immediately prove nothing. |
50
+ | "Tests after achieve same goals" | Tests-after = "what does this do?" Tests-first = "what should this do?" |
51
+ ```
52
+
53
+ ## Create Red Flags List
54
+
55
+ Make it easy for agents to self-check when rationalizing:
56
+
57
+ ```markdown
58
+ ## Red Flags - STOP and Start Over
59
+
60
+ - Code before test
61
+ - "I already manually tested it"
62
+ - "Tests after achieve the same purpose"
63
+ - "It's about spirit not ritual"
64
+ - "This is different because..."
65
+
66
+ **All of these mean: Delete code. Start over with TDD.**
67
+ ```
68
+
69
+ ## Update CSO for Violation Symptoms
70
+
71
+ Add to description: symptoms of when you're ABOUT to violate the rule:
72
+
73
+ ```yaml
74
+ description: use when implementing any feature or bugfix, before writing implementation code
75
+ ```