api-design-graphql

Installation
SKILL.md

API Design GraphQL

Scope Boundaries

  • Use when GraphQL schema boundaries, resolver contracts, and query safety must be defined.
  • Use proactively when GraphQL SDL/resolver diffs appear in specs, manifests, or source.
  • Use when clients need flexible field selection but query safety and authz boundaries are not yet explicit.
  • Do not use for REST-first endpoint design; use api-design-rest.
  • Do not use for storage internals; use db-*.

Goal

Deliver GraphQL contracts that are safe to evolve and efficient at runtime.

Shared API Contract (Canonical)

  • Use ../api-design-rest/references/api-governance-contract.md as the canonical contract.
  • Optional consistency checks (only if your repository enforces manifest validation):
    • python3 ../api-design-rest/scripts/validate_api_contract.py --manifest <path/to/manifest.json>
  • Use valid templates in ../api-design-rest/assets/.
  • Use transport decision reference:
    • ../api-design-rest/references/transport-selection-matrix.md
Related skills

More from kentoshimizu/sw-agent-skills

Installs
4
GitHub Stars
5
First Seen
Feb 28, 2026