ln-654-resource-lifecycle-auditor

Solid

Checks session scope mismatch, missing cleanup, pool config, error path leaks, resource holding. Use when auditing resource lifecycle.

AI & Automation 479 stars 67 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 94/100

Stars 20%
89
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

> **Paths:** File paths (`shared/`, `references/`, `../ln-*`) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root. If `shared/` is missing, fetch files via WebFetch from `https://raw.githubusercontent.com/levnikolaevich/claude-code-skills/master/skills/{path}`. # Resource Lifecycle Auditor (L3 Worker) **Type:** L3 Worker Specialized worker auditing resource acquisition/release patterns, scope mismatches, and connection pool hygiene. ## Purpose & Scope - Audit **resource lifecycle** (Priority: HIGH) - Check session/connection scope mismatch, streaming endpoint resource holding, cleanup patterns, pool config - Write structured findings to file with severity, location, effort, recommendations - Calculate compliance score (X/10) for Resource Lifecycle category ## Inputs **MANDATORY READ:** Load `shared/references/audit_worker_core_contract.md`. Receives `contextStore` with: `tech_stack`, `best_practices`, `db_config` (database type, ORM settings, pool config, session factory), `codebase_root`, `output_dir`. **Domain-aware:** Supports `domain_mode` + `current_domain`. ## Workflow **MANDATORY READ:** Load `shared/references/two_layer_detection.md` for detection methodology. 1) **Parse context from contextStore** - Extract tech_stack, best_practices, db_config, output_dir - Determine scan_path 2) **Detect DI framework** - FastAPI `Depends()`, Django middleware, Spring `@Autowired`/`@Persistence...

Details

Author
levnikolaevich
Repository
levnikolaevich/claude-code-skills
Created
7 months ago
Last Updated
yesterday
Language
JavaScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category