一键导入
add-endpoint
Add a new API endpoint following all project standards
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Add a new API endpoint following all project standards
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Add a new implementation of the primary protocol/interface (Alex Rivera's workflow)
Plan and implement a complete feature end-to-end across all layers
Full codebase audit — dead code, layer violations, concurrency, observability, code quality
Set up or update GitHub Actions CI/CD pipeline (Marcus Chen's workflow)
Remove dead code, unused imports, stale files, and fix code quality issues found by /audit
Smart commit — validate, stage, and commit with a conventional commit message
| name | add-endpoint |
| description | Add a new API endpoint following all project standards |
Add a new API endpoint: $ARGUMENTS
Follow this workflow:
Plan: Identify which router file the endpoint belongs in (see Routers in project config)
Schema: Add typed request/response schemas (see stack concepts for schema library) to the models/schemas file if needed
Service: Add business logic to the service layer if needed
Route: Add the endpoint to the router
Tests: Add tests in the corresponding test file (see test file mapping in project config)
Verify: Run the test command and the type-check command (see project config)
Docs: Update project documentation if a new endpoint was added