express-best-practices
CommunityExpress.js best practices & anti-patterns.
Authorburnjohn
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This catalog consolidates Express.js and MongoDB/Mongoose best practices and anti-patterns to guide developers when writing, reviewing, or refactoring API code. It helps enforce consistent architecture, error handling, security, and maintainable code organization across controllers, routes, and models.
Core Features & Use Cases
- Comprehensive guidelines for route design, controller responsibilities, middleware usage, error handling, validation, security hardening, and MongoDB model patterns.
- A reference for code reviews and refactors, with concrete patterns and anti-patterns; includes examples.md for practical illustrations and hands-on guidance.
- Use cases include auditing existing projects, onboarding new team members, instituting architecture standards in new work, and integrating checks into CI pipelines.
Quick Start
Review an existing Express project against the catalog and apply the recommended patterns to refactor routes, controllers, and models.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: express-best-practices Download link: https://github.com/burnjohn/quick-blog/archive/main.zip#express-best-practices Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.