opencode-skills-collection 4.1.15 → 4.1.41

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 (452) hide show
  1. package/README.md +0 -1
  2. package/bundled-skills/.antigravity-install-manifest.json +1 -214
  3. package/bundled-skills/advanced-evaluation/SKILL.md +44 -21
  4. package/bundled-skills/ai-sre-incident-response/SKILL.md +4 -5
  5. package/bundled-skills/antigravity-maintainer-batch-release/SKILL.md +13 -77
  6. package/bundled-skills/api-integration/SKILL.md +22 -6
  7. package/bundled-skills/api-rate-limit-handler/SKILL.md +27 -34
  8. package/bundled-skills/awareness-stage-mapper/SKILL.md +1 -1
  9. package/bundled-skills/brand-perception-psychologist/SKILL.md +1 -1
  10. package/bundled-skills/content-strategy/SKILL.md +1 -1
  11. package/bundled-skills/content-strategy/references/headless-cms.md +3 -5
  12. package/bundled-skills/copywriting-psychologist/SKILL.md +1 -1
  13. package/bundled-skills/customer-psychographic-profiler/SKILL.md +1 -1
  14. package/bundled-skills/data-storytelling/SKILL.md +2 -4
  15. package/bundled-skills/deprecation-and-migration/SKILL.md +1 -3
  16. package/bundled-skills/emotional-arc-designer/SKILL.md +1 -1
  17. package/bundled-skills/glasser/SKILL.md +1 -1
  18. package/bundled-skills/headline-psychologist/SKILL.md +1 -1
  19. package/bundled-skills/identity-mirror/SKILL.md +1 -1
  20. package/bundled-skills/jobs-to-be-done-analyst/SKILL.md +1 -1
  21. package/bundled-skills/liuguang-banlan-ui/SKILL.md +18 -22
  22. package/bundled-skills/liuguang-banlan-ui/assets/starter/launcher.css +2 -2
  23. package/bundled-skills/liuguang-banlan-ui/assets/starter/obsidian/index.html +4 -5
  24. package/bundled-skills/liuguang-banlan-ui/assets/starter/obsidian/theme-config.js +10 -3
  25. package/bundled-skills/liuguang-banlan-ui/assets/starter/obsidian/theme.css +62 -48
  26. package/bundled-skills/liuguang-banlan-ui/assets/starter/opal/index.html +4 -5
  27. package/bundled-skills/liuguang-banlan-ui/assets/starter/opal/theme-config.js +35 -27
  28. package/bundled-skills/liuguang-banlan-ui/assets/starter/opal/theme.css +62 -48
  29. package/bundled-skills/liuguang-banlan-ui/assets/starter/shared/spectral-field.js +148 -135
  30. package/bundled-skills/liuguang-banlan-ui/references/style-contract.md +7 -26
  31. package/bundled-skills/liuguang-banlan-ui/references/verification.md +7 -19
  32. package/bundled-skills/liuguang-banlan-ui/scripts/measure_preview.py +47 -78
  33. package/bundled-skills/liuguang-banlan-ui/scripts/validate_manifest.py +3 -34
  34. package/bundled-skills/loki-mode/examples/todo-app-generated/backend/package-lock.json +12 -16
  35. package/bundled-skills/loki-mode/examples/todo-app-generated/backend/package.json +2 -4
  36. package/bundled-skills/loki-mode/examples/todo-app-generated/frontend/package-lock.json +15 -15
  37. package/bundled-skills/loki-mode/examples/todo-app-generated/frontend/package.json +2 -3
  38. package/bundled-skills/loss-aversion-designer/SKILL.md +1 -1
  39. package/bundled-skills/objection-preemptor/SKILL.md +1 -1
  40. package/bundled-skills/on-call-handoff-patterns/SKILL.md +4 -6
  41. package/bundled-skills/onboarding-cro/SKILL.md +2 -6
  42. package/bundled-skills/onboarding-psychologist/SKILL.md +1 -1
  43. package/bundled-skills/parallel-search-mcp/SKILL.md +0 -12
  44. package/bundled-skills/pitch-psychologist/SKILL.md +1 -1
  45. package/bundled-skills/price-psychology-strategist/SKILL.md +1 -1
  46. package/bundled-skills/python-testing-patterns/resources/implementation-playbook.md +2 -6
  47. package/bundled-skills/riffkit/SKILL.md +13 -22
  48. package/bundled-skills/scarcity-urgency-psychologist/SKILL.md +1 -1
  49. package/bundled-skills/seo-content-refresher/SKILL.md +4 -8
  50. package/bundled-skills/sequence-psychologist/SKILL.md +1 -1
  51. package/bundled-skills/social-proof-architect/SKILL.md +1 -1
  52. package/bundled-skills/subject-line-psychologist/SKILL.md +1 -1
  53. package/bundled-skills/system-prompt-lookup/SKILL.md +1 -1
  54. package/bundled-skills/telegram/assets/boilerplate/nodejs/package-lock.json +12 -16
  55. package/bundled-skills/telegram/assets/boilerplate/nodejs/package.json +2 -4
  56. package/bundled-skills/testing-patterns/SKILL.md +3 -2
  57. package/bundled-skills/trust-calibrator/SKILL.md +1 -1
  58. package/bundled-skills/typescript-expert/scripts/ts_diagnostic.py +19 -40
  59. package/bundled-skills/usage-based-pricing/SKILL.md +1 -3
  60. package/bundled-skills/usage-based-pricing/references/detailed-guide.md +9 -11
  61. package/bundled-skills/ux-persuasion-engineer/SKILL.md +1 -1
  62. package/bundled-skills/visual-emotion-engineer/SKILL.md +1 -1
  63. package/bundled-skills/waf-setup/SKILL.md +1 -1
  64. package/bundled-skills/wcag-audit-patterns/resources/implementation-playbook.md +8 -12
  65. package/bundled-skills/whatsapp-cloud-api/assets/boilerplate/nodejs/package-lock.json +12 -16
  66. package/bundled-skills/whatsapp-cloud-api/assets/boilerplate/nodejs/package.json +2 -4
  67. package/bundled-skills/youtube-summarizer/SKILL.md +3 -3
  68. package/package.json +1 -1
  69. package/skills_index.json +8846 -883
  70. package/bundled-skills/360-feedback-system/SKILL.md +0 -481
  71. package/bundled-skills/aas-compose-stack/SKILL.md +0 -39
  72. package/bundled-skills/aas-discover/SKILL.md +0 -35
  73. package/bundled-skills/aas-review-stack/SKILL.md +0 -37
  74. package/bundled-skills/access-matrix/SKILL.md +0 -338
  75. package/bundled-skills/accounting-audit-system-builder/SKILL.md +0 -302
  76. package/bundled-skills/accounting-audit-system-builder/references/catalog.md +0 -114
  77. package/bundled-skills/accounting-software-selection/SKILL.md +0 -427
  78. package/bundled-skills/accounting-software-selection/references/build-artifacts.md +0 -362
  79. package/bundled-skills/accounting-software-selection/references/common-pitfalls.md +0 -44
  80. package/bundled-skills/accounting-software-selection/references/field-reference.md +0 -93
  81. package/bundled-skills/accounting-software-selection/references/select-options.md +0 -202
  82. package/bundled-skills/admin-access-register/SKILL.md +0 -381
  83. package/bundled-skills/advanced-analytics-dashboard/SKILL.md +0 -318
  84. package/bundled-skills/agent-reels/SKILL.md +0 -107
  85. package/bundled-skills/ai-agent-evaluation-benchmarking/SKILL.md +0 -124
  86. package/bundled-skills/ai-agent-tool-routing/SKILL.md +0 -136
  87. package/bundled-skills/ai-code-generation-guardrails/SKILL.md +0 -142
  88. package/bundled-skills/ai-headshot-studio/SKILL.md +0 -267
  89. package/bundled-skills/ai-image-generation-studio/SKILL.md +0 -259
  90. package/bundled-skills/ai-logo-maker/SKILL.md +0 -259
  91. package/bundled-skills/ai-multilingual-dubbing/SKILL.md +0 -259
  92. package/bundled-skills/ai-photo-restyler/SKILL.md +0 -259
  93. package/bundled-skills/ai-podcast-voiceover/SKILL.md +0 -259
  94. package/bundled-skills/ai-prompt-regression-testing/SKILL.md +0 -130
  95. package/bundled-skills/alumni-re-hire-tracker/SKILL.md +0 -314
  96. package/bundled-skills/announcement-board/SKILL.md +0 -336
  97. package/bundled-skills/api-contract-testing/SKILL.md +0 -116
  98. package/bundled-skills/arcmira-find-quotes/SKILL.md +0 -89
  99. package/bundled-skills/arcmira-find-quotes/references/LICENSE.md +0 -202
  100. package/bundled-skills/ask-human-expert/SKILL.md +0 -141
  101. package/bundled-skills/assay/SKILL.md +0 -162
  102. package/bundled-skills/asset-it-management/SKILL.md +0 -407
  103. package/bundled-skills/attendance/SKILL.md +0 -331
  104. package/bundled-skills/audit-log/SKILL.md +0 -314
  105. package/bundled-skills/audit-preparation/SKILL.md +0 -416
  106. package/bundled-skills/axonx/SKILL.md +0 -374
  107. package/bundled-skills/axonx/references/LICENSE.md +0 -201
  108. package/bundled-skills/beatra/SKILL.md +0 -260
  109. package/bundled-skills/board-governance/SKILL.md +0 -360
  110. package/bundled-skills/brand-growth-system-builder/SKILL.md +0 -360
  111. package/bundled-skills/brand-kit-print-collateral/SKILL.md +0 -498
  112. package/bundled-skills/browser-extension-launch/SKILL.md +0 -102
  113. package/bundled-skills/browser-extension-launch/references/acceptance.md +0 -103
  114. package/bundled-skills/browser-extension-launch/references/complex-workflow.md +0 -46
  115. package/bundled-skills/browser-extension-launch/references/dependencies.md +0 -62
  116. package/bundled-skills/browser-extension-launch/references/development.md +0 -42
  117. package/bundled-skills/browser-extension-launch/references/efficient-delivery.md +0 -52
  118. package/bundled-skills/browser-extension-launch/references/host-compatibility.md +0 -58
  119. package/bundled-skills/browser-extension-launch/references/playwright-mcp.md +0 -102
  120. package/bundled-skills/browser-extension-launch/references/product-loop.md +0 -35
  121. package/bundled-skills/browser-extension-launch/references/publishing.md +0 -103
  122. package/bundled-skills/browser-extension-launch/references/required-skills.json +0 -153
  123. package/bundled-skills/browser-extension-launch/references/workflow.md +0 -71
  124. package/bundled-skills/buddy-program-manager/SKILL.md +0 -329
  125. package/bundled-skills/budget-cash-flow/SKILL.md +0 -352
  126. package/bundled-skills/build-ui/SKILL.md +0 -181
  127. package/bundled-skills/busabase/SKILL.md +0 -118
  128. package/bundled-skills/business-email-template/SKILL.md +0 -480
  129. package/bundled-skills/business-email-template/references/common-pitfalls.md +0 -30
  130. package/bundled-skills/business-website-setup/SKILL.md +0 -489
  131. package/bundled-skills/business-website-setup/references/common-pitfalls.md +0 -32
  132. package/bundled-skills/byagent/SKILL.md +0 -125
  133. package/bundled-skills/candidate-talent-pool/SKILL.md +0 -359
  134. package/bundled-skills/capacity-workload-planner/SKILL.md +0 -354
  135. package/bundled-skills/changelog-entry/SKILL.md +0 -141
  136. package/bundled-skills/clients-accounts/SKILL.md +0 -398
  137. package/bundled-skills/cline-pilot/README.md +0 -138
  138. package/bundled-skills/cline-pilot/SKILL.md +0 -301
  139. package/bundled-skills/cline-pilot/assets/global-memory-bank-prompt.en.md +0 -66
  140. package/bundled-skills/cline-pilot/assets/global-memory-bank-prompt.md +0 -56
  141. package/bundled-skills/cline-pilot/references/cold-start.md +0 -58
  142. package/bundled-skills/cline-pilot/references/decision-log.example.md +0 -9
  143. package/bundled-skills/cline-pilot/references/local-config.example.md +0 -26
  144. package/bundled-skills/cline-pilot/references/project-profiles.example.md +0 -10
  145. package/bundled-skills/cline-pilot/scripts/session_report.py +0 -151
  146. package/bundled-skills/cloudish/SKILL.md +0 -188
  147. package/bundled-skills/cockney/SKILL.md +0 -104
  148. package/bundled-skills/code-of-conduct/SKILL.md +0 -488
  149. package/bundled-skills/code-of-conduct/references/common-pitfalls.md +0 -31
  150. package/bundled-skills/company-email-accounts/SKILL.md +0 -404
  151. package/bundled-skills/competency-matrix/SKILL.md +0 -335
  152. package/bundled-skills/contract-document-renewal/SKILL.md +0 -396
  153. package/bundled-skills/course-upskilling-requests/SKILL.md +0 -354
  154. package/bundled-skills/court/SKILL.md +0 -141
  155. package/bundled-skills/court/references/jurors.json +0 -14
  156. package/bundled-skills/court/scripts/court.py +0 -348
  157. package/bundled-skills/credit-cycle-analysis/SKILL.md +0 -303
  158. package/bundled-skills/credit-cycle-analysis/references/best-practices.md +0 -35
  159. package/bundled-skills/credit-cycle-analysis/references/common-pitfalls.md +0 -5
  160. package/bundled-skills/credit-cycle-analysis/references/examples.md +0 -34
  161. package/bundled-skills/credit-cycle-analysis/references/field-reference.md +0 -47
  162. package/bundled-skills/credit-cycle-analysis/references/how-it-works.md +0 -494
  163. package/bundled-skills/credit-cycle-analysis/references/security-notes.md +0 -16
  164. package/bundled-skills/credit-cycle-analysis/references/select-options.md +0 -32
  165. package/bundled-skills/cross-chain-relayer-audit/SKILL.md +0 -136
  166. package/bundled-skills/csv-manual-export/SKILL.md +0 -499
  167. package/bundled-skills/csv-manual-export/references/common-pitfalls.md +0 -19
  168. package/bundled-skills/culture-retention/SKILL.md +0 -346
  169. package/bundled-skills/darkmoon-pentest/SKILL.md +0 -123
  170. package/bundled-skills/data-export-engine/SKILL.md +0 -308
  171. package/bundled-skills/data-privacy-controls/SKILL.md +0 -309
  172. package/bundled-skills/datacircle/SKILL.md +0 -141
  173. package/bundled-skills/day-book/SKILL.md +0 -499
  174. package/bundled-skills/day-book/references/best-practices.md +0 -32
  175. package/bundled-skills/day-book/references/common-pitfalls.md +0 -58
  176. package/bundled-skills/day-book/references/field-reference.md +0 -45
  177. package/bundled-skills/day-book/references/how-it-works.md +0 -7
  178. package/bundled-skills/day-book/references/related-skills.md +0 -18
  179. package/bundled-skills/day-book/references/relations.md +0 -14
  180. package/bundled-skills/day-book/references/reusable-prompt.md +0 -50
  181. package/bundled-skills/day-book/references/security-safety-notes.md +0 -19
  182. package/bundled-skills/day-book/references/select-options.md +0 -38
  183. package/bundled-skills/deep-research-framework/SKILL.md +0 -81
  184. package/bundled-skills/defi-yield-strategy-allocator/SKILL.md +0 -124
  185. package/bundled-skills/define-my-content-pillars/SKILL.md +0 -127
  186. package/bundled-skills/dei-dashboard/SKILL.md +0 -307
  187. package/bundled-skills/design-theme-guide/SKILL.md +0 -472
  188. package/bundled-skills/disciplinary-pip-tracker/SKILL.md +0 -345
  189. package/bundled-skills/document-management-system/SKILL.md +0 -328
  190. package/bundled-skills/draft-my-comments/SKILL.md +0 -132
  191. package/bundled-skills/dropthehassle-publish/SKILL.md +0 -151
  192. package/bundled-skills/ecommerce-listing-image-set/SKILL.md +0 -259
  193. package/bundled-skills/email-marketing-bible/SKILL.md +0 -413
  194. package/bundled-skills/employee-suggestion-hub/SKILL.md +0 -322
  195. package/bundled-skills/equibles/SKILL.md +0 -185
  196. package/bundled-skills/esop-equity-tracker/SKILL.md +0 -331
  197. package/bundled-skills/etsy-search-listings/SKILL.md +0 -122
  198. package/bundled-skills/etsy-shop-sales-history/SKILL.md +0 -119
  199. package/bundled-skills/events-activities/SKILL.md +0 -355
  200. package/bundled-skills/expense-accounting/SKILL.md +0 -496
  201. package/bundled-skills/expense-accounting/references/common-pitfalls.md +0 -41
  202. package/bundled-skills/expense-accounting/references/related-skills.md +0 -11
  203. package/bundled-skills/expense-accounting/references/reusable-prompt.md +0 -36
  204. package/bundled-skills/expense-management/SKILL.md +0 -351
  205. package/bundled-skills/five-axis-code-review/SKILL.md +0 -78
  206. package/bundled-skills/free-design-resources/SKILL.md +0 -480
  207. package/bundled-skills/free-design-resources/references/common-pitfalls.md +0 -44
  208. package/bundled-skills/free-design-resources/references/related-skills.md +0 -24
  209. package/bundled-skills/free-design-resources/references/reusable-prompt.md +0 -12
  210. package/bundled-skills/fxmacrodata/SKILL.md +0 -224
  211. package/bundled-skills/gamification-engine/SKILL.md +0 -307
  212. package/bundled-skills/gbp-local-seo-intent/SKILL.md +0 -466
  213. package/bundled-skills/gbp-local-seo-intent/references/best-practices.md +0 -41
  214. package/bundled-skills/gbp-local-seo-intent/references/common-pitfalls.md +0 -40
  215. package/bundled-skills/gbp-local-seo-intent/references/related-skills.md +0 -17
  216. package/bundled-skills/gbp-local-seo-intent/references/reusable-prompt.md +0 -11
  217. package/bundled-skills/gbp-local-seo-intent/references/security-safety-notes.md +0 -27
  218. package/bundled-skills/get-seen-in-replies/SKILL.md +0 -134
  219. package/bundled-skills/git-commit-message/SKILL.md +0 -76
  220. package/bundled-skills/health-wellness/SKILL.md +0 -334
  221. package/bundled-skills/idea-to-blueprint/LICENSE +0 -21
  222. package/bundled-skills/idea-to-blueprint/SKILL.md +0 -260
  223. package/bundled-skills/idea-to-blueprint/assets/AGENTS.md.template +0 -38
  224. package/bundled-skills/idea-to-blueprint/assets/CLAUDE.md.template +0 -38
  225. package/bundled-skills/idea-to-blueprint/assets/DECISIONS.md.template +0 -14
  226. package/bundled-skills/idea-to-blueprint/assets/PROGRESS.md.template +0 -47
  227. package/bundled-skills/idea-to-blueprint/assets/session-prompt.md +0 -23
  228. package/bundled-skills/idea-to-blueprint/references/architecture-decisions.md +0 -202
  229. package/bundled-skills/idea-to-blueprint/references/blueprint-template.md +0 -259
  230. package/bundled-skills/idea-to-blueprint/references/code-quality-and-review.md +0 -216
  231. package/bundled-skills/idea-to-blueprint/references/design-minimal.md +0 -96
  232. package/bundled-skills/idea-to-blueprint/references/edge-case-catalog.md +0 -239
  233. package/bundled-skills/idea-to-blueprint/references/intake-questions.md +0 -105
  234. package/bundled-skills/idea-to-blueprint/references/research-protocol.md +0 -196
  235. package/bundled-skills/idea-to-blueprint/references/session-protocol.md +0 -133
  236. package/bundled-skills/idea-to-blueprint/references/stories-ac-tests.md +0 -194
  237. package/bundled-skills/idea-to-blueprint/references/ux-writing-guide.md +0 -128
  238. package/bundled-skills/idea-to-blueprint/scripts/lint_blueprint.py +0 -460
  239. package/bundled-skills/intern-program/SKILL.md +0 -354
  240. package/bundled-skills/internal-communication/SKILL.md +0 -318
  241. package/bundled-skills/inventory-stock-reconciliation/SKILL.md +0 -470
  242. package/bundled-skills/inventory-stock-reconciliation/references/best-practices.md +0 -18
  243. package/bundled-skills/inventory-stock-reconciliation/references/common-pitfalls.md +0 -42
  244. package/bundled-skills/inventory-stock-reconciliation/references/related-skills.md +0 -13
  245. package/bundled-skills/inventory-stock-reconciliation/references/relations.md +0 -8
  246. package/bundled-skills/inventory-stock-reconciliation/references/reusable-prompt.md +0 -31
  247. package/bundled-skills/inventory-stock-reconciliation/references/security-safety-notes.md +0 -17
  248. package/bundled-skills/inventory-stock-reconciliation/references/select-options.md +0 -45
  249. package/bundled-skills/invoices-billing/SKILL.md +0 -385
  250. package/bundled-skills/invokely-statistics/SKILL.md +0 -124
  251. package/bundled-skills/invokely-statistics/references/LICENSE.md +0 -21
  252. package/bundled-skills/ios-screens/SKILL.md +0 -172
  253. package/bundled-skills/issue-grievance-tracker/SKILL.md +0 -400
  254. package/bundled-skills/jet-browser/SKILL.md +0 -155
  255. package/bundled-skills/json-schema-manual/SKILL.md +0 -309
  256. package/bundled-skills/json-schema-manual/references/best-practices.md +0 -9
  257. package/bundled-skills/json-schema-manual/references/common-pitfalls.md +0 -25
  258. package/bundled-skills/json-schema-manual/references/input-modules.md +0 -203
  259. package/bundled-skills/json-schema-manual/references/related-skills.md +0 -8
  260. package/bundled-skills/json-schema-manual/references/reusable-prompt.md +0 -10
  261. package/bundled-skills/json-schema-manual/references/security-safety-notes.md +0 -13
  262. package/bundled-skills/kernel-prompt/SKILL.md +0 -64
  263. package/bundled-skills/knowledge-base/SKILL.md +0 -318
  264. package/bundled-skills/kpi-tracker/SKILL.md +0 -345
  265. package/bundled-skills/learning-career-development/SKILL.md +0 -349
  266. package/bundled-skills/leave-management/SKILL.md +0 -341
  267. package/bundled-skills/legal-compliance-vault/SKILL.md +0 -324
  268. package/bundled-skills/linkdigest-social-link-reader/SKILL.md +0 -232
  269. package/bundled-skills/linktree-link-hub/SKILL.md +0 -453
  270. package/bundled-skills/liuguang-banlan-ui/scripts/serve_preview.py +0 -35
  271. package/bundled-skills/liuguang-banlan-ui/tests/test_measure_preview.py +0 -119
  272. package/bundled-skills/liuguang-banlan-ui/tests/test_serve_preview.py +0 -38
  273. package/bundled-skills/liuguang-banlan-ui/tests/test_validate_manifest.py +0 -73
  274. package/bundled-skills/lognorm/SKILL.md +0 -86
  275. package/bundled-skills/lognorm/references/playbooks.md +0 -76
  276. package/bundled-skills/logo-image-design/SKILL.md +0 -459
  277. package/bundled-skills/looot/SKILL.md +0 -188
  278. package/bundled-skills/mcd-secret-menu-lab/SKILL.md +0 -110
  279. package/bundled-skills/meeting-notes/SKILL.md +0 -80
  280. package/bundled-skills/mentorship-program/SKILL.md +0 -332
  281. package/bundled-skills/mirrord/SKILL.md +0 -90
  282. package/bundled-skills/monthly-closing-statements/SKILL.md +0 -488
  283. package/bundled-skills/monthly-closing-statements/references/related-skills.md +0 -17
  284. package/bundled-skills/monthly-closing-statements/references/reusable-prompt.md +0 -8
  285. package/bundled-skills/music-generation-studio/SKILL.md +0 -259
  286. package/bundled-skills/notification-reminder-hub/SKILL.md +0 -324
  287. package/bundled-skills/notion-manual-import/SKILL.md +0 -376
  288. package/bundled-skills/notion-manual-import/references/best-practices.md +0 -10
  289. package/bundled-skills/notion-manual-import/references/common-pitfalls.md +0 -26
  290. package/bundled-skills/notion-manual-import/references/input-modules.md +0 -203
  291. package/bundled-skills/notion-manual-import/references/related-skills.md +0 -7
  292. package/bundled-skills/notion-manual-import/references/reusable-prompt.md +0 -8
  293. package/bundled-skills/notion-manual-import/references/security-safety-notes.md +0 -15
  294. package/bundled-skills/observability-cloud-planning/SKILL.md +0 -487
  295. package/bundled-skills/observability-cloud-planning/references/common-pitfalls.md +0 -39
  296. package/bundled-skills/observability-cloud-planning/references/related-skills.md +0 -20
  297. package/bundled-skills/observability-cloud-planning/references/reusable-prompt.md +0 -12
  298. package/bundled-skills/observability-cloud-planning/references/security-safety-notes.md +0 -30
  299. package/bundled-skills/offboarding-exit/SKILL.md +0 -343
  300. package/bundled-skills/offer-appointment/SKILL.md +0 -351
  301. package/bundled-skills/okr-system/SKILL.md +0 -355
  302. package/bundled-skills/omentir-linkedin-outreach/SKILL.md +0 -96
  303. package/bundled-skills/onboarding-playbook/SKILL.md +0 -292
  304. package/bundled-skills/organization-design/SKILL.md +0 -324
  305. package/bundled-skills/party-ledger-reconciliation/SKILL.md +0 -411
  306. package/bundled-skills/payment-accounting/SKILL.md +0 -421
  307. package/bundled-skills/payments-received/SKILL.md +0 -315
  308. package/bundled-skills/payroll-finance/SKILL.md +0 -351
  309. package/bundled-skills/people-directory/SKILL.md +0 -459
  310. package/bundled-skills/performance-management/SKILL.md +0 -367
  311. package/bundled-skills/petty-cash-management/SKILL.md +0 -448
  312. package/bundled-skills/placecall/SKILL.md +0 -237
  313. package/bundled-skills/policy-acknowledgement/SKILL.md +0 -314
  314. package/bundled-skills/policy-library/SKILL.md +0 -327
  315. package/bundled-skills/poster-design-studio/SKILL.md +0 -259
  316. package/bundled-skills/pre-boarding/SKILL.md +0 -326
  317. package/bundled-skills/presentation-deck/SKILL.md +0 -491
  318. package/bundled-skills/presentation-deck/references/related-skills.md +0 -19
  319. package/bundled-skills/presentation-deck/references/reusable-prompt.md +0 -11
  320. package/bundled-skills/probation-tracker/SKILL.md +0 -347
  321. package/bundled-skills/product-photo-studio/SKILL.md +0 -259
  322. package/bundled-skills/project-based-performance/SKILL.md +0 -323
  323. package/bundled-skills/projects-work-management/SKILL.md +0 -368
  324. package/bundled-skills/promotion-upgrade-requests/SKILL.md +0 -377
  325. package/bundled-skills/purchase-accounting/SKILL.md +0 -414
  326. package/bundled-skills/qrx/SKILL.md +0 -131
  327. package/bundled-skills/qrx/references/prompt-guide.md +0 -30
  328. package/bundled-skills/qrx/references/rest-api.md +0 -40
  329. package/bundled-skills/receipt-accounting/SKILL.md +0 -424
  330. package/bundled-skills/recognition-rewards/SKILL.md +0 -324
  331. package/bundled-skills/recruitment-pipeline/SKILL.md +0 -399
  332. package/bundled-skills/remote-work-tracker/SKILL.md +0 -306
  333. package/bundled-skills/repo-foundation/SKILL.md +0 -166
  334. package/bundled-skills/repo-foundation/references/LICENSE.md +0 -21
  335. package/bundled-skills/repo-foundation/references/bootstrap.md +0 -63
  336. package/bundled-skills/repo-foundation/references/companion.md +0 -9
  337. package/bundled-skills/repo-foundation/references/continuity.md +0 -50
  338. package/bundled-skills/repo-foundation/references/evolution.md +0 -60
  339. package/bundled-skills/repo-foundation/references/migration-examples.md +0 -53
  340. package/bundled-skills/repo-foundation/references/shared-contracts.md +0 -48
  341. package/bundled-skills/repo-foundation/references/verification.md +0 -50
  342. package/bundled-skills/repo-native-refactor/SKILL.md +0 -225
  343. package/bundled-skills/repo-native-refactor/references/LICENSE.md +0 -21
  344. package/bundled-skills/repo-native-refactor/references/deterministic-tooling.md +0 -101
  345. package/bundled-skills/repo-native-refactor/references/error-reliability.md +0 -117
  346. package/bundled-skills/repo-native-refactor/references/finding-taxonomy.md +0 -181
  347. package/bundled-skills/repo-native-refactor/references/refactor-examples.md +0 -77
  348. package/bundled-skills/repo-native-refactor/references/repository-prose.md +0 -157
  349. package/bundled-skills/repo-native-refactor/references/repository-rehabilitation.md +0 -94
  350. package/bundled-skills/repo-native-refactor/references/semantic-risk.md +0 -187
  351. package/bundled-skills/repo-native-refactor/references/shared-contracts.md +0 -48
  352. package/bundled-skills/repo-native-refactor/references/testing-integrity.md +0 -103
  353. package/bundled-skills/reports-analytics/SKILL.md +0 -320
  354. package/bundled-skills/repurpose-into-a-post/SKILL.md +0 -134
  355. package/bundled-skills/reverse-engineer-anything/SKILL.md +0 -243
  356. package/bundled-skills/reverse-engineer-anything/references/android-applications.md +0 -34
  357. package/bundled-skills/reverse-engineer-anything/references/evidence-workflows.md +0 -40
  358. package/bundled-skills/reverse-engineer-anything/references/javascript-applications.md +0 -70
  359. package/bundled-skills/reverse-engineer-anything/references/native-and-artifacts.md +0 -146
  360. package/bundled-skills/reverse-engineer-anything/references/runtime-observation.md +0 -28
  361. package/bundled-skills/salary-benchmarking/SKILL.md +0 -318
  362. package/bundled-skills/salary-wage-accounting/SKILL.md +0 -412
  363. package/bundled-skills/sales-accounting/SKILL.md +0 -494
  364. package/bundled-skills/sales-accounting/references/common-pitfalls.md +0 -28
  365. package/bundled-skills/sales-accounting/references/related-skills.md +0 -13
  366. package/bundled-skills/sales-accounting/references/reusable-prompt.md +0 -8
  367. package/bundled-skills/same-idea-both-platforms/SKILL.md +0 -111
  368. package/bundled-skills/scarf-single-cell/SKILL.md +0 -326
  369. package/bundled-skills/scarf-single-cell/references/LICENSE.md +0 -29
  370. package/bundled-skills/scarf-single-cell/references/clustering-and-embedding.md +0 -270
  371. package/bundled-skills/scarf-single-cell/references/data-access.md +0 -269
  372. package/bundled-skills/scarf-single-cell/references/features-and-graphs.md +0 -279
  373. package/bundled-skills/scarf-single-cell/references/gene-blacklists.md +0 -182
  374. package/bundled-skills/scarf-single-cell/references/integration-and-comparisons.md +0 -295
  375. package/bundled-skills/scarf-single-cell/references/markers-and-annotation.md +0 -280
  376. package/bundled-skills/scarf-single-cell/references/performance-and-export.md +0 -291
  377. package/bundled-skills/scarf-single-cell/references/pipeline-runs-and-artifacts.md +0 -273
  378. package/bundled-skills/scarf-single-cell/references/plotting.md +0 -260
  379. package/bundled-skills/scarf-single-cell/references/quality-control.md +0 -290
  380. package/bundled-skills/seo-directory-backlinks/SKILL.md +0 -484
  381. package/bundled-skills/seo-directory-backlinks/references/common-pitfalls.md +0 -36
  382. package/bundled-skills/seo-directory-backlinks/references/related-skills.md +0 -15
  383. package/bundled-skills/seo-directory-backlinks/references/reusable-prompt.md +0 -11
  384. package/bundled-skills/session-handoff/SKILL.md +0 -112
  385. package/bundled-skills/shark/SKILL.md +0 -134
  386. package/bundled-skills/shark/references/investors.json +0 -12
  387. package/bundled-skills/shark/scripts/shark.py +0 -302
  388. package/bundled-skills/shipvela-publish/SKILL.md +0 -80
  389. package/bundled-skills/shipvela-publish/references/LICENSE.md +0 -21
  390. package/bundled-skills/since-cutoff/SKILL.md +0 -68
  391. package/bundled-skills/skeleton-first/SKILL.md +0 -163
  392. package/bundled-skills/skill-gap-analysis/SKILL.md +0 -338
  393. package/bundled-skills/smart-contract-formal-verification/SKILL.md +0 -136
  394. package/bundled-skills/smart-contract-upgrade-governance/SKILL.md +0 -130
  395. package/bundled-skills/social-media-setup/SKILL.md +0 -477
  396. package/bundled-skills/social-media-setup/references/common-pitfalls.md +0 -34
  397. package/bundled-skills/social-media-setup/references/related-skills.md +0 -19
  398. package/bundled-skills/social-media-setup/references/reusable-prompt.md +0 -11
  399. package/bundled-skills/social-media-setup/references/security-safety-notes.md +0 -27
  400. package/bundled-skills/sop-company-wiki/SKILL.md +0 -324
  401. package/bundled-skills/soroban-contract-audit/SKILL.md +0 -136
  402. package/bundled-skills/soroban-liquidity-pool/SKILL.md +0 -118
  403. package/bundled-skills/soroban-oracle-data-feed-audit/SKILL.md +0 -118
  404. package/bundled-skills/soroban-storage-ttl-lifecycle/SKILL.md +0 -118
  405. package/bundled-skills/soroban-token-minter/SKILL.md +0 -124
  406. package/bundled-skills/source-document-filing/SKILL.md +0 -368
  407. package/bundled-skills/spreadsheet-manual-build/SKILL.md +0 -493
  408. package/bundled-skills/spreadsheet-manual-build/references/best-practices.md +0 -9
  409. package/bundled-skills/spreadsheet-manual-build/references/common-pitfalls.md +0 -22
  410. package/bundled-skills/spreadsheet-manual-build/references/related-skills.md +0 -8
  411. package/bundled-skills/spreadsheet-manual-build/references/reusable-prompt.md +0 -9
  412. package/bundled-skills/spreadsheet-manual-build/references/security-safety-notes.md +0 -16
  413. package/bundled-skills/stakeholder-investor-reports/SKILL.md +0 -303
  414. package/bundled-skills/stellar-anchor-integration/SKILL.md +0 -136
  415. package/bundled-skills/stellar-asset-clawback-compliance/SKILL.md +0 -118
  416. package/bundled-skills/stellar-escrow-timelock/SKILL.md +0 -118
  417. package/bundled-skills/stellar-multisig-threshold-coordinator/SKILL.md +0 -112
  418. package/bundled-skills/suno-lyrics-to-song/SKILL.md +0 -259
  419. package/bundled-skills/supercov/SKILL.md +0 -119
  420. package/bundled-skills/talking-avatar-video/SKILL.md +0 -260
  421. package/bundled-skills/tastegate/SKILL.md +0 -129
  422. package/bundled-skills/tastegate/references/THIRD_PARTY_NOTICES.md +0 -25
  423. package/bundled-skills/tastegate/references/craft-floor.md +0 -53
  424. package/bundled-skills/tastegate/references/direction.md +0 -59
  425. package/bundled-skills/tastegate/references/impeccable-LICENSE-Apache-2.0.txt +0 -191
  426. package/bundled-skills/tastegate/references/taste-skill-LICENSE-MIT.txt +0 -21
  427. package/bundled-skills/tastegate/scripts/gate.py +0 -401
  428. package/bundled-skills/tax-register/SKILL.md +0 -363
  429. package/bundled-skills/tds-booking-payment/SKILL.md +0 -405
  430. package/bundled-skills/team-calendar/SKILL.md +0 -312
  431. package/bundled-skills/tech-writing-proofread/SKILL.md +0 -78
  432. package/bundled-skills/telegram-channel-ads/SKILL.md +0 -139
  433. package/bundled-skills/template-library/SKILL.md +0 -304
  434. package/bundled-skills/time-tracking/SKILL.md +0 -353
  435. package/bundled-skills/tokenleak/SKILL.md +0 -79
  436. package/bundled-skills/turn-this-into-a-thread/SKILL.md +0 -130
  437. package/bundled-skills/ui-from-screenshot/SKILL.md +0 -147
  438. package/bundled-skills/ui-states/SKILL.md +0 -149
  439. package/bundled-skills/url-to-markdown/SKILL.md +0 -74
  440. package/bundled-skills/uxkin-research/SKILL.md +0 -127
  441. package/bundled-skills/vendor-contractor-management/SKILL.md +0 -327
  442. package/bundled-skills/viral-video-teardown-remake/SKILL.md +0 -260
  443. package/bundled-skills/voice-cloning-studio/SKILL.md +0 -260
  444. package/bundled-skills/voiceover-narration-studio/SKILL.md +0 -259
  445. package/bundled-skills/web3-rate-limiting-circuit-breaker/SKILL.md +0 -130
  446. package/bundled-skills/web3-transaction-relayer-pool/SKILL.md +0 -124
  447. package/bundled-skills/what-could-break/SKILL.md +0 -128
  448. package/bundled-skills/what-could-break/references/LICENSE-pstack.txt +0 -21
  449. package/bundled-skills/why-did-this-post-flop/SKILL.md +0 -130
  450. package/bundled-skills/write-design-md/SKILL.md +0 -158
  451. package/bundled-skills/write-in-my-voice/SKILL.md +0 -140
  452. package/bundled-skills/zk-proof-verification-pipeline/SKILL.md +0 -124
