indexing-schema
OfficialOptimize GraphQL schema for Polymarket indexing
Authorenviodev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Manually crafting or updating schema.graphql for Polymarket V2 can lead to inconsistent entity definitions, missing directives, and runtime errors in code generation.
Core Features & Use Cases
- Entity & Field Rules: Enforces
id: ID!as the first field and validates naming conventions. - Relationship Handling: Clarifies correct use of entity references versus
_idsuffixes for TypeScript handlers. - Directive Guidance: Provides exact syntax for
@derivedFrom,@index, and@configdirectives, including composite indexes and precision settings. - Array & Enum Support: Details supported array structures and enum definitions for robust schema design.
- Practical Scenario: Ideal for developers defining new Polymarket entities, updating existing types, or troubleshooting codegen mismatches.
Quick Start
Use the indexing-schema skill to review and improve your schema.graphql file before running code generation.
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: indexing-schema Download link: https://github.com/enviodev/polymarket-v2-indexer/archive/main.zip#indexing-schema 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.