@openhands/extensions 0.1.0 → 0.2.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 (347) hide show
  1. package/.agents/skills/custom-codereview-guide.md +25 -0
  2. package/.github/pull_request_template.md +38 -0
  3. package/.github/release.yml +14 -0
  4. package/.github/workflows/check-extensions.yml +72 -0
  5. package/.github/workflows/npm-publish.yml +89 -0
  6. package/.github/workflows/pr.yml +30 -0
  7. package/.github/workflows/release.yml +24 -0
  8. package/.github/workflows/tests.yml +25 -0
  9. package/.github/workflows/vulnerability-scan.yml +87 -0
  10. package/.release-please-manifest.json +3 -0
  11. package/AGENTS.md +132 -0
  12. package/README.md +10 -0
  13. package/analysis_results.md +162 -0
  14. package/marketplaces/large-codebase.json +66 -0
  15. package/marketplaces/openhands-extensions.json +682 -0
  16. package/package.json +4 -10
  17. package/plugins/README.md +30 -0
  18. package/plugins/city-weather/.plugin/plugin.json +13 -0
  19. package/plugins/city-weather/README.md +145 -0
  20. package/plugins/city-weather/commands/now.md +56 -0
  21. package/plugins/cobol-modernization/.plugin/plugin.json +19 -0
  22. package/plugins/cobol-modernization/README.md +201 -0
  23. package/plugins/cobol-modernization/references/troubleshooting.md +18 -0
  24. package/plugins/cobol-modernization/skills/build-setup/SKILL.md +78 -0
  25. package/plugins/cobol-modernization/skills/build-setup/scripts/install-gnucobol.sh +32 -0
  26. package/plugins/cobol-modernization/skills/cobol-modernization-overview/SKILL.md +113 -0
  27. package/plugins/cobol-modernization/skills/mainfraime-removal/SKILL.md +62 -0
  28. package/plugins/cobol-modernization/skills/mainfraime-removal/references/cics-transformation-examples.md +45 -0
  29. package/plugins/cobol-modernization/skills/mainframe-planning/SKILL.md +78 -0
  30. package/plugins/cobol-modernization/skills/to-java-migration/SKILL.md +59 -0
  31. package/plugins/cobol-modernization/skills/to-java-migration/references/cobol-to-java-example.md +58 -0
  32. package/plugins/cobol-modernization/skills/to-java-migration/references/datatype-mappings.md +19 -0
  33. package/plugins/issue-duplicate-checker/.plugin/plugin.json +13 -0
  34. package/plugins/issue-duplicate-checker/README.md +51 -0
  35. package/plugins/issue-duplicate-checker/action.yml +349 -0
  36. package/plugins/issue-duplicate-checker/scripts/auto_close_duplicate_issues.py +569 -0
  37. package/plugins/issue-duplicate-checker/scripts/issue_duplicate_check_openhands.py +681 -0
  38. package/plugins/issue-duplicate-checker/scripts/post_duplicate_notice.js +220 -0
  39. package/plugins/issue-duplicate-checker/scripts/remove_duplicate_candidate_label.js +27 -0
  40. package/plugins/magic-test/.plugin/plugin.json +13 -0
  41. package/plugins/magic-test/skills/magic-word/SKILL.md +33 -0
  42. package/plugins/migration-scoring/.plugin/plugin.json +19 -0
  43. package/plugins/migration-scoring/README.md +244 -0
  44. package/plugins/migration-scoring/skills/migration-mapping/SKILL.md +72 -0
  45. package/plugins/migration-scoring/skills/migration-report/SKILL.md +118 -0
  46. package/plugins/migration-scoring/skills/migration-scoring-overview/SKILL.md +126 -0
  47. package/plugins/migration-scoring/skills/score-quality/SKILL.md +54 -0
  48. package/plugins/migration-scoring/skills/score-quality/references/scoring-criteria.md +30 -0
  49. package/plugins/migration-scoring/skills/score-style/SKILL.md +106 -0
  50. package/plugins/onboarding/.plugin/plugin.json +20 -0
  51. package/plugins/onboarding/README.md +30 -0
  52. package/plugins/onboarding/references/criteria.md +144 -0
  53. package/plugins/onboarding/skills/agent-readiness-report/README.md +23 -0
  54. package/plugins/onboarding/skills/agent-readiness-report/SKILL.md +122 -0
  55. package/plugins/onboarding/skills/agent-readiness-report/scripts/scan_agent_instructions.sh +88 -0
  56. package/plugins/onboarding/skills/agent-readiness-report/scripts/scan_build_env.sh +114 -0
  57. package/plugins/onboarding/skills/agent-readiness-report/scripts/scan_feedback_loops.sh +133 -0
  58. package/plugins/onboarding/skills/agent-readiness-report/scripts/scan_policy.sh +113 -0
  59. package/plugins/onboarding/skills/agent-readiness-report/scripts/scan_workflows.sh +127 -0
  60. package/plugins/onboarding/skills/improve-agent-readiness/README.md +19 -0
  61. package/plugins/onboarding/skills/improve-agent-readiness/SKILL.md +167 -0
  62. package/plugins/onboarding/skills/setup-agents-md/README.md +15 -0
  63. package/plugins/onboarding/skills/setup-agents-md/SKILL.md +150 -0
  64. package/plugins/onboarding/skills/setup-openhands/README.md +20 -0
  65. package/plugins/onboarding/skills/setup-openhands/SKILL.md +56 -0
  66. package/plugins/onboarding/skills/setup-pr-review/README.md +23 -0
  67. package/plugins/onboarding/skills/setup-pr-review/SKILL.md +72 -0
  68. package/plugins/openhands/.plugin/plugin.json +13 -0
  69. package/plugins/openhands/README.md +52 -0
  70. package/plugins/openhands/SKILL.md +61 -0
  71. package/plugins/openhands/commands/create.md +55 -0
  72. package/plugins/openhands/commands/openhands-cloud.md +8 -0
  73. package/plugins/openhands/scripts/run.sh +69 -0
  74. package/plugins/pr-review/.plugin/plugin.json +13 -0
  75. package/plugins/pr-review/README.md +393 -0
  76. package/plugins/pr-review/action.yml +298 -0
  77. package/plugins/pr-review/scripts/agent_script.py +1282 -0
  78. package/plugins/pr-review/scripts/evaluate_review.py +655 -0
  79. package/plugins/pr-review/scripts/prompt.py +260 -0
  80. package/plugins/pr-review/workflows/pr-review-by-openhands.yml +51 -0
  81. package/plugins/pr-review/workflows/pr-review-evaluation.yml +85 -0
  82. package/plugins/qa-changes/.plugin/plugin.json +11 -0
  83. package/plugins/qa-changes/README.md +185 -0
  84. package/plugins/qa-changes/action.yml +181 -0
  85. package/plugins/qa-changes/scripts/agent_script.py +406 -0
  86. package/plugins/qa-changes/scripts/evaluate_qa_changes.py +385 -0
  87. package/plugins/qa-changes/scripts/prompt.py +174 -0
  88. package/plugins/qa-changes/workflows/qa-changes-by-openhands.yml +50 -0
  89. package/plugins/qa-changes/workflows/qa-changes-evaluation.yml +85 -0
  90. package/plugins/release-notes/.plugin/plugin.json +19 -0
  91. package/plugins/release-notes/README.md +283 -0
  92. package/plugins/release-notes/SKILL.md +83 -0
  93. package/plugins/release-notes/action.yml +117 -0
  94. package/plugins/release-notes/commands/release-notes.md +8 -0
  95. package/plugins/release-notes/scripts/agent_script.py +292 -0
  96. package/plugins/release-notes/scripts/generate_release_notes.py +733 -0
  97. package/plugins/release-notes/scripts/prompt.py +90 -0
  98. package/plugins/release-notes/scripts/validate_release_notes.py +328 -0
  99. package/plugins/release-notes/workflows/release-notes.yml +76 -0
  100. package/plugins/vulnerability-remediation/.plugin/plugin.json +19 -0
  101. package/plugins/vulnerability-remediation/README.md +217 -0
  102. package/plugins/vulnerability-remediation/action.yml +187 -0
  103. package/plugins/vulnerability-remediation/scripts/scan_and_remediate.py +561 -0
  104. package/plugins/vulnerability-remediation/workflows/vulnerability-scan.yml +87 -0
  105. package/pyproject.toml +12 -0
  106. package/release-please-config.json +16 -0
  107. package/scripts/sync_extensions.py +494 -0
  108. package/scripts/sync_openhands_sdk_skill.py +264 -0
  109. package/skills/README.md +159 -0
  110. package/skills/add-javadoc/.plugin/plugin.json +18 -0
  111. package/skills/add-javadoc/README.md +40 -0
  112. package/skills/add-javadoc/SKILL.md +35 -0
  113. package/skills/add-javadoc/references/example.md +32 -0
  114. package/skills/add-skill/.plugin/plugin.json +18 -0
  115. package/skills/add-skill/README.md +67 -0
  116. package/skills/add-skill/SKILL.md +47 -0
  117. package/skills/add-skill/scripts/fetch_skill.py +259 -0
  118. package/skills/agent-creator/.plugin/plugin.json +20 -0
  119. package/skills/agent-creator/README.md +104 -0
  120. package/skills/agent-creator/SKILL.md +190 -0
  121. package/skills/agent-creator/commands/agent-creator.md +8 -0
  122. package/skills/agent-creator/references/fallback.md +117 -0
  123. package/skills/agent-memory/.plugin/plugin.json +18 -0
  124. package/skills/agent-memory/README.md +35 -0
  125. package/skills/agent-memory/SKILL.md +30 -0
  126. package/skills/agent-memory/commands/remember.md +8 -0
  127. package/skills/agent-sdk-builder/.plugin/plugin.json +18 -0
  128. package/skills/agent-sdk-builder/README.md +40 -0
  129. package/skills/agent-sdk-builder/SKILL.md +37 -0
  130. package/skills/agent-sdk-builder/commands/agent-builder.md +8 -0
  131. package/skills/azure-devops/.plugin/plugin.json +18 -0
  132. package/skills/azure-devops/README.md +55 -0
  133. package/skills/azure-devops/SKILL.md +50 -0
  134. package/skills/bitbucket/.plugin/plugin.json +17 -0
  135. package/skills/bitbucket/README.md +50 -0
  136. package/skills/bitbucket/SKILL.md +45 -0
  137. package/skills/code-review/.plugin/plugin.json +19 -0
  138. package/skills/code-review/README.md +18 -0
  139. package/skills/code-review/SKILL.md +208 -0
  140. package/skills/code-review/commands/codereview-roasted.md +8 -0
  141. package/skills/code-review/commands/codereview.md +8 -0
  142. package/skills/code-review/references/risk-evaluation.md +41 -0
  143. package/skills/code-review/references/supply-chain-security.md +31 -0
  144. package/skills/code-simplifier/.plugin/plugin.json +21 -0
  145. package/skills/code-simplifier/README.md +30 -0
  146. package/skills/code-simplifier/SKILL.md +91 -0
  147. package/skills/code-simplifier/commands/simplify.md +8 -0
  148. package/skills/code-simplifier/references/code-quality-review.md +86 -0
  149. package/skills/code-simplifier/references/code-reuse-review.md +63 -0
  150. package/skills/code-simplifier/references/efficiency-review.md +81 -0
  151. package/skills/datadog/.plugin/plugin.json +19 -0
  152. package/skills/datadog/README.md +100 -0
  153. package/skills/datadog/SKILL.md +95 -0
  154. package/skills/deno/.plugin/plugin.json +18 -0
  155. package/skills/deno/README.md +5 -0
  156. package/skills/deno/SKILL.md +99 -0
  157. package/skills/deno/references/README.md +6 -0
  158. package/skills/discord/.plugin/plugin.json +18 -0
  159. package/skills/discord/README.md +31 -0
  160. package/skills/discord/SKILL.md +109 -0
  161. package/skills/discord/__init__.py +0 -0
  162. package/skills/discord/references/REFERENCE.md +78 -0
  163. package/skills/discord/scripts/__init__.py +0 -0
  164. package/skills/discord/scripts/_http.py +127 -0
  165. package/skills/discord/scripts/post_webhook.py +106 -0
  166. package/skills/discord/scripts/send_message.py +102 -0
  167. package/skills/docker/.plugin/plugin.json +17 -0
  168. package/skills/docker/README.md +34 -0
  169. package/skills/docker/SKILL.md +29 -0
  170. package/skills/evidence-based-citations/.plugin/plugin.json +20 -0
  171. package/skills/evidence-based-citations/README.md +31 -0
  172. package/skills/evidence-based-citations/SKILL.md +59 -0
  173. package/skills/flarglebargle/.plugin/plugin.json +16 -0
  174. package/skills/flarglebargle/README.md +14 -0
  175. package/skills/flarglebargle/SKILL.md +9 -0
  176. package/skills/frontend-design/.plugin/plugin.json +21 -0
  177. package/skills/frontend-design/LICENSE.txt +177 -0
  178. package/skills/frontend-design/README.md +42 -0
  179. package/skills/frontend-design/SKILL.md +42 -0
  180. package/skills/github/.plugin/plugin.json +19 -0
  181. package/skills/github/README.md +42 -0
  182. package/skills/github/SKILL.md +106 -0
  183. package/skills/github-pr-review/.plugin/plugin.json +18 -0
  184. package/skills/github-pr-review/README.md +145 -0
  185. package/skills/github-pr-review/SKILL.md +148 -0
  186. package/skills/github-pr-review/commands/github-pr-review.md +8 -0
  187. package/skills/github-pr-reviewer/.plugin/plugin.json +20 -0
  188. package/skills/github-pr-reviewer/README.md +34 -0
  189. package/skills/github-pr-reviewer/SKILL.md +89 -0
  190. package/skills/github-pr-reviewer/commands/pr-reviewer:setup.md +8 -0
  191. package/skills/github-repo-monitor/.plugin/plugin.json +22 -0
  192. package/skills/github-repo-monitor/README.md +70 -0
  193. package/skills/github-repo-monitor/SKILL.md +316 -0
  194. package/skills/github-repo-monitor/commands/github-monitor:poll.md +8 -0
  195. package/skills/github-repo-monitor/references/github-api.md +241 -0
  196. package/skills/github-repo-monitor/references/state-schema.md +160 -0
  197. package/skills/github-repo-monitor/scripts/main.py +915 -0
  198. package/skills/github-repo-monitor/tests/test_main.py +400 -0
  199. package/skills/gitlab/.plugin/plugin.json +17 -0
  200. package/skills/gitlab/README.md +37 -0
  201. package/skills/gitlab/SKILL.md +32 -0
  202. package/skills/incident-retrospective/.plugin/plugin.json +21 -0
  203. package/skills/incident-retrospective/README.md +34 -0
  204. package/skills/incident-retrospective/SKILL.md +98 -0
  205. package/skills/incident-retrospective/commands/incident-retro:setup.md +8 -0
  206. package/skills/iterate/.plugin/plugin.json +13 -0
  207. package/skills/iterate/README.md +25 -0
  208. package/skills/iterate/SKILL.md +399 -0
  209. package/skills/iterate/commands/babysit.md +8 -0
  210. package/skills/iterate/commands/iterate.md +8 -0
  211. package/skills/iterate/commands/verify.md +8 -0
  212. package/skills/iterate/references/heuristics.md +58 -0
  213. package/skills/iterate/references/verification.md +96 -0
  214. package/skills/jupyter/.plugin/plugin.json +18 -0
  215. package/skills/jupyter/README.md +55 -0
  216. package/skills/jupyter/SKILL.md +50 -0
  217. package/skills/kubernetes/.plugin/plugin.json +18 -0
  218. package/skills/kubernetes/README.md +53 -0
  219. package/skills/kubernetes/SKILL.md +48 -0
  220. package/skills/learn-from-code-review/.plugin/plugin.json +19 -0
  221. package/skills/learn-from-code-review/README.md +64 -0
  222. package/skills/learn-from-code-review/SKILL.md +186 -0
  223. package/skills/learn-from-code-review/commands/learn-from-reviews.md +8 -0
  224. package/skills/linear/.plugin/plugin.json +19 -0
  225. package/skills/linear/README.md +58 -0
  226. package/skills/linear/SKILL.md +213 -0
  227. package/skills/linear-triage/.plugin/plugin.json +21 -0
  228. package/skills/linear-triage/README.md +34 -0
  229. package/skills/linear-triage/SKILL.md +91 -0
  230. package/skills/linear-triage/commands/linear-triage:setup.md +8 -0
  231. package/skills/notion/.plugin/plugin.json +17 -0
  232. package/skills/notion/README.md +114 -0
  233. package/skills/notion/SKILL.md +109 -0
  234. package/skills/npm/.plugin/plugin.json +17 -0
  235. package/skills/npm/README.md +14 -0
  236. package/skills/npm/SKILL.md +9 -0
  237. package/skills/openhands-api/.plugin/plugin.json +22 -0
  238. package/skills/openhands-api/README.md +48 -0
  239. package/skills/openhands-api/SKILL.md +399 -0
  240. package/skills/openhands-api/references/README.md +33 -0
  241. package/skills/openhands-api/references/TROUBLESHOOTING.md +81 -0
  242. package/skills/openhands-api/references/example_prompt.md +12 -0
  243. package/skills/openhands-api/scripts/openhands_api.py +606 -0
  244. package/skills/openhands-api/scripts/openhands_api.ts +252 -0
  245. package/skills/openhands-automation/.plugin/plugin.json +19 -0
  246. package/skills/openhands-automation/README.md +89 -0
  247. package/skills/openhands-automation/SKILL.md +875 -0
  248. package/skills/openhands-automation/commands/automation:create.md +8 -0
  249. package/skills/openhands-automation/references/ab-testing.md +185 -0
  250. package/skills/openhands-automation/references/custom-automation.md +644 -0
  251. package/skills/openhands-sdk/.plugin/plugin.json +20 -0
  252. package/skills/openhands-sdk/README.md +22 -0
  253. package/skills/openhands-sdk/SKILL.md +229 -0
  254. package/skills/openhands-sdk/commands/sdk.md +8 -0
  255. package/skills/pdflatex/.plugin/plugin.json +18 -0
  256. package/skills/pdflatex/README.md +39 -0
  257. package/skills/pdflatex/SKILL.md +34 -0
  258. package/skills/prd/.plugin/plugin.json +19 -0
  259. package/skills/prd/README.md +28 -0
  260. package/skills/prd/SKILL.md +237 -0
  261. package/skills/prd/commands/prd.md +8 -0
  262. package/skills/qa-changes/README.md +18 -0
  263. package/skills/qa-changes/SKILL.md +229 -0
  264. package/skills/qa-changes/commands/qa-changes.md +8 -0
  265. package/skills/release-notes/README.md +24 -0
  266. package/skills/release-notes/SKILL.md +19 -0
  267. package/skills/release-notes/commands/release-notes.md +8 -0
  268. package/skills/research-brief/.plugin/plugin.json +20 -0
  269. package/skills/research-brief/README.md +34 -0
  270. package/skills/research-brief/SKILL.md +99 -0
  271. package/skills/research-brief/commands/research-brief:setup.md +8 -0
  272. package/skills/security/.plugin/plugin.json +18 -0
  273. package/skills/security/README.md +38 -0
  274. package/skills/security/SKILL.md +33 -0
  275. package/skills/skill-creator/.plugin/plugin.json +17 -0
  276. package/skills/skill-creator/LICENSE.txt +202 -0
  277. package/skills/skill-creator/README.md +182 -0
  278. package/skills/skill-creator/SKILL.md +545 -0
  279. package/skills/skill-creator/references/output-patterns.md +82 -0
  280. package/skills/skill-creator/references/workflows.md +28 -0
  281. package/skills/skill-creator/scripts/init_skill.py +303 -0
  282. package/skills/skill-creator/scripts/quick_validate.py +95 -0
  283. package/skills/slack-channel-monitor/.plugin/plugin.json +21 -0
  284. package/skills/slack-channel-monitor/README.md +91 -0
  285. package/skills/slack-channel-monitor/SKILL.md +276 -0
  286. package/skills/slack-channel-monitor/commands/slack-monitor:poll.md +8 -0
  287. package/skills/slack-channel-monitor/references/slack-api.md +207 -0
  288. package/skills/slack-channel-monitor/references/state-schema.md +180 -0
  289. package/skills/slack-channel-monitor/scripts/main.py +962 -0
  290. package/skills/slack-standup-digest/.plugin/plugin.json +21 -0
  291. package/skills/slack-standup-digest/README.md +34 -0
  292. package/skills/slack-standup-digest/SKILL.md +92 -0
  293. package/skills/slack-standup-digest/commands/standup-digest:setup.md +8 -0
  294. package/skills/spark-version-upgrade/.plugin/plugin.json +20 -0
  295. package/skills/spark-version-upgrade/README.md +54 -0
  296. package/skills/spark-version-upgrade/SKILL.md +233 -0
  297. package/skills/ssh/.plugin/plugin.json +18 -0
  298. package/skills/ssh/README.md +140 -0
  299. package/skills/ssh/SKILL.md +135 -0
  300. package/skills/swift-linux/.plugin/plugin.json +17 -0
  301. package/skills/swift-linux/README.md +86 -0
  302. package/skills/swift-linux/SKILL.md +81 -0
  303. package/skills/theme-factory/.plugin/plugin.json +19 -0
  304. package/skills/theme-factory/LICENSE.txt +202 -0
  305. package/skills/theme-factory/README.md +58 -0
  306. package/skills/theme-factory/SKILL.md +59 -0
  307. package/skills/theme-factory/theme-showcase.pdf +0 -0
  308. package/skills/theme-factory/themes/arctic-frost.md +19 -0
  309. package/skills/theme-factory/themes/botanical-garden.md +19 -0
  310. package/skills/theme-factory/themes/desert-rose.md +19 -0
  311. package/skills/theme-factory/themes/forest-canopy.md +19 -0
  312. package/skills/theme-factory/themes/golden-hour.md +19 -0
  313. package/skills/theme-factory/themes/midnight-galaxy.md +19 -0
  314. package/skills/theme-factory/themes/modern-minimalist.md +19 -0
  315. package/skills/theme-factory/themes/ocean-depths.md +19 -0
  316. package/skills/theme-factory/themes/sunset-boulevard.md +19 -0
  317. package/skills/theme-factory/themes/tech-innovation.md +19 -0
  318. package/skills/uv/.plugin/plugin.json +18 -0
  319. package/skills/uv/README.md +5 -0
  320. package/skills/uv/SKILL.md +95 -0
  321. package/skills/uv/references/README.md +5 -0
  322. package/skills/vercel/.plugin/plugin.json +18 -0
  323. package/skills/vercel/README.md +108 -0
  324. package/skills/vercel/SKILL.md +103 -0
  325. package/tests/test_add_skill_installs_to_agents_dir.py +42 -0
  326. package/tests/test_catalogs.py +109 -0
  327. package/tests/test_code_review_risk_evaluation.py +94 -0
  328. package/tests/test_issue_duplicate_checker.py +240 -0
  329. package/tests/test_openhands_api_python.py +152 -0
  330. package/tests/test_plugin_manifest.py +83 -0
  331. package/tests/test_pr_review_diff_payload.py +202 -0
  332. package/tests/test_pr_review_feedback.py +263 -0
  333. package/tests/test_pr_review_prompt.py +152 -0
  334. package/tests/test_pr_review_review_context.py +253 -0
  335. package/tests/test_qa_changes.py +232 -0
  336. package/tests/test_qa_changes_evaluation.py +259 -0
  337. package/tests/test_release_notes_generator.py +990 -0
  338. package/tests/test_sdk_loading.py +150 -0
  339. package/tests/test_skill_plugin_loading.py +149 -0
  340. package/tests/test_skills_have_readme.py +66 -0
  341. package/tests/test_sync_extensions.py +292 -0
  342. package/tests/test_workflow_sync.py +46 -0
  343. package/utils/analysis/README.md +7 -0
  344. package/utils/analysis/laminar_signals/README.md +211 -0
  345. package/utils/analysis/laminar_signals/analyze.py +780 -0
  346. package/utils/analysis/laminar_signals/templates/default.j2 +49 -0
  347. package/utils/analysis/laminar_signals/templates/pr_review.j2 +61 -0
