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,100 @@
1
+ ---
2
+ name: deepinit
3
+ description: Deep codebase initialization with hierarchical AGENTS.md documentation
4
+ ---
5
+
6
+ # Deep Init Skill
7
+
8
+ Creates comprehensive, hierarchical AGENTS.md documentation across the entire codebase.
9
+
10
+ ## Core Concept
11
+
12
+ AGENTS.md files serve as **AI-readable documentation** that helps agents understand:
13
+ - What each directory contains
14
+ - How components relate to each other
15
+ - Special instructions for working in that area
16
+ - Dependencies and relationships
17
+
18
+ ## Hierarchical Tagging System
19
+
20
+ Every AGENTS.md (except root) includes a parent reference tag:
21
+
22
+ ```markdown
23
+ <!-- Parent: ../AGENTS.md -->
24
+ ```
25
+
26
+ This creates a navigable hierarchy:
27
+ ```
28
+ /AGENTS.md ← Root (no parent tag)
29
+ ├── src/AGENTS.md ← <!-- Parent: ../AGENTS.md -->
30
+ │ ├── src/components/AGENTS.md ← <!-- Parent: ../AGENTS.md -->
31
+ │ └── src/utils/AGENTS.md ← <!-- Parent: ../AGENTS.md -->
32
+ └── docs/AGENTS.md ← <!-- Parent: ../AGENTS.md -->
33
+ ```
34
+
35
+ ## AGENTS.md Template
36
+
37
+ ```markdown
38
+ <!-- Parent: {relative_path_to_parent}/AGENTS.md -->
39
+ <!-- Generated: {timestamp} | Updated: {timestamp} -->
40
+
41
+ # {Directory Name}
42
+
43
+ ## Purpose
44
+ {One-paragraph description of what this directory contains and its role}
45
+
46
+ ## Key Files
47
+ {List each significant file with a one-line description}
48
+
49
+ | File | Description |
50
+ |------|-------------|
51
+ | `file.ts` | Brief description of purpose |
52
+
53
+ ## Subdirectories
54
+ {List each subdirectory with brief purpose}
55
+
56
+ | Directory | Purpose |
57
+ |-----------|---------|
58
+ | `subdir/` | What it contains (see `subdir/AGENTS.md`) |
59
+
60
+ ## For AI Agents
61
+
62
+ ### Working In This Directory
63
+ {Special instructions for AI agents modifying files here}
64
+
65
+ ### Testing Requirements
66
+ {How to test changes in this directory}
67
+
68
+ ### Common Patterns
69
+ {Code patterns or conventions used here}
70
+
71
+ ## Dependencies
72
+
73
+ ### Internal
74
+ {References to other parts of the codebase this depends on}
75
+
76
+ ### External
77
+ {Key external packages/libraries used}
78
+
79
+ <!-- MANUAL: Any manually added notes below this line are preserved on regeneration -->
80
+ ```
81
+
82
+ ## Execution Workflow
83
+
84
+ ### Step 1: Map Directory Structure
85
+
86
+ ```
87
+ Task(subagent_type="explore", model="haiku",
88
+ prompt="List all directories recursively. Exclude: node_modules, .git, dist, build, __pycache__, .venv, coverage, .next, .nuxt")
89
+ ```
90
+
91
+ ### Step 2: Create Work Plan
92
+
93
+ Generate todo items for each directory, organized by depth level:
94
+
95
+ ```
96
+ Level 0: / (root)
97
+ Level 1: /src, /docs, /tests
98
+ Level 2: /src/components, /src/utils, /docs/api
99
+ ...
100
+ ```
@@ -0,0 +1,118 @@
1
+ ---
2
+ name: deeptools
3
+ description: NGS analysis toolkit. BAM to bigWig conversion, QC (correlation, PCA, fingerprints), heatmaps/profiles (TSS, peaks), for ChIP-seq, RNA-seq, ATAC-seq visualization.
4
+ ---
5
+
6
+ # deepTools: NGS Data Analysis Toolkit
7
+
8
+ ## Overview
9
+
10
+ deepTools is a comprehensive suite of Python command-line tools designed for processing and analyzing high-throughput sequencing data. Use deepTools to perform quality control, normalize data, compare samples, and generate publication-quality visualizations for ChIP-seq, RNA-seq, ATAC-seq, MNase-seq, and other NGS experiments.
11
+
12
+ **Core capabilities:**
13
+ - Convert BAM alignments to normalized coverage tracks (bigWig/bedGraph)
14
+ - Quality control assessment (fingerprint, correlation, coverage)
15
+ - Sample comparison and correlation analysis
16
+ - Heatmap and profile plot generation around genomic features
17
+ - Enrichment analysis and peak region visualization
18
+
19
+ ## When to Use This Skill
20
+
21
+ This skill should be used when:
22
+
23
+ - **File conversion**: "Convert BAM to bigWig", "generate coverage tracks", "normalize ChIP-seq data"
24
+ - **Quality control**: "check ChIP quality", "compare replicates", "assess sequencing depth", "QC analysis"
25
+ - **Visualization**: "create heatmap around TSS", "plot ChIP signal", "visualize enrichment", "generate profile plot"
26
+ - **Sample comparison**: "compare treatment vs control", "correlate samples", "PCA analysis"
27
+ - **Analysis workflows**: "analyze ChIP-seq data", "RNA-seq coverage", "ATAC-seq analysis", "complete workflow"
28
+ - **Working with specific file types**: BAM files, bigWig files, BED region files in genomics context
29
+
30
+ ## Quick Start
31
+
32
+ For users new to deepTools, start with file validation and common workflows:
33
+
34
+ ### 1. Validate Input Files
35
+
36
+ Before running any analysis, validate BAM, bigWig, and BED files using the validation script:
37
+
38
+ ```bash
39
+ python scripts/validate_files.py --bam sample1.bam sample2.bam --bed regions.bed
40
+ ```
41
+
42
+ This checks file existence, BAM indices, and format correctness.
43
+
44
+ ### 2. Generate Workflow Template
45
+
46
+ For standard analyses, use the workflow generator to create customized scripts:
47
+
48
+ ```bash
49
+ # List available workflows
50
+ python scripts/workflow_generator.py --list
51
+
52
+ # Generate ChIP-seq QC workflow
53
+ python scripts/workflow_generator.py chipseq_qc -o qc_workflow.sh \
54
+ --input-bam Input.bam --chip-bams "ChIP1.bam ChIP2.bam" \
55
+ --genome-size 2913022398
56
+
57
+ # Make executable and run
58
+ chmod +x qc_workflow.sh
59
+ ./qc_workflow.sh
60
+ ```
61
+
62
+ ### 3. Most Common Operations
63
+
64
+ See `assets/quick_reference.md` for frequently used commands and parameters.
65
+
66
+ ## Core Workflows
67
+
68
+ deepTools workflows typically follow this pattern: **QC → Normalization → Comparison/Visualization**
69
+
70
+ ### ChIP-seq Quality Control Workflow
71
+
72
+ When users request ChIP-seq QC or quality assessment:
73
+
74
+ 1. **Generate workflow script** using `scripts/workflow_generator.py chipseq_qc`
75
+ 2. **Key QC steps**:
76
+ - Sample correlation (multiBamSummary + plotCorrelation)
77
+ - PCA analysis (plotPCA)
78
+ - Coverage assessment (plotCoverage)
79
+ - Fragment size validation (bamPEFragmentSize)
80
+ - ChIP enrichment strength (plotFingerprint)
81
+
82
+ **Interpreting results:**
83
+ - **Correlation**: Replicates should cluster together with high correlation (>0.9)
84
+ - **Fingerprint**: Strong ChIP shows steep rise; flat diagonal indicates poor enrichment
85
+
86
+ ### ChIP-seq Complete Analysis Workflow
87
+
88
+ For full ChIP-seq analysis from BAM to visualizations:
89
+
90
+ 1. **Generate coverage tracks** with normalization (bamCoverage)
91
+ 2. **Create comparison tracks** (bamCompare for log2 ratio)
92
+ 3. **Compute signal matrices** around features (computeMatrix)
93
+ 4. **Generate visualizations** (plotHeatmap, plotProfile)
94
+ 5. **Enrichment analysis** at peaks (plotEnrichment)
95
+
96
+ Use `scripts/workflow_generator.py chipseq_analysis` to generate template.
97
+
98
+ Complete command sequences in `(see docs)` → "ChIP-seq Analysis Workflow"
99
+
100
+ ### RNA-seq Coverage Workflow
101
+
102
+ For strand-specific RNA-seq coverage tracks:
103
+
104
+ Use bamCoverage with `--filterRNAstrand` to separate forward and reverse strands.
105
+
106
+ **Important:** NEVER use `--extendReads` for RNA-seq (would extend over splice junctions).
107
+
108
+ Use normalization: CPM for fixed bins, RPKM for gene-level analysis.
109
+
110
+ Template available: `scripts/workflow_generator.py rnaseq_coverage`
111
+
112
+ Details in `(see docs)` → "RNA-seq Coverage Workflow"
113
+
114
+ ### ATAC-seq Analysis Workflow
115
+
116
+ ATAC-seq requires Tn5 offset correction:
117
+
118
+
@@ -0,0 +1,56 @@
1
+ ---
2
+ name: delegation-patterns
3
+ description: Subagent/team delegation workflow. Use when splitting work across pi-crew teams, direct agents, async background workers, chains, or parallel research/review tasks.
4
+ ---
5
+
6
+
7
+ # delegation-patterns
8
+
9
+ Use this skill when deciding how to delegate work.
10
+
11
+ ## Source patterns distilled
12
+
13
+ - pi-subagents: foreground/background/parallel/chain execution, fork/fresh context, worktree isolation, result watcher
14
+ - pi-crew: `src/extension/team-tool/run.ts`, `src/runtime/team-runner.ts`, `src/runtime/task-graph-scheduler.ts`, builtin `teams/*.team.md`, `workflows/*.workflow.md`
15
+ - Existing pi-crew skill: `task-packet`
16
+
17
+ ## Rules
18
+
19
+ - Delegate when tasks span multiple files/subsystems, need planning/review/verification, or can be independently researched.
20
+ - Do not parallelize edits to the same file, symbol, migration path, manifest/lockfile, or generated schema unless explicitly sequenced.
21
+ - Use read-only explorer/reviewer roles for source audit; implementation workers should receive narrow task packets.
22
+ - For async/background work, provide concrete objective, scope, constraints, outputs, and verification. Do not spin in wait loops; retrieve results when notified or when needed.
23
+ - For chain-style work, pass dependency outputs forward explicitly and require downstream workers to read upstream artifacts first.
24
+ - Use worktree isolation for risky parallel code-changing tasks when repository cleanliness and merge plan allow it.
25
+ - Require workers to report blockers and smallest recoverable next action rather than making broad assumptions.
26
+
27
+ ## Task packet checklist
28
+
29
+ - objective
30
+ - scope/paths
31
+ - allowed edits vs read-only areas
32
+ - constraints and project rules
33
+ - dependencies/input artifacts
34
+ - expected output artifacts
35
+ - acceptance criteria
36
+ - verification commands
37
+ - escalation conditions
38
+
39
+ ## Anti-patterns
40
+
41
+ - Sending broad “fix everything” prompts to multiple editors in one workspace.
42
+ - Waiting for async workers by sleeping/polling when result notifications exist.
43
+ - Letting review workers modify files.
44
+ - Claiming completion without durable artifacts or verification evidence.
45
+
46
+ ## Verification
47
+
48
+ For orchestration changes:
49
+
50
+ ```bash
51
+ cd pi-crew
52
+ npx tsc --noEmit
53
+ node --experimental-strip-types --test test/unit/team-recommendation.test.ts test/unit/task-output-context-security.test.ts test/integration/phase3-runtime.test.ts
54
+ npm test
55
+ ```
56
+
@@ -0,0 +1,94 @@
1
+ ---
2
+ name: depmap
3
+ description: Query the Cancer Dependency Map (DepMap) for cancer cell line gene dependency scores (CRISPR Chronos), drug sensitivity data, and gene effect profiles. Use for identifying cancer-specific vulnerabilities, synthetic lethal interactions, and validating oncology drug targets.
4
+ ---
5
+
6
+ # DepMap — Cancer Dependency Map
7
+
8
+ ## Overview
9
+
10
+ The Cancer Dependency Map (DepMap) project, run by the Broad Institute, systematically characterizes genetic dependencies across hundreds of cancer cell lines using genome-wide CRISPR knockout screens (DepMap CRISPR), RNA interference (RNAi), and compound sensitivity assays (PRISM). DepMap data is essential for:
11
+ - Identifying which genes are essential for specific cancer types
12
+ - Finding cancer-selective dependencies (therapeutic targets)
13
+ - Validating oncology drug targets
14
+ - Discovering synthetic lethal interactions
15
+
16
+ **Key resources:**
17
+ - DepMap Portal: https://depmap.org/portal/
18
+ - DepMap data downloads: https://depmap.org/portal/download/all/
19
+ - Python package: `depmap` (or access via API/downloads)
20
+ - API: https://depmap.org/portal/api/
21
+
22
+ ## When to Use This Skill
23
+
24
+ Use DepMap when:
25
+
26
+ - **Target validation**: Is a gene essential for survival in cancer cell lines with a specific mutation (e.g., KRAS-mutant)?
27
+ - **Biomarker discovery**: What genomic features predict sensitivity to knockout of a gene?
28
+ - **Synthetic lethality**: Find genes that are selectively essential when another gene is mutated/deleted
29
+ - **Drug sensitivity**: What cell line features predict response to a compound?
30
+ - **Pan-cancer essentiality**: Is a gene broadly essential across all cancer types (bad target) or selectively essential?
31
+ - **Correlation analysis**: Which pairs of genes have correlated dependency profiles (co-essentiality)?
32
+
33
+ ## Core Concepts
34
+
35
+ ### Dependency Scores
36
+
37
+ | Score | Range | Meaning |
38
+ |-------|-------|---------|
39
+ | **Chronos** (CRISPR) | ~ -3 to 0+ | More negative = more essential. Common essential threshold: −1. Pan-essential genes ~−1 to −2 |
40
+ | **RNAi DEMETER2** | ~ -3 to 0+ | Similar scale to Chronos |
41
+ | **Gene Effect** | normalized | Normalized Chronos; −1 = median effect of common essential genes |
42
+
43
+ **Key thresholds:**
44
+ - Chronos ≤ −0.5: likely dependent
45
+ - Chronos ≤ −1: strongly dependent (common essential range)
46
+
47
+ ### Cell Line Annotations
48
+
49
+ Each cell line has:
50
+ - `DepMap_ID`: unique identifier (e.g., `ACH-000001`)
51
+ - `cell_line_name`: human-readable name
52
+ - `primary_disease`: cancer type
53
+ - `lineage`: broad tissue lineage
54
+ - `lineage_subtype`: specific subtype
55
+
56
+ ## Core Capabilities
57
+
58
+ ### 1. DepMap API
59
+
60
+ ```python
61
+ import requests
62
+ import pandas as pd
63
+
64
+ BASE_URL = "https://depmap.org/portal/api"
65
+
66
+ def depmap_get(endpoint, params=None):
67
+ url = f"{BASE_URL}/{endpoint}"
68
+ response = requests.get(url, params=params)
69
+ response.raise_for_status()
70
+ return response.json()
71
+ ```
72
+
73
+ ### 2. Gene Dependency Scores
74
+
75
+ ```python
76
+ def get_gene_dependency(gene_symbol, dataset="Chronos_Combined"):
77
+ """Get CRISPR dependency scores for a gene across all cell lines."""
78
+ url = f"{BASE_URL}/gene"
79
+ params = {
80
+ "gene_id": gene_symbol,
81
+ "dataset": dataset
82
+ }
83
+ response = requests.get(url, params=params)
84
+ return response.json()
85
+
86
+ # Alternatively, use the /data endpoint:
87
+ def get_dependencies_slice(gene_symbol, dataset_name="CRISPRGeneEffect"):
88
+ """Get a gene's dependency slice from a dataset."""
89
+ url = f"{BASE_URL}/data/gene_dependency"
90
+ params = {"gene_name": gene_symbol, "dataset_name": dataset_name}
91
+ response = requests.get(url, params=params)
92
+ data = response.json()
93
+ return data
94
+ ```
@@ -0,0 +1,86 @@
1
+ ---
2
+ name: dhdna-profiler
3
+ description: Extract cognitive patterns and thinking fingerprints from any text. Use this skill when the user wants to analyze how someone thinks, understand cognitive style, profile writing or speech patterns, compare thinking styles between people, asks "what's my thinking style", "analyze how this person reasons", "cognitive profile", "thinking pattern", "DHDNA", "digital DNA", or wants to understand the mind behind any text. Also trigger when the user provides text and wants deeper insight into the author's reasoning patterns, decision-making style, or cognitive signature.
4
+ ---
5
+
6
+ # DHDNA Profiler — Cognitive Pattern Extraction
7
+
8
+ A structured system for extracting the cognitive fingerprint of any text's author. Based on the Digital Human DNA (DHDNA) framework — the theory that every mind has a unique signature pattern expressed through how it reasons, decides, values, and communicates.
9
+
10
+ Published research: [DHDNA Pre-print (DOI: 10.5281/zenodo.18736629)](https://doi.org/10.5281/zenodo.18736629) | [IDNA Consolidation v2 (DOI: 10.5281/zenodo.18807387)](https://doi.org/10.5281/zenodo.18807387)
11
+
12
+ ## Core Concept
13
+
14
+ Just as biological DNA encodes physical identity through base pairs, Digital Human DNA encodes cognitive identity through thinking patterns. Every person's combination of analytical depth, creative range, emotional processing, strategic thinking, and ethical reasoning creates a **unique cognitive signature** — as distinctive as a fingerprint.
15
+
16
+ The profiler doesn't judge thinking as "good" or "bad." It maps the topology of how a mind works.
17
+
18
+ ## The 12 Cognitive Dimensions
19
+
20
+ When profiling text, score each dimension on a 1–10 scale based on evidence in the text:
21
+
22
+ | # | Dimension | What It Measures | Low Score (1-3) | High Score (8-10) |
23
+ | --- | ------------------------ | ---------------------------------------------------------------- | ---------------------------------- | ------------------------------------------- |
24
+ | 1 | **Analytical Depth** | Logical rigor, structured reasoning, causal chains | Intuitive, holistic, pattern-based | Systematic, proof-oriented, precise |
25
+ | 2 | **Creative Range** | Novelty of connections, metaphor use, lateral thinking | Conventional, incremental | Paradigm-breaking, cross-domain synthesis |
26
+ | 3 | **Emotional Processing** | Emotional vocabulary, empathy signals, affect integration | Detached, clinical | Emotionally rich, feeling-integrated |
27
+ | 4 | **Linguistic Precision** | Vocabulary sophistication, sentence architecture, rhetoric | Simple, direct | Architecturally complex, nuanced |
28
+ | 5 | **Ethical Reasoning** | Values signals, fairness concern, consequence awareness | Pragmatic, outcome-focused | Principle-driven, justice-oriented |
29
+ | 6 | **Strategic Thinking** | Long-term planning, competitive awareness, resource optimization | Tactical, reactive | Multi-move, game-theoretic |
30
+ | 7 | **Memory Integration** | Reference to past experience, historical patterns, continuity | Present-focused | Deep historical awareness, precedent-driven |
31
+ | 8 | **Social Intelligence** | Audience awareness, perspective-taking, relational framing | Self-referential | Deeply other-aware, coalition-building |
32
+ | 9 | **Domain Expertise** | Technical depth, specialized knowledge, jargon confidence | Generalist | Deep specialist |
33
+
34
+ ### The 6 Tension Pairs
35
+
36
+ Dimensions exist in tension — high scores on one often correlate with lower scores on its pair. These tensions ARE the cognitive signature:
37
+
38
+ | Pair | Tension | What It Reveals |
39
+ | -------------- | -------------------------- | ---------------------------------------------------------------------- |
40
+ | DIM 1 ↔ DIM 10 | Analytical ↔ Intuitive | Logic vs. Gut — how the mind reaches conclusions |
41
+ | DIM 3 ↔ DIM 6 | Emotional ↔ Strategic | Heart vs. Head — what drives decisions |
42
+ | DIM 2 ↔ DIM 5 | Creative ↔ Ethical | Freedom vs. Framework — innovation within or beyond rules |
43
+ | DIM 4 ↔ DIM 12 | Linguistic ↔ Metacognitive | Expression vs. Self-Awareness — external craft vs. internal reflection |
44
+ | DIM 7 ↔ DIM 11 | Memory ↔ Temporal | Past vs. Time Itself — experience vs. time-horizon |
45
+ | DIM 8 ↔ DIM 9 | Social ↔ Domain | Breadth vs. Depth — people skills vs. technical mastery |
46
+
47
+ ## How to Profile
48
+
49
+ ### Phase 1 — Evidence Collection
50
+
51
+ Read the text carefully. For each dimension, identify **specific textual evidence**:
52
+
53
+ - Direct quotes that demonstrate the dimension
54
+ - Structural patterns (how arguments are built)
55
+ - What's present AND what's absent (gaps reveal as much as content)
56
+ - Recurring patterns across multiple passages
57
+
58
+ ### Phase 2 — Scoring
59
+
60
+ For each of the 12 dimensions:
61
+
62
+ 1. Score 1-10 based on evidence
63
+ 2. Cite the strongest textual evidence for that score
64
+ 3. Flag confidence level: HIGH (multiple clear signals), MEDIUM (some signals), LOW (inferred)
65
+
66
+ ### Phase 3 — Pattern Synthesis
67
+
68
+ After scoring, identify:
69
+
70
+ **Dominant Pattern:** The 2-3 highest-scoring dimensions — this is the mind's "home base"
71
+
72
+ **Shadow Pattern:** The 2-3 lowest-scoring dimensions — this is where the mind doesn't naturally go
73
+
74
+ **Signature Tensions:** Which tension pairs show the widest gap? These define the cognitive style more than any individual score.
75
+
76
+ **Reasoning Topology:** How does the mind move through ideas?
77
+
78
+ - Linear (A → B → C → conclusion)
79
+ - Spiral (approaches the same idea from multiple angles, each time deeper)
80
+ - Web (connects disparate domains into synthesis)
81
+
82
+ ### Phase 4 — Profile Output
83
+
84
+ Present the profile as:
85
+
86
+
@@ -0,0 +1,101 @@
1
+ ---
2
+ name: diffdock
3
+ description: Diffusion-based molecular docking. Predict protein-ligand binding poses from PDB/SMILES, confidence scores, virtual screening, for structure-based drug design. Not for affinity prediction.
4
+ ---
5
+
6
+ # DiffDock: Molecular Docking with Diffusion Models
7
+
8
+ ## Overview
9
+
10
+ DiffDock is a diffusion-based deep learning tool for molecular docking that predicts 3D binding poses of small molecule ligands to protein targets. It represents the state-of-the-art in computational docking, crucial for structure-based drug discovery and chemical biology.
11
+
12
+ **Core Capabilities:**
13
+ - Predict ligand binding poses with high accuracy using deep learning
14
+ - Support protein structures (PDB files) or sequences (via ESMFold)
15
+ - Process single complexes or batch virtual screening campaigns
16
+ - Generate confidence scores to assess prediction reliability
17
+ - Handle diverse ligand inputs (SMILES, SDF, MOL2)
18
+
19
+ **Key Distinction:** DiffDock predicts **binding poses** (3D structure) and **confidence** (prediction certainty), NOT binding affinity (ΔG, Kd). Always combine with scoring functions (GNINA, MM/GBSA) for affinity assessment.
20
+
21
+ ## When to Use This Skill
22
+
23
+ This skill should be used when:
24
+
25
+ - "Dock this ligand to a protein" or "predict binding pose"
26
+ - "Run molecular docking" or "perform protein-ligand docking"
27
+ - "Virtual screening" or "screen compound library"
28
+ - "Where does this molecule bind?" or "predict binding site"
29
+ - Structure-based drug design or lead optimization tasks
30
+ - Tasks involving PDB files + SMILES strings or ligand structures
31
+ - Batch docking of multiple protein-ligand pairs
32
+
33
+ ### Check Environment Status
34
+
35
+ Before proceeding with DiffDock tasks, verify the environment setup:
36
+
37
+ ```bash
38
+ # Use the provided setup checker
39
+ python scripts/setup_check.py
40
+ ```
41
+
42
+ This script validates Python version, PyTorch with CUDA, PyTorch Geometric, RDKit, ESM, and other dependencies.
43
+
44
+ ## Core Workflows
45
+
46
+ ### Workflow 1: Single Protein-Ligand Docking
47
+
48
+ **Use Case:** Dock one ligand to one protein target
49
+
50
+ **Input Requirements:**
51
+ - Protein: PDB file OR amino acid sequence
52
+ - Ligand: SMILES string OR structure file (SDF/MOL2)
53
+
54
+ **Command:**
55
+ ```bash
56
+ python -m inference \
57
+ --config default_inference_args.yaml \
58
+ --protein_path protein.pdb \
59
+ --ligand "CC(=O)Oc1ccccc1C(=O)O" \
60
+ --out_dir results/single_docking/
61
+
62
+ ### Workflow 2: Batch Processing Multiple Complexes
63
+
64
+ **Use Case:** Dock multiple ligands to proteins, virtual screening campaigns
65
+
66
+ **Step 1: Prepare Batch CSV**
67
+
68
+ Use the provided script to create or validate batch input:
69
+
70
+ ```bash
71
+ # Create template
72
+ python scripts/prepare_batch_csv.py --create --output batch_input.csv
73
+
74
+ # Validate existing CSV
75
+ python scripts/prepare_batch_csv.py my_input.csv --validate
76
+ ```
77
+
78
+ **CSV Format:**
79
+ ```csv
80
+ complex_name,protein_path,ligand_description,protein_sequence
81
+ complex1,protein1.pdb,CC(=O)Oc1ccccc1C(=O)O,
82
+ complex2,,COc1ccc(C#N)cc1,MSKGEELFT...
83
+ complex3,protein3.pdb,ligand3.sdf,
84
+ ```
85
+
86
+ **Required Columns:**
87
+ - `complex_name`: Unique identifier
88
+ - `protein_path`: PDB file path (leave empty if using sequence)
89
+
90
+ # Pre-compute embeddings
91
+ python datasets/esm_embedding_preparation.py \
92
+ --protein_ligand_csv screening_input.csv \
93
+ --out_file protein_embeddings.pt
94
+
95
+ # Run with pre-computed embeddings
96
+ python -m inference \
97
+ --config default_inference_args.yaml \
98
+ --protein_ligand_csv screening_input.csv \
99
+ --esm_embeddings_path protein_embeddings.pt \
100
+ --out_dir results/screening/
101
+ ```
@@ -0,0 +1,119 @@
1
+ ---
2
+ name: dispatching-parallel-agents
3
+ description: Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
4
+ ---
5
+
6
+ # Dispatching Parallel Agents
7
+
8
+ ## Overview
9
+
10
+ You delegate tasks to specialized agents with isolated context. By precisely crafting their instructions and context, you ensure they stay focused and succeed at their task. They should never inherit your session's context or history — you construct exactly what they need. This also preserves your own context for coordination work.
11
+
12
+ When you have multiple unrelated failures (different test files, different subsystems, different bugs), investigating them sequentially wastes time. Each investigation is independent and can happen in parallel.
13
+
14
+ **Core principle:** Dispatch one agent per independent problem domain. Let them work concurrently.
15
+
16
+ ## When to Use
17
+
18
+ ```dot
19
+ digraph when_to_use {
20
+ "Multiple failures?" [shape=diamond];
21
+ "Are they independent?" [shape=diamond];
22
+ "Single agent investigates all" [shape=box];
23
+ "One agent per problem domain" [shape=box];
24
+ "Can they work in parallel?" [shape=diamond];
25
+ "Sequential agents" [shape=box];
26
+ "Parallel dispatch" [shape=box];
27
+
28
+ "Multiple failures?" -> "Are they independent?" [label="yes"];
29
+ "Are they independent?" -> "Single agent investigates all" [label="no - related"];
30
+ "Are they independent?" -> "Can they work in parallel?" [label="yes"];
31
+
32
+ ## The Pattern
33
+
34
+ ### 1. Identify Independent Domains
35
+
36
+ Group failures by what's broken:
37
+ - File A tests: Tool approval flow
38
+ - File B tests: Batch completion behavior
39
+ - File C tests: Abort functionality
40
+
41
+ Each domain is independent - fixing tool approval doesn't affect abort tests.
42
+
43
+ ### 2. Create Focused Agent Tasks
44
+
45
+ Each agent gets:
46
+ - **Specific scope:** One test file or subsystem
47
+ - **Clear goal:** Make these tests pass
48
+ - **Constraints:** Don't change other code
49
+ - **Expected output:** Summary of what you found and fixed
50
+
51
+ ### 3. Dispatch in Parallel
52
+
53
+ ```typescript
54
+ // In Claude Code / AI environment
55
+ Task("Fix agent-tool-abort.test.ts failures")
56
+ Task("Fix batch-completion-behavior.test.ts failures")
57
+ Task("Fix tool-approval-race-conditions.test.ts failures")
58
+ // All three run concurrently
59
+ ```
60
+
61
+ ### 4. Review and Integrate
62
+
63
+ When agents return:
64
+ - Read each summary
65
+ - Verify fixes don't conflict
66
+ - Run full test suite
67
+ - Integrate all changes
68
+
69
+ ## Agent Prompt Structure
70
+
71
+ Good agent prompts are:
72
+ 1. **Focused** - One clear problem domain
73
+ 2. **Self-contained** - All context needed to understand the problem
74
+ 3. **Specific about output** - What should the agent return?
75
+
76
+ ```markdown
77
+ Fix the 3 failing tests in src/agents/agent-tool-abort.test.ts:
78
+
79
+ 1. "should abort tool with partial output capture" - expects 'interrupted at' in message
80
+ 2. "should handle mixed completed and aborted tools" - fast tool aborted instead of completed
81
+ 3. "should properly track pendingToolCount" - expects 3 results but gets 0
82
+
83
+ These are timing/race condition issues. Your task:
84
+
85
+ ## Common Mistakes
86
+
87
+ **❌ Too broad:** "Fix all the tests" - agent gets lost
88
+ **✅ Specific:** "Fix agent-tool-abort.test.ts" - focused scope
89
+
90
+ **❌ No context:** "Fix the race condition" - agent doesn't know where
91
+ **✅ Context:** Paste the error messages and test names
92
+
93
+ **❌ No constraints:** Agent might refactor everything
94
+ **✅ Constraints:** "Do NOT change production code" or "Fix tests only"
95
+
96
+ **❌ Vague output:** "Fix it" - you don't know what changed
97
+ **✅ Specific:** "Return summary of root cause and changes"
98
+
99
+ ## When NOT to Use
100
+
101
+ **Related failures:** Fixing one might fix others - investigate together first
102
+ **Need full context:** Understanding requires seeing entire system
103
+ **Exploratory debugging:** You don't know what's broken yet
104
+ **Shared state:** Agents would interfere (editing same files, using same resources)
105
+
106
+ ## Real Example from Session
107
+
108
+ **Scenario:** 6 test failures across 3 files after major refactoring
109
+
110
+ **Failures:**
111
+ - agent-tool-abort.test.ts: 3 failures (timing issues)
112
+ - batch-completion-behavior.test.ts: 2 failures (tools not executing)
113
+ - tool-approval-race-conditions.test.ts: 1 failure (execution count = 0)
114
+
115
+ **Decision:** Independent domains - abort logic separate from batch completion separate from race conditions
116
+
117
+ **Dispatch:**
118
+
119
+