·implementing-api-patterns
</>

implementing-api-patterns

ancoleman/ai-design-components

跨 REST、GraphQL、gRPC 和 tRPC 模式的 API 设计和实现。在构建后端服务、公共 API 或服务到服务通信时使用。涵盖 REST 框架(FastAPI、Axum、Gin、Hono)、GraphQL 库(Strawberry、async-graphql、gqlgen、Pothos)、gRPC(Tonic、Connect-Go)、TypeScript tRPC、分页策略(基于光标、基于偏移)、速率限制、缓存、版本控制和 OpenAPI 文档生成。包括表单、表格、仪表板和人工智能聊天技能的前端集成模式。

0安装·0热度·@ancoleman

安装

$npx skills add https://github.com/ancoleman/ai-design-components --skill implementing-api-patterns

SKILL.md

Design and implement APIs using the optimal pattern and framework for the use case. Choose between REST, GraphQL, gRPC, and tRPC based on API consumers, performance requirements, and type safety needs.

Key Features: Auto OpenAPI docs, Pydantic v2 validation, async/await, 40k req/s

See references/rest-design-principles.md for FastAPI patterns and examples/python-fastapi/.

跨 REST、GraphQL、gRPC 和 tRPC 模式的 API 设计和实现。在构建后端服务、公共 API 或服务到服务通信时使用。涵盖 REST 框架(FastAPI、Axum、Gin、Hono)、GraphQL 库(Strawberry、async-graphql、gqlgen、Pothos)、gRPC(Tonic、Connect-Go)、TypeScript tRPC、分页策略(基于光标、基于偏移)、速率限制、缓存、版本控制和 OpenAPI 文档生成。包括表单、表格、仪表板和人工智能聊天技能的前端集成模式。 来源:ancoleman/ai-design-components。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/ancoleman/ai-design-components --skill implementing-api-patterns
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 implementing-api-patterns?

跨 REST、GraphQL、gRPC 和 tRPC 模式的 API 设计和实现。在构建后端服务、公共 API 或服务到服务通信时使用。涵盖 REST 框架(FastAPI、Axum、Gin、Hono)、GraphQL 库(Strawberry、async-graphql、gqlgen、Pothos)、gRPC(Tonic、Connect-Go)、TypeScript tRPC、分页策略(基于光标、基于偏移)、速率限制、缓存、版本控制和 OpenAPI 文档生成。包括表单、表格、仪表板和人工智能聊天技能的前端集成模式。 来源:ancoleman/ai-design-components。

如何安装 implementing-api-patterns?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/ancoleman/ai-design-components --skill implementing-api-patterns 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/ancoleman/ai-design-components