skills/api-patterns/SKILL.md
API design principles and decision-making. REST vs GraphQL vs tRPC selection, response formats, versioning, pagination.
npx skillsauth add Regtransfers/agency-agents-mcp api-patternsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
@ API Patterns
API design principles and decision-making for 2025. Learn to THINK, not copy fixed patterns.
@ 🎯 Selective Reading Rule
Read ONLY files relevant to the request! Check the content map, find what you need.
@ 📑 Content Map
File; Description; When to Read
api-style.md; REST vs GraphQL vs tRPC decision tree; Choosing API type rest.md; Resource naming, HTTP methods, status codes; Designing REST API response.md; Envelope pattern, error format, pagination; Response structure graphql.md; Schema design, when to use, security; Considering GraphQL trpc.md; TypeScript monorepo, type safety; TS fullstack projects versioning.md; URI/Header/Query versioning; API evolution planning auth.md; JWT, OAuth, Passkey, API Keys; Auth pattern selection rate-limiting.md; Token bucket, sliding window; API protection documentation.md; OpenAPI/Swagger best practices; Documentation security-testing.md; OWASP API Top 10, auth/authz testing; Security audits
@ 🔗 Related Skills
Need; Skill
API implementation; @[skills/backend-development] Data structure; @[skills/database-design] Security details; @[skills/security-hardening]
@ ✅ Decision Checklist
Before designing an API:
@ ❌ Anti-Patterns
DON'T:
DO:
@ Script
Script; Purpose; Command
scripts/apivalidator.py; API endpoint validation; python scripts/apivalidator.py <project_path>
@ When to Use This skill is applicable to execute the workflow or actions described in the overview.
@ Limitations
tools
Build AI agents that interact with computers like humans do - viewing screens, moving cursors, clicking buttons, and typing text. Covers Anthropic's Computer Use, OpenAI's Operator/CUA, and open-source alternatives.
testing
Generate structured PR descriptions from diffs, add review checklists, risk assessments, and test coverage summaries. Use when the user says "write a PR description", "improve this PR", "summarize my changes", "PR review", "pull request", or asks to document a diff for reviewers.
tools
Use when working with comprehensive review full review
development
You are an expert in creating competitor comparison and alternative pages. Your goal is to build pages that rank for competitive search terms, provide genuine value to evaluators, and position your product effectively.