This is a thinking framework for API architecture decisions, not a code generator. It walks you through choosing between REST, GraphQL, and tRPC based on your actual context, then covers the practical stuff like response envelopes, versioning strategies, auth patterns, and rate limiting. The content map and decision checklist keep you from cargo culting patterns that don't fit your use case. Includes a validator script and explicitly warns against defaulting to REST or using verbs in endpoints. Good for when you need to justify architectural choices or you're tired of inconsistent API designs across your codebase.

skills.sh installs
1.1K
GitHub stars
43.1K
last updated
Jul 14, 2026

Install

$ npx -y skills add sickn33/antigravity-awesome-skills --skill api-patterns --agent claude-code

Installs into .claude/skills of the current project.

Files

API Patterns

API design decisions tied to the consumers and deployment constraints. 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

FileDescriptionWhen to Read
api-style.mdREST vs GraphQL vs tRPC decision treeChoosing API type
rest.mdResource naming, HTTP methods, status codesDesigning REST API
response.mdEnvelope pattern, error format, paginationResponse structure
graphql.mdSchema design, when to use, securityConsidering GraphQL
trpc.mdTypeScript monorepo, type safetyTS fullstack projects
versioning.mdURI/Header/Query versioningAPI evolution planning
auth.mdJWT, OAuth, Passkey, API KeysAuth pattern selection
rate-limiting.mdToken bucket, sliding windowAPI protection
documentation.mdOpenAPI/Swagger best practicesDocumentation
security-testing.mdOWASP API Top 10, auth/authz testingSecurity audits

πŸ”— Related Skills

Sponsors

Details

Repository
github.com/sickn33/antigravity-awesome-skills
Category
Backend & APIs

More from sickn33/antigravity-awesome-skills

All 708
1neondatabase avatarneon-drizzleneondatabase/ai-rulesneon drizzle1Kskills.sh installs
2circlefin avataruse-gatewaycirclefin/skillsIntegrate Circle Gateway to hold a unified USDC balance across multiple blockchains and transfer USDC instantly (<500ms) via permissionless deposit, burn, and m1Kskills.sh installs
3tencentcloudbase avatarhttp-api-cloudbasetencentcloudbase/skillsCloudBase official HTTP API client guide. This skill should be used when backends, scripts, or non-SDK clients must call CloudBase platform APIs over raw HTTP i982skills.sh installs
4agentmc15 avatarpolymarket-apiagentmc15/polymarket-traderDeep integration guide for Polymarket's CLOB API, Gamma API, and on-chain data. Use when building trading functionality, fetching market data, or implementing o970skills.sh installs
5vapiai avatarsetup-api-keyvapiai/skillsGuide users through obtaining and configuring a Vapi API key. Use when the user needs to set up Vapi, when API calls fail due to missing keys, or when the user 965skills.sh installs
6firebase avatarfirebase-data-connectfirebase/skillsfirebase data connect895skills.sh installs