levnikolaevich avatar

Ln 654 Resource Lifecycle Auditor

This is a specialized auditor for resource lifecycle bugs in database-heavy applications. It checks for six common patterns: session scope mismatches where a DB connection lives for an entire request but only gets used once, streaming endpoints that hold connections open for minutes, missing cleanup in error paths, and pool configuration issues. The two-layer detection is smart: it scans for candidates first, then verifies with context using hex-graph to trace call paths when available. Particularly good at catching the subtle ones like FastAPI endpoints that inject a session via Depends but only touch it in the first 20% of the function. Writes findings with severity ratings and calculates a compliance score. Best used during code review or before deploying long-running async services where connection pool exhaustion can quietly kill you.

skills.sh installs
247
GitHub stars
591
last updated
Aug 21, 2026

Install

$ npx -y skills add levnikolaevich/claude-code-skills --skill ln-654-resource-lifecycle-auditor --agent claude-code

Installs into .claude/skills of the current project.

Files

This is a specialized auditor for resource lifecycle bugs in database-heavy applications. It checks for six common patterns: session scope mismatches where a DB connection lives for an entire request but only gets used once, streaming endpoints that hold connections open for minutes, missing cleanup in error paths, and pool configuration issues. The two-layer detection is smart: it scans for candidates first, then verifies with context using hex-graph to trace call paths when available. Particularly good at catching the subtle ones like FastAPI endpoints that inject a session via Depends but only touch it in the first 20% of the function. Writes findings with severity ratings and calculates a compliance score. Best used during code review or before deploying long-running async services where connection pool exhaustion can quietly kill you.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/levnikolaevich/claude-code-skills
Category
Debugging
First seen
Jun 3, 2026

More from levnikolaevich/claude-code-skills

All 128

Recommended

More Debugging
1davila7 avatarsecurity-best-practicesdavila7/claude-code-templatesPerform language and framework specific security best-practice reviews and suggest improvements. Trigger only when the user explicitly requests security best pr246skills.sh installs
2pproenca avatarrust-implementpproenca/dot-skillsWrite production-grade Rust code using a multi-pass approach. Design types first, then implement, then simplify, then verify with automated lint. Use this skill246skills.sh installs
3thedivergentai avatargodot-export-buildsthedivergentai/gd-agentic-skillsExpert patterns for multi-platform exports including export templates (Windows/Linux/macOS/Android/iOS/Web), command-line exports (headless mode), platform-spec246skills.sh installs
4davila7 avatariterate-prdavila7/claude-code-templatesIterate on a PR until CI passes. Use when you need to fix CI failures, address review feedback, or continuously push fixes until all checks are green. Automates245skills.sh installs
5daffy0208 avatarapi-integration-builderdaffy0208/ai-dev-standardsBuild reliable third-party API integrations including OAuth, webhooks, rate limiting, error handling, and data sync. Use when integrating with external services244skills.sh installs
6thedivergentai avatargodot-multiplayer-networkingthedivergentai/gd-agentic-skillsExpert multiplayer for desync, rollback, dedicated --headless servers, interest culling, and bandwidth spikes: ENet/WebRTC choice, authority, secure RPCs, clien243skills.sh installs