Api Patterns
API design principles and decision-making covering REST, GraphQL, and tRPC selection, responses, and security.
- CCM score
- 43 of 100
- skills.sh installs
- 215
- GitHub stars
- 8.2K
- last updated
- Jun 3, 2026
Own this skill? Claim it
What it does
- Covers API style selection, REST resource design, response envelopes, GraphQL, tRPC, versioning, pagination, auth, rate limiting, documentation, and security testing
- Includes a decision checklist and anti-pattern list, such as avoiding verbs in REST endpoints and exposing internal errors to clients
- Provides a validation script,
scripts/api_validator.py, that checks an API endpoint in a project path - Designed for designing REST, GraphQL, or tRPC APIs, not for UI or frontend work
Install
$ npx -y skills add vudovn/ag-kit --skill api-patterns -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
API Patterns
API design principles and decision-making. 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
Details
- Repository
- github.com/vudovn/ag-kit
- Categories
- Backend & APIs, Technical Documentation
- First seen
- Jun 3, 2026
Questions
What does the api-patterns skill do?
The api-patterns skill guides API design decisions, helping choose between REST, GraphQL and tRPC for a project. It also covers response formats, versioning, pagination, rate limiting and API authentication patterns. It is meant for backend API work, not UI or frontend tasks.
How do I install the api-patterns skill?
Run npx -y skills add vudovn/ag-kit --skill api-patterns -y in your project. Once installed, the agent can read its guidance when designing REST, GraphQL or tRPC APIs.
Which other skills are in the Backend & APIs category?
Other top skills in the Backend & APIs category include entra-app-registration, neon, firebase-basics, firebase-auth-basics and workers-best-practices. The api-patterns skill focuses on API design choices and conventions rather than a specific platform.
More from vudovn/ag-kit
All 30- Deployment Procedures214
- Performance Profiling214
- Behavioral Modes213
- Python Patterns207
- Parallel Agents204
- Documentation Templates200
- Seo Fundamentals200
- Frontend Design493
- Mobile Design427
- Powershell Windows425
- Code Review Checklist339
- Webapp Testing334
- Clean Code317
- Systematic Debugging298
- Game Development282
- Intelligent Routing274
- Database Design272
- Mcp Builder244
- App Builder243
- Red Team Tactics237
- Nodejs Best Practices235
- Architecture234
- Brainstorming229
- Bash Linux226
Similar to Api Patterns
More Backend & APIsapi-design-patternsbobmatnyc/claude-mpm-skills596 installsComprehensive API design reference covering REST, GraphQL, and gRPC style selection, versioning, pagination, and authentication.
api-designerzhaono1/agent-playbook708 installsOpinionated REST and GraphQL API design guide with scripts to scaffold and validate API specifications.
api-design-principleswshobson/agents32.4K installsOpinionated guide covering REST and GraphQL API design principles for building maintainable, developer-friendly interfaces.
api-architectcuriositech/some_claude_skills240 installsExpert API design guide for REST, GraphQL, and gRPC with anti-pattern fixes and spec validation.
designing-apiscloudai-x/claude-workflow-v2173 installsStructured API design guide covering REST endpoints, GraphQL schemas, versioning, and error handling in a single workflow.