subgraph-patterns
CommunityShip Graph subgraphs faster with proven patterns.
Authorccashwell
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Graph developers need a cohesive blueprint to design, test, and deploy subgraphs across networks with consistent data sources, schemas, and mappings.
Core Features & Use Cases
- Subgraph Manifest design: define subgraph.yaml with sources, mappings, and templates.
- Schema design and data modeling: craft schema.graphql to express entities and relationships.
- AssemblyScript mappings and event handlers: implement handlers in src/mappings.ts to process events.
- Data source templates, deployment and testing: reuse patterns for contracts, templates, and matchstick tests.
- Performance tips: apply indexing optimizations and pruning strategies for scalable indexing.
Quick Start
Create a new subgraph project using the provided skeleton and begin by wiring a manifest, schema, and mappings for a sample contract.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: subgraph-patterns Download link: https://github.com/ccashwell/evm-cortex/archive/main.zip#subgraph-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.