Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
sickn33 avatar

Api Patterns

  • 1.2k installs
  • 44k repo stars
  • Updated July 27, 2026
  • sickn33/antigravity-awesome-skills

api-patterns provides documented workflows for API design principles and decision-making. REST vs GraphQL vs tRPC selection, response formats, versioning, pagination.

About

The api-patterns skill aPI design principles and decision-making REST vs GraphQL vs tRPC selection response formats versioning pagination 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 Limitations Use this skill only when the task clearly matches the scope described above Do not treat the output as a substitute for environment-specific validation testing or expert review Stop and ask for clarification if required inputs permissions safety boundaries or success criteria are missing 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

  • [ ] **Asked user about API consumers?**
  • [ ] **Chosen API style for THIS context?** (REST/GraphQL/tRPC)
  • [ ] **Defined consistent response format?**
  • [ ] **Planned versioning strategy?**
  • [ ] **Considered authentication needs?**

Api Patterns by the numbers

  • 1,202 all-time installs (skills.sh)
  • +24 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #198 of 1,048 Mobile Development skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

api-patterns capabilities & compatibility

Capabilities
[ ] **asked user about api consumers?** · [ ] **chosen api style for this context?** (rest · [ ] **defined consistent response format?** · [ ] **planned versioning strategy?** · [ ] **considered authentication needs?**
Use cases
documentation
From the docs

What api-patterns says it does

# API Patterns > API design principles and decision-making for 2025.
SKILL.md
> **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.
SKILL.md
npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill api-patterns

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1.2k
repo stars44k
Security audit3 / 3 scanners passed
Last updatedJuly 27, 2026
Repositorysickn33/antigravity-awesome-skills

How do I use api-patterns for the task described in its SKILL.md triggers?

API design principles and decision-making. REST vs GraphQL vs tRPC selection, response formats, versioning, pagination.

Who is it for?

Teams invoking api-patterns when the user request matches documented triggers and prerequisites.

Skip if: Skip when cached docs are missing, the request is a negative trigger, or another sibling skill owns the workflow.

When should I use this skill?

API design principles and decision-making. REST vs GraphQL vs tRPC selection, response formats, versioning, pagination.

What you get

Step-by-step guidance grounded in api-patterns documentation and reference files.

  • API architecture recommendation
  • Auth strategy selection

Files

SKILL.mdMarkdownGitHub ↗

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

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

NeedSkill
API implementation@[skills/backend-development]
Data structure@[skills/database-design]
Security details@[skills/security-hardening]

---

✅ Decision Checklist

Before designing an API:

  • [ ] Asked user about API consumers?
  • [ ] Chosen API style for THIS context? (REST/GraphQL/tRPC)
  • [ ] Defined consistent response format?
  • [ ] Planned versioning strategy?
  • [ ] Considered authentication needs?
  • [ ] Planned rate limiting?
  • [ ] Documentation approach defined?

---

❌ Anti-Patterns

DON'T:

  • Default to REST for everything
  • Use verbs in REST endpoints (/getUsers)
  • Return inconsistent response formats
  • Expose internal errors to clients
  • Skip rate limiting

DO:

  • Choose API style based on context
  • Ask about client requirements
  • Document thoroughly
  • Use appropriate status codes

---

Script

ScriptPurposeCommand
scripts/api_validator.pyAPI endpoint validationpython scripts/api_validator.py <project_path>

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

Related skills

How it compares

Use api-patterns for protocol and auth selection; use implementation-focused backend skills once the architecture choice is settled.

FAQ

What does api-patterns do?

API design principles and decision-making. REST vs GraphQL vs tRPC selection, response formats, versioning, pagination.

When should I use api-patterns?

API design principles and decision-making. REST vs GraphQL vs tRPC selection, response formats, versioning, pagination.

What are common prerequisites?

--- name: api-patterns description: "API design principles and decision-making.

Is Api Patterns safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.