minimal-agent 0.1.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 (317) hide show
  1. package/LICENSE +148 -0
  2. package/README.md +287 -0
  3. package/dist/main.js +4140 -0
  4. package/package.json +66 -0
  5. package/skills/algorithmic-art/LICENSE.txt +202 -0
  6. package/skills/algorithmic-art/SKILL.md +405 -0
  7. package/skills/algorithmic-art/templates/generator_template.js +223 -0
  8. package/skills/algorithmic-art/templates/viewer.html +599 -0
  9. package/skills/batch/SKILL.md +39 -0
  10. package/skills/canvas-design/LICENSE.txt +202 -0
  11. package/skills/canvas-design/SKILL.md +130 -0
  12. package/skills/canvas-design/canvas-fonts/ArsenalSC-OFL.txt +93 -0
  13. package/skills/canvas-design/canvas-fonts/ArsenalSC-Regular.ttf +0 -0
  14. package/skills/canvas-design/canvas-fonts/BigShoulders-Bold.ttf +0 -0
  15. package/skills/canvas-design/canvas-fonts/BigShoulders-OFL.txt +93 -0
  16. package/skills/canvas-design/canvas-fonts/BigShoulders-Regular.ttf +0 -0
  17. package/skills/canvas-design/canvas-fonts/Boldonse-OFL.txt +93 -0
  18. package/skills/canvas-design/canvas-fonts/Boldonse-Regular.ttf +0 -0
  19. package/skills/canvas-design/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
  20. package/skills/canvas-design/canvas-fonts/BricolageGrotesque-OFL.txt +93 -0
  21. package/skills/canvas-design/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
  22. package/skills/canvas-design/canvas-fonts/CrimsonPro-Bold.ttf +0 -0
  23. package/skills/canvas-design/canvas-fonts/CrimsonPro-Italic.ttf +0 -0
  24. package/skills/canvas-design/canvas-fonts/CrimsonPro-OFL.txt +93 -0
  25. package/skills/canvas-design/canvas-fonts/CrimsonPro-Regular.ttf +0 -0
  26. package/skills/canvas-design/canvas-fonts/DMMono-OFL.txt +93 -0
  27. package/skills/canvas-design/canvas-fonts/DMMono-Regular.ttf +0 -0
  28. package/skills/canvas-design/canvas-fonts/EricaOne-OFL.txt +94 -0
  29. package/skills/canvas-design/canvas-fonts/EricaOne-Regular.ttf +0 -0
  30. package/skills/canvas-design/canvas-fonts/GeistMono-Bold.ttf +0 -0
  31. package/skills/canvas-design/canvas-fonts/GeistMono-OFL.txt +93 -0
  32. package/skills/canvas-design/canvas-fonts/GeistMono-Regular.ttf +0 -0
  33. package/skills/canvas-design/canvas-fonts/Gloock-OFL.txt +93 -0
  34. package/skills/canvas-design/canvas-fonts/Gloock-Regular.ttf +0 -0
  35. package/skills/canvas-design/canvas-fonts/IBMPlexMono-Bold.ttf +0 -0
  36. package/skills/canvas-design/canvas-fonts/IBMPlexMono-OFL.txt +93 -0
  37. package/skills/canvas-design/canvas-fonts/IBMPlexMono-Regular.ttf +0 -0
  38. package/skills/canvas-design/canvas-fonts/IBMPlexSerif-Bold.ttf +0 -0
  39. package/skills/canvas-design/canvas-fonts/IBMPlexSerif-BoldItalic.ttf +0 -0
  40. package/skills/canvas-design/canvas-fonts/IBMPlexSerif-Italic.ttf +0 -0
  41. package/skills/canvas-design/canvas-fonts/IBMPlexSerif-Regular.ttf +0 -0
  42. package/skills/canvas-design/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
  43. package/skills/canvas-design/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
  44. package/skills/canvas-design/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
  45. package/skills/canvas-design/canvas-fonts/InstrumentSans-OFL.txt +93 -0
  46. package/skills/canvas-design/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
  47. package/skills/canvas-design/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
  48. package/skills/canvas-design/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
  49. package/skills/canvas-design/canvas-fonts/Italiana-OFL.txt +93 -0
  50. package/skills/canvas-design/canvas-fonts/Italiana-Regular.ttf +0 -0
  51. package/skills/canvas-design/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
  52. package/skills/canvas-design/canvas-fonts/JetBrainsMono-OFL.txt +93 -0
  53. package/skills/canvas-design/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
  54. package/skills/canvas-design/canvas-fonts/Jura-Light.ttf +0 -0
  55. package/skills/canvas-design/canvas-fonts/Jura-Medium.ttf +0 -0
  56. package/skills/canvas-design/canvas-fonts/Jura-OFL.txt +93 -0
  57. package/skills/canvas-design/canvas-fonts/LibreBaskerville-OFL.txt +93 -0
  58. package/skills/canvas-design/canvas-fonts/LibreBaskerville-Regular.ttf +0 -0
  59. package/skills/canvas-design/canvas-fonts/Lora-Bold.ttf +0 -0
  60. package/skills/canvas-design/canvas-fonts/Lora-BoldItalic.ttf +0 -0
  61. package/skills/canvas-design/canvas-fonts/Lora-Italic.ttf +0 -0
  62. package/skills/canvas-design/canvas-fonts/Lora-OFL.txt +93 -0
  63. package/skills/canvas-design/canvas-fonts/Lora-Regular.ttf +0 -0
  64. package/skills/canvas-design/canvas-fonts/NationalPark-Bold.ttf +0 -0
  65. package/skills/canvas-design/canvas-fonts/NationalPark-OFL.txt +93 -0
  66. package/skills/canvas-design/canvas-fonts/NationalPark-Regular.ttf +0 -0
  67. package/skills/canvas-design/canvas-fonts/NothingYouCouldDo-OFL.txt +93 -0
  68. package/skills/canvas-design/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
  69. package/skills/canvas-design/canvas-fonts/Outfit-Bold.ttf +0 -0
  70. package/skills/canvas-design/canvas-fonts/Outfit-OFL.txt +93 -0
  71. package/skills/canvas-design/canvas-fonts/Outfit-Regular.ttf +0 -0
  72. package/skills/canvas-design/canvas-fonts/PixelifySans-Medium.ttf +0 -0
  73. package/skills/canvas-design/canvas-fonts/PixelifySans-OFL.txt +93 -0
  74. package/skills/canvas-design/canvas-fonts/PoiretOne-OFL.txt +93 -0
  75. package/skills/canvas-design/canvas-fonts/PoiretOne-Regular.ttf +0 -0
  76. package/skills/canvas-design/canvas-fonts/RedHatMono-Bold.ttf +0 -0
  77. package/skills/canvas-design/canvas-fonts/RedHatMono-OFL.txt +93 -0
  78. package/skills/canvas-design/canvas-fonts/RedHatMono-Regular.ttf +0 -0
  79. package/skills/canvas-design/canvas-fonts/Silkscreen-OFL.txt +93 -0
  80. package/skills/canvas-design/canvas-fonts/Silkscreen-Regular.ttf +0 -0
  81. package/skills/canvas-design/canvas-fonts/SmoochSans-Medium.ttf +0 -0
  82. package/skills/canvas-design/canvas-fonts/SmoochSans-OFL.txt +93 -0
  83. package/skills/canvas-design/canvas-fonts/Tektur-Medium.ttf +0 -0
  84. package/skills/canvas-design/canvas-fonts/Tektur-OFL.txt +93 -0
  85. package/skills/canvas-design/canvas-fonts/Tektur-Regular.ttf +0 -0
  86. package/skills/canvas-design/canvas-fonts/WorkSans-Bold.ttf +0 -0
  87. package/skills/canvas-design/canvas-fonts/WorkSans-BoldItalic.ttf +0 -0
  88. package/skills/canvas-design/canvas-fonts/WorkSans-Italic.ttf +0 -0
  89. package/skills/canvas-design/canvas-fonts/WorkSans-OFL.txt +93 -0
  90. package/skills/canvas-design/canvas-fonts/WorkSans-Regular.ttf +0 -0
  91. package/skills/canvas-design/canvas-fonts/YoungSerif-OFL.txt +93 -0
  92. package/skills/canvas-design/canvas-fonts/YoungSerif-Regular.ttf +0 -0
  93. package/skills/commit/SKILL.md +46 -0
  94. package/skills/compact/SKILL.md +27 -0
  95. package/skills/config/SKILL.md +94 -0
  96. package/skills/diff/SKILL.md +30 -0
  97. package/skills/docx/LICENSE.txt +30 -0
  98. package/skills/docx/SKILL.md +660 -0
  99. package/skills/docx/scripts/__init__.py +1 -0
  100. package/skills/docx/scripts/accept_changes.py +135 -0
  101. package/skills/docx/scripts/comment.py +318 -0
  102. package/skills/docx/scripts/convert_to_docx.py +140 -0
  103. package/skills/docx/scripts/office/__init__.py +1 -0
  104. package/skills/docx/scripts/office/helpers/__init__.py +0 -0
  105. package/skills/docx/scripts/office/helpers/__pycache__/__init__.cpython-314.pyc +0 -0
  106. package/skills/docx/scripts/office/helpers/__pycache__/merge_runs.cpython-314.pyc +0 -0
  107. package/skills/docx/scripts/office/helpers/__pycache__/simplify_redlines.cpython-314.pyc +0 -0
  108. package/skills/docx/scripts/office/helpers/merge_runs.py +199 -0
  109. package/skills/docx/scripts/office/helpers/simplify_redlines.py +197 -0
  110. package/skills/docx/scripts/office/pack.py +159 -0
  111. package/skills/docx/scripts/office/schemas/__init__.py +1 -0
  112. package/skills/docx/scripts/office/soffice.py +183 -0
  113. package/skills/docx/scripts/office/unpack.py +132 -0
  114. package/skills/docx/scripts/office/validate.py +111 -0
  115. package/skills/docx/scripts/office/validators/__init__.py +15 -0
  116. package/skills/docx/scripts/office/validators/__pycache__/__init__.cpython-314.pyc +0 -0
  117. package/skills/docx/scripts/office/validators/__pycache__/base.cpython-314.pyc +0 -0
  118. package/skills/docx/scripts/office/validators/__pycache__/docx.cpython-314.pyc +0 -0
  119. package/skills/docx/scripts/office/validators/__pycache__/pptx.cpython-314.pyc +0 -0
  120. package/skills/docx/scripts/office/validators/__pycache__/redlining.cpython-314.pyc +0 -0
  121. package/skills/docx/scripts/office/validators/base.py +847 -0
  122. package/skills/docx/scripts/office/validators/docx.py +446 -0
  123. package/skills/docx/scripts/office/validators/pptx.py +275 -0
  124. package/skills/docx/scripts/office/validators/redlining.py +247 -0
  125. package/skills/docx/scripts/templates/comments.xml +3 -0
  126. package/skills/docx/scripts/templates/commentsExtended.xml +3 -0
  127. package/skills/docx/scripts/templates/commentsExtensible.xml +3 -0
  128. package/skills/docx/scripts/templates/commentsIds.xml +3 -0
  129. package/skills/docx/scripts/templates/people.xml +3 -0
  130. package/skills/frontend-design/LICENSE.txt +177 -0
  131. package/skills/frontend-design/SKILL.md +42 -0
  132. package/skills/init/SKILL.md +238 -0
  133. package/skills/init/evals/evals.json +28 -0
  134. package/skills/mcp-builder/LICENSE.txt +202 -0
  135. package/skills/mcp-builder/SKILL.md +236 -0
  136. package/skills/mcp-builder/reference/evaluation.md +602 -0
  137. package/skills/mcp-builder/reference/mcp_best_practices.md +249 -0
  138. package/skills/mcp-builder/reference/node_mcp_server.md +970 -0
  139. package/skills/mcp-builder/reference/python_mcp_server.md +719 -0
  140. package/skills/mcp-builder/scripts/connections.py +151 -0
  141. package/skills/mcp-builder/scripts/evaluation.py +373 -0
  142. package/skills/mcp-builder/scripts/example_evaluation.xml +22 -0
  143. package/skills/mcp-builder/scripts/requirements.txt +2 -0
  144. package/skills/pdf/LICENSE.txt +30 -0
  145. package/skills/pdf/SKILL.md +314 -0
  146. package/skills/pdf/forms.md +294 -0
  147. package/skills/pdf/reference.md +612 -0
  148. package/skills/pdf/scripts/check_bounding_boxes.py +65 -0
  149. package/skills/pdf/scripts/check_fillable_fields.py +11 -0
  150. package/skills/pdf/scripts/convert_pdf_to_images.py +33 -0
  151. package/skills/pdf/scripts/create_validation_image.py +37 -0
  152. package/skills/pdf/scripts/extract_form_field_info.py +122 -0
  153. package/skills/pdf/scripts/extract_form_structure.py +115 -0
  154. package/skills/pdf/scripts/fill_fillable_fields.py +98 -0
  155. package/skills/pdf/scripts/fill_pdf_form_with_annotations.py +107 -0
  156. package/skills/pptx/LICENSE.txt +30 -0
  157. package/skills/pptx/SKILL.md +232 -0
  158. package/skills/pptx/editing.md +205 -0
  159. package/skills/pptx/pptxgenjs.md +420 -0
  160. package/skills/pptx/scripts/__init__.py +0 -0
  161. package/skills/pptx/scripts/add_slide.py +195 -0
  162. package/skills/pptx/scripts/clean.py +286 -0
  163. package/skills/pptx/scripts/office/helpers/__init__.py +0 -0
  164. package/skills/pptx/scripts/office/helpers/merge_runs.py +199 -0
  165. package/skills/pptx/scripts/office/helpers/simplify_redlines.py +197 -0
  166. package/skills/pptx/scripts/office/pack.py +159 -0
  167. package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  168. package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  169. package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  170. package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  171. package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  172. package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  173. package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  174. package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  175. package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  176. package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  177. package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  178. package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  179. package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  180. package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  181. package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  182. package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  183. package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  184. package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  185. package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  186. package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  187. package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  188. package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  189. package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  190. package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  191. package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  192. package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  193. package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  194. package/skills/pptx/scripts/office/schemas/ecma/fouth-edition/ECMA-376_3rd_edition.zip +1 -0
  195. package/skills/pptx/scripts/office/schemas/ecma/fouth-edition/README.md +1 -0
  196. package/skills/pptx/scripts/office/schemas/mce/mce-core.xsd +1 -0
  197. package/skills/pptx/scripts/office/schemas/mce/mce-override.xsd +1 -0
  198. package/skills/pptx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
  199. package/skills/pptx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
  200. package/skills/pptx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
  201. package/skills/pptx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
  202. package/skills/pptx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
  203. package/skills/pptx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  204. package/skills/pptx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
  205. package/skills/pptx/scripts/office/soffice.py +183 -0
  206. package/skills/pptx/scripts/office/unpack.py +132 -0
  207. package/skills/pptx/scripts/office/validate.py +111 -0
  208. package/skills/pptx/scripts/office/validators/__init__.py +15 -0
  209. package/skills/pptx/scripts/office/validators/base.py +847 -0
  210. package/skills/pptx/scripts/office/validators/docx.py +446 -0
  211. package/skills/pptx/scripts/office/validators/pptx.py +275 -0
  212. package/skills/pptx/scripts/office/validators/redlining.py +247 -0
  213. package/skills/pptx/scripts/thumbnail.py +289 -0
  214. package/skills/simplify/SKILL.md +52 -0
  215. package/skills/skill-creator/LICENSE.txt +202 -0
  216. package/skills/skill-creator/SKILL.md +485 -0
  217. package/skills/skill-creator/agents/analyzer.md +274 -0
  218. package/skills/skill-creator/agents/comparator.md +202 -0
  219. package/skills/skill-creator/agents/grader.md +223 -0
  220. package/skills/skill-creator/assets/eval_review.html +146 -0
  221. package/skills/skill-creator/eval-viewer/generate_review.py +471 -0
  222. package/skills/skill-creator/eval-viewer/viewer.html +1325 -0
  223. package/skills/skill-creator/references/schemas.md +430 -0
  224. package/skills/skill-creator/scripts/__init__.py +0 -0
  225. package/skills/skill-creator/scripts/aggregate_benchmark.py +401 -0
  226. package/skills/skill-creator/scripts/generate_report.py +326 -0
  227. package/skills/skill-creator/scripts/improve_description.py +247 -0
  228. package/skills/skill-creator/scripts/package_skill.py +136 -0
  229. package/skills/skill-creator/scripts/quick_validate.py +103 -0
  230. package/skills/skill-creator/scripts/run_eval.py +310 -0
  231. package/skills/skill-creator/scripts/run_loop.py +328 -0
  232. package/skills/skill-creator/scripts/utils.py +47 -0
  233. package/skills/theme-factory/LICENSE.txt +202 -0
  234. package/skills/theme-factory/SKILL.md +59 -0
  235. package/skills/theme-factory/theme-showcase.pdf +0 -0
  236. package/skills/theme-factory/themes/arctic-frost.md +19 -0
  237. package/skills/theme-factory/themes/botanical-garden.md +19 -0
  238. package/skills/theme-factory/themes/desert-rose.md +19 -0
  239. package/skills/theme-factory/themes/forest-canopy.md +19 -0
  240. package/skills/theme-factory/themes/golden-hour.md +19 -0
  241. package/skills/theme-factory/themes/midnight-galaxy.md +19 -0
  242. package/skills/theme-factory/themes/modern-minimalist.md +19 -0
  243. package/skills/theme-factory/themes/ocean-depths.md +19 -0
  244. package/skills/theme-factory/themes/sunset-boulevard.md +19 -0
  245. package/skills/theme-factory/themes/tech-innovation.md +19 -0
  246. package/skills/web-artifacts-builder/LICENSE.txt +202 -0
  247. package/skills/web-artifacts-builder/SKILL.md +79 -0
  248. package/skills/web-artifacts-builder/scripts/bundle-artifact.sh +53 -0
  249. package/skills/web-artifacts-builder/scripts/init-artifact.sh +322 -0
  250. package/skills/web-artifacts-builder/scripts/shadcn-components.tar.gz +0 -0
  251. package/skills/webapp-testing/LICENSE.txt +202 -0
  252. package/skills/webapp-testing/SKILL.md +96 -0
  253. package/skills/webapp-testing/examples/console_logging.py +35 -0
  254. package/skills/webapp-testing/examples/element_discovery.py +40 -0
  255. package/skills/webapp-testing/examples/static_html_automation.py +33 -0
  256. package/skills/webapp-testing/scripts/with_server.py +106 -0
  257. package/skills/xlsx/LICENSE.txt +30 -0
  258. package/skills/xlsx/SKILL.md +292 -0
  259. package/skills/xlsx/scripts/office/helpers/__init__.py +0 -0
  260. package/skills/xlsx/scripts/office/helpers/merge_runs.py +199 -0
  261. package/skills/xlsx/scripts/office/helpers/simplify_redlines.py +197 -0
  262. package/skills/xlsx/scripts/office/pack.py +159 -0
  263. package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  264. package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  265. package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  266. package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  267. package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  268. package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  269. package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  270. package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  271. package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  272. package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  273. package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  274. package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  275. package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  276. package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  277. package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  278. package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  279. package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  280. package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  281. package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  282. package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  283. package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  284. package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  285. package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  286. package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  287. package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  288. package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  289. package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  290. package/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/ECMA-376_3rd_edition.zip +1 -0
  291. package/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/README.md +1 -0
  292. package/skills/xlsx/scripts/office/schemas/mce/mce-core.xsd +1 -0
  293. package/skills/xlsx/scripts/office/schemas/mce/mce-override.xsd +1 -0
  294. package/skills/xlsx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
  295. package/skills/xlsx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
  296. package/skills/xlsx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
  297. package/skills/xlsx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
  298. package/skills/xlsx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
  299. package/skills/xlsx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  300. package/skills/xlsx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
  301. package/skills/xlsx/scripts/office/soffice.py +183 -0
  302. package/skills/xlsx/scripts/office/unpack.py +132 -0
  303. package/skills/xlsx/scripts/office/validate.py +111 -0
  304. package/skills/xlsx/scripts/office/validators/__init__.py +15 -0
  305. package/skills/xlsx/scripts/office/validators/base.py +847 -0
  306. package/skills/xlsx/scripts/office/validators/docx.py +446 -0
  307. package/skills/xlsx/scripts/office/validators/pptx.py +275 -0
  308. package/skills/xlsx/scripts/office/validators/redlining.py +247 -0
  309. package/skills/xlsx/scripts/recalc.py +184 -0
  310. package/vendor/ripgrep/COPYING +3 -0
  311. package/vendor/ripgrep/README.md +34 -0
  312. package/vendor/ripgrep/arm64-darwin/rg +0 -0
  313. package/vendor/ripgrep/arm64-linux/rg +0 -0
  314. package/vendor/ripgrep/arm64-win32/rg.exe +0 -0
  315. package/vendor/ripgrep/x64-darwin/rg +0 -0
  316. package/vendor/ripgrep/x64-linux/rg +0 -0
  317. package/vendor/ripgrep/x64-win32/rg.exe +0 -0
