Skip to content

Commit 8953b60

Browse files
Cleaned Subgraph and Substreams Skills
1 parent 93fe2b1 commit 8953b60

4 files changed

Lines changed: 15 additions & 9 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export default {
2-
setup: ''
2+
setup: '',
33
}

website/src/pages/en/ai-suite/subgraph-skills/setup.mdx

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ A collection of AI agent skills providing expert knowledge for developing, testi
99

1010
This repository provides subgraph development expertise for AI coding assistants in **two formats**:
1111

12-
| Format | Location | Use With |
13-
|--------|----------|----------|
14-
| **Claude Code Plugin** | `skills/` | Claude Code CLI |
15-
| **OpenClaw Skills** | `openclaw/` | OpenClaw / Clawdbot |
12+
| Format | Location | Use With |
13+
| ---------------------- | ----------- | ------------------- |
14+
| **Claude Code Plugin** | `skills/` | Claude Code CLI |
15+
| **OpenClaw Skills** | `openclaw/` | OpenClaw / Clawdbot |
1616

1717
Same knowledge, different agent platforms.
1818

@@ -21,6 +21,7 @@ Same knowledge, different agent platforms.
2121
### Subgraph Development
2222

2323
Core development knowledge including:
24+
2425
- Schema design and GraphQL types
2526
- Manifest configuration (subgraph.yaml)
2627
- AssemblyScript mapping handlers
@@ -34,6 +35,7 @@ Core development knowledge including:
3435
### Subgraph Optimization
3536

3637
Performance best practices from The Graph docs:
38+
3739
- Pruning with indexerHints
3840
- Arrays with @derivedFrom
3941
- Immutable entities and Bytes as IDs
@@ -44,6 +46,7 @@ Performance best practices from The Graph docs:
4446
### Subgraph Testing
4547

4648
Quality assurance with Matchstick and Subgraph Linter:
49+
4750
- **Subgraph Linter** - Static analysis to catch bugs before runtime
4851
- **Common Errors** - Troubleshooting guide for indexing issues
4952
- Unit testing setup and patterns with Matchstick
@@ -78,12 +81,15 @@ clawdbot skill install subgraph-testing
7881
Once installed, the AI assistant will have access to subgraph development expertise:
7982

8083
**Schema Design:**
84+
8185
> "Create a schema for tracking DEX swaps with proper relationships"
8286
8387
**Optimization:**
88+
8489
> "How do I optimize my subgraph for faster indexing?"
8590
8691
**Testing:**
92+
8793
> "Write unit tests for my Transfer event handler"
8894
8995
## Resources
@@ -101,7 +107,7 @@ Once installed, the AI assistant will have access to subgraph development expert
101107
This skill pack works with:
102108

103109
| Platform | Description | Link |
104-
|----------|-------------|------|
110+
| --- | --- | --- |
105111
| **Claude Code** | Anthropic's official CLI for Claude | [claude.ai/claude-code](https://claude.ai/claude-code) |
106112
| **OpenClaw** | Open-source AI agent framework | [github.com/openclaw/openclaw](https://github.com/openclaw/openclaw) |
107113

@@ -110,4 +116,4 @@ This skill pack works with:
110116
- Built with [Claude](https://claude.ai) (Anthropic's AI assistant)
111117
- Subgraph expertise from [The Graph Documentation](https://thegraph.com/docs/)
112118
- Inspired by [AGENTS.md](https://github.com/agentsmd/agents.md) format
113-
- OpenClaw format based on [substreams-skills](https://github.com/streamingfast/substreams-skills)
119+
- OpenClaw format based on [substreams-skills](https://github.com/streamingfast/substreams-skills)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export default {
2-
setup: ''
2+
setup: '',
33
}

website/src/pages/en/ai-suite/substreams-skills/setup.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,4 @@ See the [VS Code 1.107 release notes](https://code.visualstudio.com/updates/v1_1
8686
## Resources
8787

8888
- [Substreams Skills Repository](https://github.com/streamingfast/substreams-skills)
89-
- [Claude Code Plugins Documentation](https://docs.anthropic.com/en/docs/claude-code/plugins)
89+
- [Claude Code Plugins Documentation](https://docs.anthropic.com/en/docs/claude-code/plugins)

0 commit comments

Comments
 (0)