Skip to content
Back to skills

Express

ASecurity

Express.js middleware, routing, REST API, error handling. Use when building Express apps or APIs.

  • 47 stars
  • 0 votes
  • 1 copy
  • 21 views
  • Added September 12, 2026
testingexpressapisecurity

Works with

  • api

Security analysis

A100/100

Scanned September 12, 2026

npx -y skills add skeletorflet/opencode-supreme-setup --skill express --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Express?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Express
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/skeletorflet-express/badge)](https://www.skillsdirectory.com/skills/skeletorflet-express)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: express
description: Express.js middleware, routing, REST API, error handling. Use when building Express apps or APIs.
---

## express

Build Express.js web servers and REST APIs.

### Middleware System
- Chain request handlers via `app.use()` and `app.VERB()`
- Order matters: middleware runs top-down
- Error middleware has 4 params: `(err, req, res, next)`

### Routing
- Express Router for modular route groups
- Route params `:id` with `req.params`
- Query strings with `req.query`
- Body parsing via `express.json()` and `express.urlencoded()`

### Security
- helmet for HTTP headers
- cors for cross-origin requests
- Rate limiting with express-rate-limit
- Input validation with express-validator or Joi

### Best Practices
- Separate routes, controllers, services layers
- Centralized error handler middleware
- Async error wrapper to catch rejected promises
- Test with supertest + jest or vitest
- Static files via express.static for assets

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.