server-api
SolidServer API 設計規範。Use when creating server/api/**/*.ts files, building API endpoints, or working with defineEventHandler. Always use this skill for API route design, request validation, error handling, and response formatting.
Install
Quality Score: 84/100
Skill Content
Details
- Author
- YuDefine
- Repository
- YuDefine/nuxt-supabase-starter
- Created
- 8 months ago
- Last Updated
- today
- Language
- JavaScript
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
backendapi-development
后端API开发方法论,包括RESTful/GraphQL设计、请求验证、错误处理和安全实现
api-creation
Use this skill when creating, adding, or modifying API modules under `src/services/apis/` in any project that has `src/services/Axios.ts` exporting `get`/`post`/`del`/`put` and `src/services/ResType.ts` exporting `ListRes`. Trigger phrases include "新增一个接口"、"创建 API"、"add a CRUD api"、"在 services/apis 下新增模块"、"新增一个模块的增删改查", or any request to wire up backend endpoints for a list/detail/create/update/delete page. Skip for API usage inside `pages/`/`components/` — this skill is only for authoring files inside `src/services/apis/`. The skill adapts to the current project's own directory structure rather than assuming a fixed set of categories.
api-design
引導 API 設計,遵循 REST、GraphQL 與 gRPC 最佳實踐。 Use when: 設計 API、審查端點、API 版本策略決策。 Not for: 驗證運行中的 API 是否符合消費端期待——請用 /contract-test;API 背後的 schema 設計——請用 /database。 Keywords: API, REST, GraphQL, gRPC, endpoint, versioning, 介面設計, 端點, 版本策略.