ln-629-lifecycle-auditor

Solid

Checks bootstrap initialization, graceful shutdown, resource cleanup, signal handling, liveness/readiness probes. Use when auditing app lifecycle.

AI & Automation 479 stars 67 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 97/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}`. # Lifecycle Auditor (L3 Worker) **Type:** L3 Worker Specialized worker auditing application lifecycle and entry points. ## Purpose & Scope - Audit **lifecycle** (Category 12: Medium Priority) - Check bootstrap, shutdown, signal handling, probes - Calculate compliance score (X/10) ## Inputs **MANDATORY READ:** Load `shared/references/audit_worker_core_contract.md`. Receives `contextStore` with tech stack, deployment type, codebase root, output_dir. ## Workflow **MANDATORY READ:** Load `shared/references/two_layer_detection.md` for detection methodology. 1) Parse context + output_dir 2) Check lifecycle patterns (Layer 1: grep for SIGTERM, shutdown handlers, probes) 3) Analyze context per candidate (Layer 2): - Bootstrap order: read main file -- trace actual init sequence, verify dependencies satisfied before use - Graceful shutdown: read signal handlers -- do they actually close all resources? Or just log and exit? - Resource cleanup: read shutdown handler -- are ALL opened resources (DB, Redis, queues) closed? - Probes: check deployment config (Dockerfile, k8s manifests) -- is this containerized? 4) Collect confirmed findings 5) C...

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