@@ -0,0 +1,177 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
@@ -0,0 +1,42 @@
1
+ ---
2
+ name: frontend-design
3
+ description: Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
4
+ license: Complete terms in LICENSE.txt
5
+ ---
6
+
7
+ This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices.
8
+
9
+ The user provides frontend requirements: a component, page, application, or interface to build. They may include context about the purpose, audience, or technical constraints.
10
+
11
+ ## Design Thinking
12
+
13
+ Before coding, understand the context and commit to a BOLD aesthetic direction:
14
+ - **Purpose**: What problem does this interface solve? Who uses it?
15
+ - **Tone**: Pick an extreme: brutally minimal, maximalist chaos, retro-futuristic, organic/natural, luxury/refined, playful/toy-like, editorial/magazine, brutalist/raw, art deco/geometric, soft/pastel, industrial/utilitarian, etc. There are so many flavors to choose from. Use these for inspiration but design one that is true to the aesthetic direction.
16
+ - **Constraints**: Technical requirements (framework, performance, accessibility).
17
+ - **Differentiation**: What makes this UNFORGETTABLE? What's the one thing someone will remember?
18
+
19
+ **CRITICAL**: Choose a clear conceptual direction and execute it with precision. Bold maximalism and refined minimalism both work - the key is intentionality, not intensity.
20
+
21
+ Then implement working code (HTML/CSS/JS, React, Vue, etc.) that is:
22
+ - Production-grade and functional
23
+ - Visually striking and memorable
24
+ - Cohesive with a clear aesthetic point-of-view
25
+ - Meticulously refined in every detail
26
+
27
+ ## Frontend Aesthetics Guidelines
28
+
29
+ Focus on:
30
+ - **Typography**: Choose fonts that are beautiful, unique, and interesting. Avoid generic fonts like Arial and Inter; opt instead for distinctive choices that elevate the frontend's aesthetics; unexpected, characterful font choices. Pair a distinctive display font with a refined body font.
31
+ - **Color & Theme**: Commit to a cohesive aesthetic. Use CSS variables for consistency. Dominant colors with sharp accents outperform timid, evenly-distributed palettes.
32
+ - **Motion**: Use animations for effects and micro-interactions. Prioritize CSS-only solutions for HTML. Use Motion library for React when available. Focus on high-impact moments: one well-orchestrated page load with staggered reveals (animation-delay) creates more delight than scattered micro-interactions. Use scroll-triggering and hover states that surprise.
33
+ - **Spatial Composition**: Unexpected layouts. Asymmetry. Overlap. Diagonal flow. Grid-breaking elements. Generous negative space OR controlled density.
34
+ - **Backgrounds & Visual Details**: Create atmosphere and depth rather than defaulting to solid colors. Add contextual effects and textures that match the overall aesthetic. Apply creative forms like gradient meshes, noise textures, geometric patterns, layered transparencies, dramatic shadows, decorative borders, custom cursors, and grain overlays.
35
+
36
+ NEVER use generic AI-generated aesthetics like overused font families (Inter, Roboto, Arial, system fonts), cliched color schemes (particularly purple gradients on white backgrounds), predictable layouts and component patterns, and cookie-cutter design that lacks context-specific character.
37
+
38
+ Interpret creatively and make unexpected choices that feel genuinely designed for the context. No design should be the same. Vary between light and dark themes, different fonts, different aesthetics. NEVER converge on common choices (Space Grotesk, for example) across generations.
39
+
40
+ **IMPORTANT**: Match implementation complexity to the aesthetic vision. Maximalist designs need elaborate code with extensive animations and effects. Minimalist or refined designs need restraint, precision, and careful attention to spacing, typography, and subtle details. Elegance comes from executing the vision well.
41
+
42
+ Remember: Claude is capable of extraordinary creative work. Don't hold back, show what can truly be created when thinking outside the box and committing fully to a distinctive vision.
@@ -0,0 +1,238 @@
1
+ ---
2
+ name: init
3
+ description: 项目初始化技能。当用户输入 "/init" 且没有任何其他内容时触发。用于分析当前项目结构并生成 minimal-agent.md 项目文档。
4
+ ---
5
+
6
+ # Init Skill
7
+
8
+ 当用户输入 `/init` 时触发,执行以下任务:
9
+
10
+ 1. 分析项目目录结构
11
+ 2. 识别技术栈和框架
12
+ 3. 提取关键配置文件和入口点
13
+ 4. 深入理解核心模块的运作机制
14
+ 5. 生成或更新 `minimal-agent.md` 项目文档
15
+
16
+ ---
17
+
18
+ ## 执行步骤
19
+
20
+ ### Step 1: 分析项目结构
21
+
22
+ 使用 Glob 扫描项目,识别:
23
+ - 源码目录结构(src/、lib/、app/ 等)
24
+ - 配置文件
25
+ - 根目录的文档文件
26
+ - 测试文件位置
27
+
28
+ 扫描策略:
29
+ - 根据语言类型选择对应的源码目录(TS/JS 用 src/,Python 用 lib/ 或直接是 .py 文件)
30
+ - 根据语言类型识别配置文件(TS 用 tsconfig.json,Python 用 pyproject.toml 或 requirements.txt)
31
+
32
+ ### Step 2: 识别技术栈
33
+
34
+ 读取项目根目录的配置文件(根据语言类型选择):
35
+ - `package.json` → Node.js/Bun 项目
36
+ - `pyproject.toml` / `requirements.txt` → Python 项目
37
+ - `Cargo.toml` → Rust 项目
38
+ - `go.mod` → Go 项目
39
+
40
+ 识别要点:
41
+ - 运行时(Node.js / Bun / Deno / Python / Rust / Go)
42
+ - 语言(TypeScript / JavaScript / Python / Rust / Go 等)
43
+ - 框架
44
+ - 构建工具/包管理器
45
+
46
+ ### Step 3: 提取项目元信息
47
+
48
+ 从以下位置提取:
49
+ - `package.json` / `pyproject.toml` / `Cargo.toml` → 项目名、版本、描述
50
+ - `README.md` → 项目简介(如果存在)
51
+ - `CLAUDE.md` → 如果存在,参考其描述风格(尤其是"核心架构"部分的深度)
52
+ - 根目录的 `*.md` 文件 → 了解项目文档结构
53
+
54
+ ### Step 4: 深入理解核心模块
55
+
56
+ 这是最关键的一步。
57
+
58
+ **识别核心模块的方法**:
59
+ 1. 找到程序入口文件(名字可能是 main、index、app、run、start 等)
60
+ 2. 找到类型定义文件(types、models、schemas 等)
61
+ 3. 找到配置管理文件(config、settings、env 等)
62
+ 4. 识别主要的功能目录(如 tools/、services/、handlers/ 等)
63
+
64
+ **读取文件的原则**:
65
+ - 不硬编码文件名,根据项目实际情况推断
66
+ - 优先读取:有顶部大段注释的文件(通常包含设计意图)
67
+ - 优先读取:入口文件和类型定义文件
68
+ - 用文件名和目录结构推断模块职责
69
+
70
+ **需要提取的关键信息**:
71
+
72
+ | 模块类型 | 需要了解的内容 |
73
+ |----------|---------------|
74
+ | 主循环/入口 | 工作流程、关键步骤、核心函数 |
75
+ | 客户端/通信 | 协议、接口格式、关键函数 |
76
+ | 工具/功能集合 | 工具列表、注册方式、参数校验 |
77
+ | 上下文管理 | 触发条件、保留策略、关键函数 |
78
+ | UI/界面 | 组件结构、状态管理 |
79
+
80
+ **判断模块类型的信号**:
81
+ - 文件名含 `loop`、`main`、`run`、`start` → 主循环类型
82
+ - 文件名含 `client`、`http`、`request`、`api` → 通信类型
83
+ - 目录名含 `tools`、`handlers`、`commands` → 工具类型
84
+ - 文件名含 `context`、`memory`、`history` → 上下文类型
85
+
86
+ ### Step 5: 提取设计原则
87
+
88
+ 从以下位置提取:
89
+ - 关键文件顶部的大段注释(通常描述设计理念)
90
+ - README.md 中的设计理念
91
+ - 代码注释(TODO、FIXME、NOTE 等标记)
92
+
93
+ ---
94
+
95
+ ## 生成 minimal-agent.md
96
+
97
+ ### 文档结构
98
+
99
+ ```markdown
100
+ # [项目名]
101
+
102
+ > [一句话项目简介,从项目配置或 README 提取]
103
+
104
+ ## 技术栈
105
+
106
+ - **运行时**: [根据项目实际填写]
107
+ - **语言**: [根据项目实际填写]
108
+ - **框架**: [根据项目实际填写]
109
+ - **构建工具/包管理器**: [根据项目实际填写]
110
+ - **其他关键依赖**: [列出 2-4 个重要依赖]
111
+
112
+ ## 项目结构
113
+
114
+ ```
115
+ [项目名]/
116
+ ├── [主要源码目录]
117
+ │ ├── [按功能划分的子目录或文件]
118
+ │ └── ...
119
+ ├── [其他目录]
120
+ └── 配置文件
121
+ ```
122
+
123
+ ## 快速开始
124
+
125
+ ```bash
126
+ [根据项目实际命令填写]
127
+ ```
128
+
129
+ ## 环境配置
130
+
131
+ [如果有 .env.example 或类似配置,提取环境变量]
132
+
133
+ ## 核心架构
134
+
135
+ [对于每个核心模块,详细描述其运作机制]
136
+
137
+ ### [模块名]
138
+
139
+ [一段话描述模块的职责和定位]
140
+
141
+ [根据模块类型选择描述方式]
142
+ - **主循环类型**:列出关键步骤(1. 2. 3. ...)
143
+ - **工具类型**:列出工具/功能列表和重要特性
144
+ - **通信类型**:描述协议、接口格式
145
+ - **数据处理类型**:描述数据流向
146
+
147
+ 关键函数/类:
148
+ - `[名称]` — [一句话描述]
149
+
150
+ ## 设计原则
151
+
152
+ - [从代码或文档中提取的设计原则,每条一句话]
153
+
154
+ ## 维护提示
155
+
156
+ > ⚠️ 本文档由 `/init` 自动生成,是了解项目的**线索**而非**真理**。随着项目演进,内容可能变得不准确。涉及代码的具体实现,请在实际使用中核实相关源文件。
157
+ ```
158
+
159
+ ### 内容质量要求(核心)
160
+
161
+ **项目简介**:
162
+ - 一句话说清楚项目做什么
163
+ - 说明项目的定位(学习用/生产用/工具类等)
164
+
165
+ **技术栈**:
166
+ - 只列出最重要的 4-6 项
167
+ - 用「**运行时**」「**语言**」「**框架**」等标签
168
+
169
+ **项目结构**:
170
+ - 用目录树展示,不列出具体文件
171
+ - 根据项目实际结构描述(不一定是 src/,可能是 lib/ 或直接是根目录的源文件)
172
+ - 用 `...` 省略次要文件
173
+
174
+ **快速开始**:
175
+ - 只列出最核心的 4-6 个命令
176
+ - 根据项目类型填写(Python 可能是 `pip install` + `python main.py`,Rust 可能是 `cargo build` + `./target/...`)
177
+
178
+ **核心架构(最重要!)**:
179
+ - 这部分是让 agent 能够"修改项目"的关键
180
+ - 根据实际识别的模块来描述,不拘泥于固定数量
181
+ - 每个模块用"###"小标题
182
+ - 描述模块职责和定位(一段话)
183
+ - **主循环类型**:列出关键步骤
184
+ - **工具类型**:列出工具列表和特性
185
+ - **关键函数/类**:用列表展示名称和一句话描述
186
+
187
+ **设计原则**:
188
+ - 只保留真正重要的设计决策
189
+ - 每条原则一行,简洁明了
190
+ - 3-5 条足够
191
+
192
+ ### 写作风格
193
+
194
+ **参考 CLAUDE.md 的写作风格**:
195
+
196
+ ✅ 好的描述:
197
+ - "当 context 接近上限(contextWindow - 13000 token)时触发压缩"
198
+ - "基于 `Tool` 接口(name / description / inputSchema / parameters / call)"
199
+
200
+ ❌ 糟糕的描述:
201
+ - "这是一个处理文件的模块"(太模糊)
202
+ - "通过某种方式实现了功能"(太模糊)
203
+
204
+ **写作原则**:
205
+ - 写"是什么"和"为什么",不写"怎么做"
206
+ - 用具体数字/名称,不写"[某个值]"
207
+ - 让读者知道改哪里、怎么改
208
+
209
+ ---
210
+
211
+ ## 已有文件处理
212
+
213
+ **如果 `minimal-agent.md` 已存在:**
214
+
215
+ 1. **读取现有内容**,对比新分析的结果
216
+ 2. **识别差异**:
217
+ - 哪些部分过时了(技术栈变化、模块重构等)
218
+ - 哪些部分仍然有效
219
+ - 哪些新内容需要添加
220
+ 3. **编辑更新**(而非覆盖):
221
+ - **保留**:用户之前强调过的规则、设计原则、特殊约定
222
+ - **删除**:过时的模块、不再使用的配置、错误的描述
223
+ - **补充**:新发现的模块、新增的配置、更新后的命令
224
+ 4. **保持结构一致**:尽量保留原文档的结构,只做局部修改
225
+ 5. **不改动用户强调的内容**:如果文件中用户用特殊标记(如「注意」「警告」「重要」)强调的内容,要保留
226
+
227
+ **如果 `minimal-agent.md` 不存在:**
228
+ - 按照上面的模板生成新文件
229
+
230
+ ---
231
+
232
+ ## 输出要求
233
+
234
+ - 输出文件:`minimal-agent.md`(项目根目录)
235
+ - 使用中文编写
236
+ - 保持简洁,但核心架构部分要有深度
237
+ - 不写具体实现细节,但要让读者知道如何修改
238
+ - 文件长度建议 100-150 行
@@ -0,0 +1,28 @@
1
+ {
2
+ "skill_name": "init",
3
+ "evals": [
4
+ {
5
+ "id": 1,
6
+ "prompt": "/init",
7
+ "expected_output": "生成或更新项目根目录的 minimal-agent.md 文件,包含:项目简介、技术栈、项目结构、快速开始命令、环境配置、核心模块",
8
+ "files": [],
9
+ "expectations": [
10
+ "生成了 minimal-agent.md 文件",
11
+ "文件包含技术栈信息",
12
+ "文件包含快速开始命令",
13
+ "使用中文编写"
14
+ ]
15
+ },
16
+ {
17
+ "id": 2,
18
+ "prompt": "/init",
19
+ "expected_output": "对于已存在的 minimal-agent.md,应进行编辑更新:删除过时内容、保留有效内容、补充新内容",
20
+ "files": [],
21
+ "expectations": [
22
+ "没有覆盖整个文件,而是局部编辑",
23
+ "更新了变化的技术栈或模块信息",
24
+ "保留了仍然正确的设计原则"
25
+ ]
26
+ }
27
+ ]
28
+ }