substreams-pack

Automate packaging and distribution of Substreams .spkg packages in the substreams-evm monorepo.

6|4|Updated Nov 18, 2025
One-click install
npx skills add https://github.com/pinax-network/substreams-evm --skill substreams-pack
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: substreams-pack
Source: https://github.com/pinax-network/substreams-evm/tree/main/.github/skills/substreams-pack
Command: npx skills add https://github.com/pinax-network/substreams-evm --skill substreams-pack

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the packaging and distribution of Substreams packages (.spkg) in the substreams-evm monorepo. This skill automates the end-to-end process for building, packing, and copying .spkg files across the monorepo, ensuring deterministic results.

Core Features & Use Cases

  • Bottom-up build and packing guidance for Substreams crates
  • Coordination of leaf crates and DB/sink layers to produce .spkg artifacts
  • Use case: developers can reliably produce and place evm-related packages for downstream integration

Quick Start

Follow the steps to build, pack, and copy .spkg files across the monorepo as described in the step-by-step guide.

Frequently Asked Questions about substreams-pack

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Substreams package building in a monorepo?

Automate Substreams package building in a monorepo by enforcing a bottom-up build order that respects crate dependencies. This coordinates the packing of leaf crates and DB/sink layers to produce deterministic .spkg artifacts for downstream integration.

What is the correct build order for Substreams crates in a monorepo?

The correct build order for Substreams crates in a monorepo is bottom-up. This ensures dependencies among crates are resolved first, guiding the packing of leaf crates before coordinating the placement of generated .spkg files into the central directory.

How do I copy .spkg files to a central directory after packing?

Copy .spkg files to a central directory by following the step-by-step workflow that coordinates artifact placement across multiple levels. This ensures packed Substreams packages from leaf crates are deterministically distributed for downstream integration.

Does Substreams packaging support deterministic workflows for EVM monorepos?

Substreams packaging supports deterministic workflows for EVM monorepos by enforcing dependency rules and clear step-by-step instructions. This allows developers to reliably reproduce pack operations and generate consistent .spkg artifacts every time.

Why are my Substreams leaf crates not packing in the correct order?

Substreams leaf crates may not pack in the correct order if the bottom-up build sequence is not enforced. This skill coordinates dependencies among crates to guide the packing process and ensure deterministic .spkg artifact generation.