Agent skill · software engineering · aiskillstore

pitfalls-express-api

Express API conventions and storage patterns. Use when building REST APIs, defining routes, or implementing storage interfaces. Triggers on: Express, router, API route, status code, storage interface.

Why this skill is useful

Provides specific patterns and conventions for building REST APIs with Express that the AI wouldn't reliably generate on its own.

What it needs

About 2k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

Express API Pitfalls Common pitfalls and correct patterns for Express APIs. When to Use Building REST API routes Implementing storage interfaces Setting HTTP status codes Validating request bodies Reviewing Express API code Workflow Step 1: Verify Route Structure Check that routes follow REST conventions. Step 2: Check Status Codes Ensure correct status codes for each operation. Step 3: Verify Validation Confirm input validation middleware is in place. --- Route Structure Status Codes Operation Success Not Found Invalid ----------- --------- ----------- --------- GET 200 404 400 POST 201 - 400 PATCH 200 404 400 DELETE 204 404 - Storage Interface Pattern Background Job Patterns Quick Checklist [ ] Routes follow REST conventions [ ] Correct status codes returned [ ] Input validation on all endpoints [ ] Storage interface abstraction used [ ] Background jobs handle cleanup

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/pitfalls-express-api

View the source on GitHub

Browse the @skills marketplace