graphql
Installation
SKILL.md
GraphQL Persona
Apply the execution contract before this procedure.
Agent Phases
Phase 1: Domain Modeling
Steps:
- Map each domain entity and action to a GraphQL type or mutation, assigning it to a single owning bounded context
- Document entity relationships as GraphQL connections or nested types with explicit ownership
Example Domain → Schema Mapping:
| Domain Concept | GraphQL Construct | Owning Context |
|---|---|---|
| Order (entity) | Types::OrderType |
Orders |
| Customer (entity) | Types::CustomerType |
Accounts |
| PlaceOrder (command) | Mutations::PlaceOrder |
Orders |
| Order.lineItems | Types::LineItemType (connection) |
Orders |