/substreams-svm:release-conventionsfrom substreams-svm
Defines naming conventions for tags, releases, and SPKGs in the substreams-svm monorepo. Use when creating releases, tagging versions, or publishing packages.
Ships in substreams-svm. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Naming conventions and release workflow for the Pinax substreams-svm monorepo.
https://github.com/pinax-network/substreams-svm/releases/download/<tag>/<spkg-filename>
Examples:
https://github.com/pinax-network/substreams-svm/releases/download/svm-dex-v0.3.1/clickhouse-svm-dex-v0.3.1.spkghttps://github.com/pinax-network/substreams-svm/releases/download/svm-balances-v0.2.0/clickhouse-svm-balances-v0.2.0.spkgsvm-<type>-v<version>
Examples: svm-dex-v0.3.1, svm-balances-v0.2.0, svm-transfers-v0.1.0
svm-<type> v<version>
Examples: svm-dex v0.3.1, svm-balances v0.2.0
Each crate may produce up to 3 SPKGs. All share the same version number.
| Type | Pattern | Example |
|---|---|---|
| Base DB module | svm-<type>-v<version>.spkg | svm-dex-v0.3.1.spkg |
| ClickHouse sink | clickhouse-svm-<type>-v<version>.spkg | clickhouse-svm-dex-v0.3.1.spkg |
| PostgreSQL sink | postgres-svm-<type>-v<version>.spkg | postgres-svm-dex-v0.3.1.spkg |
Key: Engine prefix comes first (
clickhouse-/postgres-), thensvm-<type>.
| Type | Pattern | Example |
|---|---|---|
| Base DB module | svm_<type> | svm_dex |
| ClickHouse sink | svm_<type>_clickhouse | svm_dex_clickhouse |
| PostgreSQL sink | svm_<type>_postgres | svm_dex_postgres |
SPKGs must be placed in two locations:
./spkg/ folder in the repo (so downstream modules can import them)substreams.yaml files (base, clickhouse, postgres)substreams.yaml to reference the new base spkg versioncargo build --target wasm32-unknown-unknown --release -p <crate>substreams pack in the base, clickhouse, and postgres directories./spkg/ (with correct naming) and remove old versionsgit tag -a svm-<type>-v<version> -m "svm-<type> v<version>"All 3 SPKGs for a given crate (base, clickhouse, postgres) must share the same version.
The SVM repo uses a flat structure with db-svm-* prefixed directories for sink layers:
db-svm-<type>/ # Base DB module
├── substreams.yaml
├── src/lib.rs
├── Cargo.toml
db-svm-<type>-clickhouse/ # ClickHouse sink
├── substreams.yaml
├── schema.*.sql # Split schema files
├── Makefile
db-svm-<type>-postgres/ # PostgreSQL sink
├── substreams.yaml
├── schema.sql
Individual DEX modules (e.g., raydium-amm-v4, pumpfun, jupiter-v6) are also published as SPKGs and referenced by the aggregate db-svm-dex module via imports:
raydium-amm-v4-v0.2.0.spkg
pumpfun-bonding-curve-v0.2.2.spkg
jupiter-v6-v0.2.0.spkg
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub pinax-network/substreams-svm --plugin substreams-svm6 skills in this plugin
/substreams-devExpert knowledge for developing Substreams modules on Solana/SVM. Covers manifest spec, Rust modules, IDL-based decoders, protobuf schemas, and Solana-specific data processing patterns./substreams-packInstructions for building, packing, and distributing Substreams packages (.spkg) in the substreams-svm monorepo. Use when building crates, running `substreams pack`, or copying .spkg files./substreams-sinkExpert knowledge for consuming Substreams data from Solana/SVM modules. Use when building sinks, real-time data pipelines, or integrating Substreams outputs into applications./substreams-sqlExpert knowledge for building SQL database sinks from Solana/SVM Substreams. Covers DatabaseChanges, ClickHouse schemas, PostgreSQL schemas, and materialized views for Solana DEX/token data./substreams-testingExpert knowledge for testing Solana/SVM Substreams applications. Covers unit testing, integration testing, and performance testing patterns.Other plugins' skills for the same job