Subgraph Skills - AI Agent Knowledge Base for Subgraph Development

Hey! :waving_hand:

I built a Claude Code plugin with my AI coding partner Claude that provides expert knowledge for subgraph development. It’s designed to help AI agents (and humans!) build better subgraphs faster.

What’s included:

  • subgraph-dev - Schema design, manifest config, AssemblyScript mappings, data source templates, subgraph composition
  • subgraph-optimization - All 6 best practices (pruning, @derivedFrom, immutable entities, avoiding eth_calls, timeseries, grafting)
  • subgraph-testing - Matchstick unit testing + Subgraph Linter static analysis

Also covers Subgraph Uncrashable for safe code generation and complete CI/CD workflows.

Repo: GitHub - PaulieB14/subgraphs-skills: AI agent skills for developing, testing, and optimizing subgraphs with The Graph protocol

Feel free to use, fork, or enhance as you see fit. PRs welcome!

Would love to see what others build on top of this or if there are topics worth adding.

1 Like