api-design-patterns
Comprehensive API design patterns covering REST, GraphQL, gRPC, versioning, authentication, and modern API best practices
Skill by aAAaqwq
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/aaaaqwq-api-design-patterns
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, backend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/api-design-patterns
What's inside
- Skill name
api-design-patterns- Description
- Comprehensive API design patterns covering REST, GraphQL, gRPC, versioning, authentication, and modern API best practices
- License
- Apache-2.0
- Compatibility
- claude-code
- Metadata
- version: 1.0.0 · category: universal · self_contained: true
- Instructions
- 862 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- body: 862 lines (spec recommends under 500)
Files (6)
- SKILL.md
- authentication.md · references/
- graphql-patterns.md · references/
- grpc-patterns.md · references/
- rest-patterns.md · references/
- versioning-strategies.md · references/
SKILL.md (first lines)
# API Design Patterns Design robust, scalable APIs using proven patterns for REST, GraphQL, and gRPC with proper versioning, authentication, and error handling. ## Quick Reference **API Style Selection**: - REST: Resource-based CRUD, simple clients, HTTP-native caching - GraphQL: Client-driven queries, complex data graphs, real-time subscriptions - gRPC: High-performance RPC, microservices, strong typing, streaming **Critical Patterns**: - Versioning: URI (`/v1/users`), header (`Accept: application/vnd.api+json;version=1`), content negotiation - Pagination: Offset (simple), cursor (stable), keyset (performant) - Auth: OAuth2 (delegated), JWT (stateless), API keys (service-to-service) - Rate limiting: Token bucket, fixed window, sliding window - Idempotency: Idempotency keys, conditional requests, safe retry **See references/ for deep dives**: `rest-patterns.md`, `graphql-patterns.md`, `grpc-patterns.md`, `versioning-strategies.md`, `authentication.md` ## Core Principles ### Universal API Design Standards Apply these principles across all API styles: **1. Consistency Over Cleverness** - Follow established conventions for your API style - Use predictable naming patterns (snake_case or camelCase, pick one) - Maintain consistent error response formats - Version breaking changes, never surprise clients **2. Design for Evolution** - Plan for versioning from day one - Use optional fields with sensible defaults - Deprecate gracefully with sunset dates - Document breaking vs non-breaking changes **3. Security by Default** - Require authentication unless explicitly public - Use HTTPS/TLS for all production endpoints - Implement rate limiting and throttling - Validate and sanitize all inputs - Return minimal error details to clients **4. Developer Experience First** - Provide comprehensive documentation (OpenAPI, GraphQL schema) - Return meaningful error messages with actionable guidance - Use standard HTTP status codes correctly - Include request IDs for debugging - Offer SDKs and code generators ## API Style Decision Tree ### When to Choose REST ✅ **Use REST when:** - Building CRUD-focused resource APIs - Clients need HTTP caching (ETags, Cache-Control) - Wide platform compatibility required (browsers, mobile, IoT) - Simple, stateless client-server model fits - Team familiar with HTTP/REST conventions ❌ **Avoid REST when:** - Complex data fetching with nested relationships (N+1 queries) - Real-time updates are primary use case - Need strong typing and code generation - High-performance RPC between microservices **Example Use Cases**: Public APIs, mobile backends, traditional web services ### When to Choose GraphQL ✅ **Use GraphQL when:** - Clients need flexible, client-driven queries - Complex data graphs with nested relationships - Multiple client types with different data needs - Real-time subscriptions required - Strong typing and schema validation needed ❌ **Avoid GraphQL when:** - Simple CRUD operations dominate - HTTP caching is critical (GraphQL uses POST) - File uploads are primary feature (requires extensions) - Team lacks GraphQL expertise - Performance optimization is complex (N+1 problem) **Example Use Cases**: Client-facing APIs, dashboards, mobile apps with varied UIs ### When to Choose gRPC ✅ **Use gRPC when:** - Microservice-to-microservice communication - High performance and low latency critical - Bidirectional streaming needed - Strong typing with Protocol Buffers - Polyglot environments (language interop) ❌ **Avoid gRPC when:** - Browser clients (limited support, needs grpc-web) - HTTP/JSON required for compatibility - Human-readable payloads preferred - Simple request/response patterns **Example Use Cases**: Internal microservices, streaming data, service mesh ## REST API Patterns ### Resource Naming ✅ **Good: Plural nouns, hierarchical** ``` GET /users # List users GET /users/123 # Get user POST /users # Create user PUT /users/123 # Update user (full) PATCH /users/123 # Update user (partial) DELETE /users/123 # Delete user GET /users/123/orders # User's orders (sub-resource) ```
From aAAaqwq/AGI-Super-Team, Apache-2.0.
More from aAAaqwq/AGI-Super-Team
- 0.734score
aigc-director
Lychee
AI 视频生成全流程:通过 6 个阶段(剧本→角色/场景设计→分镜→参考图→视频生成→后期剪辑)将用户想法转化为完整视频。支持临时工作台(单独调用 LLM、VLM、文生图、图生图、视频生成)。触发词:视频生成、AI视频、AIGC、创作视频、制作视频、AI画图。
SkillBFreshness: B★ 111Claude Code +9 - 0.734score
code-material-gen
CCO Ives
代码生成配图素材。用 HTML/CSS + Playwright 渲染高质量中文配图。 不依赖任何AI图片API,100%代码生成,字体可控、像素精确、零成本。 Trigger: "代码生成素材", "配图生成", "素材生成", "code material", "render material".
SkillBFreshness: B★ 111Claude Code +9 - 0.729score
bazi-fortune
eamanc
八字四柱命理分析工具,属于 fortune-telling-skills 运势测算套件。基于子平真诠体系, 通过出生年月日时推算四柱八字、十神关系、五行旺衰、大运流年,揭示命局格局和人生走向。 排盘为确定性计算 + LLM 综合解读,无外部 API 依赖。…
SkillBFreshness: B★ 111Claude Code +9 - 0.728score
architecture-decision
jwynia
Evaluate architecture options, document trade-offs, and write decision records.
SkillBFreshness: B★ 111Claude Code +9 - 0.721score
daily-gzh-content
CCO Ives
公众号每日内容生产:选题→创作→素材生成→质量检查→保存→发布草稿
SkillBFreshness: B★ 111Claude Code +9 - 0.720score
douyin-publisher
Daniel Li
抖音图文/视频发布(OpenClaw Browser 自动化):登录检测→内容校验→上传页导航→填标题/正文→上传封面+素材→暂存离开。
SkillBFreshness: B★ 111Claude Code +9 - 0.694score
content-creator
Alireza Rezvani
Create SEO-optimized marketing content with consistent brand voice.
SkillBFreshness: B★ 111Claude Code +9 - 0.583score
daniel-auto-publish
aAAaqwq
通过用户自有的真实浏览器和 Computer Use,安全辅助抖音、小红书、快手、微信视频号、哔哩哔哩、YouTube、TikTok 与百家号的视频、图文或公众号文章发布。用于选择图文排版模板、生成并预览图片卡片或微信…
SkillAFreshness: A★ 111Claude Code +9 - 0.583score
binance-square
aAAaqwq
币安广场合约投机雷达 v5:以最近24小时专业交易帖为主要证据,回源核验帖子, 联合币安公共合约行情、4周期K线、布林带、ATR、量能和RR,生成可审计的本地影子报告。 触发词:币安广场、扫描币安、binance square、合约机会、交易信号雷达、4小时雷达
SkillAFreshness: A★ 111Claude Code +9 - 0.583score
5minbtc
aAAaqwq
BTC 5分钟K线实时方向预测 + 币安预测市场错价套利(paper)。v6.0 真OFI驱动: 方向由当前K线原生 in-candle OFI 净流一票决定(ofi_n=2*(tb/v)-1, REST klines[9] 聚合, 零WS依赖; WS ofi.json 做新鲜度反转保护与交叉校准)…
SkillAFreshness: A★ 111Claude Code +9 - 0.580score
daniel-writer
aAAaqwq
Daniel 的统一创作入口:按品牌、证据、声音和人机分工合同,完成选题、母故事、项目内容工作包、微信公众号、X、小红书、B站、知乎、抖音的起草改写与平台适配,并生成获批短视频脚本的本地制作交接和技术候选。适用于 AI、Agent、工具实测、教程、失败复盘、创作反思、图文卡片、口播分镜与跨平台内容生产。正式…
SkillAFreshness: A★ 111Claude Code +9 - 0.579score
daniel-self-media-top-mindset
aAAaqwq
将 Daniel 的利他、真实藏露、情绪纪律、需求聚焦与商业闭环心法应用到自媒体决策。凡涉及 Daniel 个人 IP 的定位、选题、写稿、脚本、封面、跨平台改编、发布规划、增长、变现或复盘时必须先使用;不用于保证爆款、虚构经历、泄露隐私或自动发布。
SkillAFreshness: A★ 111Claude Code +9
Signals
- Stars
- 111
- Forks
- 25
- Open issues
- 1
- Last commit (this folder)
- Apr 15, 2026 (6 months ago)
- Last release
- Sep 20, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0.0
- License
- Apache-2.0
- Repository
- github.com/aAAaqwq/AGI-Super-Team
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from aAAaqwq
- 0.583score
binance-square
aAAaqwq
币安广场合约投机雷达 v5:以最近24小时专业交易帖为主要证据,回源核验帖子, 联合币安公共合约行情、4周期K线、布林带、ATR、量能和RR,生成可审计的本地影子报告。 触发词:币安广场、扫描币安、binance square、合约机会、交易信号雷达、4小时雷达
SkillAFreshness: A★ 111Claude Code +9 - 0.583score
daniel-auto-publish
aAAaqwq
通过用户自有的真实浏览器和 Computer Use,安全辅助抖音、小红书、快手、微信视频号、哔哩哔哩、YouTube、TikTok 与百家号的视频、图文或公众号文章发布。用于选择图文排版模板、生成并预览图片卡片或微信…
SkillAFreshness: A★ 111Claude Code +9 - 0.583score
5minbtc
aAAaqwq
BTC 5分钟K线实时方向预测 + 币安预测市场错价套利(paper)。v6.0 真OFI驱动: 方向由当前K线原生 in-candle OFI 净流一票决定(ofi_n=2*(tb/v)-1, REST klines[9] 聚合, 零WS依赖; WS ofi.json 做新鲜度反转保护与交叉校准)…
SkillAFreshness: A★ 111Claude Code +9 - 0.580score
daniel-writer
aAAaqwq
Daniel 的统一创作入口:按品牌、证据、声音和人机分工合同,完成选题、母故事、项目内容工作包、微信公众号、X、小红书、B站、知乎、抖音的起草改写与平台适配,并生成获批短视频脚本的本地制作交接和技术候选。适用于 AI、Agent、工具实测、教程、失败复盘、创作反思、图文卡片、口播分镜与跨平台内容生产。正式…
SkillAFreshness: A★ 111Claude Code +9 - 0.579score
daniel-self-media-top-mindset
aAAaqwq
将 Daniel 的利他、真实藏露、情绪纪律、需求聚焦与商业闭环心法应用到自媒体决策。凡涉及 Daniel 个人 IP 的定位、选题、写稿、脚本、封面、跨平台改编、发布规划、增长、变现或复盘时必须先使用;不用于保证爆款、虚构经历、泄露隐私或自动发布。
SkillAFreshness: A★ 111Claude Code +9 - 0.579score
coupling-analysis
aAAaqwq
改动前的耦合分析(Coupling Analysis / 防蝴蝶效应)——任何改动「共享参数、共享状态、 公共接口、全局常量、被多处引用的逻辑」之前,先画约束图,找出互斥约束与影响面, 再决定动手。触发场景:改参数/阈值/常量;改被多个模块调用的函数;改数据库 schema; 改 API…
SkillAFreshness: A★ 111Claude Code +9
Cite this page
api-design-patterns skill. Agent Mart. https://agentmart.dev/skills/aaaaqwq-api-design-patterns (last updated 2026-10-24)