一键导入
team-api-conventions
API design conventions for this codebase. Use whenever writing or reviewing API endpoints, route handlers, or HTTP clients.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
API design conventions for this codebase. Use whenever writing or reviewing API endpoints, route handlers, or HTTP clients.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Explains code in plain language for someone unfamiliar with the programming language. Use when asked to explain code, walk through logic, describe what a function does, or when the user says "explain this" or "walk me through this".
Summarizes uncommitted git changes in a concise machine-readable format. Use in CI pipelines, scripts, or headless invocations where the output will be piped or captured.
Explains what a skill is and demonstrates that skills are working. Use when testing skills, when asked about skills, or when asked to demonstrate how skills work.
Demonstrates the personal scope for Claude Code skills. Use when testing personal-scoped skills or when the user wants to understand the difference between personal and project skill scopes.
Lists the conventions for this project and demonstrates the project scope for Claude Code skills. Use when asked about project conventions, code style, or as a demonstration of project-scoped skills.
Draft a CHANGELOG.md entry for the current changes in Keep a Changelog format. Use when releasing, tagging a version, or updating CHANGELOG.md.
| title | team-api-conventions |
| name | team-api-conventions |
| description | API design conventions for this codebase. Use whenever writing or reviewing API endpoints, route handlers, or HTTP clients. |
| user-invocable | false |
Apply these conventions whenever you write, review, or modify API endpoints, route handlers, request validation, or HTTP client code in this codebase.
/user-profiles, not /userProfiles or /user_profiles./invoices, /line-items, not /invoice, /lineItem./invoices/{id}/line-items./invoices/{id}/send, /invoices/{id}/void.?pageSize=20&startAfter=abc.All API responses use a consistent envelope:
{
"data": {},
"meta": {
"requestId": "uuid",
"timestamp": "ISO-8601"
}
}
List responses add pagination to meta:
{
"data": [],
"meta": {
"requestId": "uuid",
"timestamp": "ISO-8601",
"pagination": {
"total": 142,
"pageSize": 20,
"nextCursor": "opaque-string-or-null"
}
}
}
Do not return bare arrays or bare objects at the top level.
{
"error": {
"code": "INVOICE_NOT_FOUND",
"message": "No invoice with id 'xyz' exists.",
"requestId": "uuid"
}
}
code is SCREAMING_SNAKE_CASE and stable across releases. Client code switches on this value.message is human-readable and may change between releases./v1/invoices, /v2/invoices.Authorization: Bearer <token>.X-Service-Token instead of Authorization and are validated differently at the gateway.Flag any of the following as review comments:
requestId in responses