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,114 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: iso-13485-certification
|
|
3
|
+
description: Comprehensive toolkit for preparing ISO 13485 certification documentation for medical device Quality Management Systems. Use when users need help with ISO 13485 QMS documentation, including (1) conducting gap analysis of existing documentation, (2) creating Quality Manuals, (3) developing required procedures and work instructions, (4) preparing Medical Device Files, (5) understanding ISO 13485 requirements, or (6) identifying missing documentation for medical device certification. Also use when users mention medical device regulations, QMS certification, FDA QMSR, EU MDR, or need help with quality system documentation.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# ISO 13485 Certification Documentation Assistant
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
This skill helps medical device manufacturers prepare comprehensive documentation for ISO 13485:2016 certification. It provides tools, templates, references, and guidance to create, review, and gap-analyze all required Quality Management System (QMS) documentation.
|
|
11
|
+
|
|
12
|
+
**What this skill provides:**
|
|
13
|
+
- Gap analysis of existing documentation
|
|
14
|
+
- Templates for all mandatory documents
|
|
15
|
+
- Comprehensive requirements guidance
|
|
16
|
+
- Step-by-step documentation creation
|
|
17
|
+
- Identification of missing documentation
|
|
18
|
+
- Compliance checklists
|
|
19
|
+
|
|
20
|
+
**When to use this skill:**
|
|
21
|
+
- Starting ISO 13485 certification process
|
|
22
|
+
- Conducting gap analysis against ISO 13485
|
|
23
|
+
|
|
24
|
+
## Core Workflow
|
|
25
|
+
|
|
26
|
+
### 1. Assess Current State (Gap Analysis)
|
|
27
|
+
|
|
28
|
+
**When to start here:** User has existing documentation and needs to identify gaps
|
|
29
|
+
|
|
30
|
+
**Process:**
|
|
31
|
+
|
|
32
|
+
1. **Collect existing documentation:**
|
|
33
|
+
- Ask user to provide directory of current QMS documents
|
|
34
|
+
- Documents can be in any format (.txt, .md, .doc, .docx, .pdf)
|
|
35
|
+
- Include any procedures, manuals, work instructions, forms
|
|
36
|
+
|
|
37
|
+
2. **Run gap analysis script:**
|
|
38
|
+
```bash
|
|
39
|
+
python scripts/gap_analyzer.py --docs-dir <path_to_docs> --output gap-report.json
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### 2. Understand Requirements (Reference Consultation)
|
|
43
|
+
|
|
44
|
+
**When to use:** User needs to understand specific ISO 13485 requirements
|
|
45
|
+
|
|
46
|
+
**Available references:**
|
|
47
|
+
- `(see docs)` - Complete clause-by-clause breakdown
|
|
48
|
+
- `(see docs)` - All 31 required procedures explained
|
|
49
|
+
- `(see docs)` - Detailed compliance checklist
|
|
50
|
+
- `(see docs)` - How to create Quality Manual
|
|
51
|
+
|
|
52
|
+
**How to use:**
|
|
53
|
+
|
|
54
|
+
1. **For specific clause questions:**
|
|
55
|
+
- Read relevant section from `iso-13485-requirements.md`
|
|
56
|
+
- Explain requirements in plain language
|
|
57
|
+
|
|
58
|
+
### 3. Create Documentation (Template-Based Generation)
|
|
59
|
+
|
|
60
|
+
**When to use:** User needs to create specific QMS documents
|
|
61
|
+
|
|
62
|
+
**Available templates:**
|
|
63
|
+
- Quality Manual: `assets/templates/quality-manual-template.md`
|
|
64
|
+
- CAPA Procedure: `assets/templates/procedures/CAPA-procedure-template.md`
|
|
65
|
+
- Document Control: `assets/templates/procedures/document-control-procedure-template.md`
|
|
66
|
+
|
|
67
|
+
**Process for document creation:**
|
|
68
|
+
|
|
69
|
+
1. **Identify what needs to be created:**
|
|
70
|
+
- Based on gap analysis or user request
|
|
71
|
+
- Prioritize critical documents first (Quality Manual, CAPA, Complaints, Audits)
|
|
72
|
+
|
|
73
|
+
### 4. Develop Specific Documents
|
|
74
|
+
|
|
75
|
+
#### Creating a Quality Manual
|
|
76
|
+
|
|
77
|
+
**Process:**
|
|
78
|
+
|
|
79
|
+
1. **Read the comprehensive guide:**
|
|
80
|
+
- Read `(see docs)` in full
|
|
81
|
+
- Understand structure and required content
|
|
82
|
+
- Review examples provided
|
|
83
|
+
|
|
84
|
+
2. **Gather organization information:**
|
|
85
|
+
- Legal company name and addresses
|
|
86
|
+
- Product types and classifications
|
|
87
|
+
- Organizational structure
|
|
88
|
+
|
|
89
|
+
### 5. Conduct Comprehensive Gap Analysis
|
|
90
|
+
|
|
91
|
+
**When to use:** User wants detailed assessment of all requirements
|
|
92
|
+
|
|
93
|
+
**Process:**
|
|
94
|
+
|
|
95
|
+
1. **Use comprehensive checklist:**
|
|
96
|
+
- Open `(see docs)`
|
|
97
|
+
- Work through clause by clause
|
|
98
|
+
- Mark status for each requirement: Compliant, Partial, Non-compliant, N/A
|
|
99
|
+
|
|
100
|
+
2. **For each clause:**
|
|
101
|
+
- Read requirement description
|
|
102
|
+
- Identify existing evidence
|
|
103
|
+
- Note gaps or deficiencies
|
|
104
|
+
|
|
105
|
+
## Common Scenarios
|
|
106
|
+
|
|
107
|
+
### Scenario 1: Starting from Scratch
|
|
108
|
+
|
|
109
|
+
**User request:** "We're a medical device startup and need to implement ISO 13485. Where do we start?"
|
|
110
|
+
|
|
111
|
+
**Approach:**
|
|
112
|
+
|
|
113
|
+
1. **Explain the journey:**
|
|
114
|
+
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: knowledge-agent
|
|
3
|
+
description: Build and query AI-powered knowledge bases from claude-mem observations. Use when users want to create focused "brains" from their observation history, ask questions about past work patterns, or compile expertise on specific topics.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Knowledge Agent
|
|
7
|
+
|
|
8
|
+
Build and query AI-powered knowledge bases from claude-mem observations.
|
|
9
|
+
|
|
10
|
+
## What Are Knowledge Agents?
|
|
11
|
+
|
|
12
|
+
Knowledge agents are filtered corpora of observations compiled into a conversational AI session. Build a corpus from your observation history, prime it (loads the knowledge into an AI session), then ask it questions conversationally.
|
|
13
|
+
|
|
14
|
+
Think of them as custom "brains": "everything about hooks", "all decisions from the last month", "all bugfixes for the worker service".
|
|
15
|
+
|
|
16
|
+
## Workflow
|
|
17
|
+
|
|
18
|
+
### Step 1: Build a corpus
|
|
19
|
+
|
|
20
|
+
```text
|
|
21
|
+
build_corpus name="hooks-expertise" description="Everything about the hooks lifecycle" project="claude-mem" concepts="hooks" limit=500
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Filter options:
|
|
25
|
+
- `project` — filter by project name
|
|
26
|
+
- `types` — comma-separated: decision, bugfix, feature, refactor, discovery, change
|
|
27
|
+
- `concepts` — comma-separated concept tags
|
|
28
|
+
- `files` — comma-separated file paths (prefix match)
|
|
29
|
+
- `query` — semantic search query
|
|
30
|
+
- `dateStart` / `dateEnd` — ISO date range
|
|
31
|
+
- `limit` — max observations (default 500)
|
|
32
|
+
|
|
33
|
+
### Step 2: Prime the corpus
|
|
34
|
+
|
|
35
|
+
```text
|
|
36
|
+
prime_corpus name="hooks-expertise"
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
This creates an AI session loaded with all the corpus knowledge. Takes a moment for large corpora.
|
|
40
|
+
|
|
41
|
+
### Step 3: Query
|
|
42
|
+
|
|
43
|
+
```text
|
|
44
|
+
query_corpus name="hooks-expertise" question="What are the 5 lifecycle hooks and when does each fire?"
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
The knowledge agent answers from its corpus. Follow-up questions maintain context.
|
|
48
|
+
|
|
49
|
+
### Step 4: List corpora
|
|
50
|
+
|
|
51
|
+
```text
|
|
52
|
+
list_corpora
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Shows all corpora with stats and priming status.
|
|
56
|
+
|
|
57
|
+
## Tips
|
|
58
|
+
|
|
59
|
+
- **Focused corpora work best** — "hooks architecture" beats "everything ever"
|
|
60
|
+
- **Prime once, query many times** — the session persists across queries
|
|
61
|
+
- **Reprime for fresh context** — if the conversation drifts, reprime to reset
|
|
62
|
+
- **Rebuild to update** — when new observations are added, rebuild then reprime
|
|
63
|
+
|
|
64
|
+
## Maintenance
|
|
65
|
+
|
|
66
|
+
### Rebuild a corpus (refresh with new observations)
|
|
67
|
+
|
|
68
|
+
```text
|
|
69
|
+
rebuild_corpus name="hooks-expertise"
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
After rebuilding, reprime to load the updated knowledge:
|
|
73
|
+
|
|
74
|
+
### Reprime (fresh session)
|
|
75
|
+
|
|
76
|
+
```text
|
|
77
|
+
reprime_corpus name="hooks-expertise"
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Clears prior Q&A context and reloads the corpus into a new session.
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: labarchive-integration
|
|
3
|
+
description: Electronic lab notebook API integration. Access notebooks, manage entries/attachments, backup notebooks, integrate with Protocols.io/Jupyter/REDCap, for programmatic ELN workflows.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# LabArchives Integration
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
LabArchives is an electronic lab notebook platform for research documentation and data management. Access notebooks, manage entries and attachments, generate reports, and integrate with third-party tools programmatically via REST API.
|
|
11
|
+
|
|
12
|
+
## When to Use This Skill
|
|
13
|
+
|
|
14
|
+
This skill should be used when:
|
|
15
|
+
- Working with LabArchives REST API for notebook automation
|
|
16
|
+
- Backing up notebooks programmatically
|
|
17
|
+
- Creating or managing notebook entries and attachments
|
|
18
|
+
- Generating site reports and analytics
|
|
19
|
+
- Integrating LabArchives with third-party tools (Protocols.io, Jupyter, REDCap)
|
|
20
|
+
- Automating data upload to electronic lab notebooks
|
|
21
|
+
- Managing user access and permissions programmatically
|
|
22
|
+
|
|
23
|
+
## Core Capabilities
|
|
24
|
+
|
|
25
|
+
### 1. Authentication and Configuration
|
|
26
|
+
|
|
27
|
+
Set up API access credentials and regional endpoints for LabArchives API integration.
|
|
28
|
+
|
|
29
|
+
**Prerequisites:**
|
|
30
|
+
- Enterprise LabArchives license with API access enabled
|
|
31
|
+
- API access key ID and password from LabArchives administrator
|
|
32
|
+
- User authentication credentials (email and external applications password)
|
|
33
|
+
|
|
34
|
+
**Configuration setup:**
|
|
35
|
+
|
|
36
|
+
Use the `scripts/setup_config.py` script to create a configuration file:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
python3 scripts/setup_config.py
|
|
40
|
+
|
|
41
|
+
# Initialize client
|
|
42
|
+
client = Client(api_url, access_key_id, access_password)
|
|
43
|
+
|
|
44
|
+
# Get user access info
|
|
45
|
+
login_params = {'login_or_email': user_email, 'password': auth_token}
|
|
46
|
+
response = client.make_call('users', 'user_access_info', params=login_params)
|
|
47
|
+
|
|
48
|
+
# Extract UID from response
|
|
49
|
+
import xml.etree.ElementTree as ET
|
|
50
|
+
uid = ET.fromstring(response.content)[0].text
|
|
51
|
+
|
|
52
|
+
# Get detailed user info
|
|
53
|
+
params = {'uid': uid}
|
|
54
|
+
user_info = client.make_call('users', 'user_info_via_id', params=params)
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### 3. Notebook Operations
|
|
58
|
+
|
|
59
|
+
Manage notebook access, backup, and metadata retrieval.
|
|
60
|
+
|
|
61
|
+
**Key operations:**
|
|
62
|
+
|
|
63
|
+
- **List notebooks:** Retrieve all notebooks accessible to a user
|
|
64
|
+
- **Backup notebooks:** Download complete notebook data with optional attachment inclusion
|
|
65
|
+
- **Get notebook IDs:** Retrieve institution-defined notebook identifiers for integration with grants/project management systems
|
|
66
|
+
- **Get notebook members:** List all users with access to a specific notebook
|
|
67
|
+
- **Get notebook settings:** Retrieve configuration and permissions for notebooks
|
|
68
|
+
|
|
69
|
+
**Notebook backup example:**
|
|
70
|
+
|
|
71
|
+
Use the `scripts/notebook_operations.py` script:
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
# Backup with attachments (default, creates 7z archive)
|
|
75
|
+
python3 scripts/notebook_operations.py backup --uid USER_ID --nbid NOTEBOOK_ID
|
|
76
|
+
|
|
77
|
+
### 4. Entry and Attachment Management
|
|
78
|
+
|
|
79
|
+
Create, modify, and manage notebook entries and file attachments.
|
|
80
|
+
|
|
81
|
+
**Entry operations:**
|
|
82
|
+
- Create new entries in notebooks
|
|
83
|
+
- Add comments to existing entries
|
|
84
|
+
- Create entry parts/components
|
|
85
|
+
- Upload file attachments to entries
|
|
86
|
+
|
|
87
|
+
**Attachment workflow:**
|
|
88
|
+
|
|
89
|
+
Use the `scripts/entry_operations.py` script:
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
# Upload attachment to an entry
|
|
93
|
+
python3 scripts/entry_operations.py upload --uid USER_ID --nbid NOTEBOOK_ID --entry-id ENTRY_ID --file /path/to/file.pdf
|
|
94
|
+
|
|
95
|
+
# Create a new entry with text content
|
|
96
|
+
python3 scripts/entry_operations.py create --uid USER_ID --nbid NOTEBOOK_ID --title "Experiment Results" --content "Results from today's experiment..."
|
|
97
|
+
|
|
98
|
+
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: lamindb
|
|
3
|
+
description: This skill should be used when working with LaminDB, an open-source data framework for biology that makes data queryable, traceable, reproducible, and FAIR. Use when managing biological datasets (scRNA-seq, spatial, flow cytometry, etc.), tracking computational workflows, curating and validating data with biological ontologies, building data lakehouses, or ensuring data lineage and reproducibility in biological research. Covers data management, annotation, ontologies (genes, cell types, diseases, tissues), schema validation, integrations with workflow managers (Nextflow, Snakemake) and MLOps platforms (W&B, MLflow), and deployment strategies.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# LaminDB
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
LaminDB is an open-source data framework for biology designed to make data queryable, traceable, reproducible, and FAIR (Findable, Accessible, Interoperable, Reusable). It provides a unified platform that combines lakehouse architecture, lineage tracking, feature stores, biological ontologies, LIMS (Laboratory Information Management System), and ELN (Electronic Lab Notebook) capabilities through a single Python API.
|
|
11
|
+
|
|
12
|
+
**Core Value Proposition:**
|
|
13
|
+
- **Queryability**: Search and filter datasets by metadata, features, and ontology terms
|
|
14
|
+
- **Traceability**: Automatic lineage tracking from raw data through analysis to results
|
|
15
|
+
- **Reproducibility**: Version control for data, code, and environment
|
|
16
|
+
- **FAIR Compliance**: Standardized annotations using biological ontologies
|
|
17
|
+
|
|
18
|
+
## When to Use This Skill
|
|
19
|
+
|
|
20
|
+
Use this skill when:
|
|
21
|
+
|
|
22
|
+
- **Managing biological datasets**: scRNA-seq, bulk RNA-seq, spatial transcriptomics, flow cytometry, multi-modal data, EHR data
|
|
23
|
+
- **Tracking computational workflows**: Notebooks, scripts, pipeline execution (Nextflow, Snakemake, Redun)
|
|
24
|
+
- **Curating and validating data**: Schema validation, standardization, ontology-based annotation
|
|
25
|
+
- **Working with biological ontologies**: Genes, proteins, cell types, tissues, diseases, pathways (via Bionty)
|
|
26
|
+
- **Building data lakehouses**: Unified query interface across multiple datasets
|
|
27
|
+
- **Ensuring reproducibility**: Automatic versioning, lineage tracking, environment capture
|
|
28
|
+
- **Integrating ML pipelines**: Connecting with Weights & Biases, MLflow, HuggingFace, scVI-tools
|
|
29
|
+
- **Deploying data infrastructure**: Setting up local or cloud-based data management systems
|
|
30
|
+
- **Collaborating on datasets**: Sharing curated, annotated data with standardized metadata
|
|
31
|
+
|
|
32
|
+
## Core Capabilities
|
|
33
|
+
|
|
34
|
+
LaminDB provides six interconnected capability areas, each documented in detail in the references folder.
|
|
35
|
+
|
|
36
|
+
### 1. Core Concepts and Data Lineage
|
|
37
|
+
|
|
38
|
+
**Core entities:**
|
|
39
|
+
- **Artifacts**: Versioned datasets (DataFrame, AnnData, Parquet, Zarr, etc.)
|
|
40
|
+
- **Records**: Experimental entities (samples, perturbations, instruments)
|
|
41
|
+
- **Runs & Transforms**: Computational lineage tracking (what code produced what data)
|
|
42
|
+
- **Features**: Typed metadata fields for annotation and querying
|
|
43
|
+
|
|
44
|
+
**Key workflows:**
|
|
45
|
+
- Create and version artifacts from files or Python objects
|
|
46
|
+
- Track notebook/script execution with `ln.track()` and `ln.finish()`
|
|
47
|
+
- Annotate artifacts with typed features
|
|
48
|
+
- Visualize data lineage graphs with `artifact.view_lineage()`
|
|
49
|
+
- Query by provenance (find all outputs from specific code/inputs)
|
|
50
|
+
|
|
51
|
+
**Reference:** `(see docs)` - Read this for detailed information on artifacts, records, runs, transforms, features, versioning, and lineage tracking.
|
|
52
|
+
|
|
53
|
+
### 2. Data Management and Querying
|
|
54
|
+
|
|
55
|
+
**Query capabilities:**
|
|
56
|
+
- Registry exploration and lookup with auto-complete
|
|
57
|
+
- Single record retrieval with `get()`, `one()`, `one_or_none()`
|
|
58
|
+
- Filtering with comparison operators (`__gt`, `__lte`, `__contains`, `__startswith`)
|
|
59
|
+
- Feature-based queries (query by annotated metadata)
|
|
60
|
+
- Cross-registry traversal with double-underscore syntax
|
|
61
|
+
- Full-text search across registries
|
|
62
|
+
- Advanced logical queries with Q objects (AND, OR, NOT)
|
|
63
|
+
- Streaming large datasets without loading into memory
|
|
64
|
+
|
|
65
|
+
**Key workflows:**
|
|
66
|
+
- Browse artifacts with filters and ordering
|
|
67
|
+
- Query by features, creation date, creator, size, etc.
|
|
68
|
+
|
|
69
|
+
### 3. Annotation and Validation
|
|
70
|
+
|
|
71
|
+
**Curation process:**
|
|
72
|
+
1. **Validation**: Confirm datasets match desired schemas
|
|
73
|
+
2. **Standardization**: Fix typos, map synonyms to canonical terms
|
|
74
|
+
3. **Annotation**: Link datasets to metadata entities for queryability
|
|
75
|
+
|
|
76
|
+
**Schema types:**
|
|
77
|
+
- **Flexible schemas**: Validate only known columns, allow additional metadata
|
|
78
|
+
- **Minimal required schemas**: Specify essential columns, permit extras
|
|
79
|
+
- **Strict schemas**: Complete control over structure and values
|
|
80
|
+
|
|
81
|
+
**Supported data types:**
|
|
82
|
+
- DataFrames (Parquet, CSV)
|
|
83
|
+
- AnnData (single-cell genomics)
|
|
84
|
+
|
|
85
|
+
### 4. Biological Ontologies
|
|
86
|
+
|
|
87
|
+
**Available ontologies (via Bionty):**
|
|
88
|
+
- Genes (Ensembl), Proteins (UniProt)
|
|
89
|
+
- Cell types (CL), Cell lines (CLO)
|
|
90
|
+
- Tissues (Uberon), Diseases (Mondo, DOID)
|
|
91
|
+
- Phenotypes (HPO), Pathways (GO)
|
|
92
|
+
- Experimental factors (EFO), Developmental stages
|
|
93
|
+
- Organisms (NCBItaxon), Drugs (DrugBank)
|
|
94
|
+
|
|
95
|
+
**Key workflows:**
|
|
96
|
+
- Import public ontologies with `bt.CellType.import_source()`
|
|
97
|
+
- Search ontologies with keyword or exact matching
|
|
98
|
+
- Standardize terms using synonym mapping
|
|
99
|
+
- Explore hierarchical relationships (parents, children, ancestors)
|
|
100
|
+
|
|
101
|
+
### 5. Integrations
|
|
102
|
+
|
|
103
|
+
**Workflow managers:**
|
|
104
|
+
- Nextflow: Track pipeline processes and outputs
|
|
105
|
+
- Snakemake: Integrate into Snakemake rules
|
|
106
|
+
- Redun: Combine with Redun task tracking
|
|
107
|
+
|
|
108
|
+
**MLOps platforms:**
|
|
109
|
+
- Weights & Biases: Link experiments with data artifacts
|
|
110
|
+
- MLflow: Track models and experiments
|
|
111
|
+
- HuggingFace: Track model fine-tuning
|
|
112
|
+
- scVI-tools: Single-cell analysis workflows
|
|
113
|
+
|
|
114
|
+
**Storage systems:**
|
|
115
|
+
- Local filesystem, AWS S3, Google Cloud Storage
|
|
116
|
+
|
|
117
|
+
### 6. Setup and Deployment
|
|
118
|
+
|
|
119
|
+
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: landsat
|
|
3
|
+
description: Geospatial and remote sensing analysis with satellite imagery. Use when working with Landsat, Sentinel, raster data, land cover classification, NDVI calculation, or spatial data processing. Trigger on imports of rasterio, geopandas, xarray-spatial, or mentions of satellite, remote sensing, geospatial, raster, land cover.
|
|
4
|
+
---
|
|
5
|
+
# landsat
|
|
6
|
+
|
|
7
|
+
Use this skill for satellite imagery and geospatial analysis.
|
|
8
|
+
|
|
9
|
+
## Core patterns
|
|
10
|
+
|
|
11
|
+
- **Load raster**: `rasterio.open('image.tif')` → `band = src.read(1)`.
|
|
12
|
+
- **CRS transform**: `rasterio.warp.reproject()` for coordinate system conversion.
|
|
13
|
+
- **NDVI**: `(nir - red) / (nir + red)` where Landsat 8: B5=NIR, B4=Red.
|
|
14
|
+
- **Vector overlay**: `geopandas.sjoin(points, polygons)` for spatial joins.
|
|
15
|
+
- **Zonal stats**: `rasterstats.zonal_stats(polygons, raster, stats=['mean', 'std'])`.
|
|
16
|
+
|
|
17
|
+
## Rules
|
|
18
|
+
|
|
19
|
+
- Always check CRS before spatial operations — mismatched CRS causes silent errors.
|
|
20
|
+
- Use `with rasterio.open() as src:` for file handle safety.
|
|
21
|
+
- Mask clouds using QA band — don't assume clear pixels.
|
|
22
|
+
|
|
23
|
+
## Anti-patterns
|
|
24
|
+
|
|
25
|
+
- Don't load entire raster into memory for large scenes — use windowed reading.
|
|
26
|
+
- Don't reproject vector data repeatedly — reproject once, cache result.
|
|
27
|
+
- Don't compute NDVI with integer division — cast to float first.
|
|
28
|
+
|
|
29
|
+
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: latchbio-integration
|
|
3
|
+
description: Latch platform for bioinformatics workflows. Build pipelines with Latch SDK, @workflow/@task decorators, deploy serverless workflows, LatchFile/LatchDir, Nextflow/Snakemake integration.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# LatchBio Integration
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
Latch is a Python framework for building and deploying bioinformatics workflows as serverless pipelines. Built on Flyte, create workflows with @workflow/@task decorators, manage cloud data with LatchFile/LatchDir, configure resources, and integrate Nextflow/Snakemake pipelines.
|
|
11
|
+
|
|
12
|
+
## Core Capabilities
|
|
13
|
+
|
|
14
|
+
The Latch platform provides four main areas of functionality:
|
|
15
|
+
|
|
16
|
+
### 1. Workflow Creation and Deployment
|
|
17
|
+
- Define serverless workflows using Python decorators
|
|
18
|
+
- Support for native Python, Nextflow, and Snakemake pipelines
|
|
19
|
+
- Automatic containerization with Docker
|
|
20
|
+
- Auto-generated no-code user interfaces
|
|
21
|
+
- Version control and reproducibility
|
|
22
|
+
|
|
23
|
+
### 2. Data Management
|
|
24
|
+
- Cloud storage abstractions (LatchFile, LatchDir)
|
|
25
|
+
- Structured data organization with Registry (Projects → Tables → Records)
|
|
26
|
+
- Type-safe data operations with links and enums
|
|
27
|
+
- Automatic file transfer between local and cloud
|
|
28
|
+
- Glob pattern matching for file selection
|
|
29
|
+
|
|
30
|
+
### 3. Resource Configuration
|
|
31
|
+
- Pre-configured task decorators (@small_task, @large_task, @small_gpu_task, @large_gpu_task)
|
|
32
|
+
- Custom resource specifications (CPU, memory, GPU, storage)
|
|
33
|
+
- GPU support (K80, V100, A100)
|
|
34
|
+
- Timeout and storage configuration
|
|
35
|
+
- Cost optimization strategies
|
|
36
|
+
|
|
37
|
+
### 4. Verified Workflows
|
|
38
|
+
- Production-ready pre-built pipelines
|
|
39
|
+
- Bulk RNA-seq, DESeq2, pathway analysis
|
|
40
|
+
- AlphaFold and ColabFold for protein structure prediction
|
|
41
|
+
- Single-cell tools (ArchR, scVelo, emptyDropsR)
|
|
42
|
+
- CRISPR analysis, phylogenetics, and more
|
|
43
|
+
|
|
44
|
+
## Quick Start
|
|
45
|
+
|
|
46
|
+
# Login to Latch
|
|
47
|
+
latch login
|
|
48
|
+
|
|
49
|
+
# Initialize a new workflow
|
|
50
|
+
latch init my-workflow
|
|
51
|
+
|
|
52
|
+
# Register workflow to platform
|
|
53
|
+
latch register my-workflow
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
**Prerequisites:**
|
|
57
|
+
- Docker installed and running
|
|
58
|
+
- Latch account credentials
|
|
59
|
+
- Python 3.8+
|
|
60
|
+
|
|
61
|
+
### Basic Workflow Example
|
|
62
|
+
|
|
63
|
+
```python
|
|
64
|
+
from latch import workflow, small_task
|
|
65
|
+
from latch.types import LatchFile
|
|
66
|
+
|
|
67
|
+
@small_task
|
|
68
|
+
def process_file(input_file: LatchFile) -> LatchFile:
|
|
69
|
+
"""Process a single file"""
|
|
70
|
+
# Processing logic
|
|
71
|
+
return output_file
|
|
72
|
+
|
|
73
|
+
@workflow
|
|
74
|
+
def my_workflow(input_file: LatchFile) -> LatchFile:
|
|
75
|
+
"""
|
|
76
|
+
|
|
77
|
+
## When to Use This Skill
|
|
78
|
+
|
|
79
|
+
This skill should be used when encountering any of the following scenarios:
|
|
80
|
+
|
|
81
|
+
**Workflow Development:**
|
|
82
|
+
- "Create a Latch workflow for RNA-seq analysis"
|
|
83
|
+
- "Deploy my pipeline to Latch"
|
|
84
|
+
- "Convert my Nextflow pipeline to Latch"
|
|
85
|
+
- "Add GPU support to my workflow"
|
|
86
|
+
- Working with `@workflow`, `@task` decorators
|
|
87
|
+
|
|
88
|
+
**Data Management:**
|
|
89
|
+
- "Organize my sequencing data in Latch Registry"
|
|
90
|
+
- "How do I use LatchFile and LatchDir?"
|
|
91
|
+
- "Set up sample tracking in Latch"
|
|
92
|
+
|
|
93
|
+
## Detailed Documentation
|
|
94
|
+
|
|
95
|
+
This skill includes comprehensive reference documentation organized by capability:
|
|
96
|
+
|
|
97
|
+
### (see docs)
|
|
98
|
+
**Read this for:**
|
|
99
|
+
- Creating and registering workflows
|
|
100
|
+
- Task definition and decorators
|
|
101
|
+
- Supporting Python, Nextflow, Snakemake
|
|
102
|
+
- Launch plans and conditional sections
|
|
103
|
+
- Workflow execution (CLI and programmatic)
|
|
104
|
+
- Multi-step and parallel pipelines
|
|
105
|
+
- Troubleshooting registration issues
|
|
106
|
+
|
|
107
|
+
**Key topics:**
|
|
108
|
+
- `latch init` and `latch register` commands
|
|
109
|
+
- `@workflow` and `@task` decorators
|
|
110
|
+
- LatchFile and LatchDir basics
|
|
111
|
+
- Type annotations and docstrings
|
|
112
|
+
- Launch plans with preset parameters
|
|
113
|
+
- Conditional UI sections
|
|
114
|
+
|
|
115
|
+
### (see docs)
|
|
116
|
+
**Read this for:**
|
|
117
|
+
|
|
118
|
+
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: latex-posters
|
|
3
|
+
description: "Create professional research posters in LaTeX using beamerposter, tikzposter, or baposter. Support for conference presentations, academic posters, and scientific communication. Includes layout design, color schemes, multi-column formats, figure integration, and poster-specific best practices for visual communication."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# LaTeX Research Posters
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
Research posters are a critical medium for scientific communication at conferences, symposia, and academic events. This skill provides comprehensive guidance for creating professional, visually appealing research posters using LaTeX packages. Generate publication-quality posters with proper layout, typography, color schemes, and visual hierarchy.
|
|
11
|
+
|
|
12
|
+
## When to Use This Skill
|
|
13
|
+
|
|
14
|
+
This skill should be used when:
|
|
15
|
+
- Creating research posters for conferences, symposia, or poster sessions
|
|
16
|
+
- Designing academic posters for university events or thesis defenses
|
|
17
|
+
- Preparing visual summaries of research for public engagement
|
|
18
|
+
- Converting scientific papers into poster format
|
|
19
|
+
- Creating template posters for research groups or departments
|
|
20
|
+
- Designing posters that comply with specific conference size requirements (A0, A1, 36×48", etc.)
|
|
21
|
+
- Building posters with complex multi-column layouts
|
|
22
|
+
- Integrating figures, tables, equations, and citations in poster format
|
|
23
|
+
|
|
24
|
+
## AI-Powered Visual Element Generation
|
|
25
|
+
|
|
26
|
+
**STANDARD WORKFLOW: Generate ALL major visual elements using AI before creating the LaTeX poster.**
|
|
27
|
+
|
|
28
|
+
This is the recommended approach for creating visually compelling posters:
|
|
29
|
+
1. Plan all visual elements needed (title, intro, methods, results, conclusions)
|
|
30
|
+
2. Generate each element using scientific-schematics or Nano Banana Pro
|
|
31
|
+
3. Assemble generated images in the LaTeX template
|
|
32
|
+
4. Add text content around the visuals
|
|
33
|
+
|
|
34
|
+
**Target: 60-70% of poster area should be AI-generated visuals, 30-40% text.**
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
### CRITICAL: Preventing Content Overflow
|
|
39
|
+
|
|
40
|
+
**⚠️ POSTERS MUST NOT HAVE TEXT OR CONTENT CUT OFF AT EDGES.**
|
|
41
|
+
|
|
42
|
+
**Common Overflow Problems:**
|
|
43
|
+
1. **Title/footer text extending beyond page boundaries**
|
|
44
|
+
2. **Too many sections crammed into available space**
|
|
45
|
+
3. **Figures placed too close to edges**
|
|
46
|
+
4. **Text blocks exceeding column widths**
|
|
47
|
+
|
|
48
|
+
**Prevention Rules:**
|
|
49
|
+
|
|
50
|
+
**1. Limit Content Sections (MAXIMUM 5-6 sections for A0):**
|
|
51
|
+
```
|
|
52
|
+
✅ GOOD - 5 sections with room to breathe:
|
|
53
|
+
|
|
54
|
+
# Compile and check PDF at 100% zoom
|
|
55
|
+
pdflatex poster.tex
|
|
56
|
+
|
|
57
|
+
# Look for:
|
|
58
|
+
# - Text cut off at any edge
|
|
59
|
+
# - Content touching page boundaries
|
|
60
|
+
# - Overfull hbox warnings in .log file
|
|
61
|
+
grep -i "overfull" poster.log
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
**5. Word Count Limits:**
|
|
65
|
+
- **A0 poster**: 300-800 words MAXIMUM
|
|
66
|
+
- **Per section**: 50-100 words maximum
|
|
67
|
+
- **If you have more content**: Cut it or make a handout
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
### CRITICAL: Poster-Size Font Requirements
|
|
72
|
+
|
|
73
|
+
**⚠️ ALL text within AI-generated visualizations MUST be poster-readable.**
|
|
74
|
+
|
|
75
|
+
When generating graphics for posters, you MUST include font size specifications in EVERY prompt. Poster graphics are viewed from 4-6 feet away, so text must be LARGE.
|
|
76
|
+
|
|
77
|
+
**⚠️ COMMON PROBLEM: Content Overflow and Density**
|
|
78
|
+
|
|
79
|
+
The #1 issue with AI-generated poster graphics is **TOO MUCH CONTENT**. This causes:
|
|
80
|
+
- Text overflow beyond boundaries
|
|
81
|
+
- Unreadable small fonts
|
|
82
|
+
- Cluttered, overwhelming visuals
|
|
83
|
+
- Poor white space usage
|
|
84
|
+
|
|
85
|
+
**SOLUTION: Generate SIMPLE graphics with MINIMAL content.**
|
|
86
|
+
|
|
87
|
+
# ❌ BAD - This creates tiny unreadable text like the drug discovery poster
|
|
88
|
+
python scripts/generate_schematic.py "Drug discovery workflow showing: Stage 1 Target Identification, Stage 2 Molecular Synthesis, Stage 3 Virtual Screening, Stage 4 AI Lead Optimization, Stage 5 Clinical Trial Design, Stage 6 FDA Approval. Include success metrics, timelines, and validation steps for each stage." -o figures/workflow.png
|
|
89
|
+
# Result: 7+ stages with tiny text, unreadable from 6 feet - POSTER FAILURE
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
**Example - CORRECT (simplified to 3 key stages):**
|
|
93
|
+
```bash
|
|
94
|
+
# ✅ GOOD - Same content, split into ONE simple high-level graphic
|
|
95
|
+
python scripts/generate_schematic.py "POSTER FORMAT for A0. ULTRA-SIMPLE 3-box workflow: 'DISCOVER' → 'VALIDATE' → 'APPROVE'. Each word in GIANT bold (120pt+). Thick arrows (10px). 60% white space. NO substeps, NO details. 3 words total. Readable from 10 feet." -o figures/workflow_overview.png
|
|
96
|
+
# Result: Clean, impactful, readable - can add detail graphics separately if needed
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
**Example - WRONG (complex case studies with multiple sections):**
|
|
100
|
+
```bash
|
|
101
|
+
# ❌ BAD - Creates cramped unreadable sections
|
|
102
|
+
python scripts/generate_schematic.py "Case studies: Insilico Medicine (drug candidate, discovery time, clinical trials), Recursion Pharma (platform, methodology, results), Exscientia (drug candidates, FDA status, timeline). Include company logos, metrics, and outcomes." -o figures/cases.png
|
|
103
|
+
# Result: 3 case studies with 4+ elements each = 12+ total elements, tiny text
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
**Example - CORRECT (one case study, one key metric):**
|
|
107
|
+
```bash
|
|
108
|
+
# ✅ GOOD - Show ONE case with ONE key number
|
|
109
|
+
python scripts/generate_schematic.py "POSTER FORMAT for A0. ONE case study card: Company logo (large), '18 MONTHS' in GIANT text (150pt), 'to discovery' below (60pt). 3 elements total: logo + number + caption. 50% white space. Readable from 10 feet." -o figures/case_single.png
|
|
110
|
+
# Result: Clear, readable, impactful. Make 3 separate graphics if you need 3 cases.
|
|
111
|
+
|
|
112
|
+
|