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,92 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: using-vetc
|
|
3
|
+
description: VETC bootstrap — auto-detect and invoke VETC skills based on task context. Always active at session start.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Using VETC Dev Kit
|
|
7
|
+
|
|
8
|
+
<SUBAGENT-STOP>
|
|
9
|
+
If you were dispatched as a subagent to execute a specific task, skip this skill.
|
|
10
|
+
</SUBAGENT-STOP>
|
|
11
|
+
|
|
12
|
+
<EXTREMELY-IMPORTANT>
|
|
13
|
+
If you think there is even a 10% chance a VETC skill might apply to what you are doing, invoke it via Skill tool. VETC skills contain domain-specific patterns, PASS/FAIL code examples, and VETC conventions that prevent bugs.
|
|
14
|
+
|
|
15
|
+
IF A VETC SKILL APPLIES TO YOUR TASK, YOU MUST USE IT.
|
|
16
|
+
</EXTREMELY-IMPORTANT>
|
|
17
|
+
|
|
18
|
+
## Instruction Priority
|
|
19
|
+
|
|
20
|
+
1. **User's explicit instructions** (CLAUDE.md, AGENTS.md, direct requests) — highest
|
|
21
|
+
2. **VETC skills** — override default behavior where they conflict
|
|
22
|
+
3. **Default system prompt** — lowest
|
|
23
|
+
|
|
24
|
+
## How to Access VETC Skills
|
|
25
|
+
|
|
26
|
+
Use the `Skill` tool. When invoked, skill content loads directly — follow it.
|
|
27
|
+
|
|
28
|
+
## Skill Activation Guide
|
|
29
|
+
|
|
30
|
+
| User Intent | Skill to Invoke |
|
|
31
|
+
|-------------|----------------|
|
|
32
|
+
| New feature, any kind | `vetc-sdlc` (SDLC router) |
|
|
33
|
+
| Requirement unclear/mo ho | `vetc-deep-interview` |
|
|
34
|
+
| Quick spec from requirement | `vetc-spec-driven` |
|
|
35
|
+
| Co spec, can plan | `vetc-ralplan` or `vetc-plan` |
|
|
36
|
+
| Co approved plan, implement | `vetc-ralph` |
|
|
37
|
+
| Java/Spring Boot code | `vetc-java-patterns` |
|
|
38
|
+
| React/TypeScript code | `vetc-frontend-patterns` |
|
|
39
|
+
| Write tests | `vetc-tdd` |
|
|
40
|
+
| Review code | `vetc-review` |
|
|
41
|
+
| Security review | `vetc-security` |
|
|
42
|
+
| Debug bug/error | `vetc-systematic-debugging` |
|
|
43
|
+
|
|
44
|
+
## The Rule
|
|
45
|
+
|
|
46
|
+
**Invoke relevant VETC skills BEFORE any response or action.** Even 10% chance = invoke to check. If invoked skill doesn't apply, skip it.
|
|
47
|
+
|
|
48
|
+
## Decision Flow
|
|
49
|
+
|
|
50
|
+
```
|
|
51
|
+
User message → Check VETC skills? → Yes → Invoke Skill → Follow skill → Respond
|
|
52
|
+
→ No → Respond normally
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Red Flags — Rationalization Prevention
|
|
56
|
+
|
|
57
|
+
| Thought | Reality |
|
|
58
|
+
|---------|---------|
|
|
59
|
+
| "This is too simple to need a skill" | Simple things breed complex bugs. Check skills. |
|
|
60
|
+
| "I know what to do" | Skills evolve. Invoke current version. |
|
|
61
|
+
| "Let me just code first" | Skill check comes BEFORE action. |
|
|
62
|
+
| "The skill is overkill" | Prevention beats debugging. Use it. |
|
|
63
|
+
| "Just a quick question" | Questions are tasks. Check for skills. |
|
|
64
|
+
| "I remember this skill" | Skills get updated. Read current version. |
|
|
65
|
+
| "This doesn't count as a task" | Any action = task. Check for skills. |
|
|
66
|
+
| "I'll do this one thing first" | Check BEFORE doing anything. |
|
|
67
|
+
| "This feels productive" | Undisciplined action wastes time. Skills prevent this. |
|
|
68
|
+
| "The user didn't ask for a skill" | Skills activate PROACTIVELY based on context, not just on request. |
|
|
69
|
+
|
|
70
|
+
## Skill Priority
|
|
71
|
+
|
|
72
|
+
When multiple skills could apply:
|
|
73
|
+
|
|
74
|
+
1. **Process skills first** (sdlc, debugging, spec-driven, deep-interview) — determine HOW to approach
|
|
75
|
+
2. **Planning skills second** (ralplan, planner) — create the plan
|
|
76
|
+
3. **Implementation skills third** (java-patterns, frontend-patterns, tdd) — guide execution
|
|
77
|
+
4. **Verification skills last** (verify, security, review) — validate results
|
|
78
|
+
|
|
79
|
+
## SDLC Routing
|
|
80
|
+
|
|
81
|
+
Most tasks start with `vetc-sdlc` which routes to the correct path:
|
|
82
|
+
|
|
83
|
+
- **Path A** — Full BA Pipeline (co tai lieu BA)
|
|
84
|
+
- **Path B** — Quick Path (requirement ro, no BA doc)
|
|
85
|
+
- **Path C** — Consensus Planning (need clarify + plan review)
|
|
86
|
+
|
|
87
|
+
## User Instructions Override
|
|
88
|
+
|
|
89
|
+
Instructions say WHAT, not HOW. "Add X" or "Fix Y" doesn't mean skip skills. Skills guide the HOW.
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: vaex
|
|
3
|
+
description: Use this skill for processing and analyzing large tabular datasets (billions of rows) that exceed available RAM. Vaex excels at out-of-core DataFrame operations, lazy evaluation, fast aggregations, efficient visualization of big data, and machine learning on large datasets. Apply when users need to work with large CSV/HDF5/Arrow/Parquet files, perform fast statistics on massive datasets, create visualizations of big data, or build ML pipelines that do not fit in memory.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Vaex
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
Vaex is a high-performance Python library designed for lazy, out-of-core DataFrames to process and visualize tabular datasets that are too large to fit into RAM. Vaex can process over a billion rows per second, enabling interactive data exploration and analysis on datasets with billions of rows.
|
|
11
|
+
|
|
12
|
+
## When to Use This Skill
|
|
13
|
+
|
|
14
|
+
Use Vaex when:
|
|
15
|
+
- Processing tabular datasets larger than available RAM (gigabytes to terabytes)
|
|
16
|
+
- Performing fast statistical aggregations on massive datasets
|
|
17
|
+
- Creating visualizations and heatmaps of large datasets
|
|
18
|
+
- Building machine learning pipelines on big data
|
|
19
|
+
- Converting between data formats (CSV, HDF5, Arrow, Parquet)
|
|
20
|
+
- Needing lazy evaluation and virtual columns to avoid memory overhead
|
|
21
|
+
- Working with astronomical data, financial time series, or other large-scale scientific datasets
|
|
22
|
+
|
|
23
|
+
## Core Capabilities
|
|
24
|
+
|
|
25
|
+
Vaex provides six primary capability areas, each documented in detail in the references directory:
|
|
26
|
+
|
|
27
|
+
### 1. DataFrames and Data Loading
|
|
28
|
+
|
|
29
|
+
Load and create Vaex DataFrames from various sources including files (HDF5, CSV, Arrow, Parquet), pandas DataFrames, NumPy arrays, and dictionaries. Reference `(see docs)` for:
|
|
30
|
+
- Opening large files efficiently
|
|
31
|
+
- Converting from pandas/NumPy/Arrow
|
|
32
|
+
- Working with example datasets
|
|
33
|
+
- Understanding DataFrame structure
|
|
34
|
+
|
|
35
|
+
### 2. Data Processing and Manipulation
|
|
36
|
+
|
|
37
|
+
Perform filtering, create virtual columns, use expressions, and aggregate data without loading everything into memory. Reference `(see docs)` for:
|
|
38
|
+
- Filtering and selections
|
|
39
|
+
- Virtual columns and expressions
|
|
40
|
+
- Groupby operations and aggregations
|
|
41
|
+
- String operations and datetime handling
|
|
42
|
+
- Working with missing data
|
|
43
|
+
|
|
44
|
+
### 3. Performance and Optimization
|
|
45
|
+
|
|
46
|
+
Leverage Vaex's lazy evaluation, caching strategies, and memory-efficient operations. Reference `(see docs)` for:
|
|
47
|
+
- Understanding lazy evaluation
|
|
48
|
+
- Using `delay=True` for batching operations
|
|
49
|
+
- Materializing columns when needed
|
|
50
|
+
- Caching strategies
|
|
51
|
+
- Asynchronous operations
|
|
52
|
+
|
|
53
|
+
### 4. Data Visualization
|
|
54
|
+
|
|
55
|
+
Create interactive visualizations of large datasets including heatmaps, histograms, and scatter plots. Reference `(see docs)` for:
|
|
56
|
+
- Creating 1D and 2D plots
|
|
57
|
+
- Heatmap visualizations
|
|
58
|
+
- Working with selections
|
|
59
|
+
- Customizing plots and subplots
|
|
60
|
+
|
|
61
|
+
### 5. Machine Learning Integration
|
|
62
|
+
|
|
63
|
+
Build ML pipelines with transformers, encoders, and integration with scikit-learn, XGBoost, and other frameworks. Reference `(see docs)` for:
|
|
64
|
+
- Feature scaling and encoding
|
|
65
|
+
- PCA and dimensionality reduction
|
|
66
|
+
- K-means clustering
|
|
67
|
+
- Integration with scikit-learn/XGBoost/CatBoost
|
|
68
|
+
- Model serialization and deployment
|
|
69
|
+
|
|
70
|
+
### 6. I/O Operations
|
|
71
|
+
|
|
72
|
+
Efficiently read and write data in various formats with optimal performance. Reference `(see docs)` for:
|
|
73
|
+
- File format recommendations
|
|
74
|
+
- Export strategies
|
|
75
|
+
- Working with Apache Arrow
|
|
76
|
+
- CSV handling for large files
|
|
77
|
+
- Server and remote data access
|
|
78
|
+
|
|
79
|
+
## Quick Start Pattern
|
|
80
|
+
|
|
81
|
+
For most Vaex tasks, follow this pattern:
|
|
82
|
+
|
|
83
|
+
```python
|
|
84
|
+
import vaex
|
|
85
|
+
|
|
86
|
+
# 1. Open or create DataFrame
|
|
87
|
+
df = vaex.open('large_file.hdf5') # or .csv, .arrow, .parquet
|
|
88
|
+
# OR
|
|
89
|
+
df = vaex.from_pandas(pandas_df)
|
|
90
|
+
|
|
91
|
+
# 2. Explore the data
|
|
92
|
+
print(df) # Shows first/last rows and column info
|
|
93
|
+
df.describe() # Statistical summary
|
|
94
|
+
|
|
95
|
+
# 3. Create virtual columns (no memory overhead)
|
|
96
|
+
df['new_column'] = df.x ** 2 + df.y
|
|
97
|
+
|
|
98
|
+
# 4. Filter with selections
|
|
99
|
+
df_filtered = df[df.age > 25]
|
|
100
|
+
|
|
101
|
+
# 5. Compute statistics (fast, lazy evaluation)
|
|
102
|
+
mean_val = df.x.mean()
|
|
103
|
+
stats = df.groupby('category').agg({'value': 'sum'})
|
|
104
|
+
|
|
105
|
+
# 6. Visualize
|
|
106
|
+
df.plot1d(df.x, limits=[0, 100])
|
|
107
|
+
df.plot(df.x, df.y, limits='99.7%')
|
|
108
|
+
|
|
109
|
+
# 7. Export if needed
|
|
110
|
+
df.export_hdf5('output.hdf5')
|
|
111
|
+
```
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: venue-templates
|
|
3
|
+
description: Access comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Venue Templates
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
Access comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues, academic conferences, research posters, and grant proposals. This skill provides ready-to-use templates and detailed specifications for successful academic submissions across disciplines.
|
|
11
|
+
|
|
12
|
+
Use this skill when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
|
|
13
|
+
|
|
14
|
+
## When to Use This Skill
|
|
15
|
+
|
|
16
|
+
This skill should be used when:
|
|
17
|
+
- Preparing a manuscript for submission to a specific journal (Nature, Science, PLOS, IEEE, etc.)
|
|
18
|
+
- Writing a conference paper with specific formatting requirements (NeurIPS, ICML, CHI, etc.)
|
|
19
|
+
- Creating an academic research poster for conferences
|
|
20
|
+
- Drafting grant proposals for federal agencies (NSF, NIH, DOE, DARPA) or private foundations
|
|
21
|
+
- Checking formatting requirements and page limits for target venues
|
|
22
|
+
- Customizing templates with author information and project details
|
|
23
|
+
- Verifying document compliance with venue specifications
|
|
24
|
+
|
|
25
|
+
## Visual Enhancement with Scientific Schematics
|
|
26
|
+
|
|
27
|
+
**When creating documents with this skill, always consider adding scientific diagrams and schematics to enhance visual communication.**
|
|
28
|
+
|
|
29
|
+
If your document does not already contain schematics or diagrams:
|
|
30
|
+
- Use the **scientific-schematics** skill to generate AI-powered publication-quality diagrams
|
|
31
|
+
- Simply describe your desired diagram in natural language
|
|
32
|
+
- Nano Banana Pro will automatically generate, review, and refine the schematic
|
|
33
|
+
|
|
34
|
+
**For new documents:** Scientific schematics should be generated by default to visually represent key concepts, workflows, architectures, or relationships described in the text.
|
|
35
|
+
|
|
36
|
+
**How to generate schematics:**
|
|
37
|
+
```bash
|
|
38
|
+
python scripts/generate_schematic.py "your diagram description" -o figures/output.png
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Core Capabilities
|
|
42
|
+
|
|
43
|
+
### 1. Journal Article Templates
|
|
44
|
+
|
|
45
|
+
Access LaTeX templates and formatting guidelines for 50+ major scientific journals across disciplines:
|
|
46
|
+
|
|
47
|
+
**Nature Portfolio**:
|
|
48
|
+
- Nature, Nature Methods, Nature Biotechnology, Nature Machine Intelligence
|
|
49
|
+
- Nature Communications, Nature Protocols
|
|
50
|
+
- Scientific Reports
|
|
51
|
+
|
|
52
|
+
**Science Family**:
|
|
53
|
+
- Science, Science Advances, Science Translational Medicine
|
|
54
|
+
- Science Immunology, Science Robotics
|
|
55
|
+
|
|
56
|
+
**PLOS (Public Library of Science)**:
|
|
57
|
+
- PLOS ONE, PLOS Biology, PLOS Computational Biology
|
|
58
|
+
|
|
59
|
+
### 2. Conference Paper Templates
|
|
60
|
+
|
|
61
|
+
Conference-specific templates with proper formatting for major academic conferences:
|
|
62
|
+
|
|
63
|
+
**Machine Learning & AI**:
|
|
64
|
+
- NeurIPS (Neural Information Processing Systems)
|
|
65
|
+
- ICML (International Conference on Machine Learning)
|
|
66
|
+
- ICLR (International Conference on Learning Representations)
|
|
67
|
+
- CVPR (Computer Vision and Pattern Recognition)
|
|
68
|
+
- AAAI (Association for the Advancement of Artificial Intelligence)
|
|
69
|
+
|
|
70
|
+
**Computer Science**:
|
|
71
|
+
- ACM CHI (Human-Computer Interaction)
|
|
72
|
+
- SIGKDD (Knowledge Discovery and Data Mining)
|
|
73
|
+
- EMNLP (Empirical Methods in Natural Language Processing)
|
|
74
|
+
|
|
75
|
+
### 3. Research Poster Templates
|
|
76
|
+
|
|
77
|
+
Academic poster templates for conference presentations:
|
|
78
|
+
|
|
79
|
+
**Standard Formats**:
|
|
80
|
+
- A0 (841 × 1189 mm / 33.1 × 46.8 in)
|
|
81
|
+
- A1 (594 × 841 mm / 23.4 × 33.1 in)
|
|
82
|
+
- 36" × 48" (914 × 1219 mm) - Common US size
|
|
83
|
+
- 42" × 56" (1067 × 1422 mm)
|
|
84
|
+
- 48" × 36" (landscape orientation)
|
|
85
|
+
|
|
86
|
+
**Template Packages**:
|
|
87
|
+
- **beamerposter**: Classic academic poster template
|
|
88
|
+
- **tikzposter**: Modern, colorful poster design
|
|
89
|
+
- **baposter**: Structured multi-column layout
|
|
90
|
+
|
|
91
|
+
### 4. Grant Proposal Templates
|
|
92
|
+
|
|
93
|
+
Templates and formatting requirements for major funding agencies:
|
|
94
|
+
|
|
95
|
+
**NSF (National Science Foundation)**:
|
|
96
|
+
- Full proposal template (15-page project description)
|
|
97
|
+
- Project Summary (1 page: Overview, Intellectual Merit, Broader Impacts)
|
|
98
|
+
- Budget and budget justification
|
|
99
|
+
- Biographical sketch (3-page limit)
|
|
100
|
+
- Facilities, Equipment, and Other Resources
|
|
101
|
+
- Data Management Plan
|
|
102
|
+
|
|
103
|
+
**NIH (National Institutes of Health)**:
|
|
104
|
+
- R01 Research Grant (multi-year)
|
|
105
|
+
- R21 Exploratory/Developmental Grant
|
|
106
|
+
|
|
107
|
+
## Workflow: Finding and Using Templates
|
|
108
|
+
|
|
109
|
+
### Step 1: Identify Target Venue
|
|
110
|
+
|
|
111
|
+
Determine the specific publication venue, conference, or funding agency:
|
|
112
|
+
|
|
113
|
+
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: verification-before-completion
|
|
3
|
+
description: Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Verification Before Completion
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
Claiming work is complete without verification is dishonesty, not efficiency.
|
|
11
|
+
|
|
12
|
+
**Core principle:** Evidence before claims, always.
|
|
13
|
+
|
|
14
|
+
**Violating the letter of this rule is violating the spirit of this rule.**
|
|
15
|
+
|
|
16
|
+
## The Iron Law
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCE
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
If you haven't run the verification command in this message, you cannot claim it passes.
|
|
23
|
+
|
|
24
|
+
## The Gate Function
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
BEFORE claiming any status or expressing satisfaction:
|
|
28
|
+
|
|
29
|
+
1. IDENTIFY: What command proves this claim?
|
|
30
|
+
2. RUN: Execute the FULL command (fresh, complete)
|
|
31
|
+
3. READ: Full output, check exit code, count failures
|
|
32
|
+
4. VERIFY: Does output confirm the claim?
|
|
33
|
+
- If NO: State actual status with evidence
|
|
34
|
+
- If YES: State claim WITH evidence
|
|
35
|
+
5. ONLY THEN: Make the claim
|
|
36
|
+
|
|
37
|
+
Skip any step = lying, not verifying
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Common Failures
|
|
41
|
+
|
|
42
|
+
| Claim | Requires | Not Sufficient |
|
|
43
|
+
|-------|----------|----------------|
|
|
44
|
+
| Tests pass | Test command output: 0 failures | Previous run, "should pass" |
|
|
45
|
+
| Linter clean | Linter output: 0 errors | Partial check, extrapolation |
|
|
46
|
+
| Build succeeds | Build command: exit 0 | Linter passing, logs look good |
|
|
47
|
+
| Bug fixed | Test original symptom: passes | Code changed, assumed fixed |
|
|
48
|
+
| Regression test works | Red-green cycle verified | Test passes once |
|
|
49
|
+
| Agent completed | VCS diff shows changes | Agent reports "success" |
|
|
50
|
+
| Requirements met | Line-by-line checklist | Tests passing |
|
|
51
|
+
|
|
52
|
+
## Red Flags - STOP
|
|
53
|
+
|
|
54
|
+
- Using "should", "probably", "seems to"
|
|
55
|
+
- Expressing satisfaction before verification ("Great!", "Perfect!", "Done!", etc.)
|
|
56
|
+
- About to commit/push/PR without verification
|
|
57
|
+
- Trusting agent success reports
|
|
58
|
+
- Relying on partial verification
|
|
59
|
+
- Thinking "just this once"
|
|
60
|
+
- Tired and wanting work over
|
|
61
|
+
- **ANY wording implying success without having run verification**
|
|
62
|
+
|
|
63
|
+
## Rationalization Prevention
|
|
64
|
+
|
|
65
|
+
| Excuse | Reality |
|
|
66
|
+
|--------|---------|
|
|
67
|
+
| "Should work now" | RUN the verification |
|
|
68
|
+
| "I'm confident" | Confidence ≠ evidence |
|
|
69
|
+
| "Just this once" | No exceptions |
|
|
70
|
+
| "Linter passed" | Linter ≠ compiler |
|
|
71
|
+
| "Agent said success" | Verify independently |
|
|
72
|
+
| "I'm tired" | Exhaustion ≠ excuse |
|
|
73
|
+
| "Partial check is enough" | Partial proves nothing |
|
|
74
|
+
| "Different words so rule doesn't apply" | Spirit over letter |
|
|
75
|
+
|
|
76
|
+
## Key Patterns
|
|
77
|
+
|
|
78
|
+
**Tests:**
|
|
79
|
+
```
|
|
80
|
+
✅ [Run test command] [See: 34/34 pass] "All tests pass"
|
|
81
|
+
❌ "Should pass now" / "Looks correct"
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
**Regression tests (TDD Red-Green):**
|
|
85
|
+
```
|
|
86
|
+
✅ Write → Run (pass) → Revert fix → Run (MUST FAIL) → Restore → Run (pass)
|
|
87
|
+
❌ "I've written a regression test" (without red-green verification)
|
|
88
|
+
```
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: verification-before-done
|
|
3
|
+
description: Use when about to claim work is complete, fixed, passing, reviewed, committed, or ready to hand off.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
# verification-before-done
|
|
8
|
+
|
|
9
|
+
Core principle: evidence before claims. A worker report, green-looking log, or previous run is not fresh verification.
|
|
10
|
+
|
|
11
|
+
Distilled from detailed reads of agent-skill patterns for verification-before-completion, TDD, review reception, and QA workflows.
|
|
12
|
+
|
|
13
|
+
## Gate Function
|
|
14
|
+
|
|
15
|
+
Before any completion claim:
|
|
16
|
+
|
|
17
|
+
1. Identify the command or inspection that proves the claim.
|
|
18
|
+
2. Run the full command fresh, or explicitly state why a command cannot be run.
|
|
19
|
+
3. Read the output, including exit code and failure counts.
|
|
20
|
+
4. Compare the output to the claim.
|
|
21
|
+
5. Report the claim only with the evidence.
|
|
22
|
+
|
|
23
|
+
## Claim-to-Evidence Table
|
|
24
|
+
|
|
25
|
+
| Claim | Requires | Not sufficient |
|
|
26
|
+
|---|---|---|
|
|
27
|
+
| Tests pass | Fresh test output with zero failures | Prior run, "should pass" |
|
|
28
|
+
| Typecheck passes | Typecheck command exit 0 | Lint or targeted tests only |
|
|
29
|
+
| Bug fixed | Original symptom/regression test passes | Code changed |
|
|
30
|
+
| Requirements met | Checklist against request/plan | Generic test success |
|
|
31
|
+
| Agent completed | Worker output plus artifact/diff/state inspection | Worker says DONE |
|
|
32
|
+
| Safe to commit | Relevant checks pass and status reviewed | Partial local confidence |
|
|
33
|
+
|
|
34
|
+
## Verification Ladder
|
|
35
|
+
|
|
36
|
+
Choose the smallest reliable gate, then escalate when risk requires it:
|
|
37
|
+
|
|
38
|
+
1. Read-only inspection for plans/reviews.
|
|
39
|
+
2. Targeted unit test for touched behavior.
|
|
40
|
+
3. Typecheck for TypeScript/schema/API changes.
|
|
41
|
+
4. Integration test for runtime, subprocess, state, filesystem, UI, config, or session behavior.
|
|
42
|
+
5. Full suite before commit/release or broad changes.
|
|
43
|
+
6. Real Pi smoke only when safe and needed.
|
|
44
|
+
|
|
45
|
+
## Done Report
|
|
46
|
+
|
|
47
|
+
Include:
|
|
48
|
+
|
|
49
|
+
- changed files or read-only status;
|
|
50
|
+
- commands run and pass/fail result;
|
|
51
|
+
- artifacts, run IDs, logs, or state paths inspected;
|
|
52
|
+
- behavior actually verified;
|
|
53
|
+
- skipped checks and why;
|
|
54
|
+
- risks and rollback notes.
|
|
55
|
+
|
|
56
|
+
## Required Final Evidence
|
|
57
|
+
|
|
58
|
+
Before finalizing any work, report:
|
|
59
|
+
|
|
60
|
+
- **changed files**: list of files modified (or `none` for read-only work)
|
|
61
|
+
- **tests/checks run**: command and pass/fail result for each
|
|
62
|
+
- **artifacts**: run IDs, log paths, or state files inspected
|
|
63
|
+
- **risks and rollback notes**: any known risks, how to undo the changes
|
|
64
|
+
|
|
65
|
+
## Red Flags
|
|
66
|
+
|
|
67
|
+
Stop before saying done if you are using words like "should", "probably", "looks", "seems", "I think", or if you are trusting an agent report without checking evidence.
|
|
68
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: verify
|
|
3
|
+
description: Verify that a change really works before you claim completion
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Verify
|
|
7
|
+
|
|
8
|
+
Use this skill when the user wants confidence that a feature, fix, or refactor actually works.
|
|
9
|
+
|
|
10
|
+
## Goal
|
|
11
|
+
Turn vague “it should work” claims into concrete evidence.
|
|
12
|
+
|
|
13
|
+
## Workflow
|
|
14
|
+
1. Identify the exact behavior that must be proven.
|
|
15
|
+
2. Prefer existing tests first.
|
|
16
|
+
3. If coverage is missing, run the narrowest direct verification commands available.
|
|
17
|
+
4. If direct automation is not enough, describe the manual validation steps and gather concrete observable evidence.
|
|
18
|
+
5. Report only what was actually verified.
|
|
19
|
+
|
|
20
|
+
## Verification order
|
|
21
|
+
1. Existing tests
|
|
22
|
+
2. Typecheck / build
|
|
23
|
+
3. Narrow direct command checks
|
|
24
|
+
4. Manual or interactive validation
|
|
25
|
+
|
|
26
|
+
## Rules
|
|
27
|
+
- Do not say a change is complete without evidence.
|
|
28
|
+
- If a check fails, include the failure clearly.
|
|
29
|
+
- If no realistic verification path exists, say that explicitly instead of bluffing.
|
|
30
|
+
- Prefer concise evidence summaries over noisy logs.
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: version-bump
|
|
3
|
+
description: Automated semantic versioning and release workflow for Claude Code plugins. Handles version increments across package.json, marketplace.json, plugin.json manifests, npm publishing (so `npx claude-mem@X.Y.Z` resolves), build verification, git tagging, GitHub releases, and changelog generation.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Version Bump & Release Workflow
|
|
7
|
+
|
|
8
|
+
**IMPORTANT:** Plan and write detailed release notes before starting.
|
|
9
|
+
|
|
10
|
+
**CRITICAL:** Commit EVERYTHING (including build artifacts). At the end of this workflow, NOTHING should be left uncommitted or unpushed. Run `git status` at the end to verify.
|
|
11
|
+
|
|
12
|
+
## Preparation
|
|
13
|
+
|
|
14
|
+
1. **Analyze**: Determine if the change is **PATCH** (bug fixes), **MINOR** (features), or **MAJOR** (breaking).
|
|
15
|
+
2. **Environment**: Identify repository owner/name from `git remote -v`.
|
|
16
|
+
3. **Paths — every file that carries the version string**:
|
|
17
|
+
- `package.json` — **the npm/npx-published version** (`npx claude-mem@X.Y.Z` resolves from this)
|
|
18
|
+
- `plugin/package.json` — bundled plugin runtime deps
|
|
19
|
+
- `.claude-plugin/marketplace.json` — version inside `plugins[0].version`
|
|
20
|
+
- `.claude-plugin/plugin.json` — top-level Claude-plugin manifest
|
|
21
|
+
- `plugin/.claude-plugin/plugin.json` — bundled Claude-plugin manifest
|
|
22
|
+
- `.codex-plugin/plugin.json` — Codex-plugin manifest
|
|
23
|
+
- `openclaw/openclaw.plugin.json` — OpenClaw plugin manifest
|
|
24
|
+
|
|
25
|
+
Verify coverage before editing: `git grep -l "\"version\": \"\""` should list all seven. If a new manifest has been added since this doc was last updated, update this list.
|
|
26
|
+
|
|
27
|
+
## Workflow
|
|
28
|
+
|
|
29
|
+
1. **Update**: Increment the version string in every path above. Do NOT touch `CHANGELOG.md` — it's regenerated.
|
|
30
|
+
2. **Verify**: `git grep -n "\"version\": \"\""` — confirm all seven files match. `git grep -n "\"version\": \"\""` — should return zero hits.
|
|
31
|
+
3. **Build and sync**: `npm run build-and-sync` to regenerate artifacts, sync the local marketplace copy, restart the worker, and clear the queue. Do not use plain `npm run build` for release validation because it can leave the local marketplace/worker out of sync.
|
|
32
|
+
4. **Commit**: `git add -A && git commit -m "chore: bump version to X.Y.Z"`.
|
|
33
|
+
5. **Tag**: `git tag -a vX.Y.Z -m "Version X.Y.Z"`.
|
|
34
|
+
6. **Push**: `git push origin main && git push origin vX.Y.Z`.
|
|
35
|
+
7. **Publish to npm** (this is what makes `npx claude-mem@X.Y.Z` work):
|
|
36
|
+
```bash
|
|
37
|
+
npm publish
|
|
38
|
+
```
|
|
39
|
+
The `prepublishOnly` script re-runs the package build automatically. After publish, run `npm run build-and-sync` again if the publish build touched local artifacts. Confirm publish succeeded:
|
|
40
|
+
```bash
|
|
41
|
+
npm view claude-mem@X.Y.Z version # should print X.Y.Z
|
|
42
|
+
|
|
43
|
+
## Checklist
|
|
44
|
+
|
|
45
|
+
- [ ] All seven config files have matching versions
|
|
46
|
+
- [ ] `git grep` for old version returns zero hits
|
|
47
|
+
- [ ] `npm run build-and-sync` succeeded
|
|
48
|
+
- [ ] Git tag created and pushed
|
|
49
|
+
- [ ] **`npm publish` succeeded and `npm view claude-mem@X.Y.Z version` confirms it** (so `npx claude-mem@X.Y.Z` resolves)
|
|
50
|
+
- [ ] GitHub release created with notes
|
|
51
|
+
- [ ] `CHANGELOG.md` updated and pushed
|
|
52
|
+
- [ ] Discord notification run from `~/Scripts/claude-mem/`
|
|
53
|
+
- [ ] `git status` shows clean tree
|
|
54
|
+
```
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: vetc-analyze-ba
|
|
3
|
+
description: PROACTIVELY activate khi đã có raw-ba-requirements.md hoặc BA doc đã chuẩn hóa. 13-step gated pipeline từ BA Analysis → Spec → Design → API → Tasks → Code → Security → Test → Verify → Perf.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# VETC Analyze BA — 13-Step BA→Code Pipeline
|
|
7
|
+
|
|
8
|
+
Nhận `raw-ba-requirements.md`, chuyển thành code production-ready theo 13 bước có gate review.
|
|
9
|
+
|
|
10
|
+
## When to Activate
|
|
11
|
+
|
|
12
|
+
- Đã có `specs/features/{feature}/raw-ba-requirements.md`
|
|
13
|
+
- Muốn implement tính năng từ tài liệu BA theo quy trình đầy đủ
|
|
14
|
+
- Dùng sau `vetc-thinking-pm` (đã chuẩn hóa BA input)
|
|
15
|
+
|
|
16
|
+
## Do NOT Activate When
|
|
17
|
+
|
|
18
|
+
- Chưa có BA document (dùng `vetc-thinking-pm` hoặc `vetc-deep-interview` trước)
|
|
19
|
+
- Chỉ cần code review, không implement từ BA spec
|
|
20
|
+
- Requirement đã crystal clear, không cần 13-step pipeline (dùng quick path)
|
|
21
|
+
|
|
22
|
+
## Thứ tự dùng
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
vetc-analyze-codebase → vetc-thinking-pm → vetc-analyze-ba ← skill này
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Pre-conditions
|
|
29
|
+
|
|
30
|
+
- `specs/features/{feature}/raw-ba-requirements.md` phải tồn tại
|
|
31
|
+
- `docs/architecture/codebase-spec.md` phải tồn tại (Phase 4 yêu cầu) — nếu chưa có → chạy `vetc-analyze-codebase` trước
|
|
32
|
+
|
|
33
|
+
## Modes
|
|
34
|
+
|
|
35
|
+
| Mode | Phases | Dùng khi |
|
|
36
|
+
|------|--------|---------|
|
|
37
|
+
| `--parse-only` | 1-2 | Chỉ phân tích + làm rõ |
|
|
38
|
+
| `--design-only` | 1-5 | Phân tích đến API design, không code |
|
|
39
|
+
| `--continue` | Tiếp từ chỗ dở | Mở session mới, tiếp tục |
|
|
40
|
+
| (default) | 1-13 | Full pipeline |
|
|
41
|
+
|
|
42
|
+
## Cấu trúc output
|
|
43
|
+
|
|
44
|
+
specs/features/{feature}/
|
|
45
|
+
├── 00-anti-hallucination.md ← Tạo đầu tiên (Bước 0), update sau Phase 3
|
|
46
|
+
├── 00-run-ledger.md ← Timeline (tạo Phase 1, cập nhật mỗi phase)
|
|
47
|
+
├── 00-local-memory-context.md← Mirror context + lessons-learned
|
|
48
|
+
├── memory/ ← Phase 3b — context snapshot
|
|
49
|
+
│ └── {feature}.md
|
|
50
|
+
├── raw-ba-requirements.md ← INPUT
|
|
51
|
+
├── 01-ba-analysis.md ← Phase 1
|
|
52
|
+
├── 02-clarify-questions.md ← Phase 2
|
|
53
|
+
├── 03-feature-spec.md ← Phase 3 (SOURCE OF TRUTH)
|
|
54
|
+
├── 04-technical-design.md ← Phase 4
|
|
55
|
+
├── 05-api-design.md ← Phase 5
|
|
56
|
+
|
|
57
|
+
## 13 Phases
|
|
58
|
+
|
|
59
|
+
### Phase 1 — PARSE → `01-ba-analysis.md`
|
|
60
|
+
Đọc `raw-ba-requirements.md`, tách: Requirements, Business Rules, Data, Edge Cases, NFRs, GAPs.
|
|
61
|
+
|
|
62
|
+
**Auto-sizing sau Phase 1:**
|
|
63
|
+
| Size | Endpoints | Tables mới | Mode |
|
|
64
|
+
|------|-----------|-----------|------|
|
|
65
|
+
| XS | 1 | 0 | Redirect → quick feature |
|
|
66
|
+
| S | 2-3 | 0-1 | LITE |
|
|
67
|
+
| M | 4-7 | 1-3 | STANDARD |
|
|
68
|
+
| L/XL | 8+ | 3+ | FULL |
|
|
69
|
+
|
|
70
|
+
⏸️ DỪNG → chờ user review + confirm size/mode.
|
|
71
|
+
|
|
72
|
+
### Phase 2 — CLARIFY → `02-clarify-questions.md`
|
|
73
|
+
Từ GAPs → danh sách câu hỏi cho BA (chức năng, nghiệp vụ, dữ liệu, edge cases) + assumptions.
|
|
74
|
+
⏸️ DỪNG → chờ BA trả lời → update file → confirm.
|
|
75
|
+
|
|
76
|
+
### Phase 3 — STRUCTURE → `03-feature-spec.md` (SOURCE OF TRUTH)
|
|
77
|
+
Chuyển analysis + clarify → Feature Spec với:
|
|
78
|
+
- User Stories, Requirements, Business Rules
|
|
79
|
+
- API Contract sketch (VETC format)
|
|
80
|
+
- Data Model (table, columns, indexes)
|
|
81
|
+
- State Flow (nếu có)
|
|
82
|
+
- Error Scenarios
|
|
83
|
+
- Acceptance Criteria
|
|
84
|
+
- Design Decisions & Constraints
|
|
85
|
+
|
|
86
|
+
**Sau Phase 3 (BẮT BUỘC):** Cập nhật `00-anti-hallucination.md` + tạo `specs/features/{feature}/memory/{feature}.md` (context snapshot).
|
|
87
|
+
|
|
88
|
+
⏸️ DỪNG → chờ review.
|
|
89
|
+
|
|
90
|
+
### Phase 4 — DESIGN → `04-technical-design.md`
|
|
91
|
+
**Gate bắt buộc:** phải có `docs/architecture/codebase-spec.md`.
|
|
92
|
+
- Detect architecture từ codebase-spec (LAYERED / HEXAGONAL)
|
|
93
|
+
- File changes: new files + modified files (với full path theo architecture)
|
|
94
|
+
- DB migration SQL (Flyway format)
|
|
95
|
+
- Sequence flow
|
|
96
|
+
- Implementation order: DB → Entity → Repository → DTO → Service → Controller → Tests
|
|
97
|
+
|
|
98
|
+
⏸️ DỪNG → chờ confirm.
|
|
99
|
+
|
|
100
|
+
### Phase 5 — API DESIGN → `05-api-design.md` (VETC format)
|
|
101
|
+
Thiết kế API theo chuẩn VETC (từ `../../shared/api-design.md`):
|
|
102
|
+
- API Index table
|
|
103
|
+
- Per-API: 15 fields + Headers + Query Params + Request/Response Body + Error Codes + curl example
|
|
104
|
+
- Response format: `{ code, message, data, meta_data: { request_id, page, size, total, total_pages } }`
|
|
105
|
+
- Error codes: `200`, `400xxx`, `401xxx`, `403xxx`, `404xxx`, `409xxx`, `500xxx`
|
|
106
|
+
- PII fields: mask trong response
|
|
107
|
+
|
|
108
|
+
⏸️ DỪNG → chờ confirm per-API.
|
|
109
|
+
|
|
110
|
+
### Phase 6 — TASK BREAKDOWN → `06-task-breakdown.md`
|
|
111
|
+
**⚠️ KHÔNG có file này → TUYỆT ĐỐI KHÔNG implement.**
|
|
112
|
+
- Tách theo `04-technical-design.md`
|
|
113
|
+
- Mỗi task: scope (files), boundary, rule check, dependency, risk & impact table
|
|
114
|
+
|
|
115
|
+
⏸️ DỪNG → chờ review.
|
|
116
|
+
|
|
117
|
+
|