What problem does it solve?
This Skill provides a structured blueprint for implementing REST and GraphQL APIs with consistent patterns, covering standard operations (create, get, search, update, delete, purge), scope prefix rules, admin prefixes, and client SDK/CLI integration.
Core Features & Use Cases
- Standard API patterns: Defines six operations (create, get, search, update, delete, purge) plus batch variants for bulk updates, deletes, and purges.
- Scope and Admin patterns: Supports domain-scoped REST/GraphQL endpoints and admin-only operations with permission checks.
- Client SDK & CLI integration: Aligns with client SDK generation and CLI commands for seamless end-to-end usage.
- Guidance for architectures: Includes patterns for REST handler → Processor → Service → Repository, GraphQL resolvers, adapters, and domain scope types.
Quick Start
Implement a minimal domain API following the guide: define REST resources and GraphQL types, apply scope/prefix rules, add admin checks, and wire up SDK/CLI integration.