Agent Skills: FastGPT API 开发规范

FastGPT API 开发规范。重点强调使用 zod schema 定义入参和出参,在 API 文档中声明路由信息,编写对应的 OpenAPI 文档,以及在 API 路由中使用 schema.parse 进行验证。

UncategorizedID: labring/fastgpt/api-development

Repository

labringLicense: NOASSERTION
27,6737,026

Install this agent skill to your local

pnpm dlx add-skill https://github.com/labring/FastGPT/tree/HEAD/.claude/skills/api-development

Skill Files

Browse the full folder contents for api-development.

Download Skill

Loading file tree…

.claude/skills/api-development/SKILL.md

Skill Metadata

Name
api-development
Description
FastGPT API 开发规范。重点强调使用 zod schema 定义入参和出参,在 API 文档中声明路由信息,编写对应的 OpenAPI 文档,以及在 API 路由中使用 schema.parse 进行验证。

FastGPT API 开发规范

FastGPT 项目 API 路由开发的标准化指南,确保 API 的一致性、类型安全和文档完整性。

何时使用此技能

  • 开发新的 Next.js API 路由
  • 修改现有 API 的入参或出参
  • 需要 API 类型定义和文档
  • 审查 API 相关代码

说明文档

API 设计规范