@@ -0,0 +1,545 @@
1
+ ---
2
+ name: skill-creator
3
+ description: This skill should be used when the user wants to "create a skill", "write a new skill", "improve skill description", "organize skill content", or needs guidance on skill structure, progressive disclosure, or skill development best practices.
4
+ ---
5
+
6
+ # Skill Creator
7
+
8
+ This skill provides guidance for creating effective skills.
9
+
10
+ ## About Skills
11
+
12
+ Skills are modular, self-contained packages that extend OpenHands's capabilities by providing
13
+ specialized knowledge, workflows, and tools. Think of them as "onboarding guides" for specific
14
+ domains or tasks—they transform OpenHands from a general-purpose agent into a specialized agent
15
+ equipped with procedural knowledge that no model can fully possess.
16
+
17
+ ### What Skills Provide
18
+
19
+ 1. Specialized workflows - Multi-step procedures for specific domains
20
+ 2. Tool integrations - Instructions for working with specific file formats or APIs
21
+ 3. Domain expertise - Company-specific knowledge, schemas, business logic
22
+ 4. Bundled resources - Scripts, references, and assets for complex and repetitive tasks
23
+
24
+ ### Anatomy of a Skill
25
+
26
+ Every skill consists of a required SKILL.md file and optional bundled resources:
27
+
28
+ ```
29
+ skill-name/
30
+ ├── SKILL.md (required)
31
+ │ ├── YAML frontmatter metadata (required)
32
+ │ │ ├── name: (required)
33
+ │ │ └── description: (required)
34
+ │ └── Markdown instructions (required)
35
+ └── Bundled Resources (optional)
36
+ ├── scripts/ - Executable code (Python/Bash/etc.)
37
+ ├── references/ - Documentation intended to be loaded into context as needed
38
+ └── assets/ - Files used in output (templates, icons, fonts, etc.)
39
+ ```
40
+
41
+ #### SKILL.md (required)
42
+
43
+ **Metadata Quality:** The `name` and `description` in YAML frontmatter determine when OpenHands will use the skill. Be specific about what the skill does and when to use it. Use the third-person (e.g. "This skill should be used when..." instead of "Use this skill when...").
44
+
45
+ **Slash commands vs keyword triggers:** SKILL.md frontmatter supports an optional `triggers:` field for keyword-based activation (e.g., `triggers: [docker, container]`). For **slash commands** (e.g., `/codereview`, `/init`), prefer creating a `commands/command-name.md` file in the plugin's `commands/` directory instead of using slash triggers in SKILL.md. Slash triggers still work for backward compatibility but are deprecated in favor of the `commands/` approach. See the [Plugins guide](https://docs.openhands.dev/sdk/guides/plugins) for details.
46
+
47
+ #### Bundled Resources (optional)
48
+
49
+ ##### Scripts (`scripts/`)
50
+
51
+ Executable code (Python/Bash/etc.) for tasks that require deterministic reliability or are repeatedly rewritten.
52
+
53
+ - **When to include**: When the same code is being rewritten repeatedly or deterministic reliability is needed
54
+ - **Example**: `scripts/rotate_pdf.py` for PDF rotation tasks
55
+ - **Benefits**: Token efficient, deterministic, may be executed without loading into context
56
+ - **Note**: Scripts may still need to be read by OpenHands for patching or environment-specific adjustments
57
+ - **Python dependencies**: Use `uv` instead of `pip` or `pip3` for all Python dependency installs. `uv` is cross-platform, faster, and avoids the `pip`/`pip3` naming inconsistency across environments. Example: `uv venv .venv --quiet && uv pip install --quiet <package>`
58
+
59
+ ##### References (`references/`)
60
+
61
+ Documentation and reference material intended to be loaded as needed into context to inform OpenHands's process and thinking.
62
+
63
+ - **When to include**: For documentation that OpenHands should reference while working
64
+ - **Examples**: `references/finance.md` for financial schemas, `references/mnda.md` for company NDA template, `references/policies.md` for company policies, `references/api_docs.md` for API specifications
65
+ - **Use cases**: Database schemas, API documentation, domain knowledge, company policies, detailed workflow guides
66
+ - **Benefits**: Keeps SKILL.md lean, loaded only when OpenHands determines it's needed
67
+ - **Best practice**: If files are large (>10k words), include grep search patterns in SKILL.md
68
+ - **Avoid duplication**: Information should live in either SKILL.md or references files, not both. Prefer references files for detailed information unless it's truly core to the skill—this keeps SKILL.md lean while making information discoverable without hogging the context window. Keep only essential procedural instructions and workflow guidance in SKILL.md; move detailed reference material, schemas, and examples to references files.
69
+
70
+ ##### Assets (`assets/`)
71
+
72
+ Files not intended to be loaded into context, but rather used within the output OpenHands produces.
73
+
74
+ - **When to include**: When the skill needs files that will be used in the final output
75
+ - **Examples**: `assets/logo.png` for brand assets, `assets/slides.pptx` for PowerPoint templates, `assets/frontend-template/` for HTML/React boilerplate, `assets/font.ttf` for typography
76
+ - **Use cases**: Templates, images, icons, boilerplate code, fonts, sample documents that get copied or modified
77
+ - **Benefits**: Separates output resources from documentation, enables OpenHands to use files without loading them into context
78
+
79
+ ### Progressive Disclosure Design Principle
80
+
81
+ Skills use a three-level loading system to manage context efficiently:
82
+
83
+ 1. **Metadata (name + description)** - Always in context (~100 words)
84
+ 2. **SKILL.md body** - When skill triggers (<5k words)
85
+ 3. **Bundled resources** - As needed by OpenHands (Unlimited*)
86
+
87
+ *Unlimited because scripts can be executed without reading into context window.
88
+
89
+ ## Skill Creation Process
90
+
91
+ To create a skill, follow the "Skill Creation Process" in order, skipping steps only if there is a clear reason why they are not applicable.
92
+
93
+ ### Step 1: Understanding the Skill with Concrete Examples
94
+
95
+ Skip this step only when the skill's usage patterns are already clearly understood. It remains valuable even when working with an existing skill.
96
+
97
+ To create an effective skill, clearly understand concrete examples of how the skill will be used. This understanding can come from either direct user examples or generated examples that are validated with user feedback.
98
+
99
+ For example, when building an image-editor skill, relevant questions include:
100
+
101
+ - "What functionality should the image-editor skill support? Editing, rotating, anything else?"
102
+ - "Can you give some examples of how this skill would be used?"
103
+ - "I can imagine users asking for things like 'Remove the red-eye from this image' or 'Rotate this image'. Are there other ways you imagine this skill being used?"
104
+ - "What would a user say that should trigger this skill?"
105
+
106
+ To avoid overwhelming users, avoid asking too many questions in a single message. Start with the most important questions and follow up as needed for better effectiveness.
107
+
108
+ Conclude this step when there is a clear sense of the functionality the skill should support.
109
+
110
+ ### Step 2: Planning the Reusable Skill Contents
111
+
112
+ To turn concrete examples into an effective skill, analyze each example by:
113
+
114
+ 1. Considering how to execute on the example from scratch
115
+ 2. Identifying what scripts, references, and assets would be helpful when executing these workflows repeatedly
116
+
117
+ Example: When building a `pdf-editor` skill to handle queries like "Help me rotate this PDF," the analysis shows:
118
+
119
+ 1. Rotating a PDF requires re-writing the same code each time
120
+ 2. A `scripts/rotate_pdf.py` script would be helpful to store in the skill
121
+
122
+ Example: When designing a `frontend-webapp-builder` skill for queries like "Build me a todo app" or "Build me a dashboard to track my steps," the analysis shows:
123
+
124
+ 1. Writing a frontend webapp requires the same boilerplate HTML/React each time
125
+ 2. An `assets/hello-world/` template containing the boilerplate HTML/React project files would be helpful to store in the skill
126
+
127
+ Example: When building a `big-query` skill to handle queries like "How many users have logged in today?" the analysis shows:
128
+
129
+ 1. Querying BigQuery requires re-discovering the table schemas and relationships each time
130
+ 2. A `references/schema.md` file documenting the table schemas would be helpful to store in the skill
131
+
132
+ To establish the skill's contents, analyze each concrete example to create a list of the reusable resources to include: scripts, references, and assets.
133
+
134
+ ### Step 3: Create Skill Structure
135
+
136
+ Create the skill directory structure:
137
+
138
+ ```bash
139
+ mkdir -p skill-name/{references,scripts,assets}
140
+ touch skill-name/SKILL.md
141
+ ```
142
+
143
+ Alternatively, use the `init_skill.py` script to generate a template:
144
+
145
+ ```bash
146
+ scripts/init_skill.py <skill-name> --path <output-directory>
147
+ ```
148
+
149
+ The script creates a skill directory with SKILL.md template and example resource directories.
150
+
151
+ ### Step 4: Edit the Skill
152
+
153
+ When editing the (newly-created or existing) skill, remember that the skill is being created for another instance of OpenHands to use. Focus on including information that would be beneficial and non-obvious to OpenHands. Consider what procedural knowledge, domain-specific details, or reusable assets would help another OpenHands instance execute these tasks more effectively.
154
+
155
+ #### Start with Reusable Skill Contents
156
+
157
+ To begin implementation, start with the reusable resources identified above: `scripts/`, `references/`, and `assets/` files. Note that this step may require user input. For example, when implementing a `brand-guidelines` skill, the user may need to provide brand assets or templates to store in `assets/`, or documentation to store in `references/`.
158
+
159
+ Also, delete any example files and directories not needed for the skill. Create only the directories you actually need (references/, scripts/, assets/).
160
+
161
+ #### Update SKILL.md
162
+
163
+ **Writing Style:** Write the entire skill using **imperative/infinitive form** (verb-first instructions), not second person. Use objective, instructional language (e.g., "To accomplish X, do Y" rather than "You should do X" or "If you need to do X"). This maintains consistency and clarity for AI consumption.
164
+
165
+ **Description (Frontmatter):** Use third-person format with specific trigger phrases:
166
+
167
+ ```yaml
168
+ ---
169
+ name: skill-name
170
+ description: This skill should be used when the user asks to "specific phrase 1", "specific phrase 2", "specific phrase 3". Include exact phrases users would say that should trigger this skill. Be concrete and specific.
171
+ ---
172
+ ```
173
+
174
+ **Good description examples:**
175
+ ```yaml
176
+ description: This skill should be used when the user asks to "create a hook", "add a PreToolUse hook", "validate tool use", "implement prompt-based hooks", or mentions hook events (PreToolUse, PostToolUse, Stop).
177
+ ```
178
+
179
+ **Bad description examples:**
180
+ ```yaml
181
+ description: Use this skill when working with hooks. # Wrong person, vague
182
+ description: Load when user needs hook help. # Not third person
183
+ description: Provides hook guidance. # No trigger phrases
184
+ ```
185
+
186
+ To complete SKILL.md body, answer the following questions:
187
+
188
+ 1. What is the purpose of the skill, in a few sentences?
189
+ 2. When should the skill be used? (Include this in frontmatter description with specific triggers)
190
+ 3. In practice, how should OpenHands use the skill? All reusable skill contents developed above should be referenced so that OpenHands knows how to use them.
191
+
192
+ **Keep SKILL.md lean:** Target 1,500-2,000 words for the body. Move detailed content to references/:
193
+ - Detailed patterns → `references/patterns.md`
194
+ - Advanced techniques → `references/advanced.md`
195
+ - Migration guides → `references/migration.md`
196
+ - API references → `references/api-reference.md`
197
+
198
+ **Reference resources in SKILL.md:**
199
+ ```markdown
200
+ ## Additional Resources
201
+
202
+ ### Reference Files
203
+
204
+ For detailed patterns and techniques, consult:
205
+ - **`references/patterns.md`** - Common patterns
206
+ - **`references/advanced.md`** - Advanced use cases
207
+
208
+ ### Example Files
209
+
210
+ Working examples in `examples/`:
211
+ - **`example-script.sh`** - Working example
212
+ ```
213
+
214
+ ### Step 5: Validate and Test
215
+
216
+ 1. **Check structure**: Skill directory contains SKILL.md
217
+ 2. **Validate SKILL.md**: Has frontmatter with name and description
218
+ 3. **Check trigger phrases**: Description includes specific user queries
219
+ 4. **Verify writing style**: Body uses imperative/infinitive form, not second person
220
+ 5. **Test progressive disclosure**: SKILL.md is lean (~1,500-2,000 words), detailed content in references/
221
+ 6. **Check references**: All referenced files exist
222
+ 7. **Validate scripts**: Scripts are executable and work correctly
223
+
224
+ Use the validation script to check basic requirements:
225
+ ```bash
226
+ scripts/quick_validate.py <path/to/skill-folder>
227
+ ```
228
+
229
+ ### Step 6: Iterate
230
+
231
+ After testing the skill, users may request improvements. Often this happens right after using the skill, with fresh context of how the skill performed.
232
+
233
+ **Iteration workflow:**
234
+ 1. Use the skill on real tasks
235
+ 2. Notice struggles or inefficiencies
236
+ 3. Identify how SKILL.md or bundled resources should be updated
237
+ 4. Implement changes and test again
238
+
239
+ **Common improvements:**
240
+ - Strengthen trigger phrases in description
241
+ - Move long sections from SKILL.md to references/
242
+ - Add missing examples or scripts
243
+ - Clarify ambiguous instructions
244
+ - Add edge case handling
245
+
246
+ ## Progressive Disclosure in Practice
247
+
248
+ ### What Goes in SKILL.md
249
+
250
+ **Include (always loaded when skill triggers):**
251
+ - Core concepts and overview
252
+ - Essential procedures and workflows
253
+ - Quick reference tables
254
+ - Pointers to references/examples/scripts
255
+ - Most common use cases
256
+
257
+ **Keep under 3,000 words, ideally 1,500-2,000 words**
258
+
259
+ ### What Goes in references/
260
+
261
+ **Move to references/ (loaded as needed):**
262
+ - Detailed patterns and advanced techniques
263
+ - Comprehensive API documentation
264
+ - Migration guides
265
+ - Edge cases and troubleshooting
266
+ - Extensive examples and walkthroughs
267
+
268
+ **Each reference file can be large (2,000-5,000+ words)**
269
+
270
+ ### What Goes in scripts/
271
+
272
+ **Utility scripts:**
273
+ - Validation tools
274
+ - Testing helpers
275
+ - Parsing utilities
276
+ - Automation scripts
277
+
278
+ **Should be executable and documented**
279
+
280
+ ## Writing Style Requirements
281
+
282
+ ### Imperative/Infinitive Form
283
+
284
+ Write using verb-first instructions, not second person:
285
+
286
+ **Correct (imperative):**
287
+ ```
288
+ To create a hook, define the event type.
289
+ Configure the MCP server with authentication.
290
+ Validate settings before use.
291
+ ```
292
+
293
+ **Incorrect (second person):**
294
+ ```
295
+ You should create a hook by defining the event type.
296
+ You need to configure the MCP server.
297
+ You must validate settings before use.
298
+ ```
299
+
300
+ ### Third-Person in Description
301
+
302
+ The frontmatter description must use third person:
303
+
304
+ **Correct:**
305
+ ```yaml
306
+ description: This skill should be used when the user asks to "create X", "configure Y"...
307
+ ```
308
+
309
+ **Incorrect:**
310
+ ```yaml
311
+ description: Use this skill when you want to create X...
312
+ description: Load this skill when user asks...
313
+ ```
314
+
315
+ ### Objective, Instructional Language
316
+
317
+ Focus on what to do, not who should do it:
318
+
319
+ **Correct:**
320
+ ```
321
+ Parse the frontmatter using sed.
322
+ Extract fields with grep.
323
+ Validate values before use.
324
+ ```
325
+
326
+ **Incorrect:**
327
+ ```
328
+ You can parse the frontmatter...
329
+ OpenHands should extract fields...
330
+ The user might validate values...
331
+ ```
332
+
333
+ ## Validation Checklist
334
+
335
+ Before finalizing a skill:
336
+
337
+ **Structure:**
338
+ - [ ] SKILL.md file exists with valid YAML frontmatter
339
+ - [ ] Frontmatter has `name` and `description` fields
340
+ - [ ] Markdown body is present and substantial
341
+ - [ ] Referenced files actually exist
342
+
343
+ **Description Quality:**
344
+ - [ ] Uses third person ("This skill should be used when...")
345
+ - [ ] Includes specific trigger phrases users would say
346
+ - [ ] Lists concrete scenarios ("create X", "configure Y")
347
+ - [ ] Not vague or generic
348
+
349
+ **Content Quality:**
350
+ - [ ] SKILL.md body uses imperative/infinitive form
351
+ - [ ] Body is focused and lean (1,500-2,000 words ideal, <5k max)
352
+ - [ ] Detailed content moved to references/
353
+ - [ ] Examples are complete and working
354
+ - [ ] Scripts are executable and documented
355
+
356
+ **Progressive Disclosure:**
357
+ - [ ] Core concepts in SKILL.md
358
+ - [ ] Detailed docs in references/
359
+ - [ ] Utilities in scripts/
360
+ - [ ] SKILL.md references these resources
361
+
362
+ **Testing:**
363
+ - [ ] Skill triggers on expected user queries
364
+ - [ ] Content is helpful for intended tasks
365
+ - [ ] No duplicated information across files
366
+ - [ ] References load when needed
367
+
368
+ ## Common Mistakes to Avoid
369
+
370
+ ### Mistake 1: Weak Trigger Description
371
+
372
+ ❌ **Bad:**
373
+ ```yaml
374
+ description: Provides guidance for working with hooks.
375
+ ```
376
+
377
+ **Why bad:** Vague, no specific trigger phrases, not third person
378
+
379
+ ✅ **Good:**
380
+ ```yaml
381
+ description: This skill should be used when the user asks to "create a hook", "add a PreToolUse hook", "validate tool use", or mentions hook events. Provides comprehensive hooks API guidance.
382
+ ```
383
+
384
+ **Why good:** Third person, specific phrases, concrete scenarios
385
+
386
+ ### Mistake 2: Too Much in SKILL.md
387
+
388
+ ❌ **Bad:**
389
+ ```
390
+ skill-name/
391
+ └── SKILL.md (8,000 words - everything in one file)
392
+ ```
393
+
394
+ **Why bad:** Bloats context when skill loads, detailed content always loaded
395
+
396
+ ✅ **Good:**
397
+ ```
398
+ skill-name/
399
+ ├── SKILL.md (1,800 words - core essentials)
400
+ └── references/
401
+ ├── patterns.md (2,500 words)
402
+ └── advanced.md (3,700 words)
403
+ ```
404
+
405
+ **Why good:** Progressive disclosure, detailed content loaded only when needed
406
+
407
+ ### Mistake 3: Second Person Writing
408
+
409
+ ❌ **Bad:**
410
+ ```markdown
411
+ You should start by reading the configuration file.
412
+ You need to validate the input.
413
+ You can use the grep tool to search.
414
+ ```
415
+
416
+ **Why bad:** Second person, not imperative form
417
+
418
+ ✅ **Good:**
419
+ ```markdown
420
+ Start by reading the configuration file.
421
+ Validate the input before processing.
422
+ Use the grep tool to search for patterns.
423
+ ```
424
+
425
+ **Why good:** Imperative form, direct instructions
426
+
427
+ ### Mistake 4: Missing Resource References
428
+
429
+ ❌ **Bad:**
430
+ ```markdown
431
+ # SKILL.md
432
+
433
+ [Core content]
434
+
435
+ [No mention of references/ or examples/]
436
+ ```
437
+
438
+ **Why bad:** OpenHands doesn't know references exist
439
+
440
+ ✅ **Good:**
441
+ ```markdown
442
+ # SKILL.md
443
+
444
+ [Core content]
445
+
446
+ ## Additional Resources
447
+
448
+ ### Reference Files
449
+ - **`references/patterns.md`** - Detailed patterns
450
+ - **`references/advanced.md`** - Advanced techniques
451
+
452
+ ### Scripts
453
+ - **`scripts/validate.sh`** - Validation utility
454
+ ```
455
+
456
+ **Why good:** OpenHands knows where to find additional information
457
+
458
+ ## Quick Reference
459
+
460
+ ### Minimal Skill
461
+
462
+ ```
463
+ skill-name/
464
+ └── SKILL.md
465
+ ```
466
+
467
+ Good for: Simple knowledge, no complex resources needed
468
+
469
+ ### Standard Skill (Recommended)
470
+
471
+ ```
472
+ skill-name/
473
+ ├── SKILL.md
474
+ ├── references/
475
+ │ └── detailed-guide.md
476
+ └── scripts/
477
+ └── helper.py
478
+ ```
479
+
480
+ Good for: Most skills with detailed documentation
481
+
482
+ ### Complete Skill
483
+
484
+ ```
485
+ skill-name/
486
+ ├── SKILL.md
487
+ ├── references/
488
+ │ ├── patterns.md
489
+ │ └── advanced.md
490
+ ├── scripts/
491
+ │ └── validate.sh
492
+ └── assets/
493
+ └── template.txt
494
+ ```
495
+
496
+ Good for: Complex domains with validation utilities
497
+
498
+ ## Best Practices Summary
499
+
500
+ ✅ **DO:**
501
+ - Use third-person in description ("This skill should be used when...")
502
+ - Include specific trigger phrases ("create X", "configure Y")
503
+ - Keep SKILL.md lean (1,500-2,000 words)
504
+ - Use progressive disclosure (move details to references/)
505
+ - Write in imperative/infinitive form
506
+ - Reference supporting files clearly
507
+ - Provide working examples
508
+ - Create utility scripts for common operations
509
+ - Use `uv` for Python dependency installs in scripts (`uv venv .venv --quiet && uv pip install --quiet <pkg>`)
510
+
511
+ ❌ **DON'T:**
512
+ - Use second person anywhere
513
+ - Have vague trigger conditions
514
+ - Put everything in SKILL.md (>3,000 words without references/)
515
+ - Write in second person ("You should...")
516
+ - Leave resources unreferenced
517
+ - Include broken or incomplete examples
518
+ - Skip validation
519
+ - Use `pip` or `pip3` directly — `uv` is the cross-platform standard
520
+
521
+ ## Additional Resources
522
+
523
+ ### Reference Files
524
+
525
+ For detailed patterns and techniques, consult:
526
+ - **`references/workflows.md`** - Sequential workflows and conditional logic patterns
527
+ - **`references/output-patterns.md`** - Template and example patterns for specific output formats
528
+
529
+ ## Implementation Workflow
530
+
531
+ To create a skill:
532
+
533
+ 1. **Understand use cases**: Identify concrete examples of skill usage
534
+ 2. **Plan resources**: Determine what scripts/references/assets needed
535
+ 3. **Create structure**: `mkdir -p skill-name/{references,scripts,assets}`
536
+ 4. **Write SKILL.md**:
537
+ - Frontmatter with third-person description and trigger phrases
538
+ - Lean body (1,500-2,000 words) in imperative form
539
+ - Reference supporting files
540
+ 5. **Add resources**: Create references/, scripts/, assets/ as needed
541
+ 6. **Validate**: Check description, writing style, organization
542
+ 7. **Test**: Verify skill loads on expected triggers
543
+ 8. **Iterate**: Improve based on usage
544
+
545
+ Focus on strong trigger descriptions, progressive disclosure, and imperative writing style for effective skills that load when needed and provide targeted guidance.
@@ -0,0 +1,82 @@
1
+ # Output Patterns
2
+
3
+ Use these patterns when skills need to produce consistent, high-quality output.
4
+
5
+ ## Template Pattern
6
+
7
+ Provide templates for output format. Match the level of strictness to your needs.
8
+
9
+ **For strict requirements (like API responses or data formats):**
10
+
11
+ ```markdown
12
+ ## Report structure
13
+
14
+ ALWAYS use this exact template structure:
15
+
16
+ # [Analysis Title]
17
+
18
+ ## Executive summary
19
+ [One-paragraph overview of key findings]
20
+
21
+ ## Key findings
22
+ - Finding 1 with supporting data
23
+ - Finding 2 with supporting data
24
+ - Finding 3 with supporting data
25
+
26
+ ## Recommendations
27
+ 1. Specific actionable recommendation
28
+ 2. Specific actionable recommendation
29
+ ```
30
+
31
+ **For flexible guidance (when adaptation is useful):**
32
+
33
+ ```markdown
34
+ ## Report structure
35
+
36
+ Here is a sensible default format, but use your best judgment:
37
+
38
+ # [Analysis Title]
39
+
40
+ ## Executive summary
41
+ [Overview]
42
+
43
+ ## Key findings
44
+ [Adapt sections based on what you discover]
45
+
46
+ ## Recommendations
47
+ [Tailor to the specific context]
48
+
49
+ Adjust sections as needed for the specific analysis type.
50
+ ```
51
+
52
+ ## Examples Pattern
53
+
54
+ For skills where output quality depends on seeing examples, provide input/output pairs:
55
+
56
+ ```markdown
57
+ ## Commit message format
58
+
59
+ Generate commit messages following these examples:
60
+
61
+ **Example 1:**
62
+ Input: Added user authentication with JWT tokens
63
+ Output:
64
+ ```
65
+ feat(auth): implement JWT-based authentication
66
+
67
+ Add login endpoint and token validation middleware
68
+ ```
69
+
70
+ **Example 2:**
71
+ Input: Fixed bug where dates displayed incorrectly in reports
72
+ Output:
73
+ ```
74
+ fix(reports): correct date formatting in timezone conversion
75
+
76
+ Use UTC timestamps consistently across report generation
77
+ ```
78
+
79
+ Follow this style: type(scope): brief description, then detailed explanation.
80
+ ```
81
+
82
+ Examples help OpenHands understand the desired style and level of detail more clearly than descriptions alone.
@@ -0,0 +1,28 @@
1
+ # Workflow Patterns
2
+
3
+ ## Sequential Workflows
4
+
5
+ For complex tasks, break operations into clear, sequential steps. It is often helpful to give OpenHands an overview of the process towards the beginning of SKILL.md:
6
+
7
+ ```markdown
8
+ Filling a PDF form involves these steps:
9
+
10
+ 1. Analyze the form (run analyze_form.py)
11
+ 2. Create field mapping (edit fields.json)
12
+ 3. Validate mapping (run validate_fields.py)
13
+ 4. Fill the form (run fill_form.py)
14
+ 5. Verify output (run verify_output.py)
15
+ ```
16
+
17
+ ## Conditional Workflows
18
+
19
+ For tasks with branching logic, guide OpenHands through decision points:
20
+
21
+ ```markdown
22
+ 1. Determine the modification type:
23
+ **Creating new content?** → Follow "Creation workflow" below
24
+ **Editing existing content?** → Follow "Editing workflow" below
25
+
26
+ 2. Creation workflow: [steps]
27
+ 3. Editing workflow: [steps]
28
+ ```