·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