pi-skill-search 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (299) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/LICENSE +21 -0
  3. package/README.md +97 -0
  4. package/index.ts +163 -0
  5. package/package.json +48 -0
  6. package/skills/adaptyv/SKILL.md +92 -0
  7. package/skills/add-community-extension/SKILL.md +85 -0
  8. package/skills/aeon/SKILL.md +111 -0
  9. package/skills/ai-slop-cleaner/SKILL.md +118 -0
  10. package/skills/anndata/SKILL.md +83 -0
  11. package/skills/arboreto/SKILL.md +107 -0
  12. package/skills/ask/SKILL.md +55 -0
  13. package/skills/astropy/SKILL.md +30 -0
  14. package/skills/async-worker-recovery/SKILL.md +44 -0
  15. package/skills/autopilot/SKILL.md +63 -0
  16. package/skills/autoresearch/SKILL.md +64 -0
  17. package/skills/autoskill/SKILL.md +116 -0
  18. package/skills/babysit/SKILL.md +43 -0
  19. package/skills/benchling-integration/SKILL.md +106 -0
  20. package/skills/bgpt-paper-search/SKILL.md +67 -0
  21. package/skills/biopython/SKILL.md +29 -0
  22. package/skills/bioservices/SKILL.md +96 -0
  23. package/skills/brainstorming/SKILL.md +104 -0
  24. package/skills/cancel/SKILL.md +85 -0
  25. package/skills/ccg/SKILL.md +87 -0
  26. package/skills/celery-pipeline/SKILL.md +30 -0
  27. package/skills/cellxgene-census/SKILL.md +104 -0
  28. package/skills/child-pi-spawning/SKILL.md +85 -0
  29. package/skills/cirq/SKILL.md +113 -0
  30. package/skills/citation-management/SKILL.md +91 -0
  31. package/skills/clinical-decision-support/SKILL.md +117 -0
  32. package/skills/clinical-reports/SKILL.md +118 -0
  33. package/skills/clinical-trial/SKILL.md +28 -0
  34. package/skills/cobrapy/SKILL.md +116 -0
  35. package/skills/configure-notifications/SKILL.md +85 -0
  36. package/skills/consciousness-council/SKILL.md +120 -0
  37. package/skills/context-artifact-hygiene/SKILL.md +85 -0
  38. package/skills/context-mode-ops/SKILL.md +87 -0
  39. package/skills/dask/SKILL.md +85 -0
  40. package/skills/database-lookup/SKILL.md +118 -0
  41. package/skills/datamol/SKILL.md +108 -0
  42. package/skills/debug/SKILL.md +32 -0
  43. package/skills/deep-dive/SKILL.md +114 -0
  44. package/skills/deep-interview/SKILL.md +90 -0
  45. package/skills/deepchem/SKILL.md +117 -0
  46. package/skills/deepinit/SKILL.md +100 -0
  47. package/skills/deeptools/SKILL.md +118 -0
  48. package/skills/delegation-patterns/SKILL.md +56 -0
  49. package/skills/depmap/SKILL.md +94 -0
  50. package/skills/dhdna-profiler/SKILL.md +86 -0
  51. package/skills/diffdock/SKILL.md +101 -0
  52. package/skills/dispatching-parallel-agents/SKILL.md +119 -0
  53. package/skills/dnanexus-integration/SKILL.md +118 -0
  54. package/skills/do/SKILL.md +48 -0
  55. package/skills/docker-sandbox/SKILL.md +29 -0
  56. package/skills/docx/SKILL.md +119 -0
  57. package/skills/esm/SKILL.md +116 -0
  58. package/skills/etetoolkit/SKILL.md +103 -0
  59. package/skills/event-log-tracing/SKILL.md +85 -0
  60. package/skills/exa-search/SKILL.md +72 -0
  61. package/skills/executing-plans/SKILL.md +69 -0
  62. package/skills/exploratory-data-analysis/SKILL.md +118 -0
  63. package/skills/external-context/SKILL.md +80 -0
  64. package/skills/fastapi/SKILL.md +30 -0
  65. package/skills/finishing-a-development-branch/SKILL.md +106 -0
  66. package/skills/flowio/SKILL.md +114 -0
  67. package/skills/fluidsim/SKILL.md +108 -0
  68. package/skills/generate-image/SKILL.md +108 -0
  69. package/skills/geniml/SKILL.md +117 -0
  70. package/skills/geomaster/SKILL.md +109 -0
  71. package/skills/geopandas/SKILL.md +114 -0
  72. package/skills/get-available-resources/SKILL.md +100 -0
  73. package/skills/gget/SKILL.md +111 -0
  74. package/skills/ginkgo-cloud-lab/SKILL.md +52 -0
  75. package/skills/git-master/SKILL.md +85 -0
  76. package/skills/glycoengineering/SKILL.md +104 -0
  77. package/skills/gtars/SKILL.md +104 -0
  78. package/skills/hackernews-frontpage/SKILL.md +46 -0
  79. package/skills/histolab/SKILL.md +98 -0
  80. package/skills/how-it-works/SKILL.md +25 -0
  81. package/skills/hud/SKILL.md +86 -0
  82. package/skills/hugging-science/SKILL.md +93 -0
  83. package/skills/huggingface/SKILL.md +30 -0
  84. package/skills/hypogenic/SKILL.md +107 -0
  85. package/skills/hypothesis-generation/SKILL.md +118 -0
  86. package/skills/imaging-data-commons/SKILL.md +119 -0
  87. package/skills/infographics/SKILL.md +102 -0
  88. package/skills/iso-13485-certification/SKILL.md +114 -0
  89. package/skills/knowledge-agent/SKILL.md +83 -0
  90. package/skills/labarchive-integration/SKILL.md +98 -0
  91. package/skills/lamindb/SKILL.md +119 -0
  92. package/skills/landsat/SKILL.md +29 -0
  93. package/skills/latchbio-integration/SKILL.md +118 -0
  94. package/skills/latex-posters/SKILL.md +112 -0
  95. package/skills/learn-codebase/SKILL.md +24 -0
  96. package/skills/learner/SKILL.md +118 -0
  97. package/skills/literature-review/SKILL.md +118 -0
  98. package/skills/live-agent-lifecycle/SKILL.md +85 -0
  99. package/skills/mailbox-interactive/SKILL.md +85 -0
  100. package/skills/make-plan/SKILL.md +59 -0
  101. package/skills/markdown-mermaid-writing/SKILL.md +118 -0
  102. package/skills/market-research-reports/SKILL.md +119 -0
  103. package/skills/markitdown/SKILL.md +111 -0
  104. package/skills/markitdown-docs/SKILL.md +28 -0
  105. package/skills/matchms/SKILL.md +91 -0
  106. package/skills/matlab/SKILL.md +118 -0
  107. package/skills/matplotlib/SKILL.md +30 -0
  108. package/skills/mcp-setup/SKILL.md +84 -0
  109. package/skills/medchem/SKILL.md +109 -0
  110. package/skills/mem-search/SKILL.md +96 -0
  111. package/skills/modal/SKILL.md +104 -0
  112. package/skills/model-routing-context/SKILL.md +85 -0
  113. package/skills/molecular-dynamics/SKILL.md +116 -0
  114. package/skills/molfeat/SKILL.md +110 -0
  115. package/skills/multi-perspective-review/SKILL.md +85 -0
  116. package/skills/networkx/SKILL.md +111 -0
  117. package/skills/neurokit2/SKILL.md +114 -0
  118. package/skills/neuropixels-analysis/SKILL.md +112 -0
  119. package/skills/nilearn/SKILL.md +29 -0
  120. package/skills/observability-reliability/SKILL.md +43 -0
  121. package/skills/omc-doctor/SKILL.md +86 -0
  122. package/skills/omc-reference/SKILL.md +119 -0
  123. package/skills/omc-setup/SKILL.md +82 -0
  124. package/skills/omc-teams/SKILL.md +81 -0
  125. package/skills/omero-integration/SKILL.md +111 -0
  126. package/skills/open-notebook/SKILL.md +100 -0
  127. package/skills/openephys/SKILL.md +28 -0
  128. package/skills/opentrons-integration/SKILL.md +110 -0
  129. package/skills/optimize-for-gpu/SKILL.md +119 -0
  130. package/skills/orchestration/SKILL.md +85 -0
  131. package/skills/ownership-session-security/SKILL.md +43 -0
  132. package/skills/paper-lookup/SKILL.md +119 -0
  133. package/skills/paperzilla/SKILL.md +114 -0
  134. package/skills/parallel-web/SKILL.md +64 -0
  135. package/skills/pathfinder/SKILL.md +114 -0
  136. package/skills/pathml/SKILL.md +98 -0
  137. package/skills/pdf/SKILL.md +113 -0
  138. package/skills/peer-review/SKILL.md +119 -0
  139. package/skills/pennylane/SKILL.md +119 -0
  140. package/skills/phylogenetics/SKILL.md +102 -0
  141. package/skills/pi-extension-lifecycle/SKILL.md +41 -0
  142. package/skills/plan/SKILL.md +66 -0
  143. package/skills/polars/SKILL.md +114 -0
  144. package/skills/polars-bio/SKILL.md +84 -0
  145. package/skills/pptx/SKILL.md +118 -0
  146. package/skills/pptx-posters/SKILL.md +112 -0
  147. package/skills/primekg/SKILL.md +97 -0
  148. package/skills/project-session-manager/SKILL.md +85 -0
  149. package/skills/protocolsio-integration/SKILL.md +119 -0
  150. package/skills/pubmed-search/SKILL.md +29 -0
  151. package/skills/pufferlib/SKILL.md +103 -0
  152. package/skills/pydeseq2/SKILL.md +106 -0
  153. package/skills/pydicom/SKILL.md +115 -0
  154. package/skills/pyhealth/SKILL.md +117 -0
  155. package/skills/pylabrobot/SKILL.md +100 -0
  156. package/skills/pymatgen/SKILL.md +28 -0
  157. package/skills/pymc/SKILL.md +108 -0
  158. package/skills/pymoo/SKILL.md +90 -0
  159. package/skills/pyopenms/SKILL.md +119 -0
  160. package/skills/pysam/SKILL.md +118 -0
  161. package/skills/pyspark/SKILL.md +30 -0
  162. package/skills/pytdc/SKILL.md +102 -0
  163. package/skills/pytorch/SKILL.md +31 -0
  164. package/skills/pytorch-lightning/SKILL.md +119 -0
  165. package/skills/pyzotero/SKILL.md +104 -0
  166. package/skills/qiskit/SKILL.md +119 -0
  167. package/skills/qutip/SKILL.md +111 -0
  168. package/skills/ralph/SKILL.md +23 -0
  169. package/skills/ralplan/SKILL.md +105 -0
  170. package/skills/rdflib/SKILL.md +29 -0
  171. package/skills/rdkit/SKILL.md +30 -0
  172. package/skills/read-only-explorer/SKILL.md +85 -0
  173. package/skills/receiving-code-review/SKILL.md +103 -0
  174. package/skills/release/SKILL.md +117 -0
  175. package/skills/remember/SKILL.md +39 -0
  176. package/skills/requesting-code-review/SKILL.md +85 -0
  177. package/skills/requirements-to-task-packet/SKILL.md +65 -0
  178. package/skills/research-grants/SKILL.md +118 -0
  179. package/skills/research-lookup/SKILL.md +117 -0
  180. package/skills/research-reproducibility/SKILL.md +28 -0
  181. package/skills/resource-discovery-config/SKILL.md +43 -0
  182. package/skills/rowan/SKILL.md +100 -0
  183. package/skills/runtime-state-reader/SKILL.md +46 -0
  184. package/skills/safe-bash/SKILL.md +85 -0
  185. package/skills/scanpy/SKILL.md +32 -0
  186. package/skills/scholar-evaluation/SKILL.md +115 -0
  187. package/skills/scientific-brainstorming/SKILL.md +118 -0
  188. package/skills/scientific-critical-thinking/SKILL.md +119 -0
  189. package/skills/scientific-schematics/SKILL.md +116 -0
  190. package/skills/scientific-slides/SKILL.md +117 -0
  191. package/skills/scientific-visualization/SKILL.md +109 -0
  192. package/skills/scientific-writing/SKILL.md +119 -0
  193. package/skills/scikit-bio/SKILL.md +92 -0
  194. package/skills/scikit-learn/SKILL.md +99 -0
  195. package/skills/scikit-survival/SKILL.md +110 -0
  196. package/skills/sciomc/SKILL.md +86 -0
  197. package/skills/scvelo/SKILL.md +106 -0
  198. package/skills/scvi-tools/SKILL.md +114 -0
  199. package/skills/seaborn/SKILL.md +97 -0
  200. package/skills/secure-agent-orchestration-review/SKILL.md +47 -0
  201. package/skills/self-improve/SKILL.md +119 -0
  202. package/skills/semantic-compression/SKILL.md +62 -0
  203. package/skills/setup/SKILL.md +42 -0
  204. package/skills/shap/SKILL.md +103 -0
  205. package/skills/simpy/SKILL.md +116 -0
  206. package/skills/skill/SKILL.md +117 -0
  207. package/skills/skill-search/SKILL.md +67 -0
  208. package/skills/skillify/SKILL.md +46 -0
  209. package/skills/smart-explore/SKILL.md +94 -0
  210. package/skills/sqlite-pandas/SKILL.md +30 -0
  211. package/skills/stable-baselines3/SKILL.md +86 -0
  212. package/skills/state-mutation-locking/SKILL.md +44 -0
  213. package/skills/statistical-analysis/SKILL.md +108 -0
  214. package/skills/statsmodels/SKILL.md +29 -0
  215. package/skills/subagent-driven-development/SKILL.md +89 -0
  216. package/skills/sympy/SKILL.md +115 -0
  217. package/skills/system-prompts/SKILL.md +116 -0
  218. package/skills/systematic-debugging/SKILL.md +119 -0
  219. package/skills/team/SKILL.md +85 -0
  220. package/skills/test-driven-development/SKILL.md +84 -0
  221. package/skills/tiledbvcf/SKILL.md +119 -0
  222. package/skills/timeline-report/SKILL.md +85 -0
  223. package/skills/timesfm-forecasting/SKILL.md +112 -0
  224. package/skills/torch-geometric/SKILL.md +118 -0
  225. package/skills/torchdrug/SKILL.md +118 -0
  226. package/skills/trace/SKILL.md +118 -0
  227. package/skills/transformers/SKILL.md +110 -0
  228. package/skills/treatment-plans/SKILL.md +119 -0
  229. package/skills/ui-render-performance/SKILL.md +41 -0
  230. package/skills/ultragoal/SKILL.md +63 -0
  231. package/skills/ultraqa/SKILL.md +85 -0
  232. package/skills/ultrawork/SKILL.md +20 -0
  233. package/skills/umap-learn/SKILL.md +119 -0
  234. package/skills/usfiscaldata/SKILL.md +118 -0
  235. package/skills/using-git-worktrees/SKILL.md +112 -0
  236. package/skills/using-superpowers/SKILL.md +85 -0
  237. package/skills/using-vetc/SKILL.md +92 -0
  238. package/skills/vaex/SKILL.md +111 -0
  239. package/skills/venue-templates/SKILL.md +113 -0
  240. package/skills/verification-before-completion/SKILL.md +88 -0
  241. package/skills/verification-before-done/SKILL.md +68 -0
  242. package/skills/verify/SKILL.md +33 -0
  243. package/skills/version-bump/SKILL.md +54 -0
  244. package/skills/vetc-analyze-ba/SKILL.md +117 -0
  245. package/skills/vetc-analyze-codebase/SKILL.md +118 -0
  246. package/skills/vetc-api-design/SKILL.md +103 -0
  247. package/skills/vetc-brainstorming/SKILL.md +116 -0
  248. package/skills/vetc-change-proposal/SKILL.md +111 -0
  249. package/skills/vetc-cicd/SKILL.md +113 -0
  250. package/skills/vetc-continuous-learning/SKILL.md +115 -0
  251. package/skills/vetc-deep-interview/SKILL.md +103 -0
  252. package/skills/vetc-docgen/SKILL.md +108 -0
  253. package/skills/vetc-frontend-patterns/SKILL.md +99 -0
  254. package/skills/vetc-iterative-retrieval/SKILL.md +110 -0
  255. package/skills/vetc-java-patterns/SKILL.md +113 -0
  256. package/skills/vetc-meta-skill-creator/SKILL.md +99 -0
  257. package/skills/vetc-oracle-patterns/SKILL.md +109 -0
  258. package/skills/vetc-performance-testing/SKILL.md +104 -0
  259. package/skills/vetc-pr-response/SKILL.md +106 -0
  260. package/skills/vetc-ralph/SKILL.md +108 -0
  261. package/skills/vetc-ralplan/SKILL.md +116 -0
  262. package/skills/vetc-receiving-review/SKILL.md +106 -0
  263. package/skills/vetc-reconcile-patterns/SKILL.md +117 -0
  264. package/skills/vetc-refactoring/SKILL.md +96 -0
  265. package/skills/vetc-runbook/SKILL.md +118 -0
  266. package/skills/vetc-sast/SKILL.md +118 -0
  267. package/skills/vetc-sdlc/SKILL.md +97 -0
  268. package/skills/vetc-security/SKILL.md +117 -0
  269. package/skills/vetc-spec-driven/SKILL.md +111 -0
  270. package/skills/vetc-spec-quality/SKILL.md +117 -0
  271. package/skills/vetc-systematic-debugging/SKILL.md +74 -0
  272. package/skills/vetc-tdd/SKILL.md +96 -0
  273. package/skills/vetc-thinking-pm/SKILL.md +110 -0
  274. package/skills/vetc-ui-visual-qa/SKILL.md +117 -0
  275. package/skills/vetc-verify/SKILL.md +101 -0
  276. package/skills/visual-verdict/SKILL.md +59 -0
  277. package/skills/what-if-oracle/SKILL.md +87 -0
  278. package/skills/widget-rendering/SKILL.md +85 -0
  279. package/skills/wiki/SKILL.md +69 -0
  280. package/skills/workspace-isolation/SKILL.md +85 -0
  281. package/skills/worktree-isolation/SKILL.md +85 -0
  282. package/skills/wowerpoint/SKILL.md +101 -0
  283. package/skills/writer-memory/SKILL.md +82 -0
  284. package/skills/writing-plans/SKILL.md +115 -0
  285. package/skills/writing-skills/SKILL.md +115 -0
  286. package/skills/xgboost/SKILL.md +29 -0
  287. package/skills/xgboost-ts/SKILL.md +28 -0
  288. package/skills/xlsx/SKILL.md +111 -0
  289. package/skills/zarr-python/SKILL.md +101 -0
  290. package/src/categories.ts +383 -0
  291. package/src/format.ts +104 -0
  292. package/src/indexer.ts +101 -0
  293. package/src/proactive.ts +51 -0
  294. package/src/scanner.ts +85 -0
  295. package/src/search.ts +89 -0
  296. package/src/strip.ts +29 -0
  297. package/src/synonyms.ts +83 -0
  298. package/src/text.ts +118 -0
  299. package/src/types.ts +64 -0
@@ -0,0 +1,82 @@
1
+ ---
2
+ name: writer-memory
3
+ description: Agentic memory system for writers - track characters, relationships, scenes, and themes
4
+ ---
5
+
6
+ # Writer Memory - Agentic Memory System for Writers
7
+
8
+ Persistent memory system designed for creative writers, with first-class support for Korean storytelling workflows.
9
+
10
+ ## Overview
11
+
12
+ Writer Memory maintains context across Claude sessions for fiction writers. It tracks:
13
+
14
+ - **Characters (캐릭터)**: Emotional arcs (감정궤도), attitudes (태도), dialogue tone (대사톤), speech levels
15
+ - **World (세계관)**: Settings, rules, atmosphere, constraints
16
+ - **Relationships (관계)**: Character dynamics and evolution over time
17
+ - **Scenes (장면)**: Cut composition (컷구성), narration tone, emotional tags
18
+ - **Themes (테마)**: Emotional themes (정서테마), authorial intent
19
+
20
+ All data persists in `.writer-memory/memory.json` for git-friendly collaboration.
21
+
22
+ ## Commands
23
+
24
+ | Command | Action |
25
+ |---------|--------|
26
+ | `writer-memory init <project-name>` | Initialize new project memory |
27
+ | `writer-memory status` | Show memory overview (character count, scene count, etc) |
28
+ | `writer-memory char add ` | Add new character |
29
+ | `writer-memory char ` | View character details |
30
+ | `writer-memory char update <field> <value>` | Update character field |
31
+ | `writer-memory char list` | List all characters |
32
+ | `writer-memory rel add <char1> <char2> <type>` | Add relationship |
33
+ | `writer-memory rel <char1> <char2>` | View relationship |
34
+ | `writer-memory rel update <char1> <char2> <event>` | Add relationship event |
35
+ | `writer-memory scene add <title>` | Add new scene |
36
+ | `writer-memory scene <id>` | View scene details |
37
+
38
+ ## Memory Types
39
+
40
+ ### 캐릭터 메모리 (Character Memory)
41
+
42
+ Tracks individual character attributes essential for consistent portrayal:
43
+
44
+ | Field | Korean | Description |
45
+ |-------|--------|-------------|
46
+ | `arc` | 감정궤도 | Emotional journey (e.g., "체념 -> 욕망자각 -> 선택") |
47
+ | `attitude` | 태도 | Current disposition toward life/others |
48
+ | `tone` | 대사톤 | Dialogue style (e.g., "담백", "직설적", "회피적") |
49
+ | `speechLevel` | 말투 레벨 | Formality: 반말, 존댓말, 해체, 혼합 |
50
+ | `keywords` | 핵심 단어 | Characteristic words/phrases they use |
51
+ | `taboo` | 금기어 | Words/phrases they would never say |
52
+ | `emotional_baseline` | 감정 기준선 | Default emotional state |
53
+ | `triggers` | 트리거 | What provokes emotional reactions |
54
+
55
+ ### 세계관 메모리 (World Memory)
56
+
57
+ Establishes the universe your story inhabits:
58
+
59
+ | Field | Korean | Description |
60
+ |-------|--------|-------------|
61
+ | `setting` | 배경 | Time, place, social context |
62
+ | `rules` | 규칙 | How the world operates (magic systems, social norms) |
63
+ | `atmosphere` | 분위기 | Overall mood and tone |
64
+ | `constraints` | 제약 | What cannot happen in this world |
65
+ | `history` | 역사 | Relevant backstory |
66
+
67
+ ### 관계 메모리 (Relationship Memory)
68
+
69
+ Captures the dynamic between characters over time:
70
+
71
+ | Field | Description |
72
+ |-------|-------------|
73
+ | `type` | Base relationship: romantic, familial, friendship, rivalry, professional |
74
+ | `status` | Current state: budding, stable, strained, broken, healing |
75
+ | `power_dynamic` | Who has the upper hand, if any |
76
+ | `events` | Timeline of relationship-changing moments |
77
+ | `tension` | Current unresolved conflicts |
78
+ | `intimacy_level` | Emotional closeness (1-10) |
79
+
80
+ **Example:**
81
+
82
+
@@ -0,0 +1,115 @@
1
+ ---
2
+ name: writing-plans
3
+ description: Use when you have a spec or requirements for a multi-step task, before touching code
4
+ ---
5
+
6
+ # Writing Plans
7
+
8
+ ## Overview
9
+
10
+ Write comprehensive implementation plans assuming the engineer has zero context for our codebase and questionable taste. Document everything they need to know: which files to touch for each task, code, testing, docs they might need to check, how to test it. Give them the whole plan as bite-sized tasks. DRY. YAGNI. TDD. Frequent commits.
11
+
12
+ Assume they are a skilled developer, but know almost nothing about our toolset or problem domain. Assume they don't know good test design very well.
13
+
14
+ **Announce at start:** "I'm using the writing-plans skill to create the implementation plan."
15
+
16
+ **Context:** If working in an isolated worktree, it should have been created via the `superpowers:using-git-worktrees` skill at execution time.
17
+
18
+ **Save plans to:** `docs/superpowers/plans/YYYY-MM-DD-<feature-name>.md`
19
+ - (User preferences for plan location override this default)
20
+
21
+ ## Scope Check
22
+
23
+ If the spec covers multiple independent subsystems, it should have been broken into sub-project specs during brainstorming. If it wasn't, suggest breaking this into separate plans — one per subsystem. Each plan should produce working, testable software on its own.
24
+
25
+ ## File Structure
26
+
27
+ Before defining tasks, map out which files will be created or modified and what each one is responsible for. This is where decomposition decisions get locked in.
28
+
29
+ - Design units with clear boundaries and well-defined interfaces. Each file should have one clear responsibility.
30
+ - You reason best about code you can hold in context at once, and your edits are more reliable when files are focused. Prefer smaller, focused files over large ones that do too much.
31
+ - Files that change together should live together. Split by responsibility, not by technical layer.
32
+ - In existing codebases, follow established patterns. If the codebase uses large files, don't unilaterally restructure - but if a file you're modifying has grown unwieldy, including a split in the plan is reasonable.
33
+
34
+ This structure informs the task decomposition. Each task should produce self-contained changes that make sense independently.
35
+
36
+ ## Bite-Sized Task Granularity
37
+
38
+ **Each step is one action (2-5 minutes):**
39
+ - "Write the failing test" - step
40
+ - "Run it to make sure it fails" - step
41
+ - "Implement the minimal code to make the test pass" - step
42
+ - "Run the tests and make sure they pass" - step
43
+ - "Commit" - step
44
+
45
+ ## Plan Document Header
46
+
47
+ **Every plan MUST start with this header:**
48
+
49
+ ```markdown
50
+ # [Feature Name] Implementation Plan
51
+
52
+ > **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
53
+
54
+ **Goal:** [One sentence describing what this builds]
55
+
56
+ **Architecture:** [2-3 sentences about approach]
57
+
58
+ **Tech Stack:** [Key technologies/libraries]
59
+
60
+ ---
61
+ ```
62
+
63
+ ## Task Structure
64
+
65
+ ````markdown
66
+ ### Task N: [Component Name]
67
+
68
+ **Files:**
69
+ - Create: `exact/path/to/file.py`
70
+ - Modify: `exact/path/to/existing.py:123-145`
71
+ - Test: `tests/exact/path/to/test.py`
72
+
73
+ - [ ] **Step 1: Write the failing test**
74
+
75
+ ```python
76
+ def test_specific_behavior():
77
+ result = function(input)
78
+ assert result == expected
79
+
80
+
81
+ ## No Placeholders
82
+
83
+ Every step must contain the actual content an engineer needs. These are **plan failures** — never write them:
84
+ - "TBD", "TODO", "implement later", "fill in details"
85
+ - "Add appropriate error handling" / "add validation" / "handle edge cases"
86
+ - "Write tests for the above" (without actual test code)
87
+ - "Similar to Task N" (repeat the code — the engineer may be reading tasks out of order)
88
+ - Steps that describe what to do without showing how (code blocks required for code steps)
89
+ - References to types, functions, or methods not defined in any task
90
+
91
+ ## Remember
92
+ - Exact file paths always
93
+ - Complete code in every step — if a step changes code, show the code
94
+ - Exact commands with expected output
95
+ - DRY, YAGNI, TDD, frequent commits
96
+
97
+ ## Self-Review
98
+
99
+ After writing the complete plan, look at the spec with fresh eyes and check the plan against it. This is a checklist you run yourself — not a subagent dispatch.
100
+
101
+ **1. Spec coverage:** Skim each section/requirement in the spec. Can you point to a task that implements it? List any gaps.
102
+
103
+ **2. Placeholder scan:** Search your plan for red flags — any of the patterns from the "No Placeholders" section above. Fix them.
104
+
105
+ **3. Type consistency:** Do the types, method signatures, and property names you used in later tasks match what you defined in earlier tasks? A function called `clearLayers()` in Task 3 but `clearFullLayers()` in Task 7 is a bug.
106
+
107
+ If you find issues, fix them inline. No need to re-review — just fix and move on. If you find a spec requirement with no task, add the task.
108
+
109
+ ## Execution Handoff
110
+
111
+ After saving the plan, offer execution choice:
112
+
113
+ **"Plan complete and saved to `docs/superpowers/plans/<filename>.md`. Two execution options:**
114
+
115
+
@@ -0,0 +1,115 @@
1
+ ---
2
+ name: writing-skills
3
+ description: Use when creating new skills, editing existing skills, or verifying skills work before deployment
4
+ ---
5
+
6
+ # Writing Skills
7
+
8
+ ## Overview
9
+
10
+ **Writing skills IS Test-Driven Development applied to process documentation.**
11
+
12
+ **Personal skills live in agent-specific directories (`~/.claude/skills` for Claude Code, `~/.agents/skills/` for Codex)**
13
+
14
+ You write test cases (pressure scenarios with subagents), watch them fail (baseline behavior), write the skill (documentation), watch tests pass (agents comply), and refactor (close loopholes).
15
+
16
+ **Core principle:** If you didn't watch an agent fail without the skill, you don't know if the skill teaches the right thing.
17
+
18
+ **REQUIRED BACKGROUND:** You MUST understand superpowers:test-driven-development before using this skill. That skill defines the fundamental RED-GREEN-REFACTOR cycle. This skill adapts TDD to documentation.
19
+
20
+ **Official guidance:** For Anthropic's official skill authoring best practices, see anthropic-best-practices.md. This document provides additional patterns and guidelines that complement the TDD-focused approach in this skill.
21
+
22
+ ## What is a Skill?
23
+
24
+ A **skill** is a reference guide for proven techniques, patterns, or tools. Skills help future Claude instances find and apply effective approaches.
25
+
26
+ **Skills are:** Reusable techniques, patterns, tools, reference guides
27
+
28
+ **Skills are NOT:** Narratives about how you solved a problem once
29
+
30
+ ## TDD Mapping for Skills
31
+
32
+ | TDD Concept | Skill Creation |
33
+ |-------------|----------------|
34
+ | **Test case** | Pressure scenario with subagent |
35
+ | **Production code** | Skill document (SKILL.md) |
36
+ | **Test fails (RED)** | Agent violates rule without skill (baseline) |
37
+ | **Test passes (GREEN)** | Agent complies with skill present |
38
+ | **Refactor** | Close loopholes while maintaining compliance |
39
+ | **Write test first** | Run baseline scenario BEFORE writing skill |
40
+ | **Watch it fail** | Document exact rationalizations agent uses |
41
+ | **Minimal code** | Write skill addressing those specific violations |
42
+ | **Watch it pass** | Verify agent now complies |
43
+ | **Refactor cycle** | Find new rationalizations → plug → re-verify |
44
+
45
+ The entire skill creation process follows RED-GREEN-REFACTOR.
46
+
47
+ ## When to Create a Skill
48
+
49
+ **Create when:**
50
+ - Technique wasn't intuitively obvious to you
51
+ - You'd reference this again across projects
52
+ - Pattern applies broadly (not project-specific)
53
+ - Others would benefit
54
+
55
+ **Don't create for:**
56
+ - One-off solutions
57
+ - Standard practices well-documented elsewhere
58
+ - Project-specific conventions (put in CLAUDE.md)
59
+ - Mechanical constraints (if it's enforceable with regex/validation, automate it—save documentation for judgment calls)
60
+
61
+ ## Skill Types
62
+
63
+ ### Technique
64
+ Concrete method with steps to follow (condition-based-waiting, root-cause-tracing)
65
+
66
+ ### Pattern
67
+ Way of thinking about problems (flatten-with-flags, test-invariants)
68
+
69
+ ## Directory Structure
70
+
71
+
72
+ ```
73
+ skills/
74
+ skill-name/
75
+ SKILL.md # Main reference (required)
76
+ supporting-file.* # Only if needed
77
+
78
+ **Flat namespace** - all skills in one searchable namespace
79
+
80
+ **Separate files for:**
81
+ 1. **Heavy reference** (100+ lines) - API docs, comprehensive syntax
82
+ 2. **Reusable tools** - Scripts, utilities, templates
83
+
84
+ ## SKILL.md Structure
85
+
86
+ **Frontmatter (YAML):**
87
+ - Two required fields: `name` and `description` (see [agentskills.io/specification](https://agentskills.io/specification) for all supported fields)
88
+ - Max 1024 characters total
89
+ - `name`: Use letters, numbers, and hyphens only (no parentheses, special chars)
90
+ - `description`: Third-person, describes ONLY when to use (NOT what it does)
91
+ - Start with "Use when..." to focus on triggering conditions
92
+ - Include specific symptoms, situations, and contexts
93
+ - **NEVER summarize the skill's process or workflow** (see CSO section for why)
94
+ - Keep under 500 characters if possible
95
+
96
+ ```markdown
97
+ ---
98
+ name: Skill-Name-With-Hyphens
99
+ description: Use when [specific triggering conditions and symptoms]
100
+ ---
101
+
102
+ # Skill Name
103
+
104
+ ## Overview
105
+ What is this? Core principle in 1-2 sentences.
106
+
107
+ ## When to Use
108
+ [Small inline flowchart IF decision non-obvious]
109
+
110
+ Bullet list with SYMPTOMS and use cases
111
+ When NOT to use
112
+
113
+ ## Core Pattern (for techniques/patterns)
114
+
115
+
@@ -0,0 +1,29 @@
1
+ ---
2
+ name: xgboost
3
+ description: Gradient boosted decision trees for machine learning. Use when training classification or regression models on tabular data, feature importance analysis, or hyperparameter tuning. Trigger on imports of xgboost, XGBClassifier, XGBRegressor, or mentions of gradient boosting, decision tree, ensemble, tabular ML, scikit, sklearn.
4
+ ---
5
+ # xgboost
6
+
7
+ Use this skill for gradient boosting on tabular data.
8
+
9
+ ## Core patterns
10
+
11
+ - **Train**: `XGBClassifier(n_estimators=500, max_depth=6, learning_rate=0.1).fit(X_train, y_train)`.
12
+ - **DMatrix**: `DMatrix(data, label)` for optimized data loading.
13
+ - **CV**: `xgb.cv(params, dtrain, num_boost_round=1000, nfold=5, early_stopping_rounds=50)`.
14
+ - **Feature importance**: `model.feature_importances_` or `xgb.plot_importance(model)`.
15
+ - **Save/Load**: `model.save_model('model.json')` / `XGBClassifier().load_model('model.json')`.
16
+
17
+ ## Rules
18
+
19
+ - Always use `early_stopping_rounds` with eval set to prevent overfitting.
20
+ - Scale `scale_pos_weight` for imbalanced datasets: `sum(negative) / sum(positive)`.
21
+ - Use `n_estimators` + `early_stopping` instead of guessing optimal round count.
22
+
23
+ ## Anti-patterns
24
+
25
+ - Don't use default hyperparameters for production — always tune.
26
+ - Don't ignore categorical encoding — XGBoost needs numeric input.
27
+ - Don't interpret feature importance as causal relationship.
28
+
29
+
@@ -0,0 +1,28 @@
1
+ ---
2
+ name: xgboost-ts
3
+ description: Time series forecasting with machine learning. Use when predicting future values from temporal data, ARIMA alternatives, seasonality decomposition, or demand forecasting. Trigger on imports of prophet, darts, or mentions of time series, forecasting, prediction, seasonal, trend, ARIMA, LSTM.
4
+ ---
5
+ # xgboost-ts
6
+
7
+ Use this skill for time series forecasting with ML approaches.
8
+
9
+ ## Core patterns
10
+
11
+ - **Features**: Create lag features (`df['lag_1'] = df['value'].shift(1)`), rolling stats, Fourier terms.
12
+ - **Train**: Split by time (not random) — use `train_test_split(shuffle=False)`.
13
+ - **Prophet**: `Prophet(yearly_seasonality=True).fit(df)` for automatic decomposition.
14
+ - **Evaluate**: MAE, MAPE, MASE on holdout — never on training data.
15
+
16
+ ## Rules
17
+
18
+ - Always use time-based split, not random — data leakage otherwise.
19
+ - Stationarity: difference the series if ADF test shows unit root.
20
+ - Cross-validation: use `TimeSeriesSplit` with expanding window.
21
+
22
+ ## Anti-patterns
23
+
24
+ - Don't use future data in lag features — check for lookahead bias.
25
+ - Don't forecast too far ahead — uncertainty grows quadratically.
26
+ - Don't ignore seasonality — decompose before modeling.
27
+
28
+
@@ -0,0 +1,111 @@
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
+ ---
5
+
6
+ # Requirements for Outputs
7
+
8
+ ## All Excel files
9
+
10
+ ### Professional Font
11
+ - Use a consistent, professional font (e.g., Arial, Times New Roman) for all deliverables unless otherwise instructed by the user
12
+
13
+ ### Zero Formula Errors
14
+ - Every Excel model MUST be delivered with ZERO formula errors (#REF!, #DIV/0!, #VALUE!, #N/A, #NAME?)
15
+
16
+ ### Preserve Existing Templates (when updating templates)
17
+ - Study and EXACTLY match existing format, style, and conventions when modifying files
18
+ - Never impose standardized formatting on files with established patterns
19
+ - Existing template conventions ALWAYS override these guidelines
20
+
21
+ ## Financial models
22
+
23
+ ### Color Coding Standards
24
+ Unless otherwise stated by the user or existing template
25
+
26
+ #### Industry-Standard Color Conventions
27
+ - **Blue text (RGB: 0,0,255)**: Hardcoded inputs, and numbers users will change for scenarios
28
+ - **Black text (RGB: 0,0,0)**: ALL formulas and calculations
29
+ - **Green text (RGB: 0,128,0)**: Links pulling from other worksheets within same workbook
30
+ - **Red text (RGB: 255,0,0)**: External links to other files
31
+ - **Yellow background (RGB: 255,255,0)**: Key assumptions needing attention or cells that need to be updated
32
+
33
+ ### Formula Construction Rules
34
+
35
+ #### Assumptions Placement
36
+ - Place ALL assumptions (growth rates, margins, multiples, etc.) in separate assumption cells
37
+ - Use cell references instead of hardcoded values in formulas
38
+ - Example: Use =B5*(1+$B$6) instead of =B5*1.05
39
+
40
+ #### Formula Error Prevention
41
+ - Verify all cell references are correct
42
+ - Check for off-by-one errors in ranges
43
+ - Ensure consistent formulas across all projection periods
44
+ - Test with edge cases (zero values, negative numbers)
45
+ - Verify no unintended circular references
46
+
47
+ #### Documentation Requirements for Hardcodes
48
+
49
+ # XLSX creation, editing, and analysis
50
+
51
+ ## Overview
52
+
53
+ 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.
54
+
55
+ ## Important Requirements
56
+
57
+ **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`)
58
+
59
+ ## Reading and analyzing data
60
+
61
+ ### Data analysis with pandas
62
+ For data analysis, visualization, and basic operations, use **pandas** which provides powerful data manipulation capabilities:
63
+
64
+ ```python
65
+ import pandas as pd
66
+
67
+ # Read Excel
68
+ df = pd.read_excel('file.xlsx') # Default: first sheet
69
+ all_sheets = pd.read_excel('file.xlsx', sheet_name=None) # All sheets as dict
70
+
71
+ # Analyze
72
+ df.head() # Preview data
73
+ df.info() # Column info
74
+ df.describe() # Statistics
75
+
76
+ # Write Excel
77
+ df.to_excel('output.xlsx', index=False)
78
+ ```
79
+
80
+ ## Excel File Workflows
81
+
82
+ ## CRITICAL: Use Formulas, Not Hardcoded Values
83
+
84
+ **Always use Excel formulas instead of calculating values in Python and hardcoding them.** This ensures the spreadsheet remains dynamic and updateable.
85
+
86
+ ### ❌ WRONG - Hardcoding Calculated Values
87
+ ```python
88
+ # Bad: Calculating in Python and hardcoding result
89
+ total = df['Sales'].sum()
90
+ sheet['B10'] = total # Hardcodes 5000
91
+
92
+ # Bad: Computing growth rate in Python
93
+ growth = (df.iloc[-1]['Revenue'] - df.iloc[0]['Revenue']) / df.iloc[0]['Revenue']
94
+ sheet['C5'] = growth # Hardcodes 0.15
95
+
96
+ # Bad: Python calculation for average
97
+ avg = sum(values) / len(values)
98
+ sheet['D20'] = avg # Hardcodes 42.5
99
+ ```
100
+
101
+ ### ✅ CORRECT - Using Excel Formulas
102
+ ```python
103
+ # Good: Let Excel calculate the sum
104
+ sheet['B10'] = '=SUM(B2:B9)'
105
+
106
+ # Good: Growth rate as Excel formula
107
+ sheet['C5'] = '=(C4-C2)/C2'
108
+
109
+ # Good: Average using Excel function
110
+ sheet['D20'] = '=AVERAGE(D2:D19)'
111
+ ```
@@ -0,0 +1,101 @@
1
+ ---
2
+ name: zarr-python
3
+ description: Chunked N-D arrays for cloud storage. Compressed arrays, parallel I/O, S3/GCS integration, NumPy/Dask/Xarray compatible, for large-scale scientific computing pipelines.
4
+ ---
5
+
6
+ # Zarr Python
7
+
8
+ ## Overview
9
+
10
+ Zarr is a Python library for storing large N-dimensional arrays with chunking and compression. Apply this skill for efficient parallel I/O, cloud-native workflows, and seamless integration with NumPy, Dask, and Xarray.
11
+
12
+ ## Quick Start
13
+
14
+ ### Basic Array Creation
15
+
16
+ ```python
17
+ import zarr
18
+ import numpy as np
19
+
20
+ # Create a 2D array with chunking and compression
21
+ z = zarr.create_array(
22
+ store="data/my_array.zarr",
23
+ shape=(10000, 10000),
24
+ chunks=(1000, 1000),
25
+ dtype="f4"
26
+ )
27
+
28
+ # Write data using NumPy-style indexing
29
+ z[:, :] = np.random.random((10000, 10000))
30
+
31
+ # Read data
32
+ data = z[0:100, 0:100] # Returns NumPy array
33
+ ```
34
+
35
+ ## Core Operations
36
+
37
+ ### Creating Arrays
38
+
39
+ Zarr provides multiple convenience functions for array creation:
40
+
41
+ ```python
42
+ # Create empty array
43
+ z = zarr.zeros(shape=(10000, 10000), chunks=(1000, 1000), dtype='f4',
44
+ store='data.zarr')
45
+
46
+ # Create filled arrays
47
+ z = zarr.ones((5000, 5000), chunks=(500, 500))
48
+ z = zarr.full((1000, 1000), fill_value=42, chunks=(100, 100))
49
+
50
+ # Create from existing data
51
+ data = np.arange(10000).reshape(100, 100)
52
+ z = zarr.array(data, chunks=(10, 10), store='data.zarr')
53
+
54
+ # Create like another array
55
+ z2 = zarr.zeros_like(z) # Matches shape, chunks, dtype of z
56
+ ```
57
+
58
+ ### Opening Existing Arrays
59
+
60
+ ```python
61
+ # Open array (read/write mode by default)
62
+ z = zarr.open_array('data.zarr', mode='r+')
63
+
64
+ # Read-only mode
65
+ z = zarr.open_array('data.zarr', mode='r')
66
+
67
+ # The open() function auto-detects arrays vs groups
68
+ z = zarr.open('data.zarr') # Returns Array or Group
69
+ ```
70
+
71
+ ### Reading and Writing Data
72
+
73
+ Zarr arrays support NumPy-like indexing:
74
+
75
+ ```python
76
+ # Write entire array
77
+ z[:] = 42
78
+
79
+ # Write slices
80
+ z[0, :] = np.arange(100)
81
+ z[10:20, 50:60] = np.random.random((10, 10))
82
+
83
+ # Read data (returns NumPy array)
84
+ data = z[0:100, 0:100]
85
+ row = z[5, :]
86
+
87
+ # Advanced indexing
88
+ z.vindex[[0, 5, 10], [2, 8, 15]] # Coordinate indexing
89
+ z.oindex[0:10, [5, 10, 15]] # Orthogonal indexing
90
+ z.blocks[0, 0] # Block/chunk indexing
91
+ ```
92
+
93
+ ### Resizing and Appending
94
+
95
+ ```python
96
+ # Resize array
97
+ z.resize(15000, 15000) # Expands or shrinks dimensions
98
+
99
+ # Append data along an axis
100
+ z.append(np.random.random((1000, 10000)), axis=0) # Adds rows
101
+ ```