返回 Skill 列表
extension
分类: 开发与工程无需 API Key

API Development

API开发的逐步指导

person作者: jakexiaohubgithub

API Development

Use this skill when building backend APIs from requirements or specifications.

When to Use

  • You are implementing new API endpoints.
  • You need robust request validation and error handling.
  • You need release-safe rollout and monitoring.

Workflow

  1. Translate requirements into endpoint contracts.
  2. Implement request validation and schema enforcement.
  3. Implement business logic with clear service boundaries.
  4. Add error mapping with stable codes/messages.
  5. Add auth and rate limiting where required.
  6. Write unit/integration/contract tests.
  7. Add structured logs, metrics, and tracing.
  8. Roll out with canary/feature-flag strategy.

Output

  • Endpoint implementation plan
  • Validation/testing checklist
  • Rollout and rollback notes