@@ -1,348 +0,0 @@
1
- #!/usr/bin/env python3
2
- """Bookkeeping for the court skill: put an idea on trial in front of a jury of Claudes.
3
-
4
- The skill's orchestrator (Claude) drives the trial with these commands. Every sub-agent reads a
5
- brief this script writes and writes one output file; this script checks the files, counts the votes
6
- and renders the verdict. All state lives in .court/<run>/ in the current directory.
7
-
8
- python3 court.py plan [--jury N | --quick]
9
- python3 court.py init --case-file PATH [--jury N | --quick] [--seed S]
10
- python3 court.py next
11
- python3 court.py prompts <phase>
12
- python3 court.py check <phase>
13
- python3 court.py tally
14
- python3 court.py render
15
-
16
- Phases, in order: opening, rebuttal, jury, judge.
17
- """
18
- import argparse
19
- import json
20
- import os
21
- import random
22
- import re
23
- import sys
24
- import time
25
-
26
- HERE = os.path.dirname(os.path.abspath(__file__))
27
- ROOT = ".court"
28
- LATEST = os.path.join(ROOT, "LATEST")
29
- PHASES = ["opening", "rebuttal", "jury", "judge"]
30
- DEFAULT_JURY = 12
31
- QUICK_JURY = 6
32
- WAVE = 6
33
- CREDIT = ("_Made with [/court](https://github.com/alexyc9381/court-skill), a free Claude Code skill by Alex Chen ([@nocodealex](https://instagram.com/nocodealex))._")
34
- CHARGE = "The case fails as stated: it should not go ahead the way it is described."
35
-
36
-
37
- # ---------- state ----------
38
-
39
- def load_jurors():
40
- with open(os.path.join(HERE, "..", "references", "jurors.json")) as f:
41
- return json.load(f)
42
-
43
-
44
- def run_dir():
45
- if not os.path.exists(LATEST):
46
- sys.exit("court: no trial yet. Run: court.py init --case-file .court/case.md")
47
- with open(LATEST) as f:
48
- return f.read().strip()
49
-
50
-
51
- def load_state(rd=None):
52
- rd = rd or run_dir()
53
- with open(os.path.join(rd, "state.json")) as f:
54
- return json.load(f)
55
-
56
-
57
- def save_state(state):
58
- with open(os.path.join(state["dir"], "state.json"), "w") as f:
59
- json.dump(state, f, indent=2)
60
-
61
-
62
- def jury_size(args):
63
- if getattr(args, "quick", False):
64
- return QUICK_JURY
65
- n = getattr(args, "jury", None) or DEFAULT_JURY
66
- if n < 3 or n > 12:
67
- sys.exit("court: the jury must be 3 to 12 Claudes")
68
- return n
69
-
70
-
71
- # ---------- jobs ----------
72
-
73
- def jobs(state, phase):
74
- """Each job: id, brief path, output path."""
75
- d = state["dir"]
76
- if phase in ("opening", "rebuttal"):
77
- ids = ["prosecution", "defense"]
78
- elif phase == "jury":
79
- ids = ["juror-%02d" % (i + 1) for i in range(len(state["jury"]))]
80
- elif phase == "judge":
81
- ids = ["judge"]
82
- else:
83
- sys.exit("court: unknown phase %r (phases: %s)" % (phase, ", ".join(PHASES)))
84
- out = []
85
- for jid in ids:
86
- out.append({
87
- "id": jid,
88
- "brief": os.path.abspath(os.path.join(d, "briefs", "%s-%s.md" % (phase, jid))),
89
- "output": os.path.abspath(os.path.join(d, phase, "%s.md" % jid)),
90
- })
91
- return out
92
-
93
-
94
- def done(job):
95
- p = job["output"]
96
- return os.path.exists(p) and os.path.getsize(p) > 0
97
-
98
-
99
- def missing(state, phase):
100
- return [j for j in jobs(state, phase) if not done(j)]
101
-
102
-
103
- # ---------- briefs ----------
104
-
105
- def _abs(state, *parts):
106
- return os.path.abspath(os.path.join(state["dir"], *parts))
107
-
108
-
109
- def brief_text(state, phase, job):
110
- case = _abs(state, "case.md")
111
- head = ("You are one part of a trial run by the court skill. You cannot see the user's conversation: "
112
- "everything you know is in the files named below. Use only what is in the record. Never invent "
113
- "facts, numbers, quotes or sources. Where the record is silent, say what is missing and why it "
114
- "matters. Write your answer to exactly this file and nothing else:\n\n %s\n\n"
115
- "The charge: %s\n\nThe case file: %s\n\n" % (job["output"], CHARGE, case))
116
- if phase == "opening":
117
- if job["id"] == "prosecution":
118
- return head + (
119
- "You are the PROSECUTOR. Build the strongest honest case that the charge holds.\n\n"
120
- "- 3 to 5 numbered charges. Each names one concrete way the case fails, the evidence for it from "
121
- "the case file (quote it), and what it would cost if you are right.\n"
122
- "- Attack the case as the user actually wrote it, never a weaker version of it.\n"
123
- "- No insults, no hedging, no praise. 350 words at most.\n")
124
- return head + (
125
- "You are the DEFENSE. Build the strongest honest case that the charge does NOT hold: the case "
126
- "should go ahead as described.\n\n"
127
- "- 3 to 5 numbered points. Each names one concrete strength, the evidence for it from the case "
128
- "file (quote it), and why it outweighs the obvious objection.\n"
129
- "- Defend the case as the user actually wrote it. If a part cannot be defended, concede it in one "
130
- "line instead of spinning it.\n- 350 words at most.\n")
131
- if phase == "rebuttal":
132
- side, other = ("prosecution", "defense") if job["id"] == "prosecution" else ("defense", "prosecution")
133
- return head + (
134
- "You are the %s. Read the other side's opening statement:\n\n %s\n\n"
135
- "Answer each of its numbered points in order: say whether it survives, and why, in one or two "
136
- "sentences each. Then name the one point the jury should decide on. 250 words at most.\n"
137
- % (side.upper(), _abs(state, "opening", other + ".md")))
138
- if phase == "jury":
139
- idx = int(job["id"].split("-")[1]) - 1
140
- juror = state["jury"][idx]
141
- record = "\n".join(" " + _abs(state, p, s + ".md")
142
- for p in ("opening", "rebuttal") for s in ("prosecution", "defense"))
143
- return head + (
144
- "You are JUROR %d of %d: %s. %s\n\n"
145
- "Read the case file and all four statements:\n\n%s\n\n"
146
- "Decide on your own: you will never see the other jurors. You owe the case nothing. Voting for it "
147
- "to be kind, or against it to look tough, is contempt of court. Judge it through your own eyes "
148
- "as described above.\n\n"
149
- "Write exactly these four lines and nothing else:\n\n"
150
- "VOTE: GUILTY or NOT GUILTY\n"
151
- "REASON: one sentence, in your own voice\n"
152
- "DECIDING FACT: the one fact from the record that decided it\n"
153
- "WOULD FLIP IF: the one change to the case that would make you vote the other way\n"
154
- % (idx + 1, len(state["jury"]), juror["name"], juror["lens"], record))
155
- if phase == "judge":
156
- return head + (
157
- "You are the JUDGE. The jury has voted and you cannot overturn the vote. Read the case file, the "
158
- "four statements in %s and %s, every juror's vote in %s, and the count in %s.\n\n"
159
- "Write these sections, plainly, for someone who has never seen a courtroom:\n\n"
160
- "## Charges that stuck\nThe 3 objections the jurors cited most, each in one sentence, with how "
161
- "many jurors leaned on it.\n\n"
162
- "## What the defense got right\nThe 2 strongest points in the case's favour.\n\n"
163
- "## Conditions for acquittal\nThe 3 specific changes that would flip the most votes, built from "
164
- "the jurors' WOULD FLIP IF lines. Each one is something the user can do this week.\n\n"
165
- "## The sentence\nOne short paragraph in a judge's voice: what the user should do next.\n\n"
166
- "250 words at most. Do not repeat the vote count: it is printed above your judgment.\n"
167
- % (_abs(state, "opening"), _abs(state, "rebuttal"), _abs(state, "jury"),
168
- _abs(state, "tally.json")))
169
- raise ValueError(phase)
170
-
171
-
172
- # ---------- votes ----------
173
-
174
- VOTE_RE = re.compile(r"^\s*\**VOTE\**\s*:\s*\**\s*(NOT\s+GUILTY|GUILTY)", re.I | re.M)
175
- FIELD_RE = r"^\s*\**%s\**\s*:\s*(.+)$"
176
-
177
-
178
- def parse_vote(text):
179
- m = VOTE_RE.search(text or "")
180
- if not m:
181
- return None
182
- vote = "NOT GUILTY" if "NOT" in m.group(1).upper() else "GUILTY"
183
- out = {"vote": vote}
184
- for key, name in (("reason", "REASON"), ("fact", "DECIDING FACT"), ("flip", "WOULD FLIP IF")):
185
- f = re.search(FIELD_RE % name, text, re.I | re.M)
186
- out[key] = f.group(1).strip().strip("*").strip() if f else ""
187
- return out
188
-
189
-
190
- def tally(state):
191
- rows = []
192
- for j, juror in zip(jobs(state, "jury"), state["jury"]):
193
- text = open(j["output"]).read() if done(j) else ""
194
- v = parse_vote(text)
195
- rows.append({"juror": juror["name"], "vote": v["vote"] if v else "NO VOTE",
196
- "reason": v["reason"] if v else "", "fact": v["fact"] if v else "",
197
- "flip": v["flip"] if v else ""})
198
- guilty = sum(1 for r in rows if r["vote"] == "GUILTY")
199
- not_guilty = sum(1 for r in rows if r["vote"] == "NOT GUILTY")
200
- if guilty > not_guilty:
201
- verdict = "GUILTY"
202
- elif not_guilty > guilty:
203
- verdict = "NOT GUILTY"
204
- else:
205
- verdict = "HUNG JURY"
206
- result = {"verdict": verdict, "guilty": guilty, "not_guilty": not_guilty,
207
- "no_vote": len(rows) - guilty - not_guilty, "jurors": rows}
208
- with open(os.path.join(state["dir"], "tally.json"), "w") as f:
209
- json.dump(result, f, indent=2)
210
- return result
211
-
212
-
213
- def verdict_line(t):
214
- if t["verdict"] == "HUNG JURY":
215
- return "HUNG JURY, %d to %d" % (t["guilty"], t["not_guilty"])
216
- big, small = (t["guilty"], t["not_guilty"]) if t["verdict"] == "GUILTY" else (t["not_guilty"], t["guilty"])
217
- return "%s, %d to %d" % (t["verdict"], big, small)
218
-
219
-
220
- def render(state):
221
- t = tally(state)
222
- case = open(os.path.join(state["dir"], "case.md")).read().strip()
223
- first = case.splitlines()[0].lstrip("# ").strip() if case else "(empty case)"
224
- judge = jobs(state, "judge")[0]
225
- judgment = open(judge["output"]).read().strip() if done(judge) else "_The judge has not ruled yet._"
226
- lines = ["# The verdict: %s" % verdict_line(t), "",
227
- "**The case:** %s" % first, "", "**The charge:** %s" % CHARGE, "",
228
- "## How the jury voted", "", "| Juror | Vote | Why |", "|---|---|---|"]
229
- for r in t["jurors"]:
230
- lines.append("| %s | %s | %s |" % (r["juror"], r["vote"], r["reason"].replace("|", "/")))
231
- lines += ["", judgment, "",
232
- "_The full trial is in %s: the opening statements, the rebuttals and every juror's vote._"
233
- % os.path.abspath(state["dir"]), "", CREDIT]
234
- text = "\n".join(lines) + "\n"
235
- with open(os.path.join(state["dir"], "VERDICT.md"), "w") as f:
236
- f.write(text)
237
- return text
238
-
239
-
240
- # ---------- commands ----------
241
-
242
- def cmd_plan(args):
243
- n = jury_size(args)
244
- calls = 2 + 2 + n + 1
245
- print("jury of %d: 2 opening statements, 2 rebuttals, %d jurors, 1 judge = %d sub-agent calls"
246
- % (n, n, calls))
247
-
248
-
249
- def cmd_init(args):
250
- n = jury_size(args)
251
- if not os.path.exists(args.case_file):
252
- sys.exit("court: case file not found: %s" % args.case_file)
253
- case = open(args.case_file).read().strip()
254
- if not case:
255
- sys.exit("court: the case file is empty")
256
- seed = args.seed if args.seed is not None else random.randrange(1, 10 ** 6)
257
- jurors = load_jurors()
258
- rng = random.Random(seed)
259
- jury = jurors[:] if n == len(jurors) else rng.sample(jurors, n)
260
- rd = os.path.join(ROOT, time.strftime("%Y%m%d-%H%M%S"))
261
- for sub in ("briefs", "opening", "rebuttal", "jury", "judge"):
262
- os.makedirs(os.path.join(rd, sub), exist_ok=True)
263
- with open(os.path.join(rd, "case.md"), "w") as f:
264
- f.write(case + "\n")
265
- state = {"dir": rd, "seed": seed, "jury": jury, "created": time.strftime("%Y-%m-%dT%H:%M:%S")}
266
- save_state(state)
267
- with open(LATEST, "w") as f:
268
- f.write(rd)
269
- print("court: trial opened in %s (jury of %d, seed %d)" % (rd, n, seed))
270
- print("next: python3 scripts/court.py prompts opening")
271
-
272
-
273
- def cmd_prompts(args):
274
- state = load_state()
275
- todo = missing(state, args.phase)
276
- for j in jobs(state, args.phase):
277
- with open(j["brief"], "w") as f:
278
- f.write(brief_text(state, args.phase, j))
279
- if not todo:
280
- print("court: %s is complete. Run: court.py next" % args.phase)
281
- return
282
- for w in range(0, len(todo), WAVE):
283
- print("wave %d:" % (w // WAVE + 1))
284
- for j in todo[w:w + WAVE]:
285
- print(" %s brief=%s" % (j["id"], j["brief"]))
286
- print("Launch one Agent call per job, one wave at a time. Prompt: "
287
- "\"Read <brief> and follow it exactly. It is your whole brief.\"")
288
-
289
-
290
- def cmd_check(args):
291
- state = load_state()
292
- todo = missing(state, args.phase)
293
- if not todo:
294
- print("court: %s complete" % args.phase)
295
- for j in todo:
296
- print("missing: %s -> %s" % (j["id"], j["output"]))
297
-
298
-
299
- def cmd_next(args):
300
- state = load_state()
301
- for phase in PHASES:
302
- if missing(state, phase):
303
- if phase == "judge":
304
- t = tally(state)
305
- print("court: the jury voted %s." % verdict_line(t))
306
- print("next phase: %s. Run: python3 court.py prompts %s" % (phase, phase))
307
- return
308
- print("court: the trial is over. Run: python3 court.py render")
309
-
310
-
311
- def cmd_tally(args):
312
- state = load_state()
313
- t = tally(state)
314
- print(verdict_line(t))
315
-
316
-
317
- def cmd_render(args):
318
- state = load_state()
319
- sys.stdout.write(render(state))
320
-
321
-
322
- def main(argv=None):
323
- p = argparse.ArgumentParser(prog="court.py")
324
- sub = p.add_subparsers(dest="cmd")
325
- pl = sub.add_parser("plan")
326
- pl.add_argument("--jury", type=int)
327
- pl.add_argument("--quick", action="store_true")
328
- pi = sub.add_parser("init")
329
- pi.add_argument("--case-file", required=True)
330
- pi.add_argument("--jury", type=int)
331
- pi.add_argument("--quick", action="store_true")
332
- pi.add_argument("--seed", type=int)
333
- for name in ("prompts", "check"):
334
- sp = sub.add_parser(name)
335
- sp.add_argument("phase", choices=PHASES)
336
- for name in ("next", "tally", "render"):
337
- sub.add_parser(name)
338
- args = p.parse_args(argv)
339
- if not args.cmd:
340
- p.print_help()
341
- return 1
342
- {"plan": cmd_plan, "init": cmd_init, "prompts": cmd_prompts, "check": cmd_check,
343
- "next": cmd_next, "tally": cmd_tally, "render": cmd_render}[args.cmd](args)
344
- return 0
345
-
346
-
347
- if __name__ == "__main__":
348
- sys.exit(main())
@@ -1,303 +0,0 @@
1
- ---
2
- name: credit-cycle-analysis
3
- description: 'Debtor and creditor credit-cycle analysis: weighted collection or payment days, ageing buckets, credit limit utilisation and gap against benchmark. Use for working-capital review.'
4
- category: business
5
- risk: safe
6
- source: self
7
- source_type: self
8
- date_added: "2026-09-26"
9
- author: WHOISABHISHEKADHIKARI
10
- tags: [sme, accounting, audit, finance, database, csv, notion, sql, working-capital, receivables, payables, aging]
11
- tools: []
12
- source_repo: WHOISABHISHEKADHIKARI/sme-ops-system-builder
13
- ---
14
-
15
- # Debtor & Creditor Credit-Cycle Analysis
16
-
17
- **What it is:** How long the business actually waits to be paid and how long it actually takes to pay, measured per party and per period.
18
-
19
- ## Overview
20
-
21
- Works out the smallest useful **Debtor & Creditor Credit-Cycle Analysis** setup for the business in
22
- front of it, then builds it only when asked. The default output is a short recommendation, not a
23
- spreadsheet. Artifacts - CSV, SQL DDL, JSON Schema, Notion mapping - are produced on request, from
24
- one field list so they cannot drift apart.
25
-
26
- Layer: Layer 8: Close & Analyse. Fits: Growth stage. Table code: n/a.
27
-
28
- **The SOP rule this skill is built around:** analyse debtors on the average collection period,
29
- outstanding invoices, overdue receivables and the aging of receivables; analyse creditors on the
30
- average payment period, outstanding supplier balances, overdue payables and supplier aging; then
31
- compare the debtor collection cycle with the creditor payment cycle. The comparison is the point.
32
- Two cycles measured the same way can be read against each other, and the day-to-day pressure of
33
- waiting longer than you take is invisible as a line on the balance sheet. That pressure is
34
- measured in **days** here. Turning it into money is a separate calculation with its own basis,
35
- below.
36
-
37
- **Six concepts that never stand in for each other.** This table exists to keep them apart, and
38
- most of the wrong answers come from swapping one for another:
39
-
40
- | Concept | What it answers | Field that carries it |
41
- |---|---|---|
42
- | Contractual terms | What was agreed | `Contractual Terms Days` |
43
- | Actual cycle | What actually happened | `Actual Collection/Payment Days`, `Weighted Days` |
44
- | Benchmark | What to compare against | `Benchmark Days`, `Gap vs Benchmark` |
45
- | Aging | How old the unpaid items are | bucket amounts, and `Aging Bucket` on the invoice/bill detail |
46
- | Debtor-vs-creditor timing | Which side of the cycle is longer | `Cycle Gap Days` on the comparison record |
47
- | Working-capital funding | What the timing difference costs in money | `Estimated Working-Capital Funding`, `Calculation Basis` |
48
-
49
- Conflating them is the defect this module is built to prevent. Contractual terms of 30 days and
50
- an actual collection cycle of 42 days are two facts about the same party, and the 42 is the one
51
- that reaches the bank account. Writing the 30 into `Actual Collection/Payment Days` because it is
52
- the number in the contract is a substituted value, not a measurement.
53
-
54
- **Aging lives on the invoice, not on the party.** One party can hold open invoices in several
55
- aging buckets on the same day. So the party-period record carries the bucket **amounts**
56
- (`Current Amount`, `Aging 0-30 Amount`, `Aging 31-60 Amount`, `Aging 61-90 Amount`, `Aging 91-180 Amount`, `Aging Over 180 Amount`)
57
- and the single `Aging Bucket` belongs to one invoice or one bill on the aging-detail record. A
58
- party row carrying one `Aging Bucket` cannot describe a real aging position and is replaced by
59
- the bucket amounts.
60
-
61
- **Neutral field names.** The two movement fields are `Credit Movement` and `Settlement`, for
62
- customers and for suppliers alike. `Credit Movement` is the credit-side activity that created the
63
- balance in the period - customer invoices on the debtor side, supplier bills on the creditor
64
- side. `Settlement` is what closed it - customer collections, supplier payments. A name like
65
- `Total Billed` describes only the debtor side and quietly makes the creditor side unreadable.
66
-
67
- **The balance identity, and what happens when it fails.**
68
-
69
- ```
70
- Closing Balance = Opening Balance + Credit Movement - Settlement +/- Adjustments
71
- ```
72
-
73
- Check it on every row. If it does not hold, the difference is **recorded and marked**, never
74
- repaired by editing a component. A silently balanced row is worse than an unbalanced one,
75
- because the next period inherits it.
76
-
77
- **The cycle gap is descriptive, not a verdict.**
78
-
79
- ```
80
- Cycle Gap Days = Debtor Collection Days - Creditor Payment Days
81
- ```
82
-
83
- Positive means customers take longer to pay than the business takes to pay suppliers. Zero means
84
- the two measured cycles are equal. Negative means suppliers are paid later than customers are
85
- collected. A positive gap is not automatically bad - it is often the ordinary consequence of
86
- selling on credit to a customer base and buying on shorter terms. The module states the
87
- difference and leaves the judgement to the business.
88
-
89
- **Working-capital funding needs a monetary basis, and the basis is always written down.**
90
-
91
- ```
92
- Estimated Working-Capital Funding = Cycle Gap Days x Relevant Daily Credit Movement
93
- ```
94
-
95
- This is only computed when the relevant monetary basis exists, and `Calculation Basis` always
96
- records how that basis was built. A plausible daily figure is:
97
-
98
- ```
99
- Relevant Daily Credit Movement = Relevant annual credit movement / 365
100
- ```
101
-
102
- and it is only used when the selected annual movement is appropriate for the analysis. Where the
103
- monetary basis is missing, `Estimated Working-Capital Funding` is `Unknown` and the record says so.
104
- Never invent a monetary impact, and never divide a period's movement by 365 without checking that
105
- the period is the year the analysis is about.
106
-
107
- **Benchmarks are the user's, not the module's.** `Gap vs Benchmark` is `Actual Collection/Payment
108
- Days - Benchmark Days`. A benchmark must be supplied by the user, explicitly selected by the
109
- user, or clearly labelled a proposed default. It is never presented as a business target, and
110
- never as an industry figure unless the user supplied that figure.
111
-
112
- **Due dates are recorded, never derived.** `Days Overdue = Period End - Due Date`. Where a due date
113
- is not recorded, the aging is `Unknown` - a due date is never reconstructed from payment terms,
114
- because terms are an agreement and the due date is a fact about one invoice.
115
-
116
- **Percentages, money and rounding.** A percentage is stored as `97` for 97%, never `0.97`, and the
117
- convention is never mixed inside the table. Money is a bare number with no currency symbol in the
118
- cell, and the currency itself is `Unknown` until the user states it. Amounts are the gross ledger
119
- amounts as posted to the party's account, tax-inclusive; this module does not split tax out of a
120
- balance. Every figure is rounded once, at the end, to two decimal places, so the components can be
121
- re-derived from the row.
122
-
123
- ## When to Use This Skill
124
-
125
- - debtor collection analysis
126
- - creditor payment analysis
127
- - receivables aging and payables aging
128
- - average collection period or average payment period
129
- - customer payment behaviour and supplier payment behaviour
130
- - working-capital cycle review
131
- - converting an existing credit-cycle spreadsheet or process
132
-
133
- Also use it when the user says "how long the business actually waits to be paid and how long it
134
- actually takes to pay, measured per party", or describes the same process happening in a
135
- spreadsheet, a document or someone inboxes.
136
-
137
- Do not use it for: collections chasing, credit-control action plans, payment execution, banking
138
- operations, employee analysis, disciplinary decisions, or legal advice. This skill designs
139
- templates and analysis structures. It does not execute financial transactions, and it produces
140
- empty templates only - it never holds or processes real customer or supplier data.
141
-
142
- ## How It Works
143
-
144
- Follow the shared execution contract and the detailed domain workflow in [the bundled how-it-works reference](references/how-it-works.md). Keep unknown values explicit and derive every output from confirmed fields.
145
-
146
- ## Field Reference
147
-
148
- The canonical fields and export mappings are maintained in [the bundled field-reference document](references/field-reference.md).
149
-
150
- ## Select Options
151
-
152
- See the [bundled select-options reference](references/select-options.md).
153
-
154
- ## Relations
155
-
156
- No relation fields. This table is standalone: `Party Name` is free text because no party master
157
- table is created by this build, and inventing a link to a database that does not exist would give
158
- a column that never resolves. Where the business later wants a live party link, add it once the
159
- party database actually exists.
160
-
161
- ## Examples
162
-
163
- Worked examples are maintained in [the bundled examples reference](references/examples.md); keep identifiers fictional and preserve the evidence boundaries.
164
-
165
- ## Best Practices
166
-
167
- See the [bundled best-practices reference](references/best-practices.md).
168
-
169
- ## Limitations
170
-
171
- - Empty templates only. It does not calculate collection periods, chase anyone, set a credit limit
172
- or recommend a change of terms. The days and the money on each row are the ones the business
173
- entered.
174
- - It measures the gap; it does not close it and it does not judge it. Whether a positive gap is
175
- worth fixing is a commercial decision, not a record.
176
- - A cycle measured from a ledger is only as good as the ledger. Reconcile the party balances
177
- first, or the days will be precise and wrong.
178
- - Overdue amounts depend on due dates being recorded against every invoice. Where they are not,
179
- the aging bucket is `Unknown` and the row is not aged - a guessed due date is worse than none.
180
- - `Estimated Working-Capital Funding` is an estimate on a stated basis, not a cash-flow forecast.
181
- It excludes retention, factoring, bill discounting, foreign currency settlement timing and any
182
- seasonality the annualised basis does not carry.
183
- - Averages hide concentration. A party-period row is not evidence about how the total is
184
- distributed across parties; read the detail dataset for that.
185
- - `Data Quality Status` is a judgement the module cannot make for you. It records the checks that
186
- were run and what they returned.
187
- - Notion relations need both databases imported before a link column resolves; this module has no
188
- relation columns to worry about.
189
- - Select options are a starting set. Rename them to match how the business talks.
190
- - No automation, reminders or sync. Those need the integration layer.
191
- - Legal, tax and HR review is still required before this drives real decisions.
192
-
193
- ## Security & Safety Notes
194
-
195
- See the [bundled security-notes reference](references/security-notes.md).
196
-
197
- ## Common Pitfalls
198
-
199
- See the [bundled common-pitfalls reference](references/common-pitfalls.md) for review guidance.
200
-
201
- ## Related Skills
202
-
203
- - @accounting-audit-system-builder - routes to this skill and the other 15 modules.
204
- - @party-ledger-reconciliation - agree the balances before measuring the cycle.
205
- - @sales-accounting - where the credit movement on the debtor side is recorded.
206
- - @purchase-accounting - where the credit movement on the creditor side is recorded.
207
- - @receipt-accounting - the collections that shorten the debtor cycle.
208
- - @payment-accounting - the payments that set the creditor cycle.
209
- - @day-book - the cash movement behind both cycles.
210
- - @monthly-closing-statements - the receivables and payables review this measures.
211
- - @source-document-filing - where the invoice or bill behind an aging line is filed.
212
- - @tds-booking-payment - deductions taken on collection, which change the settled amount.
213
- - @petty-cash-management - the small working-capital swings this sits alongside.
214
- - @expense-accounting - the expense detail behind a payment cycle.
215
- - @inventory-stock-reconciliation - the same count discipline applied to stock.
216
-
217
- ## Reusable Prompt
218
-
219
- ```
220
- I want to set up a system for measuring how long my business waits to be paid by customers and
221
- how long it takes to pay suppliers, measured per party and per period.
222
-
223
- Ask me one short question per message, and only about what I have not already told you. Do not
224
- assume that contractual payment terms are the same as actual payment behaviour, and never batch
225
- two questions into one message.
226
-
227
- First understand: whether customers and suppliers are both included and how many parties; the
228
- contractual payment terms and the actual cycle measured separately for customers and for
229
- suppliers; the measurement basis (invoice or bill date to settlement date, to first settlement
230
- date, due date to settlement date, or a weighted settlement date); whether due dates are recorded
231
- and whether aging is possible at invoice or bill level; which aging buckets are already in use;
232
- whether part-payments occur; the current process and how it is reconciled; and whether I need
233
- cycle measurement, aging, the debtor-versus-creditor comparison, working-capital analysis, or all
234
- of them.
235
-
236
- Then recommend the smallest setup that fits, explain briefly why the layers are needed, and wait
237
- for me to ask before you build anything.
238
-
239
- Use three logical datasets, and do not force them into one table:
240
- party-period credit-cycle summary
241
- invoice/bill aging detail
242
- per-period debtor-versus-creditor working-capital comparison
243
-
244
- Keep these six concepts separate, and never substitute one for another:
245
- contractual terms
246
- actual cycle
247
- benchmark
248
- aging
249
- debtor-creditor cycle gap
250
- working-capital funding
251
-
252
- The party-period summary uses: Analysis Number, Period Start, Period End, Party Type, Party Name,
253
- Opening Balance, Credit Movement, Settlement, Adjustments, Closing Balance, Average Balance,
254
- Measurement Basis, Contractual Terms Days, Actual Collection/Payment Days, Weighted Days, Overdue
255
- Amount, Current Amount, Aging 0-30 Amount, Aging 31-60 Amount, Aging 61-90 Amount, Aging 91-180 Amount, Aging Over 180 Amount,
256
- Customer Credit Limit, Customer Credit Utilisation %, Benchmark Days, Gap vs Benchmark, Cycle
257
- Trend, Reconciliation Status, Data Quality Status, Reviewed By, Status, Notes, Cycle Analysis ID.
258
- Customer Credit Limit and Customer Credit Utilisation % are customer-only and are never applied
259
- to a supplier.
260
-
261
- The invoice/bill aging detail uses: Aging Detail ID, Party Type, Party Name, Invoice/Bill Number,
262
- Invoice/Bill Date, Due Date, Original Amount, Settled Amount, Outstanding Amount, Settlement Date,
263
- Days Overdue, Aging Bucket, Period End, Notes. A party can hold several aging buckets at the same
264
- time, so a single Aging Bucket never sits on a party-period row.
265
-
266
- The working-capital comparison uses: Comparison ID, Period Start, Period End, Debtor Collection
267
- Days, Creditor Payment Days, Cycle Gap Days, Relevant Daily Credit Movement, Estimated
268
- Working-Capital Funding, Calculation Basis, Data Quality Status, Cycle Trend, Reviewed By, Status,
269
- Notes.
270
-
271
- Use these calculations:
272
- Closing Balance = Opening Balance + Credit Movement - Settlement +/- Adjustments
273
- Cycle Gap Days = Debtor Collection Days - Creditor Payment Days
274
- Gap vs Benchmark = Actual Collection/Payment Days - Benchmark Days
275
- Days Overdue = Period End - Due Date
276
- Customer Credit Utilisation % = Outstanding Customer Balance / Customer Credit Limit x 100
277
- Estimated Working-Capital Funding = Cycle Gap Days x Relevant Daily Credit Movement
278
- Weighted Settlement Date = SUM (Settled Amount x Settlement Date) / SUM (Settled Amount)
279
-
280
- Calculate actual collection and payment days from documented invoice/bill and settlement dates.
281
- Support partial payments with the weighted settlement calculation and record that it was used. Do
282
- not use contractual terms as actual cycle days. Interpret the cycle gap descriptively - a
283
- positive gap is not automatically bad. Do not guess a due date from payment terms. Compute
284
- working-capital funding only when a monetary basis exists, and always record Calculation Basis
285
- alongside it.
286
-
287
- A benchmark must be supplied by me, explicitly selected by me, or clearly labelled a proposed
288
- default - never presented as a business target.
289
-
290
- Before a record is complete, validate the balance reconciliation and the data quality, and record
291
- Reconciliation Status and Data Quality Status. Never silently correct an inconsistent balance.
292
- Never invent a missing value, benchmark, currency, date, payment behaviour, credit limit or
293
- financial impact. Unknown is a correct answer and is never turned into zero.
294
-
295
- When I explicitly ask for artifacts, build one canonical field dictionary first and derive every
296
- requested artifact from it. If I ask for all four, produce CSV, SQL DDL, JSON Schema and the
297
- Notion property mapping, with identical field names, types, order and required status across all
298
- four. Use obviously fake example data only.
299
-
300
- If I ask for a review, review the existing design instead of rebuilding it. If I ask for a fix,
301
- preserve the valid information I supplied and correct only the structural, calculation,
302
- data-quality and consistency problems.
303
- ```