跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

API Design Patterns

技能 已验证 活跃

Comprehensive API design patterns covering REST, GraphQL, gRPC, versioning, authentication, and modern API best practices

目的

To guide developers in creating well-designed, scalable, and maintainable APIs by offering proven patterns and best practices for various architectural styles.

功能

  • Covers REST, GraphQL, and gRPC patterns
  • Details versioning strategies (URI, header, content negotiation)
  • Explains authentication methods (OAuth 2.0, JWT, API keys)
  • Provides pagination patterns (offset, cursor, keyset)
  • Includes HATEOAS, error handling, and caching strategies

使用场景

  • Designing new APIs from scratch
  • Refactoring existing APIs to adopt best practices
  • Troubleshooting API design challenges
  • Learning about modern API architectural styles

非目标

  • Implementing specific API servers or clients
  • Providing code generation tools
  • Detailed protocol-level RFC analysis beyond design patterns

安装

npx skills add bobmatnyc/claude-mpm-skills

通过 npx 运行 Vercel skills CLI(skills.sh)— 需要本地安装 Node.js,以及至少一个兼容 skills 的智能体(Claude Code、Cursor、Codex 等)。前提是仓库遵循 agentskills.io 格式。

质量评分

已验证
100 /100
1 day ago 分析

信任信号

最近提交29 days ago
星标44
许可证Apache-2.0
状态
查看源代码

类似扩展

Query Netdata Cloud

100

Query Netdata Cloud via its REST API -- metrics, logs (systemd-journal / windows-events / otel-logs), topology graphs (topology:snmp), network flows (flows:netflow), alerts, dynamic configuration (DynCfg), and generic Functions on a node. Use when the user asks about querying Netdata Cloud, fetching metrics from the cloud, querying logs / topology / netflow / sflow / ipfix through Cloud, listing or modifying configurations via DynCfg, calling agent Functions through Cloud, listing spaces/rooms/nodes, or building a curl command against `app.netdata.cloud`. Pairs with the `query-netdata-agents` skill when direct-agent access is needed.

技能
netdata

Shopify Expert

99

Comprehensive Shopify development expert with access to 24 official documentation files covering APIs (GraphQL Admin, Storefront, REST), app development, themes, Liquid, Hydrogen, checkout, extensions, webhooks, Functions, CLI, subscriptions, payments, and all platform features. Invoke when user mentions Shopify, e-commerce, online store, product management, orders, checkout, themes, or headless commerce.

技能
raintree-technology

API Designer

99

Use when designing REST or GraphQL APIs, creating OpenAPI specifications, or planning API architecture. Invoke for resource modeling, versioning strategies, pagination patterns, error handling standards.

技能
jeffallan

API Designer

98

REST and GraphQL API architect for designing robust, scalable APIs. Use when designing new APIs or improving existing ones.

技能
charon-fan

X Twitter Scraper

100

当用户需要通过 Xquik 获取 X (Twitter) 数据或执行需要确认的 X 操作时使用:推文搜索、用户查找、关注者提取、媒体下载、监控、Webhook、MCP、SDK、发布、点赞、私信和个人资料更新。需要 Xquik API 密钥。切勿索要 X 登录凭据。

技能
Xquik-dev

Slack

100

Use the Slack tool to react, pin/unpin, send, edit, delete messages, or fetch Slack member info.

技能
steipete