api-patterns by sickn33/antigravity-awesome-skills
npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill api-patterns2025 年的 API 设计原则与决策指南。学会思考,而非照搬固定模式。
仅阅读与请求相关的文件! 请查阅内容地图,找到你所需的内容。
| 文件 | 描述 | 何时阅读 |
|---|---|---|
api-style.md | REST vs GraphQL vs tRPC 决策树 | 选择 API 类型时 |
rest.md | 资源命名、HTTP 方法、状态码 | 设计 REST API 时 |
response.md | 信封模式、错误格式、分页 | 设计响应结构时 |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
graphql.md| 模式设计、适用场景、安全性 |
| 考虑使用 GraphQL 时 |
trpc.md | TypeScript 单体仓库、类型安全 | 进行 TS 全栈项目时 |
versioning.md | URI/Header/Query 版本控制 | 规划 API 演进时 |
auth.md | JWT、OAuth、Passkey、API 密钥 | 选择认证模式时 |
rate-limiting.md | 令牌桶、滑动窗口 | 进行 API 保护时 |
documentation.md | OpenAPI/Swagger 最佳实践 | 编写文档时 |
security-testing.md | OWASP API Top 10、认证/授权测试 | 进行安全审计时 |
| 需求 | 技能 |
|---|---|
| API 实现 | @[skills/backend-development] |
| 数据结构 | @[skills/database-design] |
| 安全细节 | @[skills/security-hardening] |
在设计 API 之前,请确认:
请勿:
/getUsers)请务必:
| 脚本 | 用途 | 命令 |
|---|---|---|
scripts/api_validator.py | API 端点验证 | python scripts/api_validator.py <project_path> |
此技能适用于执行概述中描述的工作流程或操作。
每周安装量
542
代码仓库
GitHub 星标数
27.1K
首次出现
Jan 20, 2026
安全审计
安装于
opencode434
gemini-cli424
codex389
claude-code372
cursor357
github-copilot355
API design principles and decision-making for 2025. Learn to THINK, not copy fixed patterns.
Read ONLY files relevant to the request! Check the content map, find what you need.
| 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 |
| Need | Skill |
|---|---|
| API implementation | @[skills/backend-development] |
| Data structure | @[skills/database-design] |
| Security details | @[skills/security-hardening] |
Before designing an API:
DON'T:
DO:
| Script | Purpose | Command |
|---|---|---|
scripts/api_validator.py | API endpoint validation | python scripts/api_validator.py <project_path> |
This skill is applicable to execute the workflow or actions described in the overview.
Weekly Installs
542
Repository
GitHub Stars
27.1K
First Seen
Jan 20, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode434
gemini-cli424
codex389
claude-code372
cursor357
github-copilot355
agent-browser 浏览器自动化工具 - Vercel Labs 命令行网页操作与测试
136,300 周安装
FlowStudio MCP 构建部署 Power Automate 云流指南 | 自动化流程开发
530 周安装
mcp2cli:无需代码,将MCP/OpenAPI/GraphQL实时转换为命令行工具
530 周安装
交互式作品集设计指南:30秒吸引招聘者,提升作品集转化率与个人品牌
530 周安装
每日销售简报AI工具 - 自动生成优先级行动计划,整合日历、CRM和邮件数据
531 周安装
生产排程实战指南:离散制造工厂的有限产能排程、换线优化与瓶颈管理
531 周安装
Angular 21 最佳实践指南:TypeScript、Signals、组件与性能优化
531 周安装