mcpField
E
express

express

github.com/full-stack-skillsDevelopment082 installsUpdated 5w ago
Repository

About express

express is a development skill for building Node.js HTTP services with Express. It covers routing, middleware, common request handling, error handling, security practices, and deployment guidance.

Key features

  1. 01Express HTTP services and routing
  2. 02Middleware and static asset setup
  3. 03CORS and request body parsing
  4. 04Error handling and 404 responses
  5. 05Security headers and production deployment guidance

Use cases

  1. 01Building a Node.js HTTP service
  2. 02Setting up routes, middleware, and static assets
  3. 03Configuring CORS, request parsing, and error handling

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/full-stack-skills/nodejs-skills --skill express

After installing, type/expressin Claude Code to confirm it loaded.

Bundled filesagents/openai.yamlLICENSE.txt

Details

From the project README

When to use this skill

Use this skill whenever the user wants to:

  • 用 Express 编写 Node.js HTTP 服务、路由、中间件与静态资源
  • 配置 CORS、body 解析、错误处理与部署

How to use this skill

  1. 核心:express()、app.get/post、req/res、中间件(next);router 与静态。
  2. 常用:cors、body-parser/json、helmet、morgan;错误中间件与 404。
  3. 参考:https://expressjs.com/

Best Practices

  • 路由与中间件分层;异步错误用 try/catch 或包装。
  • 安全头与 CORS;生产用反向代理与 HTTPS。

Keywords

express, Node.js, 中间件, 路由

Comments

Markdown supported