什么是 api-and-interface-design?
在设计 API、模块边界或任何公共接口时使用。在创建 REST 或 GraphQL 端点、定义模块之间的类型契约或在前端和后端之间建立边界时使用。 来源:addyosmani/agent-skills。
在设计 API、模块边界或任何公共接口时使用。在创建 REST 或 GraphQL 端点、定义模块之间的类型契约或在前端和后端之间建立边界时使用。
通过命令行快速安装 api-and-interface-design AI 技能到你的开发环境
来源:addyosmani/agent-skills。
Design stable, well-documented interfaces that are hard to misuse. Good interfaces make the right thing easy and the wrong thing hard. This applies to REST APIs, GraphQL schemas, module boundaries, component props, and any surface where one piece of code talks to another.
Define the interface before implementing it. The contract is the spec — implementation follows.
Don't mix patterns. If some endpoints throw, others return null, and others return { error } — the consumer can't predict behavior.
在设计 API、模块边界或任何公共接口时使用。在创建 REST 或 GraphQL 端点、定义模块之间的类型契约或在前端和后端之间建立边界时使用。 来源:addyosmani/agent-skills。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/addyosmani/agent-skills --skill api-and-interface-design在设计 API、模块边界或任何公共接口时使用。在创建 REST 或 GraphQL 端点、定义模块之间的类型契约或在前端和后端之间建立边界时使用。 来源:addyosmani/agent-skills。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/addyosmani/agent-skills --skill api-and-interface-design 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/addyosmani/agent-skills