How this command is triggered — by the user, by Claude, or both
Slash command
/pokayokay:api <task-description>Files this command reads when invoked
The summary Claude sees in its command listing — used to decide when to auto-load this command
# API Design Workflow Design or review API for: `$ARGUMENTS` ## Steps ### 1. Understand Requirements - What data/operations are needed? - Who are the consumers (frontend, mobile, third-party)? - Performance/scale requirements? ### 2. Design Resources - Identify nouns (resources) - Define URL structure - Map CRUD to HTTP methods ### 3. Define Contracts - Request schemas - Response schemas - Error responses ### 4. Document - OpenAPI/Swagger spec - Example requests/responses - Authentication requirements ### 5. Create Implementation Tasks ## Covers - Resource identification and URL st...
Design or review API for: $ARGUMENTS
npx @stevestomp/ohno-cli create "Implement [endpoint]" -t feature
/pokayokay:arch - Broader architecture review/pokayokay:work - Implement designed API/pokayokay:audit --dimension security - Security review of APIWhen API design involves:
database-design skillsecurity-audit skillci-cd for deploymentobservability skill/pokayokay:integrate insteadnpx claudepluginhub srstomp/pokayokay --plugin pokayokay/apiDesigns and implements REST or GraphQL APIs from a requirement, with optional api-type. Follows best practices for API design and implementation.
/api-designGuides API design following REST, GraphQL, and gRPC best practices through define, design, validate, and document phases. Generates OpenAPI or GraphQL schema documentation.
/api-designerDesigns RESTful APIs, GraphQL schemas, and microservice architectures with auto-generated documentation, validation, security, and testing.
/api-reviewAnalyzes API design patterns, RESTful practices and interface consistency across the codebase, then generates a prioritized markdown improvement plan. Also supports scoping to specific paths, current changes, recent commits, or PRs.