railwise-darwin-arm64 1.2.29 → 1.2.32

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 (380) hide show
  1. package/bin/railwise +0 -0
  2. package/package.json +7 -6
  3. package/bin/agent/adjustment_computer.md +0 -44
  4. package/bin/agent/chief_manager.md +0 -82
  5. package/bin/agent/commercial_specialist.md +0 -39
  6. package/bin/agent/cpiii_specialist.md +0 -42
  7. package/bin/agent/data_analyst.md +0 -55
  8. package/bin/agent/knowledge_curator.md +0 -41
  9. package/bin/agent/norm_librarian.md +0 -38
  10. package/bin/agent/qa_inspector.md +0 -58
  11. package/bin/agent/qa_reviewer.md +0 -49
  12. package/bin/agent/solution_architect.md +0 -44
  13. package/bin/agent/source_ingestor.md +0 -38
  14. package/bin/agent/technical_writer.md +0 -50
  15. package/bin/command/bid-prepare.md +0 -21
  16. package/bin/command/daily-report.md +0 -20
  17. package/bin/command/data-check.md +0 -19
  18. package/bin/command/emergency-response.md +0 -62
  19. package/bin/command/monthly-report.md +0 -32
  20. package/bin/command/payment-reminder.md +0 -22
  21. package/bin/command/safety-check.md +0 -18
  22. package/bin/command/trend-analysis.md +0 -35
  23. package/bin/railwise.json +0 -4
  24. package/bin/rw +0 -2
  25. package/bin/skill/THIRD_PARTY_NOTICES.md +0 -405
  26. package/bin/skill/algorithmic-art/LICENSE.txt +0 -202
  27. package/bin/skill/algorithmic-art/SKILL.md +0 -405
  28. package/bin/skill/algorithmic-art/templates/generator_template.js +0 -223
  29. package/bin/skill/algorithmic-art/templates/viewer.html +0 -599
  30. package/bin/skill/bidding-knowledge/SKILL.md +0 -67
  31. package/bin/skill/brand-guidelines/LICENSE.txt +0 -202
  32. package/bin/skill/brand-guidelines/SKILL.md +0 -73
  33. package/bin/skill/bun-file-io/SKILL.md +0 -42
  34. package/bin/skill/canvas-design/SKILL.md +0 -141
  35. package/bin/skill/claude-api/LICENSE.txt +0 -202
  36. package/bin/skill/claude-api/SKILL.md +0 -325
  37. package/bin/skill/claude-api/csharp/claude-api.md +0 -402
  38. package/bin/skill/claude-api/curl/examples.md +0 -216
  39. package/bin/skill/claude-api/curl/managed-agents.md +0 -336
  40. package/bin/skill/claude-api/go/claude-api.md +0 -421
  41. package/bin/skill/claude-api/go/managed-agents/README.md +0 -561
  42. package/bin/skill/claude-api/java/claude-api.md +0 -432
  43. package/bin/skill/claude-api/java/managed-agents/README.md +0 -442
  44. package/bin/skill/claude-api/php/claude-api.md +0 -375
  45. package/bin/skill/claude-api/php/managed-agents/README.md +0 -435
  46. package/bin/skill/claude-api/python/claude-api/README.md +0 -420
  47. package/bin/skill/claude-api/python/claude-api/batches.md +0 -185
  48. package/bin/skill/claude-api/python/claude-api/files-api.md +0 -165
  49. package/bin/skill/claude-api/python/claude-api/streaming.md +0 -162
  50. package/bin/skill/claude-api/python/claude-api/tool-use.md +0 -590
  51. package/bin/skill/claude-api/python/managed-agents/README.md +0 -332
  52. package/bin/skill/claude-api/ruby/claude-api.md +0 -113
  53. package/bin/skill/claude-api/ruby/managed-agents/README.md +0 -389
  54. package/bin/skill/claude-api/shared/agent-design.md +0 -101
  55. package/bin/skill/claude-api/shared/error-codes.md +0 -213
  56. package/bin/skill/claude-api/shared/live-sources.md +0 -135
  57. package/bin/skill/claude-api/shared/managed-agents-api-reference.md +0 -378
  58. package/bin/skill/claude-api/shared/managed-agents-client-patterns.md +0 -209
  59. package/bin/skill/claude-api/shared/managed-agents-core.md +0 -238
  60. package/bin/skill/claude-api/shared/managed-agents-environments.md +0 -215
  61. package/bin/skill/claude-api/shared/managed-agents-events.md +0 -195
  62. package/bin/skill/claude-api/shared/managed-agents-memory.md +0 -197
  63. package/bin/skill/claude-api/shared/managed-agents-multiagent.md +0 -99
  64. package/bin/skill/claude-api/shared/managed-agents-onboarding.md +0 -114
  65. package/bin/skill/claude-api/shared/managed-agents-outcomes.md +0 -106
  66. package/bin/skill/claude-api/shared/managed-agents-overview.md +0 -68
  67. package/bin/skill/claude-api/shared/managed-agents-self-hosted-sandboxes.md +0 -173
  68. package/bin/skill/claude-api/shared/managed-agents-tools.md +0 -321
  69. package/bin/skill/claude-api/shared/managed-agents-webhooks.md +0 -110
  70. package/bin/skill/claude-api/shared/model-migration.md +0 -879
  71. package/bin/skill/claude-api/shared/models.md +0 -124
  72. package/bin/skill/claude-api/shared/prompt-caching.md +0 -171
  73. package/bin/skill/claude-api/shared/tool-use-concepts.md +0 -327
  74. package/bin/skill/claude-api/typescript/claude-api/README.md +0 -333
  75. package/bin/skill/claude-api/typescript/claude-api/batches.md +0 -106
  76. package/bin/skill/claude-api/typescript/claude-api/files-api.md +0 -98
  77. package/bin/skill/claude-api/typescript/claude-api/streaming.md +0 -178
  78. package/bin/skill/claude-api/typescript/claude-api/tool-use.md +0 -527
  79. package/bin/skill/claude-api/typescript/managed-agents/README.md +0 -359
  80. package/bin/skill/data-analysis/SKILL.md +0 -79
  81. package/bin/skill/doc-coauthoring/SKILL.md +0 -375
  82. package/bin/skill/docx/LICENSE.txt +0 -30
  83. package/bin/skill/docx/SKILL.md +0 -590
  84. package/bin/skill/docx/scripts/__init__.py +0 -1
  85. package/bin/skill/docx/scripts/accept_changes.py +0 -135
  86. package/bin/skill/docx/scripts/comment.py +0 -318
  87. package/bin/skill/docx/scripts/office/helpers/__init__.py +0 -0
  88. package/bin/skill/docx/scripts/office/helpers/merge_runs.py +0 -199
  89. package/bin/skill/docx/scripts/office/helpers/simplify_redlines.py +0 -197
  90. package/bin/skill/docx/scripts/office/pack.py +0 -159
  91. package/bin/skill/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +0 -1499
  92. package/bin/skill/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +0 -146
  93. package/bin/skill/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +0 -1085
  94. package/bin/skill/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +0 -11
  95. package/bin/skill/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +0 -3081
  96. package/bin/skill/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +0 -23
  97. package/bin/skill/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +0 -185
  98. package/bin/skill/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +0 -287
  99. package/bin/skill/docx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +0 -1676
  100. package/bin/skill/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +0 -28
  101. package/bin/skill/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +0 -144
  102. package/bin/skill/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +0 -174
  103. package/bin/skill/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +0 -25
  104. package/bin/skill/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +0 -18
  105. package/bin/skill/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +0 -59
  106. package/bin/skill/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +0 -56
  107. package/bin/skill/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +0 -195
  108. package/bin/skill/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +0 -582
  109. package/bin/skill/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +0 -25
  110. package/bin/skill/docx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +0 -4439
  111. package/bin/skill/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +0 -570
  112. package/bin/skill/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +0 -509
  113. package/bin/skill/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +0 -12
  114. package/bin/skill/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +0 -108
  115. package/bin/skill/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +0 -96
  116. package/bin/skill/docx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +0 -3646
  117. package/bin/skill/docx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +0 -116
  118. package/bin/skill/docx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +0 -42
  119. package/bin/skill/docx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +0 -50
  120. package/bin/skill/docx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +0 -49
  121. package/bin/skill/docx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +0 -33
  122. package/bin/skill/docx/scripts/office/schemas/mce/mc.xsd +0 -75
  123. package/bin/skill/docx/scripts/office/schemas/microsoft/wml-2010.xsd +0 -560
  124. package/bin/skill/docx/scripts/office/schemas/microsoft/wml-2012.xsd +0 -67
  125. package/bin/skill/docx/scripts/office/schemas/microsoft/wml-2018.xsd +0 -14
  126. package/bin/skill/docx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +0 -20
  127. package/bin/skill/docx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +0 -13
  128. package/bin/skill/docx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +0 -4
  129. package/bin/skill/docx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +0 -8
  130. package/bin/skill/docx/scripts/office/soffice.py +0 -183
  131. package/bin/skill/docx/scripts/office/unpack.py +0 -132
  132. package/bin/skill/docx/scripts/office/validate.py +0 -111
  133. package/bin/skill/docx/scripts/office/validators/__init__.py +0 -15
  134. package/bin/skill/docx/scripts/office/validators/base.py +0 -847
  135. package/bin/skill/docx/scripts/office/validators/docx.py +0 -446
  136. package/bin/skill/docx/scripts/office/validators/pptx.py +0 -275
  137. package/bin/skill/docx/scripts/office/validators/redlining.py +0 -247
  138. package/bin/skill/docx/scripts/templates/comments.xml +0 -3
  139. package/bin/skill/docx/scripts/templates/commentsExtended.xml +0 -3
  140. package/bin/skill/docx/scripts/templates/commentsExtensible.xml +0 -3
  141. package/bin/skill/docx/scripts/templates/commentsIds.xml +0 -3
  142. package/bin/skill/docx/scripts/templates/people.xml +0 -3
  143. package/bin/skill/docx-generation/SKILL.md +0 -160
  144. package/bin/skill/excel-operations/SKILL.md +0 -121
  145. package/bin/skill/frontend-design/SKILL.md +0 -151
  146. package/bin/skill/humanizer/SKILL.md +0 -90
  147. package/bin/skill/internal-comms/LICENSE.txt +0 -202
  148. package/bin/skill/internal-comms/SKILL.md +0 -32
  149. package/bin/skill/internal-comms/examples/3p-updates.md +0 -47
  150. package/bin/skill/internal-comms/examples/company-newsletter.md +0 -65
  151. package/bin/skill/internal-comms/examples/faq-answers.md +0 -30
  152. package/bin/skill/internal-comms/examples/general-comms.md +0 -16
  153. package/bin/skill/mcp-builder/LICENSE.txt +0 -202
  154. package/bin/skill/mcp-builder/SKILL.md +0 -236
  155. package/bin/skill/mcp-builder/reference/evaluation.md +0 -602
  156. package/bin/skill/mcp-builder/reference/mcp_best_practices.md +0 -249
  157. package/bin/skill/mcp-builder/reference/node_mcp_server.md +0 -970
  158. package/bin/skill/mcp-builder/reference/python_mcp_server.md +0 -719
  159. package/bin/skill/mcp-builder/scripts/connections.py +0 -151
  160. package/bin/skill/mcp-builder/scripts/evaluation.py +0 -373
  161. package/bin/skill/mcp-builder/scripts/example_evaluation.xml +0 -22
  162. package/bin/skill/mcp-builder/scripts/requirements.txt +0 -2
  163. package/bin/skill/monitoring-design/SKILL.md +0 -79
  164. package/bin/skill/operational-monitoring/SKILL.md +0 -135
  165. package/bin/skill/operational-monitoring/assets/checklists/archive-self-check.md +0 -54
  166. package/bin/skill/operational-monitoring/assets/schemas/convergence-result-table.csv +0 -5
  167. package/bin/skill/operational-monitoring/assets/schemas/horizontal-result-table.csv +0 -3
  168. package/bin/skill/operational-monitoring/assets/schemas/settlement-result-table.csv +0 -7
  169. package/bin/skill/operational-monitoring/assets/scripts/init-archive-tree.sh +0 -65
  170. package/bin/skill/operational-monitoring/assets/templates/control-network-report.md +0 -102
  171. package/bin/skill/operational-monitoring/assets/templates/daily-log.md +0 -47
  172. package/bin/skill/operational-monitoring/assets/templates/i-angle-check.md +0 -38
  173. package/bin/skill/operational-monitoring/assets/templates/monitoring-scheme.md +0 -234
  174. package/bin/skill/operational-monitoring/assets/templates/period-report.md +0 -95
  175. package/bin/skill/operational-monitoring/assets/templates/point-acceptance-record.md +0 -51
  176. package/bin/skill/operational-monitoring/assets/templates/point-installation-record.md +0 -38
  177. package/bin/skill/operational-monitoring/assets/templates/summary-report.md +0 -89
  178. package/bin/skill/operational-monitoring/assets/templates/warning-bulletin.md +0 -61
  179. package/bin/skill/operational-monitoring/assets/templates/weekly-monthly-report.md +0 -46
  180. package/bin/skill/operational-monitoring/references/archive-and-delivery.md +0 -146
  181. package/bin/skill/operational-monitoring/references/baseline-network.md +0 -131
  182. package/bin/skill/operational-monitoring/references/convergence-monitoring.md +0 -134
  183. package/bin/skill/operational-monitoring/references/data-processing.md +0 -178
  184. package/bin/skill/operational-monitoring/references/horizontal-displacement.md +0 -128
  185. package/bin/skill/operational-monitoring/references/monitoring-points.md +0 -132
  186. package/bin/skill/operational-monitoring/references/monitoring-scheme.md +0 -178
  187. package/bin/skill/operational-monitoring/references/period-report.md +0 -108
  188. package/bin/skill/operational-monitoring/references/regulations-and-frequency.md +0 -127
  189. package/bin/skill/operational-monitoring/references/settlement-monitoring.md +0 -116
  190. package/bin/skill/operational-monitoring/references/summary-report.md +0 -128
  191. package/bin/skill/operational-monitoring/references/warning-and-disposal.md +0 -118
  192. package/bin/skill/pdf/LICENSE.txt +0 -30
  193. package/bin/skill/pdf/SKILL.md +0 -314
  194. package/bin/skill/pdf/forms.md +0 -294
  195. package/bin/skill/pdf/reference.md +0 -612
  196. package/bin/skill/pdf/scripts/check_bounding_boxes.py +0 -65
  197. package/bin/skill/pdf/scripts/check_fillable_fields.py +0 -11
  198. package/bin/skill/pdf/scripts/convert_pdf_to_images.py +0 -33
  199. package/bin/skill/pdf/scripts/create_validation_image.py +0 -37
  200. package/bin/skill/pdf/scripts/extract_form_field_info.py +0 -122
  201. package/bin/skill/pdf/scripts/extract_form_structure.py +0 -115
  202. package/bin/skill/pdf/scripts/fill_fillable_fields.py +0 -98
  203. package/bin/skill/pdf/scripts/fill_pdf_form_with_annotations.py +0 -107
  204. package/bin/skill/pptx/LICENSE.txt +0 -30
  205. package/bin/skill/pptx/SKILL.md +0 -232
  206. package/bin/skill/pptx/editing.md +0 -205
  207. package/bin/skill/pptx/pptxgenjs.md +0 -420
  208. package/bin/skill/pptx/scripts/__init__.py +0 -0
  209. package/bin/skill/pptx/scripts/add_slide.py +0 -195
  210. package/bin/skill/pptx/scripts/clean.py +0 -286
  211. package/bin/skill/pptx/scripts/office/helpers/__init__.py +0 -0
  212. package/bin/skill/pptx/scripts/office/helpers/merge_runs.py +0 -199
  213. package/bin/skill/pptx/scripts/office/helpers/simplify_redlines.py +0 -197
  214. package/bin/skill/pptx/scripts/office/pack.py +0 -159
  215. package/bin/skill/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +0 -1499
  216. package/bin/skill/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +0 -146
  217. package/bin/skill/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +0 -1085
  218. package/bin/skill/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +0 -11
  219. package/bin/skill/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +0 -3081
  220. package/bin/skill/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +0 -23
  221. package/bin/skill/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +0 -185
  222. package/bin/skill/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +0 -287
  223. package/bin/skill/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +0 -1676
  224. package/bin/skill/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +0 -28
  225. package/bin/skill/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +0 -144
  226. package/bin/skill/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +0 -174
  227. package/bin/skill/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +0 -25
  228. package/bin/skill/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +0 -18
  229. package/bin/skill/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +0 -59
  230. package/bin/skill/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +0 -56
  231. package/bin/skill/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +0 -195
  232. package/bin/skill/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +0 -582
  233. package/bin/skill/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +0 -25
  234. package/bin/skill/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +0 -4439
  235. package/bin/skill/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +0 -570
  236. package/bin/skill/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +0 -509
  237. package/bin/skill/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +0 -12
  238. package/bin/skill/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +0 -108
  239. package/bin/skill/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +0 -96
  240. package/bin/skill/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +0 -3646
  241. package/bin/skill/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +0 -116
  242. package/bin/skill/pptx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +0 -42
  243. package/bin/skill/pptx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +0 -50
  244. package/bin/skill/pptx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +0 -49
  245. package/bin/skill/pptx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +0 -33
  246. package/bin/skill/pptx/scripts/office/schemas/mce/mc.xsd +0 -75
  247. package/bin/skill/pptx/scripts/office/schemas/microsoft/wml-2010.xsd +0 -560
  248. package/bin/skill/pptx/scripts/office/schemas/microsoft/wml-2012.xsd +0 -67
  249. package/bin/skill/pptx/scripts/office/schemas/microsoft/wml-2018.xsd +0 -14
  250. package/bin/skill/pptx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +0 -20
  251. package/bin/skill/pptx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +0 -13
  252. package/bin/skill/pptx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +0 -4
  253. package/bin/skill/pptx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +0 -8
  254. package/bin/skill/pptx/scripts/office/soffice.py +0 -183
  255. package/bin/skill/pptx/scripts/office/unpack.py +0 -132
  256. package/bin/skill/pptx/scripts/office/validate.py +0 -111
  257. package/bin/skill/pptx/scripts/office/validators/__init__.py +0 -15
  258. package/bin/skill/pptx/scripts/office/validators/base.py +0 -847
  259. package/bin/skill/pptx/scripts/office/validators/docx.py +0 -446
  260. package/bin/skill/pptx/scripts/office/validators/pptx.py +0 -275
  261. package/bin/skill/pptx/scripts/office/validators/redlining.py +0 -247
  262. package/bin/skill/pptx/scripts/thumbnail.py +0 -289
  263. package/bin/skill/rail-monitoring-plan/SKILL.md +0 -147
  264. package/bin/skill/rail-monitoring-plan/assets/plan-template.md +0 -673
  265. package/bin/skill/rail-monitoring-plan/references/elevated-line.md +0 -319
  266. package/bin/skill/rail-monitoring-plan/references/key-difficulties.md +0 -216
  267. package/bin/skill/rail-monitoring-plan/references/phase0-intake.md +0 -169
  268. package/bin/skill/rail-monitoring-plan/references/phase1-drafting.md +0 -185
  269. package/bin/skill/rail-monitoring-plan/references/phase2-internal-review.md +0 -166
  270. package/bin/skill/rail-monitoring-plan/references/review-checklist.md +0 -140
  271. package/bin/skill/rail-monitoring-plan/references/review-response-template.md +0 -87
  272. package/bin/skill/rail-monitoring-plan/references/scoping-and-pricing.md +0 -214
  273. package/bin/skill/rail-monitoring-plan/references/technical-standards.md +0 -188
  274. package/bin/skill/rail-monitoring-plan/references/toc-template-A.md +0 -142
  275. package/bin/skill/rail-monitoring-plan/references/toc-template-B.md +0 -100
  276. package/bin/skill/report-writing/SKILL.md +0 -103
  277. package/bin/skill/skill-creator/LICENSE.txt +0 -202
  278. package/bin/skill/skill-creator/SKILL.md +0 -485
  279. package/bin/skill/skill-creator/agents/analyzer.md +0 -274
  280. package/bin/skill/skill-creator/agents/comparator.md +0 -202
  281. package/bin/skill/skill-creator/agents/grader.md +0 -223
  282. package/bin/skill/skill-creator/assets/eval_review.html +0 -146
  283. package/bin/skill/skill-creator/eval-viewer/generate_review.py +0 -471
  284. package/bin/skill/skill-creator/eval-viewer/viewer.html +0 -1325
  285. package/bin/skill/skill-creator/references/schemas.md +0 -430
  286. package/bin/skill/skill-creator/scripts/__init__.py +0 -0
  287. package/bin/skill/skill-creator/scripts/aggregate_benchmark.py +0 -401
  288. package/bin/skill/skill-creator/scripts/generate_report.py +0 -326
  289. package/bin/skill/skill-creator/scripts/improve_description.py +0 -247
  290. package/bin/skill/skill-creator/scripts/package_skill.py +0 -136
  291. package/bin/skill/skill-creator/scripts/quick_validate.py +0 -103
  292. package/bin/skill/skill-creator/scripts/run_eval.py +0 -310
  293. package/bin/skill/skill-creator/scripts/run_loop.py +0 -328
  294. package/bin/skill/skill-creator/scripts/utils.py +0 -47
  295. package/bin/skill/slack-gif-creator/LICENSE.txt +0 -202
  296. package/bin/skill/slack-gif-creator/SKILL.md +0 -254
  297. package/bin/skill/slack-gif-creator/core/easing.py +0 -234
  298. package/bin/skill/slack-gif-creator/core/frame_composer.py +0 -176
  299. package/bin/skill/slack-gif-creator/core/gif_builder.py +0 -269
  300. package/bin/skill/slack-gif-creator/core/validators.py +0 -136
  301. package/bin/skill/slack-gif-creator/requirements.txt +0 -4
  302. package/bin/skill/standard-reference/SKILL.md +0 -89
  303. package/bin/skill/theme-factory/LICENSE.txt +0 -202
  304. package/bin/skill/theme-factory/SKILL.md +0 -59
  305. package/bin/skill/theme-factory/theme-showcase.pdf +0 -0
  306. package/bin/skill/theme-factory/themes/arctic-frost.md +0 -19
  307. package/bin/skill/theme-factory/themes/botanical-garden.md +0 -19
  308. package/bin/skill/theme-factory/themes/desert-rose.md +0 -19
  309. package/bin/skill/theme-factory/themes/forest-canopy.md +0 -19
  310. package/bin/skill/theme-factory/themes/golden-hour.md +0 -19
  311. package/bin/skill/theme-factory/themes/midnight-galaxy.md +0 -19
  312. package/bin/skill/theme-factory/themes/modern-minimalist.md +0 -19
  313. package/bin/skill/theme-factory/themes/ocean-depths.md +0 -19
  314. package/bin/skill/theme-factory/themes/sunset-boulevard.md +0 -19
  315. package/bin/skill/theme-factory/themes/tech-innovation.md +0 -19
  316. package/bin/skill/web-artifacts-builder/LICENSE.txt +0 -202
  317. package/bin/skill/web-artifacts-builder/SKILL.md +0 -74
  318. package/bin/skill/web-artifacts-builder/scripts/bundle-artifact.sh +0 -54
  319. package/bin/skill/web-artifacts-builder/scripts/init-artifact.sh +0 -322
  320. package/bin/skill/web-artifacts-builder/scripts/shadcn-components.tar.gz +0 -0
  321. package/bin/skill/webapp-testing/LICENSE.txt +0 -202
  322. package/bin/skill/webapp-testing/SKILL.md +0 -96
  323. package/bin/skill/webapp-testing/examples/console_logging.py +0 -35
  324. package/bin/skill/webapp-testing/examples/element_discovery.py +0 -40
  325. package/bin/skill/webapp-testing/examples/static_html_automation.py +0 -33
  326. package/bin/skill/webapp-testing/scripts/with_server.py +0 -106
  327. package/bin/skill/xlsx/LICENSE.txt +0 -30
  328. package/bin/skill/xlsx/SKILL.md +0 -292
  329. package/bin/skill/xlsx/scripts/office/helpers/__init__.py +0 -0
  330. package/bin/skill/xlsx/scripts/office/helpers/merge_runs.py +0 -199
  331. package/bin/skill/xlsx/scripts/office/helpers/simplify_redlines.py +0 -197
  332. package/bin/skill/xlsx/scripts/office/pack.py +0 -159
  333. package/bin/skill/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +0 -1499
  334. package/bin/skill/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +0 -146
  335. package/bin/skill/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +0 -1085
  336. package/bin/skill/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +0 -11
  337. package/bin/skill/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +0 -3081
  338. package/bin/skill/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +0 -23
  339. package/bin/skill/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +0 -185
  340. package/bin/skill/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +0 -287
  341. package/bin/skill/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +0 -1676
  342. package/bin/skill/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +0 -28
  343. package/bin/skill/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +0 -144
  344. package/bin/skill/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +0 -174
  345. package/bin/skill/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +0 -25
  346. package/bin/skill/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +0 -18
  347. package/bin/skill/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +0 -59
  348. package/bin/skill/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +0 -56
  349. package/bin/skill/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +0 -195
  350. package/bin/skill/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +0 -582
  351. package/bin/skill/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +0 -25
  352. package/bin/skill/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +0 -4439
  353. package/bin/skill/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +0 -570
  354. package/bin/skill/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +0 -509
  355. package/bin/skill/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +0 -12
  356. package/bin/skill/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +0 -108
  357. package/bin/skill/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +0 -96
  358. package/bin/skill/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +0 -3646
  359. package/bin/skill/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +0 -116
  360. package/bin/skill/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +0 -42
  361. package/bin/skill/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +0 -50
  362. package/bin/skill/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +0 -49
  363. package/bin/skill/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +0 -33
  364. package/bin/skill/xlsx/scripts/office/schemas/mce/mc.xsd +0 -75
  365. package/bin/skill/xlsx/scripts/office/schemas/microsoft/wml-2010.xsd +0 -560
  366. package/bin/skill/xlsx/scripts/office/schemas/microsoft/wml-2012.xsd +0 -67
  367. package/bin/skill/xlsx/scripts/office/schemas/microsoft/wml-2018.xsd +0 -14
  368. package/bin/skill/xlsx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +0 -20
  369. package/bin/skill/xlsx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +0 -13
  370. package/bin/skill/xlsx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +0 -4
  371. package/bin/skill/xlsx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +0 -8
  372. package/bin/skill/xlsx/scripts/office/soffice.py +0 -183
  373. package/bin/skill/xlsx/scripts/office/unpack.py +0 -132
  374. package/bin/skill/xlsx/scripts/office/validate.py +0 -111
  375. package/bin/skill/xlsx/scripts/office/validators/__init__.py +0 -15
  376. package/bin/skill/xlsx/scripts/office/validators/base.py +0 -847
  377. package/bin/skill/xlsx/scripts/office/validators/docx.py +0 -446
  378. package/bin/skill/xlsx/scripts/office/validators/pptx.py +0 -275
  379. package/bin/skill/xlsx/scripts/office/validators/redlining.py +0 -247
  380. package/bin/skill/xlsx/scripts/recalc.py +0 -184
@@ -1,96 +0,0 @@
1
- ---
2
- name: webapp-testing
3
- description: Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
4
- license: Complete terms in LICENSE.txt
5
- ---
6
-
7
- # Web Application Testing
8
-
9
- To test local web applications, write native Python Playwright scripts.
10
-
11
- **Helper Scripts Available**:
12
- - `scripts/with_server.py` - Manages server lifecycle (supports multiple servers)
13
-
14
- **Always run scripts with `--help` first** to see usage. DO NOT read the source until you try running the script first and find that a customized solution is abslutely necessary. These scripts can be very large and thus pollute your context window. They exist to be called directly as black-box scripts rather than ingested into your context window.
15
-
16
- ## Decision Tree: Choosing Your Approach
17
-
18
- ```
19
- User task → Is it static HTML?
20
- ├─ Yes → Read HTML file directly to identify selectors
21
- │ ├─ Success → Write Playwright script using selectors
22
- │ └─ Fails/Incomplete → Treat as dynamic (below)
23
-
24
- └─ No (dynamic webapp) → Is the server already running?
25
- ├─ No → Run: python scripts/with_server.py --help
26
- │ Then use the helper + write simplified Playwright script
27
-
28
- └─ Yes → Reconnaissance-then-action:
29
- 1. Navigate and wait for networkidle
30
- 2. Take screenshot or inspect DOM
31
- 3. Identify selectors from rendered state
32
- 4. Execute actions with discovered selectors
33
- ```
34
-
35
- ## Example: Using with_server.py
36
-
37
- To start a server, run `--help` first, then use the helper:
38
-
39
- **Single server:**
40
- ```bash
41
- python scripts/with_server.py --server "npm run dev" --port 5173 -- python your_automation.py
42
- ```
43
-
44
- **Multiple servers (e.g., backend + frontend):**
45
- ```bash
46
- python scripts/with_server.py \
47
- --server "cd backend && python server.py" --port 3000 \
48
- --server "cd frontend && npm run dev" --port 5173 \
49
- -- python your_automation.py
50
- ```
51
-
52
- To create an automation script, include only Playwright logic (servers are managed automatically):
53
- ```python
54
- from playwright.sync_api import sync_playwright
55
-
56
- with sync_playwright() as p:
57
- browser = p.chromium.launch(headless=True) # Always launch chromium in headless mode
58
- page = browser.new_page()
59
- page.goto('http://localhost:5173') # Server already running and ready
60
- page.wait_for_load_state('networkidle') # CRITICAL: Wait for JS to execute
61
- # ... your automation logic
62
- browser.close()
63
- ```
64
-
65
- ## Reconnaissance-Then-Action Pattern
66
-
67
- 1. **Inspect rendered DOM**:
68
- ```python
69
- page.screenshot(path='/tmp/inspect.png', full_page=True)
70
- content = page.content()
71
- page.locator('button').all()
72
- ```
73
-
74
- 2. **Identify selectors** from inspection results
75
-
76
- 3. **Execute actions** using discovered selectors
77
-
78
- ## Common Pitfall
79
-
80
- ❌ **Don't** inspect the DOM before waiting for `networkidle` on dynamic apps
81
- ✅ **Do** wait for `page.wait_for_load_state('networkidle')` before inspection
82
-
83
- ## Best Practices
84
-
85
- - **Use bundled scripts as black boxes** - To accomplish a task, consider whether one of the scripts available in `scripts/` can help. These scripts handle common, complex workflows reliably without cluttering the context window. Use `--help` to see usage, then invoke directly.
86
- - Use `sync_playwright()` for synchronous scripts
87
- - Always close the browser when done
88
- - Use descriptive selectors: `text=`, `role=`, CSS selectors, or IDs
89
- - Add appropriate waits: `page.wait_for_selector()` or `page.wait_for_timeout()`
90
-
91
- ## Reference Files
92
-
93
- - **examples/** - Examples showing common patterns:
94
- - `element_discovery.py` - Discovering buttons, links, and inputs on a page
95
- - `static_html_automation.py` - Using file:// URLs for local HTML
96
- - `console_logging.py` - Capturing console logs during automation
@@ -1,35 +0,0 @@
1
- from playwright.sync_api import sync_playwright
2
-
3
- # Example: Capturing console logs during browser automation
4
-
5
- url = 'http://localhost:5173' # Replace with your URL
6
-
7
- console_logs = []
8
-
9
- with sync_playwright() as p:
10
- browser = p.chromium.launch(headless=True)
11
- page = browser.new_page(viewport={'width': 1920, 'height': 1080})
12
-
13
- # Set up console log capture
14
- def handle_console_message(msg):
15
- console_logs.append(f"[{msg.type}] {msg.text}")
16
- print(f"Console: [{msg.type}] {msg.text}")
17
-
18
- page.on("console", handle_console_message)
19
-
20
- # Navigate to page
21
- page.goto(url)
22
- page.wait_for_load_state('networkidle')
23
-
24
- # Interact with the page (triggers console logs)
25
- page.click('text=Dashboard')
26
- page.wait_for_timeout(1000)
27
-
28
- browser.close()
29
-
30
- # Save console logs to file
31
- with open('/mnt/user-data/outputs/console.log', 'w') as f:
32
- f.write('\n'.join(console_logs))
33
-
34
- print(f"\nCaptured {len(console_logs)} console messages")
35
- print(f"Logs saved to: /mnt/user-data/outputs/console.log")
@@ -1,40 +0,0 @@
1
- from playwright.sync_api import sync_playwright
2
-
3
- # Example: Discovering buttons and other elements on a page
4
-
5
- with sync_playwright() as p:
6
- browser = p.chromium.launch(headless=True)
7
- page = browser.new_page()
8
-
9
- # Navigate to page and wait for it to fully load
10
- page.goto('http://localhost:5173')
11
- page.wait_for_load_state('networkidle')
12
-
13
- # Discover all buttons on the page
14
- buttons = page.locator('button').all()
15
- print(f"Found {len(buttons)} buttons:")
16
- for i, button in enumerate(buttons):
17
- text = button.inner_text() if button.is_visible() else "[hidden]"
18
- print(f" [{i}] {text}")
19
-
20
- # Discover links
21
- links = page.locator('a[href]').all()
22
- print(f"\nFound {len(links)} links:")
23
- for link in links[:5]: # Show first 5
24
- text = link.inner_text().strip()
25
- href = link.get_attribute('href')
26
- print(f" - {text} -> {href}")
27
-
28
- # Discover input fields
29
- inputs = page.locator('input, textarea, select').all()
30
- print(f"\nFound {len(inputs)} input fields:")
31
- for input_elem in inputs:
32
- name = input_elem.get_attribute('name') or input_elem.get_attribute('id') or "[unnamed]"
33
- input_type = input_elem.get_attribute('type') or 'text'
34
- print(f" - {name} ({input_type})")
35
-
36
- # Take screenshot for visual reference
37
- page.screenshot(path='/tmp/page_discovery.png', full_page=True)
38
- print("\nScreenshot saved to /tmp/page_discovery.png")
39
-
40
- browser.close()
@@ -1,33 +0,0 @@
1
- from playwright.sync_api import sync_playwright
2
- import os
3
-
4
- # Example: Automating interaction with static HTML files using file:// URLs
5
-
6
- html_file_path = os.path.abspath('path/to/your/file.html')
7
- file_url = f'file://{html_file_path}'
8
-
9
- with sync_playwright() as p:
10
- browser = p.chromium.launch(headless=True)
11
- page = browser.new_page(viewport={'width': 1920, 'height': 1080})
12
-
13
- # Navigate to local HTML file
14
- page.goto(file_url)
15
-
16
- # Take screenshot
17
- page.screenshot(path='/mnt/user-data/outputs/static_page.png', full_page=True)
18
-
19
- # Interact with elements
20
- page.click('text=Click Me')
21
- page.fill('#name', 'John Doe')
22
- page.fill('#email', 'john@example.com')
23
-
24
- # Submit form
25
- page.click('button[type="submit"]')
26
- page.wait_for_timeout(500)
27
-
28
- # Take final screenshot
29
- page.screenshot(path='/mnt/user-data/outputs/after_submit.png', full_page=True)
30
-
31
- browser.close()
32
-
33
- print("Static HTML automation completed!")
@@ -1,106 +0,0 @@
1
- #!/usr/bin/env python3
2
- """
3
- Start one or more servers, wait for them to be ready, run a command, then clean up.
4
-
5
- Usage:
6
- # Single server
7
- python scripts/with_server.py --server "npm run dev" --port 5173 -- python automation.py
8
- python scripts/with_server.py --server "npm start" --port 3000 -- python test.py
9
-
10
- # Multiple servers
11
- python scripts/with_server.py \
12
- --server "cd backend && python server.py" --port 3000 \
13
- --server "cd frontend && npm run dev" --port 5173 \
14
- -- python test.py
15
- """
16
-
17
- import subprocess
18
- import socket
19
- import time
20
- import sys
21
- import argparse
22
-
23
- def is_server_ready(port, timeout=30):
24
- """Wait for server to be ready by polling the port."""
25
- start_time = time.time()
26
- while time.time() - start_time < timeout:
27
- try:
28
- with socket.create_connection(('localhost', port), timeout=1):
29
- return True
30
- except (socket.error, ConnectionRefusedError):
31
- time.sleep(0.5)
32
- return False
33
-
34
-
35
- def main():
36
- parser = argparse.ArgumentParser(description='Run command with one or more servers')
37
- parser.add_argument('--server', action='append', dest='servers', required=True, help='Server command (can be repeated)')
38
- parser.add_argument('--port', action='append', dest='ports', type=int, required=True, help='Port for each server (must match --server count)')
39
- parser.add_argument('--timeout', type=int, default=30, help='Timeout in seconds per server (default: 30)')
40
- parser.add_argument('command', nargs=argparse.REMAINDER, help='Command to run after server(s) ready')
41
-
42
- args = parser.parse_args()
43
-
44
- # Remove the '--' separator if present
45
- if args.command and args.command[0] == '--':
46
- args.command = args.command[1:]
47
-
48
- if not args.command:
49
- print("Error: No command specified to run")
50
- sys.exit(1)
51
-
52
- # Parse server configurations
53
- if len(args.servers) != len(args.ports):
54
- print("Error: Number of --server and --port arguments must match")
55
- sys.exit(1)
56
-
57
- servers = []
58
- for cmd, port in zip(args.servers, args.ports):
59
- servers.append({'cmd': cmd, 'port': port})
60
-
61
- server_processes = []
62
-
63
- try:
64
- # Start all servers
65
- for i, server in enumerate(servers):
66
- print(f"Starting server {i+1}/{len(servers)}: {server['cmd']}")
67
-
68
- # Use shell=True to support commands with cd and &&
69
- process = subprocess.Popen(
70
- server['cmd'],
71
- shell=True,
72
- stdout=subprocess.PIPE,
73
- stderr=subprocess.PIPE
74
- )
75
- server_processes.append(process)
76
-
77
- # Wait for this server to be ready
78
- print(f"Waiting for server on port {server['port']}...")
79
- if not is_server_ready(server['port'], timeout=args.timeout):
80
- raise RuntimeError(f"Server failed to start on port {server['port']} within {args.timeout}s")
81
-
82
- print(f"Server ready on port {server['port']}")
83
-
84
- print(f"\nAll {len(servers)} server(s) ready")
85
-
86
- # Run the command
87
- print(f"Running: {' '.join(args.command)}\n")
88
- result = subprocess.run(args.command)
89
- sys.exit(result.returncode)
90
-
91
- finally:
92
- # Clean up all servers
93
- print(f"\nStopping {len(server_processes)} server(s)...")
94
- for i, process in enumerate(server_processes):
95
- try:
96
- process.terminate()
97
- process.wait(timeout=5)
98
- except subprocess.TimeoutExpired:
99
- process.kill()
100
- process.wait()
101
- print(f"Server {i+1} stopped")
102
- print("All servers stopped")
103
-
104
-
105
- if __name__ == '__main__':
106
- main()
@@ -1,30 +0,0 @@
1
- © 2025 Anthropic, PBC. All rights reserved.
2
-
3
- LICENSE: Use of these materials (including all code, prompts, assets, files,
4
- and other components of this Skill) is governed by your agreement with
5
- Anthropic regarding use of Anthropic's services. If no separate agreement
6
- exists, use is governed by Anthropic's Consumer Terms of Service or
7
- Commercial Terms of Service, as applicable:
8
- https://www.anthropic.com/legal/consumer-terms
9
- https://www.anthropic.com/legal/commercial-terms
10
- Your applicable agreement is referred to as the "Agreement." "Services" are
11
- as defined in the Agreement.
12
-
13
- ADDITIONAL RESTRICTIONS: Notwithstanding anything in the Agreement to the
14
- contrary, users may not:
15
-
16
- - Extract these materials from the Services or retain copies of these
17
- materials outside the Services
18
- - Reproduce or copy these materials, except for temporary copies created
19
- automatically during authorized use of the Services
20
- - Create derivative works based on these materials
21
- - Distribute, sublicense, or transfer these materials to any third party
22
- - Make, offer to sell, sell, or import any inventions embodied in these
23
- materials
24
- - Reverse engineer, decompile, or disassemble these materials
25
-
26
- The receipt, viewing, or possession of these materials does not convey or
27
- imply any license or right beyond those expressly granted above.
28
-
29
- Anthropic retains all right, title, and interest in these materials,
30
- including all copyrights, patents, and other intellectual property rights.
@@ -1,292 +0,0 @@
1
- ---
2
- name: xlsx
3
- description: "Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like \"the xlsx in my downloads\") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved."
4
- license: Proprietary. LICENSE.txt has complete terms
5
- ---
6
-
7
- # Requirements for Outputs
8
-
9
- ## All Excel files
10
-
11
- ### Professional Font
12
- - Use a consistent, professional font (e.g., Arial, Times New Roman) for all deliverables unless otherwise instructed by the user
13
-
14
- ### Zero Formula Errors
15
- - Every Excel model MUST be delivered with ZERO formula errors (#REF!, #DIV/0!, #VALUE!, #N/A, #NAME?)
16
-
17
- ### Preserve Existing Templates (when updating templates)
18
- - Study and EXACTLY match existing format, style, and conventions when modifying files
19
- - Never impose standardized formatting on files with established patterns
20
- - Existing template conventions ALWAYS override these guidelines
21
-
22
- ## Financial models
23
-
24
- ### Color Coding Standards
25
- Unless otherwise stated by the user or existing template
26
-
27
- #### Industry-Standard Color Conventions
28
- - **Blue text (RGB: 0,0,255)**: Hardcoded inputs, and numbers users will change for scenarios
29
- - **Black text (RGB: 0,0,0)**: ALL formulas and calculations
30
- - **Green text (RGB: 0,128,0)**: Links pulling from other worksheets within same workbook
31
- - **Red text (RGB: 255,0,0)**: External links to other files
32
- - **Yellow background (RGB: 255,255,0)**: Key assumptions needing attention or cells that need to be updated
33
-
34
- ### Number Formatting Standards
35
-
36
- #### Required Format Rules
37
- - **Years**: Format as text strings (e.g., "2024" not "2,024")
38
- - **Currency**: Use $#,##0 format; ALWAYS specify units in headers ("Revenue ($mm)")
39
- - **Zeros**: Use number formatting to make all zeros "-", including percentages (e.g., "$#,##0;($#,##0);-")
40
- - **Percentages**: Default to 0.0% format (one decimal)
41
- - **Multiples**: Format as 0.0x for valuation multiples (EV/EBITDA, P/E)
42
- - **Negative numbers**: Use parentheses (123) not minus -123
43
-
44
- ### Formula Construction Rules
45
-
46
- #### Assumptions Placement
47
- - Place ALL assumptions (growth rates, margins, multiples, etc.) in separate assumption cells
48
- - Use cell references instead of hardcoded values in formulas
49
- - Example: Use =B5*(1+$B$6) instead of =B5*1.05
50
-
51
- #### Formula Error Prevention
52
- - Verify all cell references are correct
53
- - Check for off-by-one errors in ranges
54
- - Ensure consistent formulas across all projection periods
55
- - Test with edge cases (zero values, negative numbers)
56
- - Verify no unintended circular references
57
-
58
- #### Documentation Requirements for Hardcodes
59
- - Comment or in cells beside (if end of table). Format: "Source: [System/Document], [Date], [Specific Reference], [URL if applicable]"
60
- - Examples:
61
- - "Source: Company 10-K, FY2024, Page 45, Revenue Note, [SEC EDGAR URL]"
62
- - "Source: Company 10-Q, Q2 2025, Exhibit 99.1, [SEC EDGAR URL]"
63
- - "Source: Bloomberg Terminal, 8/15/2025, AAPL US Equity"
64
- - "Source: FactSet, 8/20/2025, Consensus Estimates Screen"
65
-
66
- # XLSX creation, editing, and analysis
67
-
68
- ## Overview
69
-
70
- A user may ask you to create, edit, or analyze the contents of an .xlsx file. You have different tools and workflows available for different tasks.
71
-
72
- ## Important Requirements
73
-
74
- **LibreOffice Required for Formula Recalculation**: You can assume LibreOffice is installed for recalculating formula values using the `scripts/recalc.py` script. The script automatically configures LibreOffice on first run, including in sandboxed environments where Unix sockets are restricted (handled by `scripts/office/soffice.py`)
75
-
76
- ## Reading and analyzing data
77
-
78
- ### Data analysis with pandas
79
- For data analysis, visualization, and basic operations, use **pandas** which provides powerful data manipulation capabilities:
80
-
81
- ```python
82
- import pandas as pd
83
-
84
- # Read Excel
85
- df = pd.read_excel('file.xlsx') # Default: first sheet
86
- all_sheets = pd.read_excel('file.xlsx', sheet_name=None) # All sheets as dict
87
-
88
- # Analyze
89
- df.head() # Preview data
90
- df.info() # Column info
91
- df.describe() # Statistics
92
-
93
- # Write Excel
94
- df.to_excel('output.xlsx', index=False)
95
- ```
96
-
97
- ## Excel File Workflows
98
-
99
- ## CRITICAL: Use Formulas, Not Hardcoded Values
100
-
101
- **Always use Excel formulas instead of calculating values in Python and hardcoding them.** This ensures the spreadsheet remains dynamic and updateable.
102
-
103
- ### ❌ WRONG - Hardcoding Calculated Values
104
- ```python
105
- # Bad: Calculating in Python and hardcoding result
106
- total = df['Sales'].sum()
107
- sheet['B10'] = total # Hardcodes 5000
108
-
109
- # Bad: Computing growth rate in Python
110
- growth = (df.iloc[-1]['Revenue'] - df.iloc[0]['Revenue']) / df.iloc[0]['Revenue']
111
- sheet['C5'] = growth # Hardcodes 0.15
112
-
113
- # Bad: Python calculation for average
114
- avg = sum(values) / len(values)
115
- sheet['D20'] = avg # Hardcodes 42.5
116
- ```
117
-
118
- ### ✅ CORRECT - Using Excel Formulas
119
- ```python
120
- # Good: Let Excel calculate the sum
121
- sheet['B10'] = '=SUM(B2:B9)'
122
-
123
- # Good: Growth rate as Excel formula
124
- sheet['C5'] = '=(C4-C2)/C2'
125
-
126
- # Good: Average using Excel function
127
- sheet['D20'] = '=AVERAGE(D2:D19)'
128
- ```
129
-
130
- This applies to ALL calculations - totals, percentages, ratios, differences, etc. The spreadsheet should be able to recalculate when source data changes.
131
-
132
- ## Common Workflow
133
- 1. **Choose tool**: pandas for data, openpyxl for formulas/formatting
134
- 2. **Create/Load**: Create new workbook or load existing file
135
- 3. **Modify**: Add/edit data, formulas, and formatting
136
- 4. **Save**: Write to file
137
- 5. **Recalculate formulas (MANDATORY IF USING FORMULAS)**: Use the scripts/recalc.py script
138
- ```bash
139
- python scripts/recalc.py output.xlsx
140
- ```
141
- 6. **Verify and fix any errors**:
142
- - The script returns JSON with error details
143
- - If `status` is `errors_found`, check `error_summary` for specific error types and locations
144
- - Fix the identified errors and recalculate again
145
- - Common errors to fix:
146
- - `#REF!`: Invalid cell references
147
- - `#DIV/0!`: Division by zero
148
- - `#VALUE!`: Wrong data type in formula
149
- - `#NAME?`: Unrecognized formula name
150
-
151
- ### Creating new Excel files
152
-
153
- ```python
154
- # Using openpyxl for formulas and formatting
155
- from openpyxl import Workbook
156
- from openpyxl.styles import Font, PatternFill, Alignment
157
-
158
- wb = Workbook()
159
- sheet = wb.active
160
-
161
- # Add data
162
- sheet['A1'] = 'Hello'
163
- sheet['B1'] = 'World'
164
- sheet.append(['Row', 'of', 'data'])
165
-
166
- # Add formula
167
- sheet['B2'] = '=SUM(A1:A10)'
168
-
169
- # Formatting
170
- sheet['A1'].font = Font(bold=True, color='FF0000')
171
- sheet['A1'].fill = PatternFill('solid', start_color='FFFF00')
172
- sheet['A1'].alignment = Alignment(horizontal='center')
173
-
174
- # Column width
175
- sheet.column_dimensions['A'].width = 20
176
-
177
- wb.save('output.xlsx')
178
- ```
179
-
180
- ### Editing existing Excel files
181
-
182
- ```python
183
- # Using openpyxl to preserve formulas and formatting
184
- from openpyxl import load_workbook
185
-
186
- # Load existing file
187
- wb = load_workbook('existing.xlsx')
188
- sheet = wb.active # or wb['SheetName'] for specific sheet
189
-
190
- # Working with multiple sheets
191
- for sheet_name in wb.sheetnames:
192
- sheet = wb[sheet_name]
193
- print(f"Sheet: {sheet_name}")
194
-
195
- # Modify cells
196
- sheet['A1'] = 'New Value'
197
- sheet.insert_rows(2) # Insert row at position 2
198
- sheet.delete_cols(3) # Delete column 3
199
-
200
- # Add new sheet
201
- new_sheet = wb.create_sheet('NewSheet')
202
- new_sheet['A1'] = 'Data'
203
-
204
- wb.save('modified.xlsx')
205
- ```
206
-
207
- ## Recalculating formulas
208
-
209
- Excel files created or modified by openpyxl contain formulas as strings but not calculated values. Use the provided `scripts/recalc.py` script to recalculate formulas:
210
-
211
- ```bash
212
- python scripts/recalc.py <excel_file> [timeout_seconds]
213
- ```
214
-
215
- Example:
216
- ```bash
217
- python scripts/recalc.py output.xlsx 30
218
- ```
219
-
220
- The script:
221
- - Automatically sets up LibreOffice macro on first run
222
- - Recalculates all formulas in all sheets
223
- - Scans ALL cells for Excel errors (#REF!, #DIV/0!, etc.)
224
- - Returns JSON with detailed error locations and counts
225
- - Works on both Linux and macOS
226
-
227
- ## Formula Verification Checklist
228
-
229
- Quick checks to ensure formulas work correctly:
230
-
231
- ### Essential Verification
232
- - [ ] **Test 2-3 sample references**: Verify they pull correct values before building full model
233
- - [ ] **Column mapping**: Confirm Excel columns match (e.g., column 64 = BL, not BK)
234
- - [ ] **Row offset**: Remember Excel rows are 1-indexed (DataFrame row 5 = Excel row 6)
235
-
236
- ### Common Pitfalls
237
- - [ ] **NaN handling**: Check for null values with `pd.notna()`
238
- - [ ] **Far-right columns**: FY data often in columns 50+
239
- - [ ] **Multiple matches**: Search all occurrences, not just first
240
- - [ ] **Division by zero**: Check denominators before using `/` in formulas (#DIV/0!)
241
- - [ ] **Wrong references**: Verify all cell references point to intended cells (#REF!)
242
- - [ ] **Cross-sheet references**: Use correct format (Sheet1!A1) for linking sheets
243
-
244
- ### Formula Testing Strategy
245
- - [ ] **Start small**: Test formulas on 2-3 cells before applying broadly
246
- - [ ] **Verify dependencies**: Check all cells referenced in formulas exist
247
- - [ ] **Test edge cases**: Include zero, negative, and very large values
248
-
249
- ### Interpreting scripts/recalc.py Output
250
- The script returns JSON with error details:
251
- ```json
252
- {
253
- "status": "success", // or "errors_found"
254
- "total_errors": 0, // Total error count
255
- "total_formulas": 42, // Number of formulas in file
256
- "error_summary": { // Only present if errors found
257
- "#REF!": {
258
- "count": 2,
259
- "locations": ["Sheet1!B5", "Sheet1!C10"]
260
- }
261
- }
262
- }
263
- ```
264
-
265
- ## Best Practices
266
-
267
- ### Library Selection
268
- - **pandas**: Best for data analysis, bulk operations, and simple data export
269
- - **openpyxl**: Best for complex formatting, formulas, and Excel-specific features
270
-
271
- ### Working with openpyxl
272
- - Cell indices are 1-based (row=1, column=1 refers to cell A1)
273
- - Use `data_only=True` to read calculated values: `load_workbook('file.xlsx', data_only=True)`
274
- - **Warning**: If opened with `data_only=True` and saved, formulas are replaced with values and permanently lost
275
- - For large files: Use `read_only=True` for reading or `write_only=True` for writing
276
- - Formulas are preserved but not evaluated - use scripts/recalc.py to update values
277
-
278
- ### Working with pandas
279
- - Specify data types to avoid inference issues: `pd.read_excel('file.xlsx', dtype={'id': str})`
280
- - For large files, read specific columns: `pd.read_excel('file.xlsx', usecols=['A', 'C', 'E'])`
281
- - Handle dates properly: `pd.read_excel('file.xlsx', parse_dates=['date_column'])`
282
-
283
- ## Code Style Guidelines
284
- **IMPORTANT**: When generating Python code for Excel operations:
285
- - Write minimal, concise Python code without unnecessary comments
286
- - Avoid verbose variable names and redundant operations
287
- - Avoid unnecessary print statements
288
-
289
- **For Excel files themselves**:
290
- - Add comments to cells with complex formulas or important assumptions
291
- - Document data sources for hardcoded values
292
- - Include notes for key calculations and model sections
File without changes