@waoooo/claude-skills 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 (264) hide show
  1. package/README.md +48 -0
  2. package/package.json +28 -0
  3. package/registry.json +431 -0
  4. package/skills/acceptance-review/SKILL.md +537 -0
  5. package/skills/all-plan/SKILL.md +19 -0
  6. package/skills/all-plan/references/flow.md +750 -0
  7. package/skills/api-docs-generate/SKILL.md +204 -0
  8. package/skills/api-docs-generate/assets/templates/api.mdx +140 -0
  9. package/skills/api-docs-generate/scripts/generate-api-docs.ts +308 -0
  10. package/skills/ask/SKILL.md +42 -0
  11. package/skills/autonew/SKILL.md +34 -0
  12. package/skills/capability-analyze/SKILL.md +300 -0
  13. package/skills/capability-analyze/scripts/analyze-capabilities.ts +531 -0
  14. package/skills/capability-docs-generate/SKILL.md +155 -0
  15. package/skills/capability-docs-generate/assets/templates/capability.mdx +271 -0
  16. package/skills/capability-docs-generate/scripts/generate-capability-docs.ts +358 -0
  17. package/skills/capability-tree-query/SKILL.md +112 -0
  18. package/skills/capability-tree-query/scripts/build-capability-tree.ts +402 -0
  19. package/skills/changelog-generator/SKILL.md +104 -0
  20. package/skills/continue/SKILL.md +39 -0
  21. package/skills/continue/agents/openai.yaml +3 -0
  22. package/skills/creating-skills/SKILL.md +158 -0
  23. package/skills/creating-skills/references/official_best_practices.md +128 -0
  24. package/skills/creating-skills/references/skill_examples.md +199 -0
  25. package/skills/docx/LICENSE.txt +30 -0
  26. package/skills/docx/SKILL.md +197 -0
  27. package/skills/docx/docx-js.md +350 -0
  28. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  29. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  30. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  31. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  32. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  33. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  34. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  35. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  36. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  37. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  38. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  39. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  40. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  41. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  42. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  43. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  44. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  45. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  46. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  47. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  48. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  49. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  50. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  51. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  52. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  53. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  54. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  55. package/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  56. package/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  57. package/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  58. package/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  59. package/skills/docx/ooxml/schemas/mce/mc.xsd +75 -0
  60. package/skills/docx/ooxml/schemas/microsoft/wml-2010.xsd +560 -0
  61. package/skills/docx/ooxml/schemas/microsoft/wml-2012.xsd +67 -0
  62. package/skills/docx/ooxml/schemas/microsoft/wml-2018.xsd +14 -0
  63. package/skills/docx/ooxml/schemas/microsoft/wml-cex-2018.xsd +20 -0
  64. package/skills/docx/ooxml/schemas/microsoft/wml-cid-2016.xsd +13 -0
  65. package/skills/docx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  66. package/skills/docx/ooxml/schemas/microsoft/wml-symex-2015.xsd +8 -0
  67. package/skills/docx/ooxml/scripts/pack.py +159 -0
  68. package/skills/docx/ooxml/scripts/unpack.py +29 -0
  69. package/skills/docx/ooxml/scripts/validate.py +69 -0
  70. package/skills/docx/ooxml/scripts/validation/__init__.py +15 -0
  71. package/skills/docx/ooxml/scripts/validation/base.py +951 -0
  72. package/skills/docx/ooxml/scripts/validation/docx.py +274 -0
  73. package/skills/docx/ooxml/scripts/validation/pptx.py +315 -0
  74. package/skills/docx/ooxml/scripts/validation/redlining.py +279 -0
  75. package/skills/docx/ooxml.md +610 -0
  76. package/skills/docx/scripts/__init__.py +1 -0
  77. package/skills/docx/scripts/document.py +1276 -0
  78. package/skills/docx/scripts/templates/comments.xml +3 -0
  79. package/skills/docx/scripts/templates/commentsExtended.xml +3 -0
  80. package/skills/docx/scripts/templates/commentsExtensible.xml +3 -0
  81. package/skills/docx/scripts/templates/commentsIds.xml +3 -0
  82. package/skills/docx/scripts/templates/people.xml +3 -0
  83. package/skills/docx/scripts/utilities.py +374 -0
  84. package/skills/git-branch-create/SKILL.md +170 -0
  85. package/skills/git-branch-merge/SKILL.md +176 -0
  86. package/skills/git-commit/SKILL.md +56 -0
  87. package/skills/git-commit/references/commit_examples.md +311 -0
  88. package/skills/github-actions-trigger/SKILL.md +367 -0
  89. package/skills/github-issue-create/SKILL.md +294 -0
  90. package/skills/github-pr-creation/SKILL.md +137 -0
  91. package/skills/github-pr-creation/references/pr_templates.md +187 -0
  92. package/skills/github-pr-merge/SKILL.md +112 -0
  93. package/skills/github-pr-review/SKILL.md +110 -0
  94. package/skills/github-pr-review/references/severity_guide.md +168 -0
  95. package/skills/job-create/SKILL.md +294 -0
  96. package/skills/job-create/scripts/create-job.ts +105 -0
  97. package/skills/job-workflow/SKILL.md +212 -0
  98. package/skills/keyword-extract/SKILL.md +229 -0
  99. package/skills/mcp-builder/LICENSE.txt +202 -0
  100. package/skills/mcp-builder/SKILL.md +236 -0
  101. package/skills/mcp-builder/reference/evaluation.md +602 -0
  102. package/skills/mcp-builder/reference/mcp_best_practices.md +249 -0
  103. package/skills/mcp-builder/reference/node_mcp_server.md +970 -0
  104. package/skills/mcp-builder/reference/python_mcp_server.md +719 -0
  105. package/skills/mcp-builder/scripts/connections.py +151 -0
  106. package/skills/mcp-builder/scripts/evaluation.py +373 -0
  107. package/skills/mcp-builder/scripts/example_evaluation.xml +22 -0
  108. package/skills/mcp-builder/scripts/requirements.txt +2 -0
  109. package/skills/mdx-to-openspec/SKILL.md +827 -0
  110. package/skills/mdx-to-openspec/scripts/mdx-to-openspec.ts +320 -0
  111. package/skills/mounted/SKILL.md +20 -0
  112. package/skills/multi-model-review/SKILL.md +459 -0
  113. package/skills/notion-automation/SKILL.md +215 -0
  114. package/skills/openspec-review/SKILL.md +513 -0
  115. package/skills/pdf/LICENSE.txt +30 -0
  116. package/skills/pdf/SKILL.md +294 -0
  117. package/skills/pdf/forms.md +205 -0
  118. package/skills/pdf/reference.md +612 -0
  119. package/skills/pdf/scripts/check_bounding_boxes.py +70 -0
  120. package/skills/pdf/scripts/check_bounding_boxes_test.py +226 -0
  121. package/skills/pdf/scripts/check_fillable_fields.py +12 -0
  122. package/skills/pdf/scripts/convert_pdf_to_images.py +35 -0
  123. package/skills/pdf/scripts/create_validation_image.py +41 -0
  124. package/skills/pdf/scripts/extract_form_field_info.py +152 -0
  125. package/skills/pdf/scripts/fill_fillable_fields.py +114 -0
  126. package/skills/pdf/scripts/fill_pdf_form_with_annotations.py +108 -0
  127. package/skills/pend/SKILL.md +33 -0
  128. package/skills/ping/SKILL.md +39 -0
  129. package/skills/pptx/LICENSE.txt +30 -0
  130. package/skills/pptx/SKILL.md +484 -0
  131. package/skills/pptx/html2pptx.md +625 -0
  132. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  133. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  134. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  135. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  136. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  137. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  138. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  139. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  140. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  141. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  142. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  143. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  144. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  145. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  146. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  147. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  148. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  149. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  150. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  151. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  152. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  153. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  154. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  155. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  156. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  157. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  158. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  159. package/skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  160. package/skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  161. package/skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  162. package/skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  163. package/skills/pptx/ooxml/schemas/mce/mc.xsd +75 -0
  164. package/skills/pptx/ooxml/schemas/microsoft/wml-2010.xsd +560 -0
  165. package/skills/pptx/ooxml/schemas/microsoft/wml-2012.xsd +67 -0
  166. package/skills/pptx/ooxml/schemas/microsoft/wml-2018.xsd +14 -0
  167. package/skills/pptx/ooxml/schemas/microsoft/wml-cex-2018.xsd +20 -0
  168. package/skills/pptx/ooxml/schemas/microsoft/wml-cid-2016.xsd +13 -0
  169. package/skills/pptx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  170. package/skills/pptx/ooxml/schemas/microsoft/wml-symex-2015.xsd +8 -0
  171. package/skills/pptx/ooxml/scripts/pack.py +159 -0
  172. package/skills/pptx/ooxml/scripts/unpack.py +29 -0
  173. package/skills/pptx/ooxml/scripts/validate.py +69 -0
  174. package/skills/pptx/ooxml/scripts/validation/__init__.py +15 -0
  175. package/skills/pptx/ooxml/scripts/validation/base.py +951 -0
  176. package/skills/pptx/ooxml/scripts/validation/docx.py +274 -0
  177. package/skills/pptx/ooxml/scripts/validation/pptx.py +315 -0
  178. package/skills/pptx/ooxml/scripts/validation/redlining.py +279 -0
  179. package/skills/pptx/ooxml.md +427 -0
  180. package/skills/pptx/scripts/html2pptx.js +979 -0
  181. package/skills/pptx/scripts/inventory.py +1020 -0
  182. package/skills/pptx/scripts/rearrange.py +231 -0
  183. package/skills/pptx/scripts/replace.py +385 -0
  184. package/skills/pptx/scripts/thumbnail.py +450 -0
  185. package/skills/progress-update/SKILL.md +394 -0
  186. package/skills/progress-update/scripts/update-progress.ts +221 -0
  187. package/skills/release-automation/SKILL.md +306 -0
  188. package/skills/requirement-parse/SKILL.md +212 -0
  189. package/skills/requirement-parse/scripts/infer-builder-config.ts +346 -0
  190. package/skills/requirement-parse/scripts/merge-requirements.ts +228 -0
  191. package/skills/requirement-parse/scripts/parse-docs.ts +206 -0
  192. package/skills/requirement-parse/scripts/parse-openspec.ts +168 -0
  193. package/skills/roadmap-docs-generate/SKILL.md +483 -0
  194. package/skills/roadmap-docs-generate/assets/templates/ROADMAP.mdx +75 -0
  195. package/skills/roadmap-docs-generate/assets/templates/ROADMAP.mdx.template +330 -0
  196. package/skills/roadmap-docs-generate/assets/templates/TODO.mdx +56 -0
  197. package/skills/roadmap-docs-generate/assets/templates/TODO.mdx.template +363 -0
  198. package/skills/roadmap-docs-generate/scripts/json-to-mdx.ts +445 -0
  199. package/skills/roadmap-docs-generate/scripts/json-to-mdx.ts.backup +411 -0
  200. package/skills/roadmap-generate/SKILL.md +396 -0
  201. package/skills/roadmap-generate/scripts/generate-roadmap.ts +496 -0
  202. package/skills/skill-creator/LICENSE.txt +202 -0
  203. package/skills/skill-creator/SKILL.md +356 -0
  204. package/skills/skill-creator/references/output-patterns.md +82 -0
  205. package/skills/skill-creator/references/workflows.md +28 -0
  206. package/skills/skill-creator/scripts/init_skill.py +303 -0
  207. package/skills/skill-creator/scripts/package_skill.py +110 -0
  208. package/skills/skill-creator/scripts/quick_validate.py +95 -0
  209. package/skills/spec-generate/SKILL.md +408 -0
  210. package/skills/spec-generate/scripts/generate-specs.ts +538 -0
  211. package/skills/spec-generate/scripts/generate-tasks.ts +174 -0
  212. package/skills/specs-review/SKILL.md +370 -0
  213. package/skills/task-execute/SKILL.md +399 -0
  214. package/skills/task-update-status/SKILL.md +349 -0
  215. package/skills/task-update-status/scripts/update-task-status.ts +192 -0
  216. package/skills/task-verify/SKILL.md +407 -0
  217. package/skills/ui-ux-pro-max/SKILL.md +386 -0
  218. package/skills/ui-ux-pro-max/data/charts.csv +26 -0
  219. package/skills/ui-ux-pro-max/data/colors.csv +97 -0
  220. package/skills/ui-ux-pro-max/data/icons.csv +101 -0
  221. package/skills/ui-ux-pro-max/data/landing.csv +31 -0
  222. package/skills/ui-ux-pro-max/data/products.csv +97 -0
  223. package/skills/ui-ux-pro-max/data/react-performance.csv +45 -0
  224. package/skills/ui-ux-pro-max/data/stacks/astro.csv +54 -0
  225. package/skills/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
  226. package/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
  227. package/skills/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
  228. package/skills/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
  229. package/skills/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
  230. package/skills/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
  231. package/skills/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
  232. package/skills/ui-ux-pro-max/data/stacks/react.csv +54 -0
  233. package/skills/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
  234. package/skills/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
  235. package/skills/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
  236. package/skills/ui-ux-pro-max/data/stacks/vue.csv +50 -0
  237. package/skills/ui-ux-pro-max/data/styles.csv +68 -0
  238. package/skills/ui-ux-pro-max/data/typography.csv +58 -0
  239. package/skills/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
  240. package/skills/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
  241. package/skills/ui-ux-pro-max/data/web-interface.csv +31 -0
  242. package/skills/ui-ux-pro-max/scripts/core.py +253 -0
  243. package/skills/ui-ux-pro-max/scripts/design_system.py +1067 -0
  244. package/skills/ui-ux-pro-max/scripts/search.py +114 -0
  245. package/skills/vercel-automation/SKILL.md +226 -0
  246. package/skills/webapp-testing/LICENSE.txt +202 -0
  247. package/skills/webapp-testing/SKILL.md +96 -0
  248. package/skills/webapp-testing/examples/console_logging.py +35 -0
  249. package/skills/webapp-testing/examples/element_discovery.py +40 -0
  250. package/skills/webapp-testing/examples/static_html_automation.py +33 -0
  251. package/skills/webapp-testing/scripts/with_server.py +106 -0
  252. package/skills/worktree-manager/SKILL.md +725 -0
  253. package/skills/worktree-manager/config.json +15 -0
  254. package/skills/worktree-manager/scripts/allocate-ports.sh +100 -0
  255. package/skills/worktree-manager/scripts/cleanup.sh +185 -0
  256. package/skills/worktree-manager/scripts/launch-agent.sh +155 -0
  257. package/skills/worktree-manager/scripts/register.sh +125 -0
  258. package/skills/worktree-manager/scripts/release-ports.sh +48 -0
  259. package/skills/worktree-manager/scripts/status.sh +169 -0
  260. package/skills/worktree-manager/scripts/sync.sh +168 -0
  261. package/skills/worktree-manager/templates/worktree.json +23 -0
  262. package/skills/xlsx/LICENSE.txt +30 -0
  263. package/skills/xlsx/SKILL.md +289 -0
  264. package/skills/xlsx/recalc.py +178 -0
@@ -0,0 +1,158 @@
1
+ ---
2
+ name: creating-skills
3
+ description: Guide for creating Claude Code skills following Anthropic's official best practices. Use when user wants to create a new skill, build a skill, write SKILL.md, update an existing skill, or needs skill creation guidelines. Provides structure, frontmatter fields, naming conventions, and new features like dynamic context injection and subagent execution.
4
+ ---
5
+
6
+ # Creating skills
7
+
8
+ Guide for creating Claude Code skills following Anthropic's official best practices.
9
+
10
+ ## Quick start
11
+
12
+ ```bash
13
+ # 1. Create skill directory
14
+ mkdir -p ~/.claude/skills/<skill-name>
15
+
16
+ # 2. Create SKILL.md with frontmatter
17
+ cat > ~/.claude/skills/<skill-name>/SKILL.md << 'EOF'
18
+ ---
19
+ name: <skill-name>
20
+ description: <What it does>. Use when <trigger phrases>. <Key capabilities>.
21
+ ---
22
+
23
+ # <Skill title>
24
+
25
+ <Instructions for the skill workflow>
26
+ EOF
27
+
28
+ # 3. Add optional resources as needed
29
+ mkdir -p ~/.claude/skills/<skill-name>/{scripts,references,assets}
30
+ ```
31
+
32
+ ## SKILL.md structure
33
+
34
+ ### Frontmatter (YAML between `---` markers)
35
+
36
+ | Field | Required | Description |
37
+ |-------|----------|-------------|
38
+ | `name` | No | Display name. Defaults to directory name. Lowercase, hyphens, max 64 chars. |
39
+ | `description` | Recommended | What + when + capabilities. Max 1024 chars. Determines when Claude activates the skill. |
40
+ | `allowed-tools` | No | Tools Claude can use without asking permission when skill is active. |
41
+ | `argument-hint` | No | Autocomplete hint for arguments. Example: `[issue-number]` |
42
+ | `disable-model-invocation` | No | `true` to prevent auto-invocation (manual `/name` only). |
43
+ | `user-invocable` | No | `false` to hide from `/` menu (background knowledge only). |
44
+ | `model` | No | Model override when skill is active. |
45
+ | `context` | No | `fork` to run in isolated subagent context. |
46
+ | `agent` | No | Subagent type when `context: fork`. Built-in: `Explore`, `Plan`, `general-purpose`. |
47
+ | `hooks` | No | Lifecycle hooks scoped to this skill. |
48
+
49
+ ### Invocation control matrix
50
+
51
+ | Configuration | User can invoke | Claude can invoke |
52
+ |---------------|-----------------|-------------------|
53
+ | (defaults) | Yes | Yes |
54
+ | `disable-model-invocation: true` | Yes | No |
55
+ | `user-invocable: false` | No | Yes |
56
+
57
+ ### Description formula
58
+
59
+ ```
60
+ <What it does>. Use when <trigger phrases>. <Key capabilities>.
61
+ ```
62
+
63
+ Include action verbs ("create", "handle"), user intent ("wants to", "needs to"), and domain keywords users would say.
64
+
65
+ ## Directory structure
66
+
67
+ ```
68
+ skill-name/
69
+ ├── SKILL.md # Required: instructions (keep under 500 lines)
70
+ ├── scripts/ # Optional: executable code (deterministic, token-efficient)
71
+ ├── references/ # Optional: docs loaded into context on demand
72
+ └── assets/ # Optional: files used in output, NOT loaded into context
73
+ # (templates, images, fonts, boilerplate)
74
+ ```
75
+
76
+ ### Progressive disclosure (3-level loading)
77
+
78
+ 1. **Metadata** (name + description) - always in context (~100 tokens per skill)
79
+ 2. **SKILL.md body** - loaded when skill triggers (keep under 5k words)
80
+ 3. **Bundled resources** - loaded as needed by Claude
81
+
82
+ Reference supporting files from SKILL.md so Claude knows they exist. Keep references one level deep. For files over 100 lines, include a table of contents.
83
+
84
+ ### Scripts vs references vs assets
85
+
86
+ | Type | Purpose | Loaded into context? |
87
+ |------|---------|---------------------|
88
+ | `scripts/` | Deterministic operations, complex processing | No (executed via bash) |
89
+ | `references/` | Documentation Claude reads while working | Yes, on demand |
90
+ | `assets/` | Templates, images, fonts for output | No (copied/used in output) |
91
+
92
+ Only create scripts when they add value: complex multi-step processing, repeated code generation, deterministic reliability. Not for single-command wrappers.
93
+
94
+ ## Dynamic features
95
+
96
+ ### Context injection
97
+
98
+ Inject shell command output into skill content before loading:
99
+
100
+ ```markdown
101
+ ## Recent commits
102
+ !`git log --oneline -5 2>/dev/null`
103
+ ```
104
+
105
+ The output replaces the directive when the skill loads.
106
+
107
+ ### String substitutions
108
+
109
+ Pass arguments to skills invoked via `/skill-name arg1 arg2`:
110
+
111
+ | Variable | Value |
112
+ |----------|-------|
113
+ | `$ARGUMENTS` | Full argument string |
114
+ | `$ARGUMENTS[0]`, `$ARGUMENTS[1]` | Individual arguments |
115
+ | `$1`, `$2` | Shorthand for `$ARGUMENTS[N]` |
116
+
117
+ ### Subagent execution
118
+
119
+ Run a skill in isolated context with `context: fork`:
120
+
121
+ ```yaml
122
+ ---
123
+ name: deep-research
124
+ description: Research a topic thoroughly.
125
+ context: fork
126
+ agent: Explore
127
+ ---
128
+ ```
129
+
130
+ ## Degrees of freedom
131
+
132
+ Match specificity to the task's fragility:
133
+
134
+ | Level | When to use | Example |
135
+ |-------|-------------|---------|
136
+ | **High** (text instructions) | Multiple valid approaches, context-dependent | "Analyze the code and suggest improvements" |
137
+ | **Medium** (pseudocode/scripts with params) | Preferred pattern exists, some variation OK | Script with configurable parameters |
138
+ | **Low** (specific scripts, few params) | Fragile operations, consistency critical | Exact sequence of API calls |
139
+
140
+ ## Naming conventions
141
+
142
+ - Lowercase, hyphens between words, max 64 chars
143
+ - Styles: gerund (`processing-pdfs`), noun phrase (`github-pr-creation`), prefixed group (`github-pr-*`)
144
+
145
+ ## Important rules
146
+
147
+ - **ALWAYS** write descriptions that include WHAT + WHEN triggers + capabilities
148
+ - **ALWAYS** keep SKILL.md under 500 lines, split to references when approaching
149
+ - **ALWAYS** reference bundled files from SKILL.md so Claude discovers them
150
+ - **NEVER** duplicate info between SKILL.md and reference files
151
+ - **NEVER** create wrapper scripts for single commands
152
+ - **NEVER** include extraneous files (README.md, CHANGELOG.md, INSTALLATION_GUIDE.md, QUICK_REFERENCE.md)
153
+ - **NEVER** explain things Claude already knows (standard libraries, common tools, basic patterns)
154
+
155
+ ## References
156
+
157
+ - `references/official_best_practices.md` - Principles, anti-patterns, quality checklist, testing
158
+ - `references/skill_examples.md` - Concrete skill examples with new features
@@ -0,0 +1,128 @@
1
+ # Official best practices for skills
2
+
3
+ Source: [Claude Code skills docs](https://code.claude.com/docs/en/skills), [Agent Skills overview](https://platform.claude.com/docs/en/agents-and-tools/agent-skills/overview), [Anthropic skills repo](https://github.com/anthropics/skills)
4
+
5
+ ---
6
+
7
+ ## Core principle: Claude is already smart
8
+
9
+ > "Default assumption: Claude is already very smart. Only add context Claude doesn't already have."
10
+
11
+ **Challenge each piece of information:**
12
+ - Does Claude really need this explanation?
13
+ - Can I assume Claude knows this?
14
+ - Does this paragraph justify its token cost?
15
+
16
+ **What NOT to include**: basic programming concepts, common tool usage (git, npm), standard library docs, well-known patterns.
17
+
18
+ **What TO include**: project-specific conventions, custom workflows, non-obvious requirements, domain knowledge Claude wouldn't have.
19
+
20
+ ## Progressive disclosure
21
+
22
+ Skills use a three-level loading system:
23
+
24
+ 1. **Metadata** (name + description) - always in context (~100 words per skill)
25
+ 2. **SKILL.md body** - when skill triggers (<5k words recommended)
26
+ 3. **Bundled resources** - as needed (scripts execute without loading; references load on demand)
27
+
28
+ ### Context budget
29
+
30
+ Skill descriptions share a budget that scales at 2% of the context window, with a fallback of 16,000 characters. Override with `SLASH_COMMAND_TOOL_CHAR_BUDGET` env var.
31
+
32
+ ### Splitting patterns
33
+
34
+ When SKILL.md approaches 500 lines, split content into separate files:
35
+
36
+ - **Pattern 1: High-level guide with references** - Keep workflow in SKILL.md, move detailed docs to references/
37
+ - **Pattern 2: Domain-specific organization** - One reference per domain area (e.g., `references/api_docs.md`, `references/schemas.md`)
38
+ - **Pattern 3: Conditional details** - Keep decision logic in SKILL.md, move variant-specific details to references/
39
+
40
+ **Guidelines:**
41
+ - Avoid deeply nested references - keep one level deep from SKILL.md
42
+ - For files over 100 lines, include a table of contents at the top
43
+ - For very large references (>10k words), include grep search patterns in SKILL.md
44
+ - Information should live in either SKILL.md OR references, not both
45
+
46
+ ## Frontmatter validation rules
47
+
48
+ | Field | Constraint |
49
+ |-------|-----------|
50
+ | `name` | Max 64 chars, lowercase + numbers + hyphens only, no XML tags, no reserved words ("anthropic", "claude") |
51
+ | `description` | Max 1024 chars, non-empty if provided, no XML tags |
52
+ | Allowed properties | `name`, `description`, `license`, `allowed-tools`, `metadata`, `compatibility`, `argument-hint`, `disable-model-invocation`, `user-invocable`, `model`, `context`, `agent`, `hooks` |
53
+
54
+ ## Skills and commands unification
55
+
56
+ Custom slash commands (`.claude/commands/*.md`) and skills (`.claude/skills/*/SKILL.md`) are now unified. Both create `/name` invocations and support the same frontmatter. Existing commands files continue to work. If a skill and a command share the same name, the skill takes precedence.
57
+
58
+ ## Discovery hierarchy
59
+
60
+ Skills are discovered from multiple locations (higher priority wins):
61
+
62
+ 1. **Enterprise** (managed settings)
63
+ 2. **Personal** (`~/.claude/skills/`)
64
+ 3. **Project** (`.claude/skills/`)
65
+ 4. **Plugin** (namespaced as `plugin-name:skill-name`)
66
+
67
+ Additional directories via `--add-dir` are also supported with live change detection.
68
+
69
+ ## User confirmation patterns
70
+
71
+ **ALWAYS confirm before:**
72
+ - Modifying user files
73
+ - Running destructive commands
74
+ - Creating external resources (PRs, issues, deployments)
75
+ - Irreversible operations
76
+
77
+ **Don't over-confirm:**
78
+ - Read-only operations
79
+ - Reversible actions
80
+ - Intermediate steps in an approved workflow
81
+
82
+ ## Anti-patterns
83
+
84
+ | Pattern | Problem | Instead |
85
+ |---------|---------|---------|
86
+ | Wrapper scripts | No value added | Inline commands |
87
+ | Verbose explanations | Token waste | Trust Claude's knowledge |
88
+ | Multiple paths | Confusing | One clear workflow |
89
+ | Custom systems | Non-standard | Use official patterns |
90
+ | Over-confirmation | Friction | Confirm only critical actions |
91
+ | Deeply nested references | Hard to discover | Keep one level deep |
92
+ | Duplicated info | Drift risk, token waste | Single source of truth |
93
+ | Extraneous files | Clutter | Only SKILL.md + resources |
94
+
95
+ ## Quality checklist
96
+
97
+ Before finalizing a skill:
98
+
99
+ - [ ] **Frontmatter**: description present, clear, under 1024 chars
100
+ - [ ] **Description**: includes WHAT + WHEN triggers + capabilities
101
+ - [ ] **Naming**: lowercase, hyphens, max 64 chars
102
+ - [ ] **Body**: under 500 lines, no duplication with references
103
+ - [ ] **Resources**: referenced from SKILL.md, one level deep
104
+ - [ ] **Scripts**: only value-add, not wrappers
105
+ - [ ] **Rules**: critical constraints marked with **ALWAYS**/**NEVER**
106
+ - [ ] **Test**: skill triggers on expected phrases
107
+
108
+ ## Testing
109
+
110
+ ### Trigger testing
111
+ Verify skill activates on expected user phrases. Test with multiple phrasings.
112
+
113
+ ### Model testing
114
+ Test with all models you plan to support (Haiku, Sonnet, Opus have different capabilities). Build evaluations before writing extensive documentation.
115
+
116
+ ### Edge cases
117
+ - Missing prerequisites
118
+ - Invalid input
119
+ - Partial completion
120
+
121
+ ## What NOT to include in a skill
122
+
123
+ A skill should only contain files that directly support its functionality:
124
+
125
+ - No README.md, INSTALLATION_GUIDE.md, QUICK_REFERENCE.md, CHANGELOG.md
126
+ - No user-facing documentation (the skill IS the documentation for Claude)
127
+ - No setup/testing procedures
128
+ - No auxiliary context about the creation process
@@ -0,0 +1,199 @@
1
+ # Skill examples
2
+
3
+ Concrete examples demonstrating skill patterns and new features.
4
+
5
+ ---
6
+
7
+ ## Example 1: minimal skill
8
+
9
+ The simplest possible skill:
10
+
11
+ ```yaml
12
+ ---
13
+ description: Formats code following project conventions. Use when user wants to format, lint, or clean up code.
14
+ ---
15
+ ```
16
+
17
+ ```markdown
18
+ # Code formatter
19
+
20
+ Run the project formatter on changed files.
21
+
22
+ ## Workflow
23
+
24
+ 1. Detect project type and formatter
25
+ 2. Run formatter on staged/changed files
26
+ 3. Report results
27
+
28
+ ## Important rules
29
+
30
+ - **ALWAYS** check for project-specific formatter config before using defaults
31
+ - **NEVER** format files outside the current change set
32
+ ```
33
+
34
+ Note: `name` is omitted (defaults to directory name). Only `description` is provided.
35
+
36
+ ---
37
+
38
+ ## Example 2: dynamic context injection
39
+
40
+ A skill that adapts to the current project:
41
+
42
+ ```yaml
43
+ ---
44
+ name: git-commit
45
+ description: Creates commits following project conventions. Use when user wants to commit changes.
46
+ ---
47
+ ```
48
+
49
+ ```markdown
50
+ # Git commit
51
+
52
+ ## Recent project commits
53
+ !`git log --oneline -5 2>/dev/null`
54
+
55
+ ## Current branch
56
+ !`git rev-parse --abbrev-ref HEAD 2>/dev/null`
57
+
58
+ Match the style of recent commits above when creating new ones.
59
+ ```
60
+
61
+ The `!`command`` directives run at load time and inject their output, so Claude sees actual commit history instead of placeholder text.
62
+
63
+ ---
64
+
65
+ ## Example 3: invocation control
66
+
67
+ ### Manual-only skill (no auto-invocation)
68
+
69
+ ```yaml
70
+ ---
71
+ name: deploy
72
+ description: Deploy the application to production.
73
+ disable-model-invocation: true
74
+ argument-hint: [environment]
75
+ ---
76
+ ```
77
+
78
+ Claude will never auto-invoke this skill. Users must type `/deploy staging` explicitly.
79
+
80
+ ### Background knowledge (no user invocation)
81
+
82
+ ```yaml
83
+ ---
84
+ name: project-conventions
85
+ description: Project coding conventions and architectural decisions.
86
+ user-invocable: false
87
+ ---
88
+ ```
89
+
90
+ Claude auto-loads this as context when relevant, but it doesn't appear in the `/` menu.
91
+
92
+ ---
93
+
94
+ ## Example 4: subagent execution
95
+
96
+ A skill that runs in isolated context:
97
+
98
+ ```yaml
99
+ ---
100
+ name: codebase-analysis
101
+ description: Analyze codebase architecture and patterns. Use when user wants to understand code structure.
102
+ context: fork
103
+ agent: Explore
104
+ ---
105
+ ```
106
+
107
+ ```markdown
108
+ # Codebase analysis
109
+
110
+ Explore the codebase and report:
111
+ 1. Project structure and framework
112
+ 2. Key architectural patterns
113
+ 3. Entry points and data flow
114
+ 4. Test coverage approach
115
+
116
+ Return a structured summary.
117
+ ```
118
+
119
+ With `context: fork`, this runs in a separate subagent without consuming the main conversation's context.
120
+
121
+ ---
122
+
123
+ ## Example 5: skill with arguments
124
+
125
+ ```yaml
126
+ ---
127
+ name: fix-issue
128
+ description: Fix a GitHub issue. Use when user wants to fix, resolve, or address an issue.
129
+ argument-hint: [issue-number]
130
+ ---
131
+ ```
132
+
133
+ ```markdown
134
+ # Fix issue
135
+
136
+ ## Issue details
137
+ !`gh issue view $1 --json title,body,labels 2>/dev/null`
138
+
139
+ Fix the issue described above. Follow project conventions.
140
+ ```
141
+
142
+ `$1` is replaced with the first argument when the user types `/fix-issue 42`.
143
+
144
+ ---
145
+
146
+ ## Example 6: skill with allowed tools
147
+
148
+ ```yaml
149
+ ---
150
+ name: database-migration
151
+ description: Create and run database migrations. Use when user wants to migrate, create migration, or update schema.
152
+ allowed-tools: ["Bash", "Read", "Write", "Edit"]
153
+ ---
154
+ ```
155
+
156
+ Tools listed in `allowed-tools` won't prompt for permission when this skill is active.
157
+
158
+ ---
159
+
160
+ ## Description: good vs bad
161
+
162
+ **Good** - concise, specific triggers, clear capabilities:
163
+ ```
164
+ Handles PR review comments with severity classification. Use when user
165
+ wants to resolve PR comments, handle review feedback, or fix review
166
+ comments. Fetches via GitHub CLI, classifies by severity, proposes fixes.
167
+ ```
168
+
169
+ **Bad** - verbose, filler words, redundant:
170
+ ```
171
+ Comprehensive GitHub Pull Request management system for feature
172
+ development workflow. Use this skill when the user wants to create, verify,
173
+ or manage Pull Requests on GitHub repositories. This skill handles the
174
+ complete workflow - validates task completion against project documentation,
175
+ runs tests, generates PR title and description following Conventional Commits,
176
+ suggests appropriate labels, and creates the PR using GitHub CLI.
177
+ ```
178
+
179
+ Problems: "Comprehensive", "complete workflow" are filler. Redundant explanations. Too verbose for a description field.
180
+
181
+ ---
182
+
183
+ ## Resource organization examples
184
+
185
+ ### Scripts that add value
186
+
187
+ | Script | Why it's justified |
188
+ |--------|-------------------|
189
+ | `scripts/classify_severity.py` | Complex multi-step classification with JSON output |
190
+ | `scripts/analyze_commits.py` | Git log parsing + task file matching across multiple files |
191
+ | `scripts/validate_skill.py` | Multi-field validation with structured error reporting |
192
+
193
+ ### Scripts to avoid
194
+
195
+ | Script | Why it's bad | Instead |
196
+ |--------|-------------|---------|
197
+ | `scripts/fetch_comments.sh` | Wraps `gh api repos/.../comments` | Inline command |
198
+ | `scripts/run_tests.sh` | Wraps `make test` | Inline command |
199
+ | `scripts/get_branch.sh` | Wraps `git rev-parse --abbrev-ref HEAD` | Inline command |
@@ -0,0 +1,30 @@
1
+ © 2025 Anthropic, PBC. All rights reserved.
2
+
3
+ LICENSE: Use of these materials (including all code, prompts, assets, files,
4
+ and other components of this Skill) is governed by your agreement with
5
+ Anthropic regarding use of Anthropic's services. If no separate agreement
6
+ exists, use is governed by Anthropic's Consumer Terms of Service or
7
+ Commercial Terms of Service, as applicable:
8
+ https://www.anthropic.com/legal/consumer-terms
9
+ https://www.anthropic.com/legal/commercial-terms
10
+ Your applicable agreement is referred to as the "Agreement." "Services" are
11
+ as defined in the Agreement.
12
+
13
+ ADDITIONAL RESTRICTIONS: Notwithstanding anything in the Agreement to the
14
+ contrary, users may not:
15
+
16
+ - Extract these materials from the Services or retain copies of these
17
+ materials outside the Services
18
+ - Reproduce or copy these materials, except for temporary copies created
19
+ automatically during authorized use of the Services
20
+ - Create derivative works based on these materials
21
+ - Distribute, sublicense, or transfer these materials to any third party
22
+ - Make, offer to sell, sell, or import any inventions embodied in these
23
+ materials
24
+ - Reverse engineer, decompile, or disassemble these materials
25
+
26
+ The receipt, viewing, or possession of these materials does not convey or
27
+ imply any license or right beyond those expressly granted above.
28
+
29
+ Anthropic retains all right, title, and interest in these materials,
30
+ including all copyrights, patents, and other intellectual property rights.