codexkit 1.0.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 (655) hide show
  1. package/.codex/.env.example +27 -0
  2. package/.codex/.template-manifest.json +631 -0
  3. package/.codex/.version +1 -0
  4. package/.codex/agents/builder.toml +104 -0
  5. package/.codex/agents/debugger.toml +67 -0
  6. package/.codex/agents/general.toml +41 -0
  7. package/.codex/agents/painter.toml +40 -0
  8. package/.codex/agents/planner.toml +60 -0
  9. package/.codex/agents/refactorer.toml +76 -0
  10. package/.codex/agents/reviewer.toml +60 -0
  11. package/.codex/agents/runner.toml +40 -0
  12. package/.codex/agents/scout.toml +133 -0
  13. package/.codex/agents/shipper.toml +69 -0
  14. package/.codex/agents/vision.toml +69 -0
  15. package/.codex/config.toml +146 -0
  16. package/.codex/context/architecture.md +66 -0
  17. package/.codex/context/conventions.md +98 -0
  18. package/.codex/context/current-priorities.md +33 -0
  19. package/.codex/context/decision-log.md +93 -0
  20. package/.codex/context/gotchas.md +42 -0
  21. package/.codex/context/index.md +21 -0
  22. package/.codex/context/session-context.md +11 -0
  23. package/.codex/context/worklog.md +9 -0
  24. package/.codex/hooks/README.md +17 -0
  25. package/.codex/hooks/after_agent.sh +11 -0
  26. package/.codex/hooks/after_tool_use.sh +10 -0
  27. package/.codex/hooks/post_commit.sh +10 -0
  28. package/.codex/hooks/pre_commit.sh +6 -0
  29. package/.codex/hooks/session_start.sh +18 -0
  30. package/.codex/hooks/stop.sh +10 -0
  31. package/.codex/mcp/README.md +143 -0
  32. package/.codex/mcp/basic-memory.toml.example +10 -0
  33. package/.codex/mcp/context7.toml.example +13 -0
  34. package/.codex/mcp/exa.toml.example +12 -0
  35. package/.codex/mcp/memory-bridge.toml.example +15 -0
  36. package/.codex/mcp/memory.toml.example +6 -0
  37. package/.codex/mcp/ref.toml.example +13 -0
  38. package/.codex/mcp/tilth.toml.example +10 -0
  39. package/.codex/memory/README.md +29 -0
  40. package/.codex/memory/_templates/README.md +26 -0
  41. package/.codex/memory/_templates/design.md +15 -0
  42. package/.codex/memory/_templates/gotcha.md +9 -0
  43. package/.codex/memory/_templates/handoff.md +9 -0
  44. package/.codex/memory/_templates/prd.md +13 -0
  45. package/.codex/memory/_templates/project.md +9 -0
  46. package/.codex/memory/_templates/proposal.md +13 -0
  47. package/.codex/memory/_templates/research.md +9 -0
  48. package/.codex/memory/_templates/roadmap.md +11 -0
  49. package/.codex/memory/_templates/session-context.md +7 -0
  50. package/.codex/memory/_templates/state.md +11 -0
  51. package/.codex/memory/_templates/tasks.md +9 -0
  52. package/.codex/memory/_templates/tech-stack.md +9 -0
  53. package/.codex/memory/_templates/user.md +7 -0
  54. package/.codex/memory/project/gotchas.md +5 -0
  55. package/.codex/memory/project/project.md +12 -0
  56. package/.codex/memory/project/roadmap.md +15 -0
  57. package/.codex/memory/project/state.md +22 -0
  58. package/.codex/memory/project/tech-stack.md +19 -0
  59. package/.codex/memory/project/user.md +10 -0
  60. package/.codex/memory/research/.gitkeep +1 -0
  61. package/.codex/memory/session-context.md +18 -0
  62. package/.codex/plans/README.md +7 -0
  63. package/.codex/prompts/compound.md +154 -0
  64. package/.codex/prompts/create.md +238 -0
  65. package/.codex/prompts/design.md +90 -0
  66. package/.codex/prompts/handoff.md +184 -0
  67. package/.codex/prompts/init-context.md +185 -0
  68. package/.codex/prompts/init-user.md +93 -0
  69. package/.codex/prompts/init.md +103 -0
  70. package/.codex/prompts/lfg.md +140 -0
  71. package/.codex/prompts/plan.md +140 -0
  72. package/.codex/prompts/pr.md +150 -0
  73. package/.codex/prompts/research.md +137 -0
  74. package/.codex/prompts/resume.md +105 -0
  75. package/.codex/prompts/review-codebase.md +147 -0
  76. package/.codex/prompts/ship.md +334 -0
  77. package/.codex/prompts/start.md +141 -0
  78. package/.codex/prompts/status.md +102 -0
  79. package/.codex/prompts/ui-inspire.md +151 -0
  80. package/.codex/prompts/ui-review.md +86 -0
  81. package/.codex/prompts/verify.md +181 -0
  82. package/.codex/scripts/append_worklog.sh +20 -0
  83. package/.codex/scripts/apply_worklog_archive.sh +48 -0
  84. package/.codex/scripts/audit_memory_hygiene.sh +102 -0
  85. package/.codex/scripts/build_memory_index.sh +167 -0
  86. package/.codex/scripts/build_prior_related_work.sh +127 -0
  87. package/.codex/scripts/build_startup_brief.sh +52 -0
  88. package/.codex/scripts/close_bead.sh +103 -0
  89. package/.codex/scripts/detect_changed_files.sh +38 -0
  90. package/.codex/scripts/ensure_beads.sh +14 -0
  91. package/.codex/scripts/memory_search.sh +292 -0
  92. package/.codex/scripts/prepare_worklog_archive.sh +115 -0
  93. package/.codex/scripts/search_bead_context.sh +214 -0
  94. package/.codex/scripts/start_bead.sh +129 -0
  95. package/.codex/scripts/sync_bead_context.sh +288 -0
  96. package/.codex/scripts/validate_memory_docs.sh +44 -0
  97. package/.codex/scripts/verify_bead.sh +154 -0
  98. package/.codex/skills/accessibility-audit/SKILL.md +191 -0
  99. package/.codex/skills/agent-browser/SKILL.md +413 -0
  100. package/.codex/skills/agent-teams/SKILL.md +268 -0
  101. package/.codex/skills/augment-context-engine/SKILL.md +115 -0
  102. package/.codex/skills/augment-context-engine/mcp.json +6 -0
  103. package/.codex/skills/beads/SKILL.md +181 -0
  104. package/.codex/skills/beads/references/BEST_PRACTICES.md +27 -0
  105. package/.codex/skills/beads/references/BOUNDARIES.md +219 -0
  106. package/.codex/skills/beads/references/DEPENDENCIES.md +124 -0
  107. package/.codex/skills/beads/references/EXAMPLES.md +45 -0
  108. package/.codex/skills/beads/references/FILE_CLAIMING.md +101 -0
  109. package/.codex/skills/beads/references/GIT_SYNC.md +25 -0
  110. package/.codex/skills/beads/references/HIERARCHY.md +71 -0
  111. package/.codex/skills/beads/references/MULTI_AGENT.md +40 -0
  112. package/.codex/skills/beads/references/RESUMABILITY.md +177 -0
  113. package/.codex/skills/beads/references/SESSION_PROTOCOL.md +61 -0
  114. package/.codex/skills/beads/references/TASK_CREATION.md +38 -0
  115. package/.codex/skills/beads/references/TROUBLESHOOTING.md +38 -0
  116. package/.codex/skills/beads/references/WORKFLOWS.md +226 -0
  117. package/.codex/skills/beads-bridge/SKILL.md +321 -0
  118. package/.codex/skills/brainstorming/SKILL.md +114 -0
  119. package/.codex/skills/bug-triage/SKILL.md +191 -0
  120. package/.codex/skills/chrome-devtools/SKILL.md +76 -0
  121. package/.codex/skills/chrome-devtools/mcp.json +19 -0
  122. package/.codex/skills/cloudflare/SKILL.md +253 -0
  123. package/.codex/skills/cloudflare/references/agents-sdk/README.md +35 -0
  124. package/.codex/skills/cloudflare/references/agents-sdk/api.md +100 -0
  125. package/.codex/skills/cloudflare/references/agents-sdk/configuration.md +99 -0
  126. package/.codex/skills/cloudflare/references/agents-sdk/gotchas.md +59 -0
  127. package/.codex/skills/cloudflare/references/agents-sdk/patterns.md +89 -0
  128. package/.codex/skills/cloudflare/references/ai-gateway/README.md +695 -0
  129. package/.codex/skills/cloudflare/references/ai-search/README.md +14 -0
  130. package/.codex/skills/cloudflare/references/ai-search/api.md +38 -0
  131. package/.codex/skills/cloudflare/references/ai-search/configuration.md +52 -0
  132. package/.codex/skills/cloudflare/references/ai-search/gotchas.md +41 -0
  133. package/.codex/skills/cloudflare/references/ai-search/patterns.md +45 -0
  134. package/.codex/skills/cloudflare/references/analytics-engine/README.md +14 -0
  135. package/.codex/skills/cloudflare/references/analytics-engine/api.md +27 -0
  136. package/.codex/skills/cloudflare/references/analytics-engine/configuration.md +45 -0
  137. package/.codex/skills/cloudflare/references/analytics-engine/gotchas.md +3 -0
  138. package/.codex/skills/cloudflare/references/analytics-engine/patterns.md +36 -0
  139. package/.codex/skills/cloudflare/references/api/README.md +21 -0
  140. package/.codex/skills/cloudflare/references/api/api.md +31 -0
  141. package/.codex/skills/cloudflare/references/api/configuration.md +20 -0
  142. package/.codex/skills/cloudflare/references/api/gotchas.md +28 -0
  143. package/.codex/skills/cloudflare/references/api/patterns.md +47 -0
  144. package/.codex/skills/cloudflare/references/api-shield/README.md +20 -0
  145. package/.codex/skills/cloudflare/references/api-shield/api.md +78 -0
  146. package/.codex/skills/cloudflare/references/api-shield/configuration.md +128 -0
  147. package/.codex/skills/cloudflare/references/api-shield/gotchas.md +51 -0
  148. package/.codex/skills/cloudflare/references/api-shield/patterns.md +145 -0
  149. package/.codex/skills/cloudflare/references/argo-smart-routing/README.md +16 -0
  150. package/.codex/skills/cloudflare/references/argo-smart-routing/api.md +50 -0
  151. package/.codex/skills/cloudflare/references/argo-smart-routing/configuration.md +53 -0
  152. package/.codex/skills/cloudflare/references/argo-smart-routing/gotchas.md +16 -0
  153. package/.codex/skills/cloudflare/references/argo-smart-routing/patterns.md +45 -0
  154. package/.codex/skills/cloudflare/references/bindings/README.md +14 -0
  155. package/.codex/skills/cloudflare/references/bindings/api.md +3 -0
  156. package/.codex/skills/cloudflare/references/bindings/configuration.md +58 -0
  157. package/.codex/skills/cloudflare/references/bindings/gotchas.md +35 -0
  158. package/.codex/skills/cloudflare/references/bindings/patterns.md +37 -0
  159. package/.codex/skills/cloudflare/references/bot-management/README.md +71 -0
  160. package/.codex/skills/cloudflare/references/bot-management/api.md +168 -0
  161. package/.codex/skills/cloudflare/references/bot-management/configuration.md +114 -0
  162. package/.codex/skills/cloudflare/references/bot-management/gotchas.md +99 -0
  163. package/.codex/skills/cloudflare/references/bot-management/patterns.md +125 -0
  164. package/.codex/skills/cloudflare/references/browser-rendering/README.md +16 -0
  165. package/.codex/skills/cloudflare/references/browser-rendering/api.md +54 -0
  166. package/.codex/skills/cloudflare/references/browser-rendering/configuration.md +47 -0
  167. package/.codex/skills/cloudflare/references/browser-rendering/gotchas.md +29 -0
  168. package/.codex/skills/cloudflare/references/browser-rendering/patterns.md +29 -0
  169. package/.codex/skills/cloudflare/references/c3/README.md +264 -0
  170. package/.codex/skills/cloudflare/references/cache-reserve/README.md +93 -0
  171. package/.codex/skills/cloudflare/references/cache-reserve/api.md +176 -0
  172. package/.codex/skills/cloudflare/references/cache-reserve/configuration.md +164 -0
  173. package/.codex/skills/cloudflare/references/cache-reserve/gotchas.md +203 -0
  174. package/.codex/skills/cloudflare/references/cache-reserve/patterns.md +180 -0
  175. package/.codex/skills/cloudflare/references/containers/README.md +16 -0
  176. package/.codex/skills/cloudflare/references/containers/api.md +43 -0
  177. package/.codex/skills/cloudflare/references/containers/configuration.md +56 -0
  178. package/.codex/skills/cloudflare/references/containers/gotchas.md +21 -0
  179. package/.codex/skills/cloudflare/references/containers/patterns.md +40 -0
  180. package/.codex/skills/cloudflare/references/cron-triggers/README.md +85 -0
  181. package/.codex/skills/cloudflare/references/cron-triggers/api.md +198 -0
  182. package/.codex/skills/cloudflare/references/cron-triggers/configuration.md +151 -0
  183. package/.codex/skills/cloudflare/references/cron-triggers/gotchas.md +129 -0
  184. package/.codex/skills/cloudflare/references/cron-triggers/patterns.md +122 -0
  185. package/.codex/skills/cloudflare/references/d1/README.md +92 -0
  186. package/.codex/skills/cloudflare/references/d1/api.md +141 -0
  187. package/.codex/skills/cloudflare/references/d1/configuration.md +127 -0
  188. package/.codex/skills/cloudflare/references/d1/gotchas.md +70 -0
  189. package/.codex/skills/cloudflare/references/d1/patterns.md +144 -0
  190. package/.codex/skills/cloudflare/references/ddos/README.md +34 -0
  191. package/.codex/skills/cloudflare/references/ddos/api.md +136 -0
  192. package/.codex/skills/cloudflare/references/ddos/configuration.md +67 -0
  193. package/.codex/skills/cloudflare/references/ddos/gotchas.md +114 -0
  194. package/.codex/skills/cloudflare/references/ddos/patterns.md +158 -0
  195. package/.codex/skills/cloudflare/references/do-storage/README.md +62 -0
  196. package/.codex/skills/cloudflare/references/do-storage/api.md +89 -0
  197. package/.codex/skills/cloudflare/references/do-storage/configuration.md +116 -0
  198. package/.codex/skills/cloudflare/references/do-storage/gotchas.md +93 -0
  199. package/.codex/skills/cloudflare/references/do-storage/patterns.md +112 -0
  200. package/.codex/skills/cloudflare/references/durable-objects/README.md +125 -0
  201. package/.codex/skills/cloudflare/references/durable-objects/api.md +152 -0
  202. package/.codex/skills/cloudflare/references/durable-objects/configuration.md +148 -0
  203. package/.codex/skills/cloudflare/references/durable-objects/gotchas.md +158 -0
  204. package/.codex/skills/cloudflare/references/durable-objects/patterns.md +255 -0
  205. package/.codex/skills/cloudflare/references/email-routing/README.md +18 -0
  206. package/.codex/skills/cloudflare/references/email-routing/api.md +46 -0
  207. package/.codex/skills/cloudflare/references/email-routing/configuration.md +63 -0
  208. package/.codex/skills/cloudflare/references/email-routing/gotchas.md +16 -0
  209. package/.codex/skills/cloudflare/references/email-routing/patterns.md +46 -0
  210. package/.codex/skills/cloudflare/references/email-workers/README.md +598 -0
  211. package/.codex/skills/cloudflare/references/hyperdrive/README.md +62 -0
  212. package/.codex/skills/cloudflare/references/hyperdrive/api.md +137 -0
  213. package/.codex/skills/cloudflare/references/hyperdrive/configuration.md +133 -0
  214. package/.codex/skills/cloudflare/references/hyperdrive/gotchas.md +184 -0
  215. package/.codex/skills/cloudflare/references/hyperdrive/patterns.md +176 -0
  216. package/.codex/skills/cloudflare/references/images/README.md +14 -0
  217. package/.codex/skills/cloudflare/references/images/api.md +3 -0
  218. package/.codex/skills/cloudflare/references/images/configuration.md +45 -0
  219. package/.codex/skills/cloudflare/references/images/gotchas.md +23 -0
  220. package/.codex/skills/cloudflare/references/images/patterns.md +31 -0
  221. package/.codex/skills/cloudflare/references/kv/README.md +60 -0
  222. package/.codex/skills/cloudflare/references/kv/api.md +114 -0
  223. package/.codex/skills/cloudflare/references/kv/configuration.md +92 -0
  224. package/.codex/skills/cloudflare/references/kv/gotchas.md +117 -0
  225. package/.codex/skills/cloudflare/references/kv/patterns.md +139 -0
  226. package/.codex/skills/cloudflare/references/miniflare/README.md +64 -0
  227. package/.codex/skills/cloudflare/references/miniflare/api.md +144 -0
  228. package/.codex/skills/cloudflare/references/miniflare/configuration.md +203 -0
  229. package/.codex/skills/cloudflare/references/miniflare/gotchas.md +187 -0
  230. package/.codex/skills/cloudflare/references/miniflare/patterns.md +211 -0
  231. package/.codex/skills/cloudflare/references/network-interconnect/README.md +60 -0
  232. package/.codex/skills/cloudflare/references/network-interconnect/api.md +240 -0
  233. package/.codex/skills/cloudflare/references/network-interconnect/configuration.md +127 -0
  234. package/.codex/skills/cloudflare/references/network-interconnect/gotchas.md +171 -0
  235. package/.codex/skills/cloudflare/references/network-interconnect/patterns.md +171 -0
  236. package/.codex/skills/cloudflare/references/observability/README.md +18 -0
  237. package/.codex/skills/cloudflare/references/observability/api.md +51 -0
  238. package/.codex/skills/cloudflare/references/observability/configuration.md +60 -0
  239. package/.codex/skills/cloudflare/references/observability/gotchas.md +36 -0
  240. package/.codex/skills/cloudflare/references/observability/patterns.md +42 -0
  241. package/.codex/skills/cloudflare/references/pages/README.md +76 -0
  242. package/.codex/skills/cloudflare/references/pages/api.md +200 -0
  243. package/.codex/skills/cloudflare/references/pages/configuration.md +228 -0
  244. package/.codex/skills/cloudflare/references/pages/gotchas.md +161 -0
  245. package/.codex/skills/cloudflare/references/pages/patterns.md +145 -0
  246. package/.codex/skills/cloudflare/references/pages-functions/README.md +57 -0
  247. package/.codex/skills/cloudflare/references/pages-functions/api.md +201 -0
  248. package/.codex/skills/cloudflare/references/pages-functions/configuration.md +159 -0
  249. package/.codex/skills/cloudflare/references/pages-functions/gotchas.md +151 -0
  250. package/.codex/skills/cloudflare/references/pages-functions/patterns.md +190 -0
  251. package/.codex/skills/cloudflare/references/pipelines/README.md +664 -0
  252. package/.codex/skills/cloudflare/references/pulumi/README.md +107 -0
  253. package/.codex/skills/cloudflare/references/pulumi/api.md +194 -0
  254. package/.codex/skills/cloudflare/references/pulumi/configuration.md +216 -0
  255. package/.codex/skills/cloudflare/references/pulumi/gotchas.md +223 -0
  256. package/.codex/skills/cloudflare/references/pulumi/patterns.md +139 -0
  257. package/.codex/skills/cloudflare/references/queues/README.md +69 -0
  258. package/.codex/skills/cloudflare/references/queues/api.md +138 -0
  259. package/.codex/skills/cloudflare/references/queues/configuration.md +125 -0
  260. package/.codex/skills/cloudflare/references/queues/gotchas.md +112 -0
  261. package/.codex/skills/cloudflare/references/queues/patterns.md +155 -0
  262. package/.codex/skills/cloudflare/references/r2/README.md +61 -0
  263. package/.codex/skills/cloudflare/references/r2/api.md +127 -0
  264. package/.codex/skills/cloudflare/references/r2/configuration.md +76 -0
  265. package/.codex/skills/cloudflare/references/r2/gotchas.md +94 -0
  266. package/.codex/skills/cloudflare/references/r2/patterns.md +127 -0
  267. package/.codex/skills/cloudflare/references/r2-data-catalog/README.md +18 -0
  268. package/.codex/skills/cloudflare/references/r2-data-catalog/api.md +29 -0
  269. package/.codex/skills/cloudflare/references/r2-data-catalog/configuration.md +39 -0
  270. package/.codex/skills/cloudflare/references/r2-data-catalog/gotchas.md +20 -0
  271. package/.codex/skills/cloudflare/references/r2-data-catalog/patterns.md +46 -0
  272. package/.codex/skills/cloudflare/references/r2-sql/README.md +512 -0
  273. package/.codex/skills/cloudflare/references/realtime-sfu/README.md +21 -0
  274. package/.codex/skills/cloudflare/references/realtime-sfu/api.md +135 -0
  275. package/.codex/skills/cloudflare/references/realtime-sfu/configuration.md +63 -0
  276. package/.codex/skills/cloudflare/references/realtime-sfu/gotchas.md +75 -0
  277. package/.codex/skills/cloudflare/references/realtime-sfu/patterns.md +102 -0
  278. package/.codex/skills/cloudflare/references/realtimekit/README.md +81 -0
  279. package/.codex/skills/cloudflare/references/realtimekit/api.md +164 -0
  280. package/.codex/skills/cloudflare/references/realtimekit/configuration.md +147 -0
  281. package/.codex/skills/cloudflare/references/realtimekit/gotchas.md +172 -0
  282. package/.codex/skills/cloudflare/references/realtimekit/patterns.md +155 -0
  283. package/.codex/skills/cloudflare/references/sandbox/README.md +90 -0
  284. package/.codex/skills/cloudflare/references/sandbox/api.md +178 -0
  285. package/.codex/skills/cloudflare/references/sandbox/configuration.md +131 -0
  286. package/.codex/skills/cloudflare/references/sandbox/gotchas.md +156 -0
  287. package/.codex/skills/cloudflare/references/sandbox/patterns.md +203 -0
  288. package/.codex/skills/cloudflare/references/secrets-store/README.md +58 -0
  289. package/.codex/skills/cloudflare/references/secrets-store/api.md +182 -0
  290. package/.codex/skills/cloudflare/references/secrets-store/configuration.md +140 -0
  291. package/.codex/skills/cloudflare/references/secrets-store/gotchas.md +129 -0
  292. package/.codex/skills/cloudflare/references/secrets-store/patterns.md +218 -0
  293. package/.codex/skills/cloudflare/references/smart-placement/README.md +91 -0
  294. package/.codex/skills/cloudflare/references/smart-placement/api.md +139 -0
  295. package/.codex/skills/cloudflare/references/smart-placement/configuration.md +129 -0
  296. package/.codex/skills/cloudflare/references/smart-placement/gotchas.md +87 -0
  297. package/.codex/skills/cloudflare/references/smart-placement/patterns.md +135 -0
  298. package/.codex/skills/cloudflare/references/snippets/README.md +15 -0
  299. package/.codex/skills/cloudflare/references/snippets/api.md +47 -0
  300. package/.codex/skills/cloudflare/references/snippets/configuration.md +33 -0
  301. package/.codex/skills/cloudflare/references/snippets/gotchas.md +21 -0
  302. package/.codex/skills/cloudflare/references/snippets/patterns.md +34 -0
  303. package/.codex/skills/cloudflare/references/spectrum/README.md +16 -0
  304. package/.codex/skills/cloudflare/references/spectrum/api.md +24 -0
  305. package/.codex/skills/cloudflare/references/spectrum/configuration.md +43 -0
  306. package/.codex/skills/cloudflare/references/spectrum/gotchas.md +42 -0
  307. package/.codex/skills/cloudflare/references/spectrum/patterns.md +40 -0
  308. package/.codex/skills/cloudflare/references/static-assets/README.md +14 -0
  309. package/.codex/skills/cloudflare/references/static-assets/api.md +3 -0
  310. package/.codex/skills/cloudflare/references/static-assets/configuration.md +47 -0
  311. package/.codex/skills/cloudflare/references/static-assets/gotchas.md +44 -0
  312. package/.codex/skills/cloudflare/references/static-assets/patterns.md +42 -0
  313. package/.codex/skills/cloudflare/references/stream/README.md +103 -0
  314. package/.codex/skills/cloudflare/references/stream/api.md +204 -0
  315. package/.codex/skills/cloudflare/references/stream/configuration.md +127 -0
  316. package/.codex/skills/cloudflare/references/stream/gotchas.md +131 -0
  317. package/.codex/skills/cloudflare/references/stream/patterns.md +152 -0
  318. package/.codex/skills/cloudflare/references/tail-workers/README.md +640 -0
  319. package/.codex/skills/cloudflare/references/terraform/README.md +76 -0
  320. package/.codex/skills/cloudflare/references/terraform/api.md +159 -0
  321. package/.codex/skills/cloudflare/references/terraform/configuration.md +156 -0
  322. package/.codex/skills/cloudflare/references/terraform/gotchas.md +207 -0
  323. package/.codex/skills/cloudflare/references/terraform/patterns.md +135 -0
  324. package/.codex/skills/cloudflare/references/tunnel/README.md +82 -0
  325. package/.codex/skills/cloudflare/references/tunnel/api.md +105 -0
  326. package/.codex/skills/cloudflare/references/tunnel/configuration.md +113 -0
  327. package/.codex/skills/cloudflare/references/tunnel/gotchas.md +115 -0
  328. package/.codex/skills/cloudflare/references/tunnel/patterns.md +157 -0
  329. package/.codex/skills/cloudflare/references/turn/README.md +699 -0
  330. package/.codex/skills/cloudflare/references/turnstile/README.md +14 -0
  331. package/.codex/skills/cloudflare/references/turnstile/api.md +3 -0
  332. package/.codex/skills/cloudflare/references/turnstile/configuration.md +19 -0
  333. package/.codex/skills/cloudflare/references/turnstile/gotchas.md +27 -0
  334. package/.codex/skills/cloudflare/references/turnstile/patterns.md +41 -0
  335. package/.codex/skills/cloudflare/references/vectorize/README.md +682 -0
  336. package/.codex/skills/cloudflare/references/waf/README.md +14 -0
  337. package/.codex/skills/cloudflare/references/waf/api.md +3 -0
  338. package/.codex/skills/cloudflare/references/waf/configuration.md +44 -0
  339. package/.codex/skills/cloudflare/references/waf/gotchas.md +24 -0
  340. package/.codex/skills/cloudflare/references/waf/patterns.md +29 -0
  341. package/.codex/skills/cloudflare/references/web-analytics/README.md +19 -0
  342. package/.codex/skills/cloudflare/references/web-analytics/api.md +52 -0
  343. package/.codex/skills/cloudflare/references/web-analytics/configuration.md +31 -0
  344. package/.codex/skills/cloudflare/references/web-analytics/gotchas.md +28 -0
  345. package/.codex/skills/cloudflare/references/web-analytics/patterns.md +52 -0
  346. package/.codex/skills/cloudflare/references/workerd/README.md +47 -0
  347. package/.codex/skills/cloudflare/references/workerd/api.md +199 -0
  348. package/.codex/skills/cloudflare/references/workerd/configuration.md +185 -0
  349. package/.codex/skills/cloudflare/references/workerd/gotchas.md +203 -0
  350. package/.codex/skills/cloudflare/references/workerd/patterns.md +216 -0
  351. package/.codex/skills/cloudflare/references/workers/README.md +96 -0
  352. package/.codex/skills/cloudflare/references/workers/api.md +137 -0
  353. package/.codex/skills/cloudflare/references/workers/configuration.md +147 -0
  354. package/.codex/skills/cloudflare/references/workers/gotchas.md +99 -0
  355. package/.codex/skills/cloudflare/references/workers/patterns.md +149 -0
  356. package/.codex/skills/cloudflare/references/workers-ai/README.md +116 -0
  357. package/.codex/skills/cloudflare/references/workers-for-platforms/README.md +48 -0
  358. package/.codex/skills/cloudflare/references/workers-for-platforms/api.md +169 -0
  359. package/.codex/skills/cloudflare/references/workers-for-platforms/configuration.md +136 -0
  360. package/.codex/skills/cloudflare/references/workers-for-platforms/gotchas.md +130 -0
  361. package/.codex/skills/cloudflare/references/workers-for-platforms/patterns.md +170 -0
  362. package/.codex/skills/cloudflare/references/workers-playground/README.md +16 -0
  363. package/.codex/skills/cloudflare/references/workers-playground/api.md +20 -0
  364. package/.codex/skills/cloudflare/references/workers-playground/configuration.md +3 -0
  365. package/.codex/skills/cloudflare/references/workers-playground/gotchas.md +35 -0
  366. package/.codex/skills/cloudflare/references/workers-playground/patterns.md +42 -0
  367. package/.codex/skills/cloudflare/references/workers-vpc/README.md +579 -0
  368. package/.codex/skills/cloudflare/references/workflows/README.md +62 -0
  369. package/.codex/skills/cloudflare/references/workflows/api.md +125 -0
  370. package/.codex/skills/cloudflare/references/workflows/configuration.md +177 -0
  371. package/.codex/skills/cloudflare/references/workflows/gotchas.md +136 -0
  372. package/.codex/skills/cloudflare/references/workflows/patterns.md +132 -0
  373. package/.codex/skills/cloudflare/references/wrangler/README.md +90 -0
  374. package/.codex/skills/cloudflare/references/wrangler/api.md +140 -0
  375. package/.codex/skills/cloudflare/references/wrangler/configuration.md +128 -0
  376. package/.codex/skills/cloudflare/references/wrangler/gotchas.md +93 -0
  377. package/.codex/skills/cloudflare/references/wrangler/patterns.md +150 -0
  378. package/.codex/skills/cloudflare/references/zaraz/README.md +360 -0
  379. package/.codex/skills/code-navigation/SKILL.md +130 -0
  380. package/.codex/skills/code-review/SKILL.md +208 -0
  381. package/.codex/skills/compaction/SKILL.md +317 -0
  382. package/.codex/skills/condition-based-waiting/SKILL.md +123 -0
  383. package/.codex/skills/condition-based-waiting/example.ts +158 -0
  384. package/.codex/skills/context-engineering/SKILL.md +176 -0
  385. package/.codex/skills/context-initialization/SKILL.md +70 -0
  386. package/.codex/skills/context-management/SKILL.md +163 -0
  387. package/.codex/skills/core-data-expert/SKILL.md +93 -0
  388. package/.codex/skills/core-data-expert/references/batch-operations.md +543 -0
  389. package/.codex/skills/core-data-expert/references/cloudkit-integration.md +259 -0
  390. package/.codex/skills/core-data-expert/references/concurrency.md +522 -0
  391. package/.codex/skills/core-data-expert/references/fetch-requests.md +643 -0
  392. package/.codex/skills/core-data-expert/references/glossary.md +233 -0
  393. package/.codex/skills/core-data-expert/references/migration.md +393 -0
  394. package/.codex/skills/core-data-expert/references/model-configuration.md +597 -0
  395. package/.codex/skills/core-data-expert/references/performance.md +300 -0
  396. package/.codex/skills/core-data-expert/references/persistent-history.md +553 -0
  397. package/.codex/skills/core-data-expert/references/project-audit.md +60 -0
  398. package/.codex/skills/core-data-expert/references/saving.md +574 -0
  399. package/.codex/skills/core-data-expert/references/stack-setup.md +625 -0
  400. package/.codex/skills/core-data-expert/references/testing.md +300 -0
  401. package/.codex/skills/core-data-expert/references/threading.md +589 -0
  402. package/.codex/skills/debugging/SKILL.md +203 -0
  403. package/.codex/skills/deep-research/SKILL.md +384 -0
  404. package/.codex/skills/defense-in-depth/SKILL.md +166 -0
  405. package/.codex/skills/dependency-upgrades/SKILL.md +198 -0
  406. package/.codex/skills/design-system-audit/SKILL.md +153 -0
  407. package/.codex/skills/development-lifecycle/SKILL.md +356 -0
  408. package/.codex/skills/dispatching-parallel-agents/SKILL.md +191 -0
  409. package/.codex/skills/docs-handoff/SKILL.md +175 -0
  410. package/.codex/skills/executing-plans/SKILL.md +247 -0
  411. package/.codex/skills/figma/SKILL.md +224 -0
  412. package/.codex/skills/figma/mcp.json +6 -0
  413. package/.codex/skills/finishing-a-development-branch/SKILL.md +357 -0
  414. package/.codex/skills/frontend-design/SKILL.md +176 -0
  415. package/.codex/skills/gemini-large-context/SKILL.md +216 -0
  416. package/.codex/skills/git-pr-prep/SKILL.md +179 -0
  417. package/.codex/skills/index-knowledge/SKILL.md +413 -0
  418. package/.codex/skills/jira/SKILL.md +283 -0
  419. package/.codex/skills/jira/mcp.json +6 -0
  420. package/.codex/skills/memory-system/SKILL.md +93 -0
  421. package/.codex/skills/mockup-to-code/SKILL.md +184 -0
  422. package/.codex/skills/mqdh/SKILL.md +171 -0
  423. package/.codex/skills/obsidian/SKILL.md +187 -0
  424. package/.codex/skills/obsidian/mcp.json +22 -0
  425. package/.codex/skills/opensrc/SKILL.md +127 -0
  426. package/.codex/skills/opensrc/references/architecture.md +176 -0
  427. package/.codex/skills/opensrc/references/cli-usage.md +176 -0
  428. package/.codex/skills/opensrc/references/registry-support.md +137 -0
  429. package/.codex/skills/pdf-extract/SKILL.md +438 -0
  430. package/.codex/skills/playwright/SKILL.md +320 -0
  431. package/.codex/skills/playwright/mcp.json +16 -0
  432. package/.codex/skills/playwriter/SKILL.md +158 -0
  433. package/.codex/skills/polar/SKILL.md +102 -0
  434. package/.codex/skills/prd/SKILL.md +146 -0
  435. package/.codex/skills/prd-task/SKILL.md +182 -0
  436. package/.codex/skills/prd-task/references/prd-schema.json +124 -0
  437. package/.codex/skills/prompt-leverage/SKILL.md +69 -0
  438. package/.codex/skills/prompt-leverage/agents/openai.yaml +4 -0
  439. package/.codex/skills/prompt-leverage/references/framework.md +91 -0
  440. package/.codex/skills/prompt-leverage/scripts/augment_prompt.py +114 -0
  441. package/.codex/skills/ralph/SKILL.md +296 -0
  442. package/.codex/skills/react-best-practices/AGENTS.md +2410 -0
  443. package/.codex/skills/react-best-practices/README.md +123 -0
  444. package/.codex/skills/react-best-practices/SKILL.md +133 -0
  445. package/.codex/skills/react-best-practices/metadata.json +15 -0
  446. package/.codex/skills/react-best-practices/rules/_sections.md +46 -0
  447. package/.codex/skills/react-best-practices/rules/_template.md +28 -0
  448. package/.codex/skills/react-best-practices/rules/advanced-event-handler-refs.md +55 -0
  449. package/.codex/skills/react-best-practices/rules/advanced-use-latest.md +49 -0
  450. package/.codex/skills/react-best-practices/rules/async-api-routes.md +38 -0
  451. package/.codex/skills/react-best-practices/rules/async-defer-await.md +80 -0
  452. package/.codex/skills/react-best-practices/rules/async-dependencies.md +36 -0
  453. package/.codex/skills/react-best-practices/rules/async-parallel.md +28 -0
  454. package/.codex/skills/react-best-practices/rules/async-suspense-boundaries.md +99 -0
  455. package/.codex/skills/react-best-practices/rules/bundle-barrel-imports.md +59 -0
  456. package/.codex/skills/react-best-practices/rules/bundle-conditional.md +31 -0
  457. package/.codex/skills/react-best-practices/rules/bundle-defer-third-party.md +49 -0
  458. package/.codex/skills/react-best-practices/rules/bundle-dynamic-imports.md +35 -0
  459. package/.codex/skills/react-best-practices/rules/bundle-preload.md +50 -0
  460. package/.codex/skills/react-best-practices/rules/client-event-listeners.md +74 -0
  461. package/.codex/skills/react-best-practices/rules/client-localstorage-schema.md +71 -0
  462. package/.codex/skills/react-best-practices/rules/client-passive-event-listeners.md +48 -0
  463. package/.codex/skills/react-best-practices/rules/client-swr-dedup.md +56 -0
  464. package/.codex/skills/react-best-practices/rules/js-batch-dom-css.md +82 -0
  465. package/.codex/skills/react-best-practices/rules/js-cache-function-results.md +80 -0
  466. package/.codex/skills/react-best-practices/rules/js-cache-property-access.md +28 -0
  467. package/.codex/skills/react-best-practices/rules/js-cache-storage.md +70 -0
  468. package/.codex/skills/react-best-practices/rules/js-combine-iterations.md +32 -0
  469. package/.codex/skills/react-best-practices/rules/js-early-exit.md +50 -0
  470. package/.codex/skills/react-best-practices/rules/js-hoist-regexp.md +45 -0
  471. package/.codex/skills/react-best-practices/rules/js-index-maps.md +37 -0
  472. package/.codex/skills/react-best-practices/rules/js-length-check-first.md +49 -0
  473. package/.codex/skills/react-best-practices/rules/js-min-max-loop.md +82 -0
  474. package/.codex/skills/react-best-practices/rules/js-set-map-lookups.md +24 -0
  475. package/.codex/skills/react-best-practices/rules/js-tosorted-immutable.md +57 -0
  476. package/.codex/skills/react-best-practices/rules/rendering-activity.md +26 -0
  477. package/.codex/skills/react-best-practices/rules/rendering-animate-svg-wrapper.md +47 -0
  478. package/.codex/skills/react-best-practices/rules/rendering-conditional-render.md +40 -0
  479. package/.codex/skills/react-best-practices/rules/rendering-content-visibility.md +38 -0
  480. package/.codex/skills/react-best-practices/rules/rendering-hoist-jsx.md +46 -0
  481. package/.codex/skills/react-best-practices/rules/rendering-hydration-no-flicker.md +82 -0
  482. package/.codex/skills/react-best-practices/rules/rendering-svg-precision.md +28 -0
  483. package/.codex/skills/react-best-practices/rules/rerender-defer-reads.md +39 -0
  484. package/.codex/skills/react-best-practices/rules/rerender-dependencies.md +45 -0
  485. package/.codex/skills/react-best-practices/rules/rerender-derived-state.md +29 -0
  486. package/.codex/skills/react-best-practices/rules/rerender-functional-setstate.md +74 -0
  487. package/.codex/skills/react-best-practices/rules/rerender-lazy-state-init.md +58 -0
  488. package/.codex/skills/react-best-practices/rules/rerender-memo.md +44 -0
  489. package/.codex/skills/react-best-practices/rules/rerender-transitions.md +40 -0
  490. package/.codex/skills/react-best-practices/rules/server-after-nonblocking.md +73 -0
  491. package/.codex/skills/react-best-practices/rules/server-cache-lru.md +41 -0
  492. package/.codex/skills/react-best-practices/rules/server-cache-react.md +76 -0
  493. package/.codex/skills/react-best-practices/rules/server-parallel-fetching.md +83 -0
  494. package/.codex/skills/react-best-practices/rules/server-serialization.md +38 -0
  495. package/.codex/skills/receiving-code-review/SKILL.md +252 -0
  496. package/.codex/skills/refactoring/SKILL.md +217 -0
  497. package/.codex/skills/repo-orientation/SKILL.md +156 -0
  498. package/.codex/skills/requesting-code-review/SKILL.md +397 -0
  499. package/.codex/skills/resend/SKILL.md +177 -0
  500. package/.codex/skills/resend/references/react-email.md +287 -0
  501. package/.codex/skills/resend/references/receive-email.md +248 -0
  502. package/.codex/skills/resend/references/send-email.md +318 -0
  503. package/.codex/skills/root-cause-tracing/SKILL.md +192 -0
  504. package/.codex/skills/root-cause-tracing/find-polluter.sh +63 -0
  505. package/.codex/skills/safe-implementation/SKILL.md +205 -0
  506. package/.codex/skills/session-management/SKILL.md +10 -0
  507. package/.codex/skills/sharing-skills/SKILL.md +214 -0
  508. package/.codex/skills/skill-creator/SKILL.md +156 -0
  509. package/.codex/skills/source-code-research/SKILL.md +293 -0
  510. package/.codex/skills/source-code-research/references/analysis-tips.md +43 -0
  511. package/.codex/skills/source-code-research/references/anti-patterns.md +36 -0
  512. package/.codex/skills/source-code-research/references/common-patterns.md +57 -0
  513. package/.codex/skills/source-code-research/references/example-workflow.md +60 -0
  514. package/.codex/skills/source-code-research/references/further-reading.md +5 -0
  515. package/.codex/skills/source-code-research/references/source-structure.md +45 -0
  516. package/.codex/skills/stitch/SKILL.md +147 -0
  517. package/.codex/skills/stitch/mcp.json +9 -0
  518. package/.codex/skills/structured-edit/SKILL.md +181 -0
  519. package/.codex/skills/subagent-driven-development/SKILL.md +237 -0
  520. package/.codex/skills/supabase/SKILL.md +130 -0
  521. package/.codex/skills/supabase/mcp.json +27 -0
  522. package/.codex/skills/supabase-postgres-best-practices/AGENTS.md +1490 -0
  523. package/.codex/skills/supabase-postgres-best-practices/SKILL.md +65 -0
  524. package/.codex/skills/supabase-postgres-best-practices/rules/advanced-full-text-search.md +55 -0
  525. package/.codex/skills/supabase-postgres-best-practices/rules/advanced-jsonb-indexing.md +49 -0
  526. package/.codex/skills/supabase-postgres-best-practices/rules/conn-idle-timeout.md +46 -0
  527. package/.codex/skills/supabase-postgres-best-practices/rules/conn-limits.md +44 -0
  528. package/.codex/skills/supabase-postgres-best-practices/rules/conn-pooling.md +41 -0
  529. package/.codex/skills/supabase-postgres-best-practices/rules/conn-prepared-statements.md +46 -0
  530. package/.codex/skills/supabase-postgres-best-practices/rules/data-batch-inserts.md +54 -0
  531. package/.codex/skills/supabase-postgres-best-practices/rules/data-n-plus-one.md +53 -0
  532. package/.codex/skills/supabase-postgres-best-practices/rules/data-pagination.md +50 -0
  533. package/.codex/skills/supabase-postgres-best-practices/rules/data-upsert.md +50 -0
  534. package/.codex/skills/supabase-postgres-best-practices/rules/lock-advisory.md +56 -0
  535. package/.codex/skills/supabase-postgres-best-practices/rules/lock-deadlock-prevention.md +68 -0
  536. package/.codex/skills/supabase-postgres-best-practices/rules/lock-short-transactions.md +50 -0
  537. package/.codex/skills/supabase-postgres-best-practices/rules/lock-skip-locked.md +54 -0
  538. package/.codex/skills/supabase-postgres-best-practices/rules/monitor-explain-analyze.md +45 -0
  539. package/.codex/skills/supabase-postgres-best-practices/rules/monitor-pg-stat-statements.md +55 -0
  540. package/.codex/skills/supabase-postgres-best-practices/rules/monitor-vacuum-analyze.md +55 -0
  541. package/.codex/skills/supabase-postgres-best-practices/rules/query-composite-indexes.md +44 -0
  542. package/.codex/skills/supabase-postgres-best-practices/rules/query-covering-indexes.md +40 -0
  543. package/.codex/skills/supabase-postgres-best-practices/rules/query-index-types.md +45 -0
  544. package/.codex/skills/supabase-postgres-best-practices/rules/query-missing-indexes.md +43 -0
  545. package/.codex/skills/supabase-postgres-best-practices/rules/query-partial-indexes.md +45 -0
  546. package/.codex/skills/supabase-postgres-best-practices/rules/schema-data-types.md +46 -0
  547. package/.codex/skills/supabase-postgres-best-practices/rules/schema-foreign-key-indexes.md +59 -0
  548. package/.codex/skills/supabase-postgres-best-practices/rules/schema-lowercase-identifiers.md +55 -0
  549. package/.codex/skills/supabase-postgres-best-practices/rules/schema-partitioning.md +55 -0
  550. package/.codex/skills/supabase-postgres-best-practices/rules/schema-primary-keys.md +61 -0
  551. package/.codex/skills/supabase-postgres-best-practices/rules/security-privileges.md +54 -0
  552. package/.codex/skills/supabase-postgres-best-practices/rules/security-rls-basics.md +50 -0
  553. package/.codex/skills/supabase-postgres-best-practices/rules/security-rls-performance.md +57 -0
  554. package/.codex/skills/swarm-coordination/SKILL.md +179 -0
  555. package/.codex/skills/swarm-coordination/references/architecture.md +39 -0
  556. package/.codex/skills/swarm-coordination/references/delegation-worker-protocol.md +145 -0
  557. package/.codex/skills/swarm-coordination/references/dependency-graph.md +50 -0
  558. package/.codex/skills/swarm-coordination/references/drift-check.md +90 -0
  559. package/.codex/skills/swarm-coordination/references/integration-beads.md +20 -0
  560. package/.codex/skills/swarm-coordination/references/launch-flow.md +186 -0
  561. package/.codex/skills/swarm-coordination/references/reconciler.md +172 -0
  562. package/.codex/skills/swarm-coordination/references/tier-enforcement.md +78 -0
  563. package/.codex/skills/swarm-coordination/references/tmux-integration.md +134 -0
  564. package/.codex/skills/swift-concurrency/SKILL.md +266 -0
  565. package/.codex/skills/swift-concurrency/references/actors.md +640 -0
  566. package/.codex/skills/swift-concurrency/references/async-algorithms.md +822 -0
  567. package/.codex/skills/swift-concurrency/references/async-await-basics.md +249 -0
  568. package/.codex/skills/swift-concurrency/references/async-sequences.md +670 -0
  569. package/.codex/skills/swift-concurrency/references/core-data.md +533 -0
  570. package/.codex/skills/swift-concurrency/references/glossary.md +128 -0
  571. package/.codex/skills/swift-concurrency/references/linting.md +142 -0
  572. package/.codex/skills/swift-concurrency/references/memory-management.md +542 -0
  573. package/.codex/skills/swift-concurrency/references/migration.md +1076 -0
  574. package/.codex/skills/swift-concurrency/references/performance.md +574 -0
  575. package/.codex/skills/swift-concurrency/references/sendable.md +578 -0
  576. package/.codex/skills/swift-concurrency/references/tasks.md +604 -0
  577. package/.codex/skills/swift-concurrency/references/testing.md +565 -0
  578. package/.codex/skills/swift-concurrency/references/threading.md +452 -0
  579. package/.codex/skills/swiftui-expert-skill/SKILL.md +329 -0
  580. package/.codex/skills/swiftui-expert-skill/references/animation-advanced.md +351 -0
  581. package/.codex/skills/swiftui-expert-skill/references/animation-basics.md +284 -0
  582. package/.codex/skills/swiftui-expert-skill/references/animation-transitions.md +326 -0
  583. package/.codex/skills/swiftui-expert-skill/references/image-optimization.md +286 -0
  584. package/.codex/skills/swiftui-expert-skill/references/layout-best-practices.md +312 -0
  585. package/.codex/skills/swiftui-expert-skill/references/liquid-glass.md +377 -0
  586. package/.codex/skills/swiftui-expert-skill/references/list-patterns.md +153 -0
  587. package/.codex/skills/swiftui-expert-skill/references/modern-apis.md +400 -0
  588. package/.codex/skills/swiftui-expert-skill/references/performance-patterns.md +377 -0
  589. package/.codex/skills/swiftui-expert-skill/references/scroll-patterns.md +305 -0
  590. package/.codex/skills/swiftui-expert-skill/references/sheet-navigation-patterns.md +292 -0
  591. package/.codex/skills/swiftui-expert-skill/references/state-management.md +447 -0
  592. package/.codex/skills/swiftui-expert-skill/references/text-formatting.md +285 -0
  593. package/.codex/skills/swiftui-expert-skill/references/view-structure.md +276 -0
  594. package/.codex/skills/systematic-debugging/SKILL.md +402 -0
  595. package/.codex/skills/task-planning/SKILL.md +205 -0
  596. package/.codex/skills/test-driven-development/SKILL.md +388 -0
  597. package/.codex/skills/test-strategy/SKILL.md +186 -0
  598. package/.codex/skills/testing-anti-patterns/SKILL.md +320 -0
  599. package/.codex/skills/testing-skills-with-subagents/SKILL.md +405 -0
  600. package/.codex/skills/tilth-cli/SKILL.md +180 -0
  601. package/.codex/skills/tool-priority/SKILL.md +299 -0
  602. package/.codex/skills/ui-inspiration-scout/SKILL.md +203 -0
  603. package/.codex/skills/ui-ux-research/SKILL.md +35 -0
  604. package/.codex/skills/using-git-worktrees/SKILL.md +259 -0
  605. package/.codex/skills/using-skills/SKILL.md +117 -0
  606. package/.codex/skills/v0/SKILL.md +158 -0
  607. package/.codex/skills/v0/mcp.json +6 -0
  608. package/.codex/skills/v1-run/SKILL.md +175 -0
  609. package/.codex/skills/v1-run/mcp.json +6 -0
  610. package/.codex/skills/vercel-deploy-claimable/SKILL.md +124 -0
  611. package/.codex/skills/vercel-deploy-claimable/scripts/deploy.sh +249 -0
  612. package/.codex/skills/verification/SKILL.md +191 -0
  613. package/.codex/skills/verification-before-completion/SKILL.md +236 -0
  614. package/.codex/skills/visual-analysis/SKILL.md +154 -0
  615. package/.codex/skills/web-design-guidelines/SKILL.md +46 -0
  616. package/.codex/skills/writing-plans/SKILL.md +320 -0
  617. package/.codex/skills/writing-skills/SKILL.md +287 -0
  618. package/.codex/skills/writing-skills/anthropic-best-practices.md +1173 -0
  619. package/.codex/skills/writing-skills/graphviz-conventions.dot +172 -0
  620. package/.codex/skills/writing-skills/persuasion-principles.md +220 -0
  621. package/.codex/skills/writing-skills/references/anti-patterns.md +25 -0
  622. package/.codex/skills/writing-skills/references/claude-search-optimization.md +140 -0
  623. package/.codex/skills/writing-skills/references/discovery-workflow.md +11 -0
  624. package/.codex/skills/writing-skills/references/file-organization.md +32 -0
  625. package/.codex/skills/writing-skills/references/flowcharts-and-examples.md +57 -0
  626. package/.codex/skills/writing-skills/references/rationalization-hardening.md +75 -0
  627. package/.codex/skills/writing-skills/references/testing-skill-types.md +52 -0
  628. package/.template-manifest.json +631 -0
  629. package/AGENTS.md +719 -0
  630. package/AGENTS.override.md.example +7 -0
  631. package/CHANGELOG.md +28 -0
  632. package/LICENSE +21 -0
  633. package/README.md +641 -0
  634. package/bin/codexkit +148 -0
  635. package/install/bead-close.sh +20 -0
  636. package/install/bead-search.sh +18 -0
  637. package/install/bead-start.sh +20 -0
  638. package/install/bead-sync.sh +19 -0
  639. package/install/bead-verify.sh +20 -0
  640. package/install/generate-manifest.sh +55 -0
  641. package/install/install-global.sh +150 -0
  642. package/install/install-project.sh +704 -0
  643. package/install/install-remote.sh +152 -0
  644. package/install/patch.sh +478 -0
  645. package/install/plugin.sh +565 -0
  646. package/install/run-codex.sh +68 -0
  647. package/install/template.sh +620 -0
  648. package/install/validate.sh +653 -0
  649. package/package.json +39 -0
  650. package/templates/global/.codex-config-template.toml +87 -0
  651. package/templates/global/AGENTS.override.md +18 -0
  652. package/templates/global/README.md +29 -0
  653. package/templates/project/.codex-config-template.toml +26 -0
  654. package/templates/project/AGENTS.md.template +27 -0
  655. package/templates/project/README.md +24 -0
@@ -0,0 +1,1173 @@
1
+ # Skill authoring best practices
2
+
3
+ > Learn how to write effective Skills that Claude can discover and use successfully.
4
+
5
+ Good Skills are concise, well-structured, and tested with real usage. This guide provides practical authoring decisions to help you write Skills that Claude can discover and use effectively.
6
+
7
+ For conceptual background on how Skills work, see the [Skills overview](/en/docs/agents-and-tools/agent-skills/overview).
8
+
9
+ ## Core principles
10
+
11
+ ### Concise is key
12
+
13
+ The [context window](/en/docs/build-with-claude/context-windows) is a public good. Your Skill shares the context window with everything else Claude needs to know, including:
14
+
15
+ - The system prompt
16
+ - Conversation history
17
+ - Other Skills' metadata
18
+ - Your actual request
19
+
20
+ Not every token in your Skill has an immediate cost. At startup, only the metadata (name and description) from all Skills is pre-loaded. Claude reads SKILL.md only when the Skill becomes relevant, and reads additional files only as needed. However, being concise in SKILL.md still matters: once Claude loads it, every token competes with conversation history and other context.
21
+
22
+ **Default assumption**: Claude is already very smart
23
+
24
+ Only add context Claude doesn't already have. Challenge each piece of information:
25
+
26
+ - "Does Claude really need this explanation?"
27
+ - "Can I assume Claude knows this?"
28
+ - "Does this paragraph justify its token cost?"
29
+
30
+ **Good example: Concise** (approximately 50 tokens):
31
+
32
+ ````markdown theme={null}
33
+ ## Extract PDF text
34
+
35
+ Use pdfplumber for text extraction:
36
+
37
+ ```python
38
+ import pdfplumber
39
+
40
+ with pdfplumber.open("file.pdf") as pdf:
41
+ text = pdf.pages[0].extract_text()
42
+ ```
43
+ ````
44
+
45
+ **Bad example: Too verbose** (approximately 150 tokens):
46
+
47
+ ```markdown theme={null}
48
+ ## Extract PDF text
49
+
50
+ PDF (Portable Document Format) files are a common file format that contains
51
+ text, images, and other content. To extract text from a PDF, you'll need to
52
+ use a library. There are many libraries available for PDF processing, but we
53
+ recommend pdfplumber because it's easy to use and handles most cases well.
54
+ First, you'll need to install it using pip. Then you can use the code below...
55
+ ```
56
+
57
+ The concise version assumes Claude knows what PDFs are and how libraries work.
58
+
59
+ ### Set appropriate degrees of freedom
60
+
61
+ Match the level of specificity to the task's fragility and variability.
62
+
63
+ **High freedom** (text-based instructions):
64
+
65
+ Use when:
66
+
67
+ - Multiple approaches are valid
68
+ - Decisions depend on context
69
+ - Heuristics guide the approach
70
+
71
+ Example:
72
+
73
+ ```markdown theme={null}
74
+ ## Code review process
75
+
76
+ 1. Analyze the code structure and organization
77
+ 2. Check for potential bugs or edge cases
78
+ 3. Suggest improvements for readability and maintainability
79
+ 4. Verify adherence to project conventions
80
+ ```
81
+
82
+ **Medium freedom** (pseudocode or scripts with parameters):
83
+
84
+ Use when:
85
+
86
+ - A preferred pattern exists
87
+ - Some variation is acceptable
88
+ - Configuration affects behavior
89
+
90
+ Example:
91
+
92
+ ````markdown theme={null}
93
+ ## Generate report
94
+
95
+ Use this template and customize as needed:
96
+
97
+ ```python
98
+ def generate_report(data, format="markdown", include_charts=True):
99
+ # Process data
100
+ # Generate output in specified format
101
+ # Optionally include visualizations
102
+ ```
103
+ ````
104
+
105
+ **Low freedom** (specific scripts, few or no parameters):
106
+
107
+ Use when:
108
+
109
+ - Operations are fragile and error-prone
110
+ - Consistency is critical
111
+ - A specific sequence must be followed
112
+
113
+ Example:
114
+
115
+ ````markdown theme={null}
116
+ ## Database migration
117
+
118
+ Run exactly this script:
119
+
120
+ ```bash
121
+ python scripts/migrate.py --verify --backup
122
+ ```
123
+
124
+ Do not modify the command or add additional flags.
125
+ ````
126
+
127
+ **Analogy**: Think of Claude as a robot exploring a path:
128
+
129
+ - **Narrow bridge with cliffs on both sides**: There's only one safe way forward. Provide specific guardrails and exact instructions (low freedom). Example: database migrations that must run in exact sequence.
130
+ - **Open field with no hazards**: Many paths lead to success. Give general direction and trust Claude to find the best route (high freedom). Example: code reviews where context determines the best approach.
131
+
132
+ ### Test with all models you plan to use
133
+
134
+ Skills act as additions to models, so effectiveness depends on the underlying model. Test your Skill with all the models you plan to use it with.
135
+
136
+ **Testing considerations by model**:
137
+
138
+ - **Claude Haiku** (fast, economical): Does the Skill provide enough guidance?
139
+ - **Claude Sonnet** (balanced): Is the Skill clear and efficient?
140
+ - **Claude Opus** (powerful reasoning): Does the Skill avoid over-explaining?
141
+
142
+ What works perfectly for Opus might need more detail for Haiku. If you plan to use your Skill across multiple models, aim for instructions that work well with all of them.
143
+
144
+ ## Skill structure
145
+
146
+ <Note>
147
+ **YAML Frontmatter**: The SKILL.md frontmatter supports two fields:
148
+
149
+ - `name` - Human-readable name of the Skill (64 characters maximum)
150
+ - `description` - One-line description of what the Skill does and when to use it (1024 characters maximum)
151
+
152
+ For complete Skill structure details, see the [Skills overview](/en/docs/agents-and-tools/agent-skills/overview#skill-structure).
153
+ </Note>
154
+
155
+ ### Naming conventions
156
+
157
+ Use consistent naming patterns to make Skills easier to reference and discuss. We recommend using **gerund form** (verb + -ing) for Skill names, as this clearly describes the activity or capability the Skill provides.
158
+
159
+ **Good naming examples (gerund form)**:
160
+
161
+ - "Processing PDFs"
162
+ - "Analyzing spreadsheets"
163
+ - "Managing databases"
164
+ - "Testing code"
165
+ - "Writing documentation"
166
+
167
+ **Acceptable alternatives**:
168
+
169
+ - Noun phrases: "PDF Processing", "Spreadsheet Analysis"
170
+ - Action-oriented: "Process PDFs", "Analyze Spreadsheets"
171
+
172
+ **Avoid**:
173
+
174
+ - Vague names: "Helper", "Utils", "Tools"
175
+ - Overly generic: "Documents", "Data", "Files"
176
+ - Inconsistent patterns within your skill collection
177
+
178
+ Consistent naming makes it easier to:
179
+
180
+ - Reference Skills in documentation and conversations
181
+ - Understand what a Skill does at a glance
182
+ - Organize and search through multiple Skills
183
+ - Maintain a professional, cohesive skill library
184
+
185
+ ### Writing effective descriptions
186
+
187
+ The `description` field enables Skill discovery and should include both what the Skill does and when to use it.
188
+
189
+ <Warning>
190
+ **Always write in third person**. The description is injected into the system prompt, and inconsistent point-of-view can cause discovery problems.
191
+
192
+ - **Good:** "Processes Excel files and generates reports"
193
+ - **Avoid:** "I can help you process Excel files"
194
+ - **Avoid:** "You can use this to process Excel files"
195
+ </Warning>
196
+
197
+ **Be specific and include key terms**. Include both what the Skill does and specific triggers/contexts for when to use it.
198
+
199
+ Each Skill has exactly one description field. The description is critical for skill selection: Claude uses it to choose the right Skill from potentially 100+ available Skills. Your description must provide enough detail for Claude to know when to select this Skill, while the rest of SKILL.md provides the implementation details.
200
+
201
+ Effective examples:
202
+
203
+ **PDF Processing skill:**
204
+
205
+ ```yaml theme={null}
206
+ description: Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDF files or when the user mentions PDFs, forms, or document extraction.
207
+ ```
208
+
209
+ **Excel Analysis skill:**
210
+
211
+ ```yaml theme={null}
212
+ description: Analyze Excel spreadsheets, create pivot tables, generate charts. Use when analyzing Excel files, spreadsheets, tabular data, or .xlsx files.
213
+ ```
214
+
215
+ **Git Commit Helper skill:**
216
+
217
+ ```yaml theme={null}
218
+ description: Generate descriptive commit messages by analyzing git diffs. Use when the user asks for help writing commit messages or reviewing staged changes.
219
+ ```
220
+
221
+ Avoid vague descriptions like these:
222
+
223
+ ```yaml theme={null}
224
+ description: Helps with documents
225
+ ```
226
+
227
+ ```yaml theme={null}
228
+ description: Processes data
229
+ ```
230
+
231
+ ```yaml theme={null}
232
+ description: Does stuff with files
233
+ ```
234
+
235
+ ### Progressive disclosure patterns
236
+
237
+ SKILL.md serves as an overview that points Claude to detailed materials as needed, like a table of contents in an onboarding guide. For an explanation of how progressive disclosure works, see [How Skills work](/en/docs/agents-and-tools/agent-skills/overview#how-skills-work) in the overview.
238
+
239
+ **Practical guidance:**
240
+
241
+ - Keep SKILL.md body under 500 lines for optimal performance
242
+ - Split content into separate files when approaching this limit
243
+ - Use the patterns below to organize instructions, code, and resources effectively
244
+
245
+ #### Visual overview: From simple to complex
246
+
247
+ A basic Skill starts with just a SKILL.md file containing metadata and instructions:
248
+
249
+ <img src="https://mintcdn.com/anthropic-claude-docs/4Bny2bjzuGBK7o00/images/agent-skills-simple-file.png?fit=max&auto=format&n=4Bny2bjzuGBK7o00&q=85&s=87782ff239b297d9a9e8e1b72ed72db9" alt="Simple SKILL.md file showing YAML frontmatter and markdown body" data-og-width="2048" width="2048" data-og-height="1153" height="1153" data-path="images/agent-skills-simple-file.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/anthropic-claude-docs/4Bny2bjzuGBK7o00/images/agent-skills-simple-file.png?w=280&fit=max&auto=format&n=4Bny2bjzuGBK7o00&q=85&s=c61cc33b6f5855809907f7fda94cd80e 280w, https://mintcdn.com/anthropic-claude-docs/4Bny2bjzuGBK7o00/images/agent-skills-simple-file.png?w=560&fit=max&auto=format&n=4Bny2bjzuGBK7o00&q=85&s=90d2c0c1c76b36e8d485f49e0810dbfd 560w, https://mintcdn.com/anthropic-claude-docs/4Bny2bjzuGBK7o00/images/agent-skills-simple-file.png?w=840&fit=max&auto=format&n=4Bny2bjzuGBK7o00&q=85&s=ad17d231ac7b0bea7e5b4d58fb4aeabb 840w, https://mintcdn.com/anthropic-claude-docs/4Bny2bjzuGBK7o00/images/agent-skills-simple-file.png?w=1100&fit=max&auto=format&n=4Bny2bjzuGBK7o00&q=85&s=f5d0a7a3c668435bb0aee9a3a8f8c329 1100w, https://mintcdn.com/anthropic-claude-docs/4Bny2bjzuGBK7o00/images/agent-skills-simple-file.png?w=1650&fit=max&auto=format&n=4Bny2bjzuGBK7o00&q=85&s=0e927c1af9de5799cfe557d12249f6e6 1650w, https://mintcdn.com/anthropic-claude-docs/4Bny2bjzuGBK7o00/images/agent-skills-simple-file.png?w=2500&fit=max&auto=format&n=4Bny2bjzuGBK7o00&q=85&s=46bbb1a51dd4c8202a470ac8c80a893d 2500w" />
250
+
251
+ As your Skill grows, you can bundle additional content that Claude loads only when needed:
252
+
253
+ <img src="https://mintcdn.com/anthropic-claude-docs/4Bny2bjzuGBK7o00/images/agent-skills-bundling-content.png?fit=max&auto=format&n=4Bny2bjzuGBK7o00&q=85&s=a5e0aa41e3d53985a7e3e43668a33ea3" alt="Bundling additional reference files like reference.md and forms.md." data-og-width="2048" width="2048" data-og-height="1327" height="1327" data-path="images/agent-skills-bundling-content.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/anthropic-claude-docs/4Bny2bjzuGBK7o00/images/agent-skills-bundling-content.png?w=280&fit=max&auto=format&n=4Bny2bjzuGBK7o00&q=85&s=f8a0e73783e99b4a643d79eac86b70a2 280w, https://mintcdn.com/anthropic-claude-docs/4Bny2bjzuGBK7o00/images/agent-skills-bundling-content.png?w=560&fit=max&auto=format&n=4Bny2bjzuGBK7o00&q=85&s=dc510a2a9d3f14359416b706f067904a 560w, https://mintcdn.com/anthropic-claude-docs/4Bny2bjzuGBK7o00/images/agent-skills-bundling-content.png?w=840&fit=max&auto=format&n=4Bny2bjzuGBK7o00&q=85&s=82cd6286c966303f7dd914c28170e385 840w, https://mintcdn.com/anthropic-claude-docs/4Bny2bjzuGBK7o00/images/agent-skills-bundling-content.png?w=1100&fit=max&auto=format&n=4Bny2bjzuGBK7o00&q=85&s=56f3be36c77e4fe4b523df209a6824c6 1100w, https://mintcdn.com/anthropic-claude-docs/4Bny2bjzuGBK7o00/images/agent-skills-bundling-content.png?w=1650&fit=max&auto=format&n=4Bny2bjzuGBK7o00&q=85&s=d22b5161b2075656417d56f41a74f3dd 1650w, https://mintcdn.com/anthropic-claude-docs/4Bny2bjzuGBK7o00/images/agent-skills-bundling-content.png?w=2500&fit=max&auto=format&n=4Bny2bjzuGBK7o00&q=85&s=3dd4bdd6850ffcc96c6c45fcb0acd6eb 2500w" />
254
+
255
+ The complete Skill directory structure might look like this:
256
+
257
+ ```
258
+ pdf/
259
+ ├── SKILL.md # Main instructions (loaded when triggered)
260
+ ├── FORMS.md # Form-filling guide (loaded as needed)
261
+ ├── reference.md # API reference (loaded as needed)
262
+ ├── examples.md # Usage examples (loaded as needed)
263
+ └── scripts/
264
+ ├── analyze_form.py # Utility script (executed, not loaded)
265
+ ├── fill_form.py # Form filling script
266
+ └── validate.py # Validation script
267
+ ```
268
+
269
+ #### Pattern 1: High-level guide with references
270
+
271
+ ````markdown theme={null}
272
+ ---
273
+ name: PDF Processing
274
+ description: Extracts text and tables from PDF files, fills forms, and merges documents. Use when working with PDF files or when the user mentions PDFs, forms, or document extraction.
275
+ ---
276
+
277
+ # PDF Processing
278
+
279
+ ## Quick start
280
+
281
+ Extract text with pdfplumber:
282
+
283
+ ```python
284
+ import pdfplumber
285
+ with pdfplumber.open("file.pdf") as pdf:
286
+ text = pdf.pages[0].extract_text()
287
+ ```
288
+
289
+ ## Advanced features
290
+
291
+ **Form filling**: See [FORMS.md](FORMS.md) for complete guide
292
+ **API reference**: See [REFERENCE.md](REFERENCE.md) for all methods
293
+ **Examples**: See [EXAMPLES.md](EXAMPLES.md) for common patterns
294
+ ````
295
+
296
+ Claude loads FORMS.md, REFERENCE.md, or EXAMPLES.md only when needed.
297
+
298
+ #### Pattern 2: Domain-specific organization
299
+
300
+ For Skills with multiple domains, organize content by domain to avoid loading irrelevant context. When a user asks about sales metrics, Claude only needs to read sales-related schemas, not finance or marketing data. This keeps token usage low and context focused.
301
+
302
+ ```
303
+ bigquery-skill/
304
+ ├── SKILL.md (overview and navigation)
305
+ └── reference/
306
+ ├── finance.md (revenue, billing metrics)
307
+ ├── sales.md (opportunities, pipeline)
308
+ ├── product.md (API usage, features)
309
+ └── marketing.md (campaigns, attribution)
310
+ ```
311
+
312
+ ````markdown SKILL.md theme={null}
313
+ # BigQuery Data Analysis
314
+
315
+ ## Available datasets
316
+
317
+ **Finance**: Revenue, ARR, billing → See [reference/finance.md](reference/finance.md)
318
+ **Sales**: Opportunities, pipeline, accounts → See [reference/sales.md](reference/sales.md)
319
+ **Product**: API usage, features, adoption → See [reference/product.md](reference/product.md)
320
+ **Marketing**: Campaigns, attribution, email → See [reference/marketing.md](reference/marketing.md)
321
+
322
+ ## Quick search
323
+
324
+ Find specific metrics using grep:
325
+
326
+ ```bash
327
+ grep -i "revenue" reference/finance.md
328
+ grep -i "pipeline" reference/sales.md
329
+ grep -i "api usage" reference/product.md
330
+ ```
331
+ ````
332
+
333
+ #### Pattern 3: Conditional details
334
+
335
+ Show basic content, link to advanced content:
336
+
337
+ ```markdown theme={null}
338
+ # DOCX Processing
339
+
340
+ ## Creating documents
341
+
342
+ Use docx-js for new documents. See [DOCX-JS.md](DOCX-JS.md).
343
+
344
+ ## Editing documents
345
+
346
+ For simple edits, modify the XML directly.
347
+
348
+ **For tracked changes**: See [REDLINING.md](REDLINING.md)
349
+ **For OOXML details**: See [OOXML.md](OOXML.md)
350
+ ```
351
+
352
+ Claude reads REDLINING.md or OOXML.md only when the user needs those features.
353
+
354
+ ### Avoid deeply nested references
355
+
356
+ Claude may partially read files when they're referenced from other referenced files. When encountering nested references, Claude might use commands like `head -100` to preview content rather than reading entire files, resulting in incomplete information.
357
+
358
+ **Keep references one level deep from SKILL.md**. All reference files should link directly from SKILL.md to ensure Claude reads complete files when needed.
359
+
360
+ **Bad example: Too deep**:
361
+
362
+ ```markdown theme={null}
363
+ # SKILL.md
364
+
365
+ See [advanced.md](advanced.md)...
366
+
367
+ # advanced.md
368
+
369
+ See [details.md](details.md)...
370
+
371
+ # details.md
372
+
373
+ Here's the actual information...
374
+ ```
375
+
376
+ **Good example: One level deep**:
377
+
378
+ ```markdown theme={null}
379
+ # SKILL.md
380
+
381
+ **Basic usage**: [instructions in SKILL.md]
382
+ **Advanced features**: See [advanced.md](advanced.md)
383
+ **API reference**: See [reference.md](reference.md)
384
+ **Examples**: See [examples.md](examples.md)
385
+ ```
386
+
387
+ ### Structure longer reference files with table of contents
388
+
389
+ For reference files longer than 100 lines, include a table of contents at the top. This ensures Claude can see the full scope of available information even when previewing with partial reads.
390
+
391
+ **Example**:
392
+
393
+ ```markdown theme={null}
394
+ # API Reference
395
+
396
+ ## Contents
397
+
398
+ - Authentication and setup
399
+ - Core methods (create, read, update, delete)
400
+ - Advanced features (batch operations, webhooks)
401
+ - Error handling patterns
402
+ - Code examples
403
+
404
+ ## Authentication and setup
405
+
406
+ ...
407
+
408
+ ## Core methods
409
+
410
+ ...
411
+ ```
412
+
413
+ Claude can then read the complete file or jump to specific sections as needed.
414
+
415
+ For details on how this filesystem-based architecture enables progressive disclosure, see the [Runtime environment](#runtime-environment) section in the Advanced section below.
416
+
417
+ ## Workflows and feedback loops
418
+
419
+ ### Use workflows for complex tasks
420
+
421
+ Break complex operations into clear, sequential steps. For particularly complex workflows, provide a checklist that Claude can copy into its response and check off as it progresses.
422
+
423
+ **Example 1: Research synthesis workflow** (for Skills without code):
424
+
425
+ ````markdown theme={null}
426
+ ## Research synthesis workflow
427
+
428
+ Copy this checklist and track your progress:
429
+
430
+ ```
431
+ Research Progress:
432
+ - [ ] Step 1: Read all source documents
433
+ - [ ] Step 2: Identify key themes
434
+ - [ ] Step 3: Cross-reference claims
435
+ - [ ] Step 4: Create structured summary
436
+ - [ ] Step 5: Verify citations
437
+ ```
438
+
439
+ **Step 1: Read all source documents**
440
+
441
+ Review each document in the `sources/` directory. Note the main arguments and supporting evidence.
442
+
443
+ **Step 2: Identify key themes**
444
+
445
+ Look for patterns across sources. What themes appear repeatedly? Where do sources agree or disagree?
446
+
447
+ **Step 3: Cross-reference claims**
448
+
449
+ For each major claim, verify it appears in the source material. Note which source supports each point.
450
+
451
+ **Step 4: Create structured summary**
452
+
453
+ Organize findings by theme. Include:
454
+
455
+ - Main claim
456
+ - Supporting evidence from sources
457
+ - Conflicting viewpoints (if any)
458
+
459
+ **Step 5: Verify citations**
460
+
461
+ Check that every claim references the correct source document. If citations are incomplete, return to Step 3.
462
+ ````
463
+
464
+ This example shows how workflows apply to analysis tasks that don't require code. The checklist pattern works for any complex, multi-step process.
465
+
466
+ **Example 2: PDF form filling workflow** (for Skills with code):
467
+
468
+ ````markdown theme={null}
469
+ ## PDF form filling workflow
470
+
471
+ Copy this checklist and check off items as you complete them:
472
+
473
+ ```
474
+ Task Progress:
475
+ - [ ] Step 1: Analyze the form (run analyze_form.py)
476
+ - [ ] Step 2: Create field mapping (edit fields.json)
477
+ - [ ] Step 3: Validate mapping (run validate_fields.py)
478
+ - [ ] Step 4: Fill the form (run fill_form.py)
479
+ - [ ] Step 5: Verify output (run verify_output.py)
480
+ ```
481
+
482
+ **Step 1: Analyze the form**
483
+
484
+ Run: `python scripts/analyze_form.py input.pdf`
485
+
486
+ This extracts form fields and their locations, saving to `fields.json`.
487
+
488
+ **Step 2: Create field mapping**
489
+
490
+ Edit `fields.json` to add values for each field.
491
+
492
+ **Step 3: Validate mapping**
493
+
494
+ Run: `python scripts/validate_fields.py fields.json`
495
+
496
+ Fix any validation errors before continuing.
497
+
498
+ **Step 4: Fill the form**
499
+
500
+ Run: `python scripts/fill_form.py input.pdf fields.json output.pdf`
501
+
502
+ **Step 5: Verify output**
503
+
504
+ Run: `python scripts/verify_output.py output.pdf`
505
+
506
+ If verification fails, return to Step 2.
507
+ ````
508
+
509
+ Clear steps prevent Claude from skipping critical validation. The checklist helps both Claude and you track progress through multi-step workflows.
510
+
511
+ ### Implement feedback loops
512
+
513
+ **Common pattern**: Run validator → fix errors → repeat
514
+
515
+ This pattern greatly improves output quality.
516
+
517
+ **Example 1: Style guide compliance** (for Skills without code):
518
+
519
+ ```markdown theme={null}
520
+ ## Content review process
521
+
522
+ 1. Draft your content following the guidelines in STYLE_GUIDE.md
523
+ 2. Review against the checklist:
524
+ - Check terminology consistency
525
+ - Verify examples follow the standard format
526
+ - Confirm all required sections are present
527
+ 3. If issues found:
528
+ - Note each issue with specific section reference
529
+ - Revise the content
530
+ - Review the checklist again
531
+ 4. Only proceed when all requirements are met
532
+ 5. Finalize and save the document
533
+ ```
534
+
535
+ This shows the validation loop pattern using reference documents instead of scripts. The "validator" is STYLE_GUIDE.md, and Claude performs the check by reading and comparing.
536
+
537
+ **Example 2: Document editing process** (for Skills with code):
538
+
539
+ ```markdown theme={null}
540
+ ## Document editing process
541
+
542
+ 1. Make your edits to `word/document.xml`
543
+ 2. **Validate immediately**: `python ooxml/scripts/validate.py unpacked_dir/`
544
+ 3. If validation fails:
545
+ - Review the error message carefully
546
+ - Fix the issues in the XML
547
+ - Run validation again
548
+ 4. **Only proceed when validation passes**
549
+ 5. Rebuild: `python ooxml/scripts/pack.py unpacked_dir/ output.docx`
550
+ 6. Test the output document
551
+ ```
552
+
553
+ The validation loop catches errors early.
554
+
555
+ ## Content guidelines
556
+
557
+ ### Avoid time-sensitive information
558
+
559
+ Don't include information that will become outdated:
560
+
561
+ **Bad example: Time-sensitive** (will become wrong):
562
+
563
+ ```markdown theme={null}
564
+ If you're doing this before August 2025, use the old API.
565
+ After August 2025, use the new API.
566
+ ```
567
+
568
+ **Good example** (use "old patterns" section):
569
+
570
+ ```markdown theme={null}
571
+ ## Current method
572
+
573
+ Use the v2 API endpoint: `api.example.com/v2/messages`
574
+
575
+ ## Old patterns
576
+
577
+ <details>
578
+ <summary>Legacy v1 API (deprecated 2025-08)</summary>
579
+
580
+ The v1 API used: `api.example.com/v1/messages`
581
+
582
+ This endpoint is no longer supported.
583
+
584
+ </details>
585
+ ```
586
+
587
+ The old patterns section provides historical context without cluttering the main content.
588
+
589
+ ### Use consistent terminology
590
+
591
+ Choose one term and use it throughout the Skill:
592
+
593
+ **Good - Consistent**:
594
+
595
+ - Always "API endpoint"
596
+ - Always "field"
597
+ - Always "extract"
598
+
599
+ **Bad - Inconsistent**:
600
+
601
+ - Mix "API endpoint", "URL", "API route", "path"
602
+ - Mix "field", "box", "element", "control"
603
+ - Mix "extract", "pull", "get", "retrieve"
604
+
605
+ Consistency helps Claude understand and follow instructions.
606
+
607
+ ## Common patterns
608
+
609
+ ### Template pattern
610
+
611
+ Provide templates for output format. Match the level of strictness to your needs.
612
+
613
+ **For strict requirements** (like API responses or data formats):
614
+
615
+ ````markdown theme={null}
616
+ ## Report structure
617
+
618
+ ALWAYS use this exact template structure:
619
+
620
+ ```markdown
621
+ # [Analysis Title]
622
+
623
+ ## Executive summary
624
+
625
+ [One-paragraph overview of key findings]
626
+
627
+ ## Key findings
628
+
629
+ - Finding 1 with supporting data
630
+ - Finding 2 with supporting data
631
+ - Finding 3 with supporting data
632
+
633
+ ## Recommendations
634
+
635
+ 1. Specific actionable recommendation
636
+ 2. Specific actionable recommendation
637
+ ```
638
+ ````
639
+
640
+ **For flexible guidance** (when adaptation is useful):
641
+
642
+ ````markdown theme={null}
643
+ ## Report structure
644
+
645
+ Here is a sensible default format, but use your best judgment based on the analysis:
646
+
647
+ ```markdown
648
+ # [Analysis Title]
649
+
650
+ ## Executive summary
651
+
652
+ [Overview]
653
+
654
+ ## Key findings
655
+
656
+ [Adapt sections based on what you discover]
657
+
658
+ ## Recommendations
659
+
660
+ [Tailor to the specific context]
661
+ ```
662
+
663
+ Adjust sections as needed for the specific analysis type.
664
+ ````
665
+
666
+ ### Examples pattern
667
+
668
+ For Skills where output quality depends on seeing examples, provide input/output pairs just like in regular prompting:
669
+
670
+ ````markdown theme={null}
671
+ ## Commit message format
672
+
673
+ Generate commit messages following these examples:
674
+
675
+ **Example 1:**
676
+ Input: Added user authentication with JWT tokens
677
+ Output:
678
+
679
+ ```
680
+ feat(auth): implement JWT-based authentication
681
+
682
+ Add login endpoint and token validation middleware
683
+ ```
684
+
685
+ **Example 2:**
686
+ Input: Fixed bug where dates displayed incorrectly in reports
687
+ Output:
688
+
689
+ ```
690
+ fix(reports): correct date formatting in timezone conversion
691
+
692
+ Use UTC timestamps consistently across report generation
693
+ ```
694
+
695
+ **Example 3:**
696
+ Input: Updated dependencies and refactored error handling
697
+ Output:
698
+
699
+ ```
700
+ chore: update dependencies and refactor error handling
701
+
702
+ - Upgrade lodash to 4.17.21
703
+ - Standardize error response format across endpoints
704
+ ```
705
+
706
+ Follow this style: type(scope): brief description, then detailed explanation.
707
+ ````
708
+
709
+ Examples help Claude understand the desired style and level of detail more clearly than descriptions alone.
710
+
711
+ ### Conditional workflow pattern
712
+
713
+ Guide Claude through decision points:
714
+
715
+ ```markdown theme={null}
716
+ ## Document modification workflow
717
+
718
+ 1. Determine the modification type:
719
+
720
+ **Creating new content?** → Follow "Creation workflow" below
721
+ **Editing existing content?** → Follow "Editing workflow" below
722
+
723
+ 2. Creation workflow:
724
+ - Use docx-js library
725
+ - Build document from scratch
726
+ - Export to .docx format
727
+
728
+ 3. Editing workflow:
729
+ - Unpack existing document
730
+ - Modify XML directly
731
+ - Validate after each change
732
+ - Repack when complete
733
+ ```
734
+
735
+ <Tip>
736
+ If workflows become large or complicated with many steps, consider pushing them into separate files and tell Claude to read the appropriate file based on the task at hand.
737
+ </Tip>
738
+
739
+ ## Evaluation and iteration
740
+
741
+ ### Build evaluations first
742
+
743
+ **Create evaluations BEFORE writing extensive documentation.** This ensures your Skill solves real problems rather than documenting imagined ones.
744
+
745
+ **Evaluation-driven development:**
746
+
747
+ 1. **Identify gaps**: Run Claude on representative tasks without a Skill. Document specific failures or missing context
748
+ 2. **Create evaluations**: Build three scenarios that test these gaps
749
+ 3. **Establish baseline**: Measure Claude's performance without the Skill
750
+ 4. **Write minimal instructions**: Create just enough content to address the gaps and pass evaluations
751
+ 5. **Iterate**: Execute evaluations, compare against baseline, and refine
752
+
753
+ This approach ensures you're solving actual problems rather than anticipating requirements that may never materialize.
754
+
755
+ **Evaluation structure**:
756
+
757
+ ```json theme={null}
758
+ {
759
+ "skills": ["pdf-processing"],
760
+ "query": "Extract all text from this PDF file and save it to output.txt",
761
+ "files": ["test-files/document.pdf"],
762
+ "expected_behavior": [
763
+ "Successfully reads the PDF file using an appropriate PDF processing library or command-line tool",
764
+ "Extracts text content from all pages in the document without missing any pages",
765
+ "Saves the extracted text to a file named output.txt in a clear, readable format"
766
+ ]
767
+ }
768
+ ```
769
+
770
+ <Note>
771
+ This example demonstrates a data-driven evaluation with a simple testing rubric. We do not currently provide a built-in way to run these evaluations. Users can create their own evaluation system. Evaluations are your source of truth for measuring Skill effectiveness.
772
+ </Note>
773
+
774
+ ### Develop Skills iteratively with Claude
775
+
776
+ The most effective Skill development process involves Claude itself. Work with one instance of Claude ("Claude A") to create a Skill that will be used by other instances ("Claude B"). Claude A helps you design and refine instructions, while Claude B tests them in real tasks. This works because Claude models understand both how to write effective agent instructions and what information agents need.
777
+
778
+ **Creating a new Skill:**
779
+
780
+ 1. **Complete a task without a Skill**: Work through a problem with Claude A using normal prompting. As you work, you'll naturally provide context, explain preferences, and share procedural knowledge. Notice what information you repeatedly provide.
781
+
782
+ 2. **Identify the reusable pattern**: After completing the task, identify what context you provided that would be useful for similar future tasks.
783
+
784
+ **Example**: If you worked through a BigQuery analysis, you might have provided table names, field definitions, filtering rules (like "always exclude test accounts"), and common query patterns.
785
+
786
+ 3. **Ask Claude A to create a Skill**: "Create a Skill that captures this BigQuery analysis pattern we just used. Include the table schemas, naming conventions, and the rule about filtering test accounts."
787
+
788
+ <Tip>
789
+ Claude models understand the Skill format and structure natively. You don't need special system prompts or a "writing skills" skill to get Claude to help create Skills. Simply ask Claude to create a Skill and it will generate properly structured SKILL.md content with appropriate frontmatter and body content.
790
+ </Tip>
791
+
792
+ 4. **Review for conciseness**: Check that Claude A hasn't added unnecessary explanations. Ask: "Remove the explanation about what win rate means - Claude already knows that."
793
+
794
+ 5. **Improve information architecture**: Ask Claude A to organize the content more effectively. For example: "Organize this so the table schema is in a separate reference file. We might add more tables later."
795
+
796
+ 6. **Test on similar tasks**: Use the Skill with Claude B (a fresh instance with the Skill loaded) on related use cases. Observe whether Claude B finds the right information, applies rules correctly, and handles the task successfully.
797
+
798
+ 7. **Iterate based on observation**: If Claude B struggles or misses something, return to Claude A with specifics: "When Claude used this Skill, it forgot to filter by date for Q4. Should we add a section about date filtering patterns?"
799
+
800
+ **Iterating on existing Skills:**
801
+
802
+ The same hierarchical pattern continues when improving Skills. You alternate between:
803
+
804
+ - **Working with Claude A** (the expert who helps refine the Skill)
805
+ - **Testing with Claude B** (the agent using the Skill to perform real work)
806
+ - **Observing Claude B's behavior** and bringing insights back to Claude A
807
+
808
+ 1. **Use the Skill in real workflows**: Give Claude B (with the Skill loaded) actual tasks, not test scenarios
809
+
810
+ 2. **Observe Claude B's behavior**: Note where it struggles, succeeds, or makes unexpected choices
811
+
812
+ **Example observation**: "When I asked Claude B for a regional sales report, it wrote the query but forgot to filter out test accounts, even though the Skill mentions this rule."
813
+
814
+ 3. **Return to Claude A for improvements**: Share the current SKILL.md and describe what you observed. Ask: "I noticed Claude B forgot to filter test accounts when I asked for a regional report. The Skill mentions filtering, but maybe it's not prominent enough?"
815
+
816
+ 4. **Review Claude A's suggestions**: Claude A might suggest reorganizing to make rules more prominent, using stronger language like "MUST filter" instead of "always filter", or restructuring the workflow section.
817
+
818
+ 5. **Apply and test changes**: Update the Skill with Claude A's refinements, then test again with Claude B on similar requests
819
+
820
+ 6. **Repeat based on usage**: Continue this observe-refine-test cycle as you encounter new scenarios. Each iteration improves the Skill based on real agent behavior, not assumptions.
821
+
822
+ **Gathering team feedback:**
823
+
824
+ 1. Share Skills with teammates and observe their usage
825
+ 2. Ask: Does the Skill activate when expected? Are instructions clear? What's missing?
826
+ 3. Incorporate feedback to address blind spots in your own usage patterns
827
+
828
+ **Why this approach works**: Claude A understands agent needs, you provide domain expertise, Claude B reveals gaps through real usage, and iterative refinement improves Skills based on observed behavior rather than assumptions.
829
+
830
+ ### Observe how Claude navigates Skills
831
+
832
+ As you iterate on Skills, pay attention to how Claude actually uses them in practice. Watch for:
833
+
834
+ - **Unexpected exploration paths**: Does Claude read files in an order you didn't anticipate? This might indicate your structure isn't as intuitive as you thought
835
+ - **Missed connections**: Does Claude fail to follow references to important files? Your links might need to be more explicit or prominent
836
+ - **Overreliance on certain sections**: If Claude repeatedly reads the same file, consider whether that content should be in the main SKILL.md instead
837
+ - **Ignored content**: If Claude never accesses a bundled file, it might be unnecessary or poorly signaled in the main instructions
838
+
839
+ Iterate based on these observations rather than assumptions. The 'name' and 'description' in your Skill's metadata are particularly critical. Claude uses these when deciding whether to trigger the Skill in response to the current task. Make sure they clearly describe what the Skill does and when it should be used.
840
+
841
+ ## Anti-patterns to avoid
842
+
843
+ ### Avoid Windows-style paths
844
+
845
+ Always use forward slashes in file paths, even on Windows:
846
+
847
+ - ✓ **Good**: `scripts/helper.py`, `reference/guide.md`
848
+ - ✗ **Avoid**: `scripts\helper.py`, `reference\guide.md`
849
+
850
+ Unix-style paths work across all platforms, while Windows-style paths cause errors on Unix systems.
851
+
852
+ ### Avoid offering too many options
853
+
854
+ Don't present multiple approaches unless necessary:
855
+
856
+ ````markdown theme={null}
857
+ **Bad example: Too many choices** (confusing):
858
+ "You can use pypdf, or pdfplumber, or PyMuPDF, or pdf2image, or..."
859
+
860
+ **Good example: Provide a default** (with escape hatch):
861
+ "Use pdfplumber for text extraction:
862
+
863
+ ```python
864
+ import pdfplumber
865
+ ```
866
+
867
+ For scanned PDFs requiring OCR, use pdf2image with pytesseract instead."
868
+ ````
869
+
870
+ ## Advanced: Skills with executable code
871
+
872
+ The sections below focus on Skills that include executable scripts. If your Skill uses only markdown instructions, skip to [Checklist for effective Skills](#checklist-for-effective-skills).
873
+
874
+ ### Solve, don't punt
875
+
876
+ When writing scripts for Skills, handle error conditions rather than punting to Claude.
877
+
878
+ **Good example: Handle errors explicitly**:
879
+
880
+ ```python theme={null}
881
+ def process_file(path):
882
+ """Process a file, creating it if it doesn't exist."""
883
+ try:
884
+ with open(path) as f:
885
+ return f.read()
886
+ except FileNotFoundError:
887
+ # Create file with default content instead of failing
888
+ print(f"File {path} not found, creating default")
889
+ with open(path, 'w') as f:
890
+ f.write('')
891
+ return ''
892
+ except PermissionError:
893
+ # Provide alternative instead of failing
894
+ print(f"Cannot access {path}, using default")
895
+ return ''
896
+ ```
897
+
898
+ **Bad example: Punt to Claude**:
899
+
900
+ ```python theme={null}
901
+ def process_file(path):
902
+ # Just fail and let Claude figure it out
903
+ return open(path).read()
904
+ ```
905
+
906
+ Configuration parameters should also be justified and documented to avoid "voodoo constants" (Ousterhout's law). If you don't know the right value, how will Claude determine it?
907
+
908
+ **Good example: Self-documenting**:
909
+
910
+ ```python theme={null}
911
+ # HTTP requests typically complete within 30 seconds
912
+ # Longer timeout accounts for slow connections
913
+ REQUEST_TIMEOUT = 30
914
+
915
+ # Three retries balances reliability vs speed
916
+ # Most intermittent failures resolve by the second retry
917
+ MAX_RETRIES = 3
918
+ ```
919
+
920
+ **Bad example: Magic numbers**:
921
+
922
+ ```python theme={null}
923
+ TIMEOUT = 47 # Why 47?
924
+ RETRIES = 5 # Why 5?
925
+ ```
926
+
927
+ ### Provide utility scripts
928
+
929
+ Even if Claude could write a script, pre-made scripts offer advantages:
930
+
931
+ **Benefits of utility scripts**:
932
+
933
+ - More reliable than generated code
934
+ - Save tokens (no need to include code in context)
935
+ - Save time (no code generation required)
936
+ - Ensure consistency across uses
937
+
938
+ <img src="https://mintcdn.com/anthropic-claude-docs/4Bny2bjzuGBK7o00/images/agent-skills-executable-scripts.png?fit=max&auto=format&n=4Bny2bjzuGBK7o00&q=85&s=4bbc45f2c2e0bee9f2f0d5da669bad00" alt="Bundling executable scripts alongside instruction files" data-og-width="2048" width="2048" data-og-height="1154" height="1154" data-path="images/agent-skills-executable-scripts.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/anthropic-claude-docs/4Bny2bjzuGBK7o00/images/agent-skills-executable-scripts.png?w=280&fit=max&auto=format&n=4Bny2bjzuGBK7o00&q=85&s=9a04e6535a8467bfeea492e517de389f 280w, https://mintcdn.com/anthropic-claude-docs/4Bny2bjzuGBK7o00/images/agent-skills-executable-scripts.png?w=560&fit=max&auto=format&n=4Bny2bjzuGBK7o00&q=85&s=e49333ad90141af17c0d7651cca7216b 560w, https://mintcdn.com/anthropic-claude-docs/4Bny2bjzuGBK7o00/images/agent-skills-executable-scripts.png?w=840&fit=max&auto=format&n=4Bny2bjzuGBK7o00&q=85&s=954265a5df52223d6572b6214168c428 840w, https://mintcdn.com/anthropic-claude-docs/4Bny2bjzuGBK7o00/images/agent-skills-executable-scripts.png?w=1100&fit=max&auto=format&n=4Bny2bjzuGBK7o00&q=85&s=2ff7a2d8f2a83ee8af132b29f10150fd 1100w, https://mintcdn.com/anthropic-claude-docs/4Bny2bjzuGBK7o00/images/agent-skills-executable-scripts.png?w=1650&fit=max&auto=format&n=4Bny2bjzuGBK7o00&q=85&s=48ab96245e04077f4d15e9170e081cfb 1650w, https://mintcdn.com/anthropic-claude-docs/4Bny2bjzuGBK7o00/images/agent-skills-executable-scripts.png?w=2500&fit=max&auto=format&n=4Bny2bjzuGBK7o00&q=85&s=0301a6c8b3ee879497cc5b5483177c90 2500w" />
939
+
940
+ The diagram above shows how executable scripts work alongside instruction files. The instruction file (forms.md) references the script, and Claude can execute it without loading its contents into context.
941
+
942
+ **Important distinction**: Make clear in your instructions whether Claude should:
943
+
944
+ - **Execute the script** (most common): "Run `analyze_form.py` to extract fields"
945
+ - **Read it as reference** (for complex logic): "See `analyze_form.py` for the field extraction algorithm"
946
+
947
+ For most utility scripts, execution is preferred because it's more reliable and efficient. See the [Runtime environment](#runtime-environment) section below for details on how script execution works.
948
+
949
+ **Example**:
950
+
951
+ ````markdown theme={null}
952
+ ## Utility scripts
953
+
954
+ **analyze_form.py**: Extract all form fields from PDF
955
+
956
+ ```bash
957
+ python scripts/analyze_form.py input.pdf > fields.json
958
+ ```
959
+
960
+ Output format:
961
+
962
+ ```json
963
+ {
964
+ "field_name": { "type": "text", "x": 100, "y": 200 },
965
+ "signature": { "type": "sig", "x": 150, "y": 500 }
966
+ }
967
+ ```
968
+
969
+ **validate_boxes.py**: Check for overlapping bounding boxes
970
+
971
+ ```bash
972
+ python scripts/validate_boxes.py fields.json
973
+ # Returns: "OK" or lists conflicts
974
+ ```
975
+
976
+ **fill_form.py**: Apply field values to PDF
977
+
978
+ ```bash
979
+ python scripts/fill_form.py input.pdf fields.json output.pdf
980
+ ```
981
+ ````
982
+
983
+ ### Use visual analysis
984
+
985
+ When inputs can be rendered as images, have Claude analyze them:
986
+
987
+ ````markdown theme={null}
988
+ ## Form layout analysis
989
+
990
+ 1. Convert PDF to images:
991
+
992
+ ```bash
993
+ python scripts/pdf_to_images.py form.pdf
994
+ ```
995
+
996
+ 2. Analyze each page image to identify form fields
997
+ 3. Claude can see field locations and types visually
998
+ ````
999
+
1000
+ <Note>
1001
+ In this example, you'd need to write the `pdf_to_images.py` script.
1002
+ </Note>
1003
+
1004
+ Claude's vision capabilities help understand layouts and structures.
1005
+
1006
+ ### Create verifiable intermediate outputs
1007
+
1008
+ When Claude performs complex, open-ended tasks, it can make mistakes. The "plan-validate-execute" pattern catches errors early by having Claude first create a plan in a structured format, then validate that plan with a script before executing it.
1009
+
1010
+ **Example**: Imagine asking Claude to update 50 form fields in a PDF based on a spreadsheet. Without validation, Claude might reference non-existent fields, create conflicting values, miss required fields, or apply updates incorrectly.
1011
+
1012
+ **Solution**: Use the workflow pattern shown above (PDF form filling), but add an intermediate `changes.json` file that gets validated before applying changes. The workflow becomes: analyze → **create plan file** → **validate plan** → execute → verify.
1013
+
1014
+ **Why this pattern works:**
1015
+
1016
+ - **Catches errors early**: Validation finds problems before changes are applied
1017
+ - **Machine-verifiable**: Scripts provide objective verification
1018
+ - **Reversible planning**: Claude can iterate on the plan without touching originals
1019
+ - **Clear debugging**: Error messages point to specific problems
1020
+
1021
+ **When to use**: Batch operations, destructive changes, complex validation rules, high-stakes operations.
1022
+
1023
+ **Implementation tip**: Make validation scripts verbose with specific error messages like "Field 'signature_date' not found. Available fields: customer_name, order_total, signature_date_signed" to help Claude fix issues.
1024
+
1025
+ ### Package dependencies
1026
+
1027
+ Skills run in the code execution environment with platform-specific limitations:
1028
+
1029
+ - **claude.ai**: Can install packages from npm and PyPI and pull from GitHub repositories
1030
+ - **Anthropic API**: Has no network access and no runtime package installation
1031
+
1032
+ List required packages in your SKILL.md and verify they're available in the [code execution tool documentation](/en/docs/agents-and-tools/tool-use/code-execution-tool).
1033
+
1034
+ ### Runtime environment
1035
+
1036
+ Skills run in a code execution environment with filesystem access, bash commands, and code execution capabilities. For the conceptual explanation of this architecture, see [The Skills architecture](/en/docs/agents-and-tools/agent-skills/overview#the-skills-architecture) in the overview.
1037
+
1038
+ **How this affects your authoring:**
1039
+
1040
+ **How Claude accesses Skills:**
1041
+
1042
+ 1. **Metadata pre-loaded**: At startup, the name and description from all Skills' YAML frontmatter are loaded into the system prompt
1043
+ 2. **Files read on-demand**: Claude uses bash Read tools to access SKILL.md and other files from the filesystem when needed
1044
+ 3. **Scripts executed efficiently**: Utility scripts can be executed via bash without loading their full contents into context. Only the script's output consumes tokens
1045
+ 4. **No context penalty for large files**: Reference files, data, or documentation don't consume context tokens until actually read
1046
+
1047
+ - **File paths matter**: Claude navigates your skill directory like a filesystem. Use forward slashes (`reference/guide.md`), not backslashes
1048
+ - **Name files descriptively**: Use names that indicate content: `form_validation_rules.md`, not `doc2.md`
1049
+ - **Organize for discovery**: Structure directories by domain or feature
1050
+ - Good: `reference/finance.md`, `reference/sales.md`
1051
+ - Bad: `docs/file1.md`, `docs/file2.md`
1052
+ - **Bundle comprehensive resources**: Include complete API docs, extensive examples, large datasets; no context penalty until accessed
1053
+ - **Prefer scripts for deterministic operations**: Write `validate_form.py` rather than asking Claude to generate validation code
1054
+ - **Make execution intent clear**:
1055
+ - "Run `analyze_form.py` to extract fields" (execute)
1056
+ - "See `analyze_form.py` for the extraction algorithm" (read as reference)
1057
+ - **Test file access patterns**: Verify Claude can navigate your directory structure by testing with real requests
1058
+
1059
+ **Example:**
1060
+
1061
+ ```
1062
+ bigquery-skill/
1063
+ ├── SKILL.md (overview, points to reference files)
1064
+ └── reference/
1065
+ ├── finance.md (revenue metrics)
1066
+ ├── sales.md (pipeline data)
1067
+ └── product.md (usage analytics)
1068
+ ```
1069
+
1070
+ When the user asks about revenue, Claude reads SKILL.md, sees the reference to `reference/finance.md`, and invokes bash to read just that file. The sales.md and product.md files remain on the filesystem, consuming zero context tokens until needed. This filesystem-based model is what enables progressive disclosure. Claude can navigate and selectively load exactly what each task requires.
1071
+
1072
+ For complete details on the technical architecture, see [How Skills work](/en/docs/agents-and-tools/agent-skills/overview#how-skills-work) in the Skills overview.
1073
+
1074
+ ### MCP tool references
1075
+
1076
+ If your Skill uses MCP (Model Context Protocol) tools, always use fully qualified tool names to avoid "tool not found" errors.
1077
+
1078
+ **Format**: `ServerName:tool_name`
1079
+
1080
+ **Example**:
1081
+
1082
+ ```markdown theme={null}
1083
+ Use the BigQuery:bigquery_schema tool to retrieve table schemas.
1084
+ Use the GitHub:create_issue tool to create issues.
1085
+ ```
1086
+
1087
+ Where:
1088
+
1089
+ - `BigQuery` and `GitHub` are MCP server names
1090
+ - `bigquery_schema` and `create_issue` are the tool names within those servers
1091
+
1092
+ Without the server prefix, Claude may fail to locate the tool, especially when multiple MCP servers are available.
1093
+
1094
+ ### Avoid assuming tools are installed
1095
+
1096
+ Don't assume packages are available:
1097
+
1098
+ ````markdown theme={null}
1099
+ **Bad example: Assumes installation**:
1100
+ "Use the pdf library to process the file."
1101
+
1102
+ **Good example: Explicit about dependencies**:
1103
+ "Install required package: `pip install pypdf`
1104
+
1105
+ Then use it:
1106
+
1107
+ ````python
1108
+ from pypdf import PdfReader
1109
+ reader = PdfReader("file.pdf")
1110
+ ```"
1111
+ ````
1112
+ ````
1113
+
1114
+ ## Technical notes
1115
+
1116
+ ### YAML frontmatter requirements
1117
+
1118
+ The SKILL.md frontmatter includes only `name` (64 characters max) and `description` (1024 characters max) fields. See the [Skills overview](/en/docs/agents-and-tools/agent-skills/overview#skill-structure) for complete structure details.
1119
+
1120
+ ### Token budgets
1121
+
1122
+ Keep SKILL.md body under 500 lines for optimal performance. If your content exceeds this, split it into separate files using the progressive disclosure patterns described earlier. For architectural details, see the [Skills overview](/en/docs/agents-and-tools/agent-skills/overview#how-skills-work).
1123
+
1124
+ ## Checklist for effective Skills
1125
+
1126
+ Before sharing a Skill, verify:
1127
+
1128
+ ### Core quality
1129
+
1130
+ - [ ] Description is specific and includes key terms
1131
+ - [ ] Description includes both what the Skill does and when to use it
1132
+ - [ ] SKILL.md body is under 500 lines
1133
+ - [ ] Additional details are in separate files (if needed)
1134
+ - [ ] No time-sensitive information (or in "old patterns" section)
1135
+ - [ ] Consistent terminology throughout
1136
+ - [ ] Examples are concrete, not abstract
1137
+ - [ ] File references are one level deep
1138
+ - [ ] Progressive disclosure used appropriately
1139
+ - [ ] Workflows have clear steps
1140
+
1141
+ ### Code and scripts
1142
+
1143
+ - [ ] Scripts solve problems rather than punt to Claude
1144
+ - [ ] Error handling is explicit and helpful
1145
+ - [ ] No "voodoo constants" (all values justified)
1146
+ - [ ] Required packages listed in instructions and verified as available
1147
+ - [ ] Scripts have clear documentation
1148
+ - [ ] No Windows-style paths (all forward slashes)
1149
+ - [ ] Validation/verification steps for critical operations
1150
+ - [ ] Feedback loops included for quality-critical tasks
1151
+
1152
+ ### Testing
1153
+
1154
+ - [ ] At least three evaluations created
1155
+ - [ ] Tested with Haiku, Sonnet, and Opus
1156
+ - [ ] Tested with real usage scenarios
1157
+ - [ ] Team feedback incorporated (if applicable)
1158
+
1159
+ ## Next steps
1160
+
1161
+ <CardGroup cols={2}>
1162
+ <Card title="Get started with Agent Skills" icon="rocket" href="/en/docs/agents-and-tools/agent-skills/quickstart">
1163
+ Create your first Skill
1164
+ </Card>
1165
+
1166
+ <Card title="Use Skills in Claude Code" icon="terminal" href="/en/docs/claude-code/skills">
1167
+ Create and manage Skills in Claude Code
1168
+ </Card>
1169
+
1170
+ <Card title="Use Skills with the API" icon="code" href="/en/api/skills-guide">
1171
+ Upload and use Skills programmatically
1172
+ </Card>
1173
+ </CardGroup>