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.
- package/CHANGELOG.md +20 -0
- package/LICENSE +21 -0
- package/README.md +97 -0
- package/index.ts +163 -0
- package/package.json +48 -0
- package/skills/adaptyv/SKILL.md +92 -0
- package/skills/add-community-extension/SKILL.md +85 -0
- package/skills/aeon/SKILL.md +111 -0
- package/skills/ai-slop-cleaner/SKILL.md +118 -0
- package/skills/anndata/SKILL.md +83 -0
- package/skills/arboreto/SKILL.md +107 -0
- package/skills/ask/SKILL.md +55 -0
- package/skills/astropy/SKILL.md +30 -0
- package/skills/async-worker-recovery/SKILL.md +44 -0
- package/skills/autopilot/SKILL.md +63 -0
- package/skills/autoresearch/SKILL.md +64 -0
- package/skills/autoskill/SKILL.md +116 -0
- package/skills/babysit/SKILL.md +43 -0
- package/skills/benchling-integration/SKILL.md +106 -0
- package/skills/bgpt-paper-search/SKILL.md +67 -0
- package/skills/biopython/SKILL.md +29 -0
- package/skills/bioservices/SKILL.md +96 -0
- package/skills/brainstorming/SKILL.md +104 -0
- package/skills/cancel/SKILL.md +85 -0
- package/skills/ccg/SKILL.md +87 -0
- package/skills/celery-pipeline/SKILL.md +30 -0
- package/skills/cellxgene-census/SKILL.md +104 -0
- package/skills/child-pi-spawning/SKILL.md +85 -0
- package/skills/cirq/SKILL.md +113 -0
- package/skills/citation-management/SKILL.md +91 -0
- package/skills/clinical-decision-support/SKILL.md +117 -0
- package/skills/clinical-reports/SKILL.md +118 -0
- package/skills/clinical-trial/SKILL.md +28 -0
- package/skills/cobrapy/SKILL.md +116 -0
- package/skills/configure-notifications/SKILL.md +85 -0
- package/skills/consciousness-council/SKILL.md +120 -0
- package/skills/context-artifact-hygiene/SKILL.md +85 -0
- package/skills/context-mode-ops/SKILL.md +87 -0
- package/skills/dask/SKILL.md +85 -0
- package/skills/database-lookup/SKILL.md +118 -0
- package/skills/datamol/SKILL.md +108 -0
- package/skills/debug/SKILL.md +32 -0
- package/skills/deep-dive/SKILL.md +114 -0
- package/skills/deep-interview/SKILL.md +90 -0
- package/skills/deepchem/SKILL.md +117 -0
- package/skills/deepinit/SKILL.md +100 -0
- package/skills/deeptools/SKILL.md +118 -0
- package/skills/delegation-patterns/SKILL.md +56 -0
- package/skills/depmap/SKILL.md +94 -0
- package/skills/dhdna-profiler/SKILL.md +86 -0
- package/skills/diffdock/SKILL.md +101 -0
- package/skills/dispatching-parallel-agents/SKILL.md +119 -0
- package/skills/dnanexus-integration/SKILL.md +118 -0
- package/skills/do/SKILL.md +48 -0
- package/skills/docker-sandbox/SKILL.md +29 -0
- package/skills/docx/SKILL.md +119 -0
- package/skills/esm/SKILL.md +116 -0
- package/skills/etetoolkit/SKILL.md +103 -0
- package/skills/event-log-tracing/SKILL.md +85 -0
- package/skills/exa-search/SKILL.md +72 -0
- package/skills/executing-plans/SKILL.md +69 -0
- package/skills/exploratory-data-analysis/SKILL.md +118 -0
- package/skills/external-context/SKILL.md +80 -0
- package/skills/fastapi/SKILL.md +30 -0
- package/skills/finishing-a-development-branch/SKILL.md +106 -0
- package/skills/flowio/SKILL.md +114 -0
- package/skills/fluidsim/SKILL.md +108 -0
- package/skills/generate-image/SKILL.md +108 -0
- package/skills/geniml/SKILL.md +117 -0
- package/skills/geomaster/SKILL.md +109 -0
- package/skills/geopandas/SKILL.md +114 -0
- package/skills/get-available-resources/SKILL.md +100 -0
- package/skills/gget/SKILL.md +111 -0
- package/skills/ginkgo-cloud-lab/SKILL.md +52 -0
- package/skills/git-master/SKILL.md +85 -0
- package/skills/glycoengineering/SKILL.md +104 -0
- package/skills/gtars/SKILL.md +104 -0
- package/skills/hackernews-frontpage/SKILL.md +46 -0
- package/skills/histolab/SKILL.md +98 -0
- package/skills/how-it-works/SKILL.md +25 -0
- package/skills/hud/SKILL.md +86 -0
- package/skills/hugging-science/SKILL.md +93 -0
- package/skills/huggingface/SKILL.md +30 -0
- package/skills/hypogenic/SKILL.md +107 -0
- package/skills/hypothesis-generation/SKILL.md +118 -0
- package/skills/imaging-data-commons/SKILL.md +119 -0
- package/skills/infographics/SKILL.md +102 -0
- package/skills/iso-13485-certification/SKILL.md +114 -0
- package/skills/knowledge-agent/SKILL.md +83 -0
- package/skills/labarchive-integration/SKILL.md +98 -0
- package/skills/lamindb/SKILL.md +119 -0
- package/skills/landsat/SKILL.md +29 -0
- package/skills/latchbio-integration/SKILL.md +118 -0
- package/skills/latex-posters/SKILL.md +112 -0
- package/skills/learn-codebase/SKILL.md +24 -0
- package/skills/learner/SKILL.md +118 -0
- package/skills/literature-review/SKILL.md +118 -0
- package/skills/live-agent-lifecycle/SKILL.md +85 -0
- package/skills/mailbox-interactive/SKILL.md +85 -0
- package/skills/make-plan/SKILL.md +59 -0
- package/skills/markdown-mermaid-writing/SKILL.md +118 -0
- package/skills/market-research-reports/SKILL.md +119 -0
- package/skills/markitdown/SKILL.md +111 -0
- package/skills/markitdown-docs/SKILL.md +28 -0
- package/skills/matchms/SKILL.md +91 -0
- package/skills/matlab/SKILL.md +118 -0
- package/skills/matplotlib/SKILL.md +30 -0
- package/skills/mcp-setup/SKILL.md +84 -0
- package/skills/medchem/SKILL.md +109 -0
- package/skills/mem-search/SKILL.md +96 -0
- package/skills/modal/SKILL.md +104 -0
- package/skills/model-routing-context/SKILL.md +85 -0
- package/skills/molecular-dynamics/SKILL.md +116 -0
- package/skills/molfeat/SKILL.md +110 -0
- package/skills/multi-perspective-review/SKILL.md +85 -0
- package/skills/networkx/SKILL.md +111 -0
- package/skills/neurokit2/SKILL.md +114 -0
- package/skills/neuropixels-analysis/SKILL.md +112 -0
- package/skills/nilearn/SKILL.md +29 -0
- package/skills/observability-reliability/SKILL.md +43 -0
- package/skills/omc-doctor/SKILL.md +86 -0
- package/skills/omc-reference/SKILL.md +119 -0
- package/skills/omc-setup/SKILL.md +82 -0
- package/skills/omc-teams/SKILL.md +81 -0
- package/skills/omero-integration/SKILL.md +111 -0
- package/skills/open-notebook/SKILL.md +100 -0
- package/skills/openephys/SKILL.md +28 -0
- package/skills/opentrons-integration/SKILL.md +110 -0
- package/skills/optimize-for-gpu/SKILL.md +119 -0
- package/skills/orchestration/SKILL.md +85 -0
- package/skills/ownership-session-security/SKILL.md +43 -0
- package/skills/paper-lookup/SKILL.md +119 -0
- package/skills/paperzilla/SKILL.md +114 -0
- package/skills/parallel-web/SKILL.md +64 -0
- package/skills/pathfinder/SKILL.md +114 -0
- package/skills/pathml/SKILL.md +98 -0
- package/skills/pdf/SKILL.md +113 -0
- package/skills/peer-review/SKILL.md +119 -0
- package/skills/pennylane/SKILL.md +119 -0
- package/skills/phylogenetics/SKILL.md +102 -0
- package/skills/pi-extension-lifecycle/SKILL.md +41 -0
- package/skills/plan/SKILL.md +66 -0
- package/skills/polars/SKILL.md +114 -0
- package/skills/polars-bio/SKILL.md +84 -0
- package/skills/pptx/SKILL.md +118 -0
- package/skills/pptx-posters/SKILL.md +112 -0
- package/skills/primekg/SKILL.md +97 -0
- package/skills/project-session-manager/SKILL.md +85 -0
- package/skills/protocolsio-integration/SKILL.md +119 -0
- package/skills/pubmed-search/SKILL.md +29 -0
- package/skills/pufferlib/SKILL.md +103 -0
- package/skills/pydeseq2/SKILL.md +106 -0
- package/skills/pydicom/SKILL.md +115 -0
- package/skills/pyhealth/SKILL.md +117 -0
- package/skills/pylabrobot/SKILL.md +100 -0
- package/skills/pymatgen/SKILL.md +28 -0
- package/skills/pymc/SKILL.md +108 -0
- package/skills/pymoo/SKILL.md +90 -0
- package/skills/pyopenms/SKILL.md +119 -0
- package/skills/pysam/SKILL.md +118 -0
- package/skills/pyspark/SKILL.md +30 -0
- package/skills/pytdc/SKILL.md +102 -0
- package/skills/pytorch/SKILL.md +31 -0
- package/skills/pytorch-lightning/SKILL.md +119 -0
- package/skills/pyzotero/SKILL.md +104 -0
- package/skills/qiskit/SKILL.md +119 -0
- package/skills/qutip/SKILL.md +111 -0
- package/skills/ralph/SKILL.md +23 -0
- package/skills/ralplan/SKILL.md +105 -0
- package/skills/rdflib/SKILL.md +29 -0
- package/skills/rdkit/SKILL.md +30 -0
- package/skills/read-only-explorer/SKILL.md +85 -0
- package/skills/receiving-code-review/SKILL.md +103 -0
- package/skills/release/SKILL.md +117 -0
- package/skills/remember/SKILL.md +39 -0
- package/skills/requesting-code-review/SKILL.md +85 -0
- package/skills/requirements-to-task-packet/SKILL.md +65 -0
- package/skills/research-grants/SKILL.md +118 -0
- package/skills/research-lookup/SKILL.md +117 -0
- package/skills/research-reproducibility/SKILL.md +28 -0
- package/skills/resource-discovery-config/SKILL.md +43 -0
- package/skills/rowan/SKILL.md +100 -0
- package/skills/runtime-state-reader/SKILL.md +46 -0
- package/skills/safe-bash/SKILL.md +85 -0
- package/skills/scanpy/SKILL.md +32 -0
- package/skills/scholar-evaluation/SKILL.md +115 -0
- package/skills/scientific-brainstorming/SKILL.md +118 -0
- package/skills/scientific-critical-thinking/SKILL.md +119 -0
- package/skills/scientific-schematics/SKILL.md +116 -0
- package/skills/scientific-slides/SKILL.md +117 -0
- package/skills/scientific-visualization/SKILL.md +109 -0
- package/skills/scientific-writing/SKILL.md +119 -0
- package/skills/scikit-bio/SKILL.md +92 -0
- package/skills/scikit-learn/SKILL.md +99 -0
- package/skills/scikit-survival/SKILL.md +110 -0
- package/skills/sciomc/SKILL.md +86 -0
- package/skills/scvelo/SKILL.md +106 -0
- package/skills/scvi-tools/SKILL.md +114 -0
- package/skills/seaborn/SKILL.md +97 -0
- package/skills/secure-agent-orchestration-review/SKILL.md +47 -0
- package/skills/self-improve/SKILL.md +119 -0
- package/skills/semantic-compression/SKILL.md +62 -0
- package/skills/setup/SKILL.md +42 -0
- package/skills/shap/SKILL.md +103 -0
- package/skills/simpy/SKILL.md +116 -0
- package/skills/skill/SKILL.md +117 -0
- package/skills/skill-search/SKILL.md +67 -0
- package/skills/skillify/SKILL.md +46 -0
- package/skills/smart-explore/SKILL.md +94 -0
- package/skills/sqlite-pandas/SKILL.md +30 -0
- package/skills/stable-baselines3/SKILL.md +86 -0
- package/skills/state-mutation-locking/SKILL.md +44 -0
- package/skills/statistical-analysis/SKILL.md +108 -0
- package/skills/statsmodels/SKILL.md +29 -0
- package/skills/subagent-driven-development/SKILL.md +89 -0
- package/skills/sympy/SKILL.md +115 -0
- package/skills/system-prompts/SKILL.md +116 -0
- package/skills/systematic-debugging/SKILL.md +119 -0
- package/skills/team/SKILL.md +85 -0
- package/skills/test-driven-development/SKILL.md +84 -0
- package/skills/tiledbvcf/SKILL.md +119 -0
- package/skills/timeline-report/SKILL.md +85 -0
- package/skills/timesfm-forecasting/SKILL.md +112 -0
- package/skills/torch-geometric/SKILL.md +118 -0
- package/skills/torchdrug/SKILL.md +118 -0
- package/skills/trace/SKILL.md +118 -0
- package/skills/transformers/SKILL.md +110 -0
- package/skills/treatment-plans/SKILL.md +119 -0
- package/skills/ui-render-performance/SKILL.md +41 -0
- package/skills/ultragoal/SKILL.md +63 -0
- package/skills/ultraqa/SKILL.md +85 -0
- package/skills/ultrawork/SKILL.md +20 -0
- package/skills/umap-learn/SKILL.md +119 -0
- package/skills/usfiscaldata/SKILL.md +118 -0
- package/skills/using-git-worktrees/SKILL.md +112 -0
- package/skills/using-superpowers/SKILL.md +85 -0
- package/skills/using-vetc/SKILL.md +92 -0
- package/skills/vaex/SKILL.md +111 -0
- package/skills/venue-templates/SKILL.md +113 -0
- package/skills/verification-before-completion/SKILL.md +88 -0
- package/skills/verification-before-done/SKILL.md +68 -0
- package/skills/verify/SKILL.md +33 -0
- package/skills/version-bump/SKILL.md +54 -0
- package/skills/vetc-analyze-ba/SKILL.md +117 -0
- package/skills/vetc-analyze-codebase/SKILL.md +118 -0
- package/skills/vetc-api-design/SKILL.md +103 -0
- package/skills/vetc-brainstorming/SKILL.md +116 -0
- package/skills/vetc-change-proposal/SKILL.md +111 -0
- package/skills/vetc-cicd/SKILL.md +113 -0
- package/skills/vetc-continuous-learning/SKILL.md +115 -0
- package/skills/vetc-deep-interview/SKILL.md +103 -0
- package/skills/vetc-docgen/SKILL.md +108 -0
- package/skills/vetc-frontend-patterns/SKILL.md +99 -0
- package/skills/vetc-iterative-retrieval/SKILL.md +110 -0
- package/skills/vetc-java-patterns/SKILL.md +113 -0
- package/skills/vetc-meta-skill-creator/SKILL.md +99 -0
- package/skills/vetc-oracle-patterns/SKILL.md +109 -0
- package/skills/vetc-performance-testing/SKILL.md +104 -0
- package/skills/vetc-pr-response/SKILL.md +106 -0
- package/skills/vetc-ralph/SKILL.md +108 -0
- package/skills/vetc-ralplan/SKILL.md +116 -0
- package/skills/vetc-receiving-review/SKILL.md +106 -0
- package/skills/vetc-reconcile-patterns/SKILL.md +117 -0
- package/skills/vetc-refactoring/SKILL.md +96 -0
- package/skills/vetc-runbook/SKILL.md +118 -0
- package/skills/vetc-sast/SKILL.md +118 -0
- package/skills/vetc-sdlc/SKILL.md +97 -0
- package/skills/vetc-security/SKILL.md +117 -0
- package/skills/vetc-spec-driven/SKILL.md +111 -0
- package/skills/vetc-spec-quality/SKILL.md +117 -0
- package/skills/vetc-systematic-debugging/SKILL.md +74 -0
- package/skills/vetc-tdd/SKILL.md +96 -0
- package/skills/vetc-thinking-pm/SKILL.md +110 -0
- package/skills/vetc-ui-visual-qa/SKILL.md +117 -0
- package/skills/vetc-verify/SKILL.md +101 -0
- package/skills/visual-verdict/SKILL.md +59 -0
- package/skills/what-if-oracle/SKILL.md +87 -0
- package/skills/widget-rendering/SKILL.md +85 -0
- package/skills/wiki/SKILL.md +69 -0
- package/skills/workspace-isolation/SKILL.md +85 -0
- package/skills/worktree-isolation/SKILL.md +85 -0
- package/skills/wowerpoint/SKILL.md +101 -0
- package/skills/writer-memory/SKILL.md +82 -0
- package/skills/writing-plans/SKILL.md +115 -0
- package/skills/writing-skills/SKILL.md +115 -0
- package/skills/xgboost/SKILL.md +29 -0
- package/skills/xgboost-ts/SKILL.md +28 -0
- package/skills/xlsx/SKILL.md +111 -0
- package/skills/zarr-python/SKILL.md +101 -0
- package/src/categories.ts +383 -0
- package/src/format.ts +104 -0
- package/src/indexer.ts +101 -0
- package/src/proactive.ts +51 -0
- package/src/scanner.ts +85 -0
- package/src/search.ts +89 -0
- package/src/strip.ts +29 -0
- package/src/synonyms.ts +83 -0
- package/src/text.ts +118 -0
- package/src/types.ts +64 -0
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: receiving-code-review
|
|
3
|
+
description: Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Code Review Reception
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
Code review requires technical evaluation, not emotional performance.
|
|
11
|
+
|
|
12
|
+
**Core principle:** Verify before implementing. Ask before assuming. Technical correctness over social comfort.
|
|
13
|
+
|
|
14
|
+
## The Response Pattern
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
WHEN receiving code review feedback:
|
|
18
|
+
|
|
19
|
+
1. READ: Complete feedback without reacting
|
|
20
|
+
2. UNDERSTAND: Restate requirement in own words (or ask)
|
|
21
|
+
3. VERIFY: Check against codebase reality
|
|
22
|
+
4. EVALUATE: Technically sound for THIS codebase?
|
|
23
|
+
5. RESPOND: Technical acknowledgment or reasoned pushback
|
|
24
|
+
6. IMPLEMENT: One item at a time, test each
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Forbidden Responses
|
|
28
|
+
|
|
29
|
+
**NEVER:**
|
|
30
|
+
- "You're absolutely right!" (explicit CLAUDE.md violation)
|
|
31
|
+
- "Great point!" / "Excellent feedback!" (performative)
|
|
32
|
+
- "Let me implement that now" (before verification)
|
|
33
|
+
|
|
34
|
+
**INSTEAD:**
|
|
35
|
+
- Restate the technical requirement
|
|
36
|
+
- Ask clarifying questions
|
|
37
|
+
- Push back with technical reasoning if wrong
|
|
38
|
+
- Just start working (actions > words)
|
|
39
|
+
|
|
40
|
+
## Handling Unclear Feedback
|
|
41
|
+
|
|
42
|
+
```
|
|
43
|
+
IF any item is unclear:
|
|
44
|
+
STOP - do not implement anything yet
|
|
45
|
+
ASK for clarification on unclear items
|
|
46
|
+
|
|
47
|
+
WHY: Items may be related. Partial understanding = wrong implementation.
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
**Example:**
|
|
51
|
+
```
|
|
52
|
+
your human partner: "Fix 1-6"
|
|
53
|
+
You understand 1,2,3,6. Unclear on 4,5.
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
## Source-Specific Handling
|
|
57
|
+
|
|
58
|
+
### From your human partner
|
|
59
|
+
- **Trusted** - implement after understanding
|
|
60
|
+
- **Still ask** if scope unclear
|
|
61
|
+
- **No performative agreement**
|
|
62
|
+
- **Skip to action** or technical acknowledgment
|
|
63
|
+
|
|
64
|
+
### From External Reviewers
|
|
65
|
+
```
|
|
66
|
+
BEFORE implementing:
|
|
67
|
+
1. Check: Technically correct for THIS codebase?
|
|
68
|
+
2. Check: Breaks existing functionality?
|
|
69
|
+
3. Check: Reason for current implementation?
|
|
70
|
+
4. Check: Works on all platforms/versions?
|
|
71
|
+
5. Check: Does reviewer understand full context?
|
|
72
|
+
|
|
73
|
+
IF suggestion seems wrong:
|
|
74
|
+
Push back with technical reasoning
|
|
75
|
+
|
|
76
|
+
IF can't easily verify:
|
|
77
|
+
Say so: "I can't verify this without [X]. Should I [investigate/ask/proceed]?"
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
## YAGNI Check for "Professional" Features
|
|
81
|
+
|
|
82
|
+
```
|
|
83
|
+
IF reviewer suggests "implementing properly":
|
|
84
|
+
grep codebase for actual usage
|
|
85
|
+
|
|
86
|
+
IF unused: "This endpoint isn't called. Remove it (YAGNI)?"
|
|
87
|
+
IF used: Then implement properly
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
**your human partner's rule:** "You and reviewer both report to me. If we don't need this feature, don't add it."
|
|
91
|
+
|
|
92
|
+
## Implementation Order
|
|
93
|
+
|
|
94
|
+
```
|
|
95
|
+
FOR multi-item feedback:
|
|
96
|
+
1. Clarify anything unclear FIRST
|
|
97
|
+
2. Then implement in this order:
|
|
98
|
+
- Blocking issues (breaks, security)
|
|
99
|
+
- Simple fixes (typos, imports)
|
|
100
|
+
- Complex fixes (refactoring, logic)
|
|
101
|
+
3. Test each fix individually
|
|
102
|
+
4. Verify no regressions
|
|
103
|
+
```
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: release
|
|
3
|
+
description: Generic release assistant — analyzes repo release rules, caches them in .omc/RELEASE_RULE.md, then guides the release
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Release Skill
|
|
7
|
+
|
|
8
|
+
A thin, repo-aware release assistant. On first run it inspects the project and CI to derive release rules, stores them in `.omc/RELEASE_RULE.md` for future use, then walks you through a release using those rules.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
release [version]
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
- `version` is optional. If omitted the skill will ask. Accepts `patch`, `minor`, `major`, or an explicit semver like `2.4.0`.
|
|
17
|
+
- Add `--refresh` to force re-analysis of the repo even when a cached rule file exists.
|
|
18
|
+
|
|
19
|
+
## Execution Flow
|
|
20
|
+
|
|
21
|
+
### Step 0 — Load or Build Release Rules
|
|
22
|
+
|
|
23
|
+
Check whether `.omc/RELEASE_RULE.md` exists.
|
|
24
|
+
|
|
25
|
+
**If it does NOT exist (or `--refresh` was passed):** Run the full repo analysis below and write the file.
|
|
26
|
+
|
|
27
|
+
**If it DOES exist:** Read the file. Then do a quick delta check — scan `.github/workflows/` (or equivalent CI dirs: `.circleci/`, `.travis.yml`, `Jenkinsfile`, `bitbucket-pipelines.yml`, `gitlab-ci.yml`) for any modifications newer than the `last-analyzed` timestamp in the rule file. If relevant workflow files changed, re-run the analysis for those sections and update the file. Report what changed.
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
### Step 1 — Repo Analysis (first run or --refresh)
|
|
32
|
+
|
|
33
|
+
Inspect the repo and answer the following. Write answers into `.omc/RELEASE_RULE.md`.
|
|
34
|
+
|
|
35
|
+
#### 1a. Version Sources
|
|
36
|
+
|
|
37
|
+
- Locate all files that contain a version string matching the current version in `package.json` / `pyproject.toml` / `Cargo.toml` / `build.gradle` / `VERSION` file / etc.
|
|
38
|
+
- List each file and the field or regex pattern used to find the version.
|
|
39
|
+
- Detect whether there is a release automation script (e.g. `scripts/release.*`, `Makefile release` target, `bump2version`, `release-it`, `semantic-release`, `changesets`, `goreleaser`).
|
|
40
|
+
|
|
41
|
+
#### 1b. Registry / Distribution
|
|
42
|
+
|
|
43
|
+
- npm (`package.json` with `publishConfig` or `npm publish` in CI), PyPI (`pyproject.toml` + `twine`/`flit`), Cargo (`Cargo.toml`), Docker (`Dockerfile` + push step), GitHub Packages, other.
|
|
44
|
+
- Is there a CI step that publishes automatically on tag push? Which workflow file and job?
|
|
45
|
+
|
|
46
|
+
### Step 2 — Write `.omc/RELEASE_RULE.md`
|
|
47
|
+
|
|
48
|
+
Create or overwrite the file with this structure:
|
|
49
|
+
|
|
50
|
+
```markdown
|
|
51
|
+
# Release Rules
|
|
52
|
+
<!-- last-analyzed: YYYY-MM-DDTHH:MM:SSZ -->
|
|
53
|
+
|
|
54
|
+
## Version Sources
|
|
55
|
+
<!-- list of files + patterns -->
|
|
56
|
+
|
|
57
|
+
## Release Trigger
|
|
58
|
+
<!-- what kicks off the release -->
|
|
59
|
+
|
|
60
|
+
## Test Gate
|
|
61
|
+
<!-- command + CI job name -->
|
|
62
|
+
|
|
63
|
+
## Registry / Distribution
|
|
64
|
+
<!-- npm, PyPI, Docker, etc. + CI job that publishes -->
|
|
65
|
+
|
|
66
|
+
## Release Notes Strategy
|
|
67
|
+
<!-- convention + files -->
|
|
68
|
+
|
|
69
|
+
## CI Workflow Files
|
|
70
|
+
<!-- paths to relevant workflow files -->
|
|
71
|
+
|
|
72
|
+
## First-Time Setup Gaps
|
|
73
|
+
<!-- any missing pieces found during analysis, or "none" -->
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
### Step 3 — Determine Version
|
|
79
|
+
|
|
80
|
+
If the user provided a version argument, use it. Otherwise:
|
|
81
|
+
|
|
82
|
+
1. Show the current version (from the primary version file).
|
|
83
|
+
2. Show what `patch`, `minor`, and `major` would produce.
|
|
84
|
+
3. Ask the user which to use.
|
|
85
|
+
|
|
86
|
+
Validate the chosen version is a valid semver string.
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
### Step 4 — Pre-Release Checklist
|
|
91
|
+
|
|
92
|
+
Present a checklist derived from the release rules. At minimum:
|
|
93
|
+
|
|
94
|
+
- [ ] All changes intended for this release are committed and pushed
|
|
95
|
+
- [ ] CI is green on the target branch
|
|
96
|
+
- [ ] Tests pass locally (run the test gate command)
|
|
97
|
+
- [ ] Version bump applied to all version source files
|
|
98
|
+
- [ ] Release notes / changelog prepared (see Step 5)
|
|
99
|
+
|
|
100
|
+
Ask the user to confirm before proceeding, or run each step if they say "go ahead".
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
### Step 5 — Release Notes Guidance
|
|
105
|
+
|
|
106
|
+
Help the user write good release notes. Apply whichever convention the repo uses. Default guidance when no convention is detected:
|
|
107
|
+
|
|
108
|
+
**What makes a good release note:**
|
|
109
|
+
- Lead with **what changed for users**, not internal implementation details.
|
|
110
|
+
- Group by type: `New Features`, `Bug Fixes`, `Breaking Changes`, `Deprecations`, `Internal / Chores`.
|
|
111
|
+
- For each item: one sentence, link to the PR or issue, credit the author if external.
|
|
112
|
+
- **Breaking changes** go first and must include a migration path.
|
|
113
|
+
- Omit changes users never see (refactors, CI tweaks, test-only changes) unless they affect build reproducibility.
|
|
114
|
+
|
|
115
|
+
**Example entry format:**
|
|
116
|
+
|
|
117
|
+
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: remember
|
|
3
|
+
description: Review reusable project knowledge and decide what belongs in project memory, notepad, or durable docs
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
# Remember
|
|
8
|
+
|
|
9
|
+
Use this skill when the user wants to preserve or organize useful knowledge discovered during a session.
|
|
10
|
+
|
|
11
|
+
## Goal
|
|
12
|
+
Promote durable, reusable knowledge into the right memory surface instead of leaving it buried in chat history.
|
|
13
|
+
|
|
14
|
+
## Memory surfaces
|
|
15
|
+
- **Project memory** — durable team/project knowledge
|
|
16
|
+
- **Notepad priority** — short high-signal context for the next turns
|
|
17
|
+
- **Notepad working** — temporary active-session notes
|
|
18
|
+
- **Docs / AGENTS / CLAUDE files** — durable instructions and conventions when they truly belong there
|
|
19
|
+
|
|
20
|
+
## Workflow
|
|
21
|
+
1. Gather the relevant session findings.
|
|
22
|
+
2. Classify each item:
|
|
23
|
+
- durable project fact
|
|
24
|
+
- temporary working note
|
|
25
|
+
- operator preference or instruction
|
|
26
|
+
- duplicate / stale / conflicting information
|
|
27
|
+
3. Propose the best destination for each item.
|
|
28
|
+
4. Write or update only the appropriate memory surface.
|
|
29
|
+
5. Call out duplicates or conflicts that should be cleaned up.
|
|
30
|
+
|
|
31
|
+
## Rules
|
|
32
|
+
- Do not dump everything into one store.
|
|
33
|
+
- Prefer project memory for durable team knowledge.
|
|
34
|
+
- Prefer notepad for short-lived working context.
|
|
35
|
+
- Keep entries concise and actionable.
|
|
36
|
+
- If something is uncertain, mark it as uncertain rather than storing it as fact.
|
|
37
|
+
|
|
38
|
+
## Output
|
|
39
|
+
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: requesting-code-review
|
|
3
|
+
description: Use when completing tasks, implementing major features, or before merging to verify work meets requirements
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Requesting Code Review
|
|
7
|
+
|
|
8
|
+
Dispatch a code reviewer subagent to catch issues before they cascade. The reviewer gets precisely crafted context for evaluation — never your session's history. This keeps the reviewer focused on the work product, not your thought process, and preserves your own context for continued work.
|
|
9
|
+
|
|
10
|
+
**Core principle:** Review early, review often.
|
|
11
|
+
|
|
12
|
+
## When to Request Review
|
|
13
|
+
|
|
14
|
+
**Mandatory:**
|
|
15
|
+
- After each task in subagent-driven development
|
|
16
|
+
- After completing major feature
|
|
17
|
+
- Before merge to main
|
|
18
|
+
|
|
19
|
+
**Optional but valuable:**
|
|
20
|
+
- When stuck (fresh perspective)
|
|
21
|
+
- Before refactoring (baseline check)
|
|
22
|
+
- After fixing complex bug
|
|
23
|
+
|
|
24
|
+
## How to Request
|
|
25
|
+
|
|
26
|
+
**1. Get git SHAs:**
|
|
27
|
+
```bash
|
|
28
|
+
BASE_SHA=$(git rev-parse HEAD~1) # or origin/main
|
|
29
|
+
HEAD_SHA=$(git rev-parse HEAD)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
**2. Dispatch code reviewer subagent:**
|
|
33
|
+
|
|
34
|
+
Use Task tool with `general-purpose` type, fill template at `code-reviewer.md`
|
|
35
|
+
|
|
36
|
+
**Placeholders:**
|
|
37
|
+
- `{DESCRIPTION}` - Brief summary of what you built
|
|
38
|
+
- `{PLAN_OR_REQUIREMENTS}` - What it should do
|
|
39
|
+
|
|
40
|
+
## Example
|
|
41
|
+
|
|
42
|
+
```
|
|
43
|
+
[Just completed Task 2: Add verification function]
|
|
44
|
+
|
|
45
|
+
You: Let me request code review before proceeding.
|
|
46
|
+
|
|
47
|
+
BASE_SHA=$(git log --oneline | grep "Task 1" | head -1 | awk '{print $1}')
|
|
48
|
+
HEAD_SHA=$(git rev-parse HEAD)
|
|
49
|
+
|
|
50
|
+
[Dispatch code reviewer subagent]
|
|
51
|
+
DESCRIPTION: Added verifyIndex() and repairIndex() with 4 issue types
|
|
52
|
+
PLAN_OR_REQUIREMENTS: Task 2 from docs/superpowers/plans/deployment-plan.md
|
|
53
|
+
BASE_SHA: a7981ec
|
|
54
|
+
HEAD_SHA: 3df7661
|
|
55
|
+
|
|
56
|
+
## Integration with Workflows
|
|
57
|
+
|
|
58
|
+
**Subagent-Driven Development:**
|
|
59
|
+
- Review after EACH task
|
|
60
|
+
- Catch issues before they compound
|
|
61
|
+
- Fix before moving to next task
|
|
62
|
+
|
|
63
|
+
**Executing Plans:**
|
|
64
|
+
- Review after each task or at natural checkpoints
|
|
65
|
+
- Get feedback, apply, continue
|
|
66
|
+
|
|
67
|
+
**Ad-Hoc Development:**
|
|
68
|
+
- Review before merge
|
|
69
|
+
- Review when stuck
|
|
70
|
+
|
|
71
|
+
## Red Flags
|
|
72
|
+
|
|
73
|
+
**Never:**
|
|
74
|
+
- Skip review because "it's simple"
|
|
75
|
+
- Ignore Critical issues
|
|
76
|
+
- Proceed with unfixed Important issues
|
|
77
|
+
- Argue with valid technical feedback
|
|
78
|
+
|
|
79
|
+
**If reviewer wrong:**
|
|
80
|
+
- Push back with technical reasoning
|
|
81
|
+
- Show code/tests that prove it works
|
|
82
|
+
- Request clarification
|
|
83
|
+
|
|
84
|
+
See template at: requesting-code-review/code-reviewer.md
|
|
85
|
+
```
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: requirements-to-task-packet
|
|
3
|
+
description: Use when a goal, issue, roadmap item, review finding, or user request must become actionable worker tasks.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
# requirements-to-task-packet
|
|
8
|
+
|
|
9
|
+
Core principle: workers need explicit task packets, not inherited ambiguity. Ask only when ambiguity changes architecture, safety, public behavior, or data loss risk; otherwise record assumptions.
|
|
10
|
+
|
|
11
|
+
Distilled from detailed reads of clarification, spec-to-implementation, subagent-driven development, and skill-authoring patterns.
|
|
12
|
+
|
|
13
|
+
## Clarify or Proceed
|
|
14
|
+
|
|
15
|
+
Ask before implementation when ambiguity affects:
|
|
16
|
+
|
|
17
|
+
- security boundary, permissions, ownership, or secret handling;
|
|
18
|
+
- destructive operations, migrations, publishing, or public API behavior;
|
|
19
|
+
- architecture or data model;
|
|
20
|
+
- acceptance criteria or rollback expectations.
|
|
21
|
+
|
|
22
|
+
Proceed with explicit assumptions when ambiguity is local, reversible, and testable.
|
|
23
|
+
|
|
24
|
+
## Task Packet Template
|
|
25
|
+
|
|
26
|
+
```text
|
|
27
|
+
Objective:
|
|
28
|
+
Scope/paths:
|
|
29
|
+
Allowed edits:
|
|
30
|
+
Forbidden edits/non-goals:
|
|
31
|
+
Inputs/dependencies:
|
|
32
|
+
Relevant context/artifacts:
|
|
33
|
+
Assumptions:
|
|
34
|
+
Risks:
|
|
35
|
+
Acceptance criteria:
|
|
36
|
+
Verification commands:
|
|
37
|
+
Expected output artifacts:
|
|
38
|
+
Escalation conditions:
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Subagent Context Rules
|
|
42
|
+
|
|
43
|
+
- Give each worker fresh, curated context; do not rely on hidden parent history.
|
|
44
|
+
- Include exact upstream artifact paths and summaries when needed.
|
|
45
|
+
- Keep implementation tasks independent or explicitly sequenced.
|
|
46
|
+
- Require workers to report one of: DONE, DONE_WITH_CONCERNS, NEEDS_CONTEXT, BLOCKED.
|
|
47
|
+
- For BLOCKED/NEEDS_CONTEXT, change context/model/scope before retrying.
|
|
48
|
+
|
|
49
|
+
## Acceptance Criteria
|
|
50
|
+
|
|
51
|
+
Use observable checks:
|
|
52
|
+
|
|
53
|
+
- command output, state transition, UI/status text, artifact contents;
|
|
54
|
+
- regression tests or named test files;
|
|
55
|
+
- security properties such as containment/ownership/no secrets;
|
|
56
|
+
- compatibility requirements such as Windows paths or Pi CLI flags;
|
|
57
|
+
- rollback notes.
|
|
58
|
+
|
|
59
|
+
## Anti-patterns
|
|
60
|
+
|
|
61
|
+
- Broad “fix everything” prompts.
|
|
62
|
+
- Buried assumptions.
|
|
63
|
+
- Expanding scope because context remains.
|
|
64
|
+
- Treating tests as proof when the requirement was never asserted.
|
|
65
|
+
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: research-grants
|
|
3
|
+
description: Write competitive research proposals for NSF, NIH, DOE, DARPA, and Taiwan NSTC. Agency-specific formatting, review criteria, budget preparation, broader impacts, significance statements, innovation narratives, and compliance with submission requirements.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Research Grant Writing
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
Research grant writing is the process of developing competitive funding proposals for federal agencies and foundations. Master agency-specific requirements, review criteria, narrative structure, budget preparation, and compliance for NSF (National Science Foundation), NIH (National Institutes of Health), DOE (Department of Energy), DARPA (Defense Advanced Research Projects Agency), and Taiwan's NSTC (National Science and Technology Council) submissions.
|
|
11
|
+
|
|
12
|
+
**Critical Principle: Grants are persuasive documents that must simultaneously demonstrate scientific rigor, innovation, feasibility, and broader impact.** Each agency has distinct priorities, review criteria, formatting requirements, and strategic goals that must be addressed.
|
|
13
|
+
|
|
14
|
+
## When to Use This Skill
|
|
15
|
+
|
|
16
|
+
This skill should be used when:
|
|
17
|
+
- Writing research proposals for NSF, NIH, DOE, DARPA, or NSTC programs
|
|
18
|
+
- Preparing project descriptions, specific aims, or technical narratives
|
|
19
|
+
- Developing broader impacts or significance statements
|
|
20
|
+
- Creating research timelines and milestone plans
|
|
21
|
+
- Preparing budget justifications and personnel allocation plans
|
|
22
|
+
- Responding to program solicitations or funding announcements
|
|
23
|
+
- Addressing reviewer comments in resubmissions
|
|
24
|
+
- Planning multi-institutional collaborative proposals
|
|
25
|
+
- Writing preliminary data or feasibility sections
|
|
26
|
+
- Preparing biosketches, CVs, or facilities descriptions
|
|
27
|
+
|
|
28
|
+
## Visual Enhancement with Scientific Schematics
|
|
29
|
+
|
|
30
|
+
**⚠️ MANDATORY: Every research grant proposal MUST include at least 1-2 AI-generated figures using the scientific-schematics skill.**
|
|
31
|
+
|
|
32
|
+
This is not optional. Grant proposals without visual elements are incomplete and less competitive. Before finalizing any document:
|
|
33
|
+
1. Generate at minimum ONE schematic or diagram (e.g., project timeline, methodology flowchart, or conceptual framework)
|
|
34
|
+
2. Prefer 2-3 figures for comprehensive proposals (research workflow, Gantt chart, preliminary data visualization)
|
|
35
|
+
|
|
36
|
+
**How to generate figures:**
|
|
37
|
+
- Use the **scientific-schematics** skill to generate AI-powered publication-quality diagrams
|
|
38
|
+
- Simply describe your desired diagram in natural language
|
|
39
|
+
- Nano Banana Pro will automatically generate, review, and refine the schematic
|
|
40
|
+
|
|
41
|
+
**How to generate schematics:**
|
|
42
|
+
|
|
43
|
+
## Agency-Specific Overview
|
|
44
|
+
|
|
45
|
+
### NSF (National Science Foundation)
|
|
46
|
+
**Mission**: Promote the progress of science and advance national health, prosperity, and welfare
|
|
47
|
+
|
|
48
|
+
**Key Features**:
|
|
49
|
+
- Intellectual Merit + Broader Impacts (equally weighted)
|
|
50
|
+
- 15-page project description limit (most programs)
|
|
51
|
+
- Emphasis on education, diversity, and societal benefit
|
|
52
|
+
- Collaborative research encouraged
|
|
53
|
+
- Open data and open science emphasis
|
|
54
|
+
- Merit review process with panel + ad hoc reviewers
|
|
55
|
+
|
|
56
|
+
### NIH (National Institutes of Health)
|
|
57
|
+
**Mission**: Enhance health, lengthen life, and reduce illness and disability
|
|
58
|
+
|
|
59
|
+
**Key Features**:
|
|
60
|
+
- Specific Aims (1 page) + Research Strategy (12 pages for R01)
|
|
61
|
+
- Significance, Innovation, Approach as core review criteria
|
|
62
|
+
- Preliminary data typically required for R01s
|
|
63
|
+
- Emphasis on rigor, reproducibility, and clinical relevance
|
|
64
|
+
- Modular budgets ($250K increments) for most R01s
|
|
65
|
+
- Multiple resubmission opportunities
|
|
66
|
+
|
|
67
|
+
### DOE (Department of Energy)
|
|
68
|
+
**Mission**: Ensure America's security and prosperity through energy, environmental, and nuclear challenges
|
|
69
|
+
|
|
70
|
+
**Key Features**:
|
|
71
|
+
- Focus on energy, climate, computational science, basic energy sciences
|
|
72
|
+
- Often requires cost sharing or industry partnerships
|
|
73
|
+
- Emphasis on national laboratory collaboration
|
|
74
|
+
- Strong computational and experimental integration
|
|
75
|
+
- Energy innovation and commercialization pathways
|
|
76
|
+
- Varies by office (ARPA-E, Office of Science, EERE, etc.)
|
|
77
|
+
|
|
78
|
+
### DARPA (Defense Advanced Research Projects Agency)
|
|
79
|
+
**Mission**: Make pivotal investments in breakthrough technologies for national security
|
|
80
|
+
|
|
81
|
+
**Key Features**:
|
|
82
|
+
- High-risk, high-reward transformative research
|
|
83
|
+
- Focus on "DARPA-hard" problems (what if true, who cares)
|
|
84
|
+
- Emphasis on prototypes, demonstrations, and transition paths
|
|
85
|
+
- Often requires multiple phases (feasibility, development, demonstration)
|
|
86
|
+
- Strong project management and milestone tracking
|
|
87
|
+
- Teaming and collaboration often required
|
|
88
|
+
- Varies dramatically by program manager and BAA (Broad Agency Announcement)
|
|
89
|
+
|
|
90
|
+
### NSTC (National Science and Technology Council - Taiwan)
|
|
91
|
+
**Mission**: Advance scientific breakthrough, industrial application, and societal impact in Taiwan.
|
|
92
|
+
|
|
93
|
+
**Key Features**:
|
|
94
|
+
- **CM03 Form**: The core technical proposal format.
|
|
95
|
+
- **Bilingual**: Abstract required in both Chinese and English.
|
|
96
|
+
- **Innovation & Feasibility**: Primary review focus.
|
|
97
|
+
- **Preliminary Data**: Highly critical for credibility.
|
|
98
|
+
- **Research Architecture Diagram**: A mandatory visual element for clarity.
|
|
99
|
+
|
|
100
|
+
## Core Components of Research Proposals
|
|
101
|
+
|
|
102
|
+
### 1. Executive Summary / Project Summary / Abstract
|
|
103
|
+
|
|
104
|
+
Every proposal needs a concise overview that communicates the essential elements of the research to both technical reviewers and program officers.
|
|
105
|
+
|
|
106
|
+
**Purpose**: Provide a standalone summary that captures the research vision, significance, and approach
|
|
107
|
+
|
|
108
|
+
**Length**:
|
|
109
|
+
- NSF: 1 page (Project Summary with separate Overview, Intellectual Merit, Broader Impacts)
|
|
110
|
+
- NIH: 30 lines (Project Summary/Abstract)
|
|
111
|
+
- DOE: Varies (typically 1 page)
|
|
112
|
+
- DARPA: Varies (often 1-2 pages)
|
|
113
|
+
|
|
114
|
+
**Essential Elements**:
|
|
115
|
+
- Clear statement of the problem or research question
|
|
116
|
+
- Why this problem matters (significance, urgency, impact)
|
|
117
|
+
|
|
118
|
+
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: research-lookup
|
|
3
|
+
description: Look up current research information using parallel-cli search (primary, fast web search), the Parallel Chat API (deep research), or Perplexity sonar-pro-search (academic paper searches). Automatically routes queries to the best backend. Use for finding papers, gathering research data, and verifying scientific information. Note: query text is transmitted to api.parallel.ai (PARALLEL_API_KEY) and, for academic searches, to openrouter.ai (OPENROUTER_API_KEY).
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## Overview
|
|
7
|
+
|
|
8
|
+
This skill provides real-time research information lookup with **intelligent backend routing**:
|
|
9
|
+
|
|
10
|
+
- **parallel-cli search** (parallel-web skill): **Primary and default backend** for all research queries. Fast, cost-effective web search with academic source prioritization. Uses `parallel-cli search` with `--include-domains` for scholarly sources.
|
|
11
|
+
- **Parallel Chat API** (`core` model): Secondary backend for complex, multi-source deep research requiring extended synthesis (60s-5min latency). Use only when explicitly needed.
|
|
12
|
+
- **Perplexity sonar-pro-search** (via OpenRouter): Used only for academic-specific paper searches where scholarly database access is critical.
|
|
13
|
+
|
|
14
|
+
The skill automatically detects query type and routes to the optimal backend.
|
|
15
|
+
|
|
16
|
+
## When to Use This Skill
|
|
17
|
+
|
|
18
|
+
Use this skill when you need:
|
|
19
|
+
|
|
20
|
+
- **Current Research Information**: Latest studies, papers, and findings
|
|
21
|
+
- **Literature Verification**: Check facts, statistics, or claims against current research
|
|
22
|
+
- **Background Research**: Gather context and supporting evidence for scientific writing
|
|
23
|
+
- **Citation Sources**: Find relevant papers and studies to cite
|
|
24
|
+
- **Technical Documentation**: Look up specifications, protocols, or methodologies
|
|
25
|
+
- **Market/Industry Data**: Current statistics, trends, competitive intelligence
|
|
26
|
+
- **Recent Developments**: Emerging trends, breakthroughs, announcements
|
|
27
|
+
|
|
28
|
+
## Visual Enhancement with Scientific Schematics
|
|
29
|
+
|
|
30
|
+
**When creating documents with this skill, always consider adding scientific diagrams and schematics to enhance visual communication.**
|
|
31
|
+
|
|
32
|
+
If your document does not already contain schematics or diagrams:
|
|
33
|
+
- Use the **scientific-schematics** skill to generate AI-powered publication-quality diagrams
|
|
34
|
+
- Simply describe your desired diagram in natural language
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
python scripts/generate_schematic.py "your diagram description" -o figures/output.png
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## Automatic Backend Selection
|
|
43
|
+
|
|
44
|
+
The skill automatically routes queries to the best backend based on content:
|
|
45
|
+
|
|
46
|
+
### Routing Logic
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
Query arrives
|
|
50
|
+
|
|
|
51
|
+
+-- Contains academic keywords? (papers, DOI, journal, peer-reviewed, etc.)
|
|
52
|
+
| YES --> Perplexity sonar-pro-search (academic search mode)
|
|
53
|
+
|
|
|
54
|
+
+-- Needs deep multi-source synthesis? (user says "deep research", "exhaustive")
|
|
55
|
+
| YES --> Parallel Chat API (core model, 60s-5min)
|
|
56
|
+
|
|
|
57
|
+
+-- Everything else (general research, market data, technical info, analysis)
|
|
58
|
+
--> parallel-cli search (fast, default)
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### Default: parallel-cli search (parallel-web skill)
|
|
62
|
+
|
|
63
|
+
**Primary backend for all standard research queries.** Fast, cost-effective, and supports academic source prioritization.
|
|
64
|
+
|
|
65
|
+
For scientific/technical queries, run two searches to ensure academic coverage:
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
# 1. Academic-focused search
|
|
69
|
+
parallel-cli search "your research query" -q "keyword1" -q "keyword2" \
|
|
70
|
+
--json --max-results 10 --excerpt-max-chars-total 27000 \
|
|
71
|
+
--include-domains "scholar.google.com,arxiv.org,pubmed.ncbi.nlm.nih.gov,semanticscholar.org,biorxiv.org,medrxiv.org,ncbi.nlm.nih.gov,nature.com,science.org,ieee.org,acm.org,springer.com,wiley.com,cell.com,pnas.org,nih.gov" \
|
|
72
|
+
-o sources/research_<topic>-academic.json
|
|
73
|
+
|
|
74
|
+
# 2. General search (catches non-academic sources)
|
|
75
|
+
parallel-cli search "your research query" -q "keyword1" -q "keyword2" \
|
|
76
|
+
--json --max-results 10 --excerpt-max-chars-total 27000 \
|
|
77
|
+
-o sources/research_<topic>-general.json
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Options:
|
|
81
|
+
- `--after-date YYYY-MM-DD` for time-sensitive queries
|
|
82
|
+
- `--include-domains domain1.com,domain2.com` to limit to specific sources
|
|
83
|
+
|
|
84
|
+
Merge results, leading with academic sources. For non-scientific queries, a single general search is sufficient.
|
|
85
|
+
|
|
86
|
+
All other queries route here by default, including:
|
|
87
|
+
|
|
88
|
+
- General research questions
|
|
89
|
+
|
|
90
|
+
### Academic Keywords (Routes to Perplexity)
|
|
91
|
+
|
|
92
|
+
Queries containing these terms are routed to Perplexity for academic-focused search:
|
|
93
|
+
|
|
94
|
+
- Paper finding: `find papers`, `find articles`, `research papers on`, `published studies`
|
|
95
|
+
- Citations: `cite`, `citation`, `doi`, `pubmed`, `pmid`
|
|
96
|
+
- Academic sources: `peer-reviewed`, `journal article`, `scholarly`, `arxiv`, `preprint`
|
|
97
|
+
- Review types: `systematic review`, `meta-analysis`, `literature search`
|
|
98
|
+
- Paper quality: `foundational papers`, `seminal papers`, `landmark papers`, `highly cited`
|
|
99
|
+
|
|
100
|
+
### Deep Research (Routes to Parallel Chat API)
|
|
101
|
+
|
|
102
|
+
Only used when the user explicitly requests deep, exhaustive, or comprehensive research. Much slower and more expensive than parallel-cli search.
|
|
103
|
+
|
|
104
|
+
### Manual Override
|
|
105
|
+
|
|
106
|
+
You can force a specific backend:
|
|
107
|
+
|
|
108
|
+
```bash
|
|
109
|
+
# Force parallel-cli search (fast web search)
|
|
110
|
+
parallel-cli search "your query" -q "keyword" --json --max-results 10 -o sources/research_<topic>.json
|
|
111
|
+
|
|
112
|
+
# Force Parallel Deep Research (slow, exhaustive)
|
|
113
|
+
python research_lookup.py "your query" --force-backend parallel
|
|
114
|
+
|
|
115
|
+
# Force Perplexity academic search
|
|
116
|
+
python research_lookup.py "your query" --force-backend perplexity
|
|
117
|
+
```
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: research-reproducibility
|
|
3
|
+
description: Research methodology and experiment reproducibility. Use when setting up experiment tracking, managing computational notebooks, versioning datasets, or ensuring reproducible research workflows. Trigger on imports of mlflow, dvc, papermill, or mentions of reproducibility, experiment tracking, version control for data, notebook parameterization.
|
|
4
|
+
---
|
|
5
|
+
# research-reproducibility
|
|
6
|
+
|
|
7
|
+
Use this skill for reproducible research and experiment tracking.
|
|
8
|
+
|
|
9
|
+
## Core patterns
|
|
10
|
+
|
|
11
|
+
- **Experiment tracking**: `mlflow.start_run()` → `mlflow.log_param()`, `mlflow.log_metric()`.
|
|
12
|
+
- **Data versioning**: `dvc run -n stage -d data.csv -o processed.csv python process.py`.
|
|
13
|
+
- **Notebooks**: `papermill.execute_notebook('template.ipynb', 'output.ipynb', parameters={})`.
|
|
14
|
+
- **Seeds**: Set all random seeds (`random`, `numpy`, `torch`, `tensorflow`).
|
|
15
|
+
|
|
16
|
+
## Rules
|
|
17
|
+
|
|
18
|
+
- Always pin dependency versions: `pip freeze > requirements.txt`.
|
|
19
|
+
- Set seeds at experiment start — `np.random.seed(42)`, `torch.manual_seed(42)`.
|
|
20
|
+
- Log all hyperparameters, not just the final ones.
|
|
21
|
+
|
|
22
|
+
## Anti-patterns
|
|
23
|
+
|
|
24
|
+
- Don't use `random.seed()` alone — set numpy and torch seeds too.
|
|
25
|
+
- Don't hardcode paths in notebooks — use configuration files.
|
|
26
|
+
- Don't skip logging negative results — they are equally valuable.
|
|
27
|
+
|
|
28
|
+
|