一键导入
express-api-design
Use when adding or changing routes, middleware, or error handling in this Express.js API, to keep endpoints consistent, validated, and testable.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when adding or changing routes, middleware, or error handling in this Express.js API, to keep endpoints consistent, validated, and testable.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | express-api-design |
| description | Use when adding or changing routes, middleware, or error handling in this Express.js API, to keep endpoints consistent, validated, and testable. |
Keep the Express app small, testable, and consistent. Build routes on the
exported createApp() factory so they can be tested without binding a port.
src/app.js on the app returned by createApp().test/ case that starts the app on an ephemeral port and asserts the
response./items, /items/:id), verbs via HTTP methods./v2/...) or document compatibility in README.createApp() on port 0, use fetch against
http://127.0.0.1:<port>/....npm test before every commit.See the shared deploy-vercel skill when shipping to Vercel.
error.message or stacks to clients.Use before scaffolding a bwai project — runs the full startup-goal workflow then recommends the right boilerplate and outputs the exact bwai new command to run.
Use when acting as a startup CTO for architecture, technical risk, platform direction, codebase boundaries, or engineering strategy.
Use when acting as a startup founding engineer for implementation, tests, debugging, review, and verification.
Use when acting as a startup product manager for discovery, PRDs, issue slicing, roadmap tradeoffs, or customer-value sequencing.
Use when acting as a startup QA lead for acceptance checks, release risk, regression focus, and verification evidence.
Use when coordinating a startup goal across CEO, CTO, product manager, engineering manager, founding engineer, and QA lead role subagents.