nodejs-database-patterns
CommunityNode.js database patterns for data access.
Software Engineering#transactions#sql-injection#nodejs#prisma#connection-pooling#database-patterns#knex
AuthorMomoDaviluke
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Node.js applications often struggle with efficient and reliable relational database access. This skill provides a structured set of design patterns covering connection pooling, transaction management, safe dynamic SQL, parameterized queries, and migration strategies to improve robustness and performance.
Core Features & Use Cases
- Connection pooling configuration and health checks to reduce latency and resource usage.
- Transaction encapsulation wrappers to ensure ACID guarantees across multi-step operations.
- Parameterized queries with safe dynamic SQL construction to prevent SQL injection.
- Migration strategies using Knex.js, Prisma, or handwritten SQL to manage schema changes.
- Patterns for read/write splitting and basic replication awareness to scale reads.
Quick Start
Configure a pool, implement a transaction wrapper, and validate a few representative queries against your test database.
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: nodejs-database-patterns Download link: https://github.com/MomoDaviluke/star-citizen-promotion/archive/main.zip#nodejs-database-patterns 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 510,000+ vetted skills library on demand.