managing-client-lifecycle
CommunityGraceful PrismaClient shutdown and lifecycle management.
Authordjankies
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill teaches lifecycle management for PrismaClient, including graceful shutdown, disconnect timing, and logging configuration in servered environments and tests.
Core Features & Use Cases
- Proper shutdown hooks in Express/Fastify and test teardown (afterAll).
- Configurable logging for development and production.
- Prevents connection leaks and ensures clean termination.
Quick Start
Integrate a single PrismaClient instance with a server shutdown hook and afterAll teardown in tests.
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: managing-client-lifecycle Download link: https://github.com/djankies/claude-configs/archive/main.zip#managing-client-lifecycle 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 223,000+ vetted skills library on demand.