跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Backend Api Design

技能 已验证 活跃

Design RPC-style APIs with layered architecture (Controller → Manager → Repository). Use when creating new API endpoints, designing API contracts, or reviewing API patterns.

目的

Design and implement well-structured RPC-style APIs with consistent layered architecture and clear API contracts.

功能

  • Defines RPC-style URL patterns
  • Enforces layered architecture (Controller, Manager, Repository)
  • Provides code templates for controllers, responses, and repositories
  • Details error handling and pagination strategies
  • Documents common pitfalls and best practices

使用场景

  • Creating new API endpoints
  • Designing API contracts for backend services
  • Reviewing and refactoring existing API patterns
  • Establishing consistent API design standards within a team

非目标

  • Implementing specific business logic
  • Handling deployment or infrastructure concerns
  • Writing actual frontend code
  • Providing a runtime framework

安装

npx skills add spartan-stratos/spartan-ai-toolkit

通过 npx 运行 Vercel skills CLI(skills.sh)— 需要本地安装 Node.js,以及至少一个兼容 skills 的智能体(Claude Code、Cursor、Codex 等)。前提是仓库遵循 agentskills.io 格式。

质量评分

已验证
99 /100
1 day ago 分析

信任信号

最近提交4 days ago
星标68
状态
查看源代码

类似扩展

Security Checklist

98

Security best practices for Micronaut/Kotlin backend including authentication, authorization, input validation, and OWASP prevention. Use when implementing auth, validating inputs, or reviewing security.

技能
spartan-stratos

Backend Patterns

99

Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.

技能
affaan-m

Fullstack Guardian

98

Builds security-focused full-stack web applications by implementing integrated frontend and backend components with layered security at every level. Covers the complete stack from database to UI, enforcing auth, input validation, output encoding, and parameterized queries across all layers. Use when implementing features across frontend and backend, building REST APIs with corresponding UI, connecting frontend components to backend endpoints, creating end-to-end data flows from database to UI, or implementing CRUD operations with UI forms. Distinct from frontend-only, backend-only, or API-only skills in that it simultaneously addresses all three perspectives—Frontend, Backend, and Security—within a single implementation workflow. Invoke for full-stack feature work, web app development, authenticated API routes with views, microservices, real-time features, monorepo architecture, or technology selection decisions.

技能
jeffallan

API Endpoint Creator

97

Creates RPC-style endpoint following layered architecture (Controller → Manager → Repository). Use when creating new API endpoints or CRUD operations.

技能
spartan-stratos

Testing Strategies

95

Testing patterns for Micronaut/Kotlin backend including repository tests, integration tests, and test data builders. Use when writing tests, setting up test infrastructure, or improving coverage.

技能
spartan-stratos

Sdk Dx

100

Design SDKs that developers love to use—APIs that feel native, error messages that guide, and experiences that reduce friction. This skill covers creating SDKs that drive adoption through exceptional developer experience rather than aggressive marketing. Trigger phrases: "SDK design", "developer experience", "API design", "SDK DX", "error messages", "type safety", "IDE integration", "SDK versioning", "migration guides", "client library design", "making SDKs feel native", "SDK best practices"

技能
jonathimer