ln-25-persistence-auditor

Installation
SKILL.md

Persistence Auditor

Goal: Perform a read-only audit of persistence and data-heavy runtime paths. Connect static candidates to real query, transaction, resource, or consistency mechanisms and avoid claiming performance impact without evidence.

Execution contract: The ordered checkboxes are the Definition of Done. Track every item internally as PENDING, PROVEN with concrete evidence, CLEARED with evidence that its condition is absent, or UNPROVEN with a gap; reading, delegation, or tool failure is not proof. Reconcile items after each section. Before returning, resolve all PENDING and count only PROVEN and CLEARED; apply the skill's verdict and approval rules to every gap. Preserve user intent, scope, and existing authorization. Continue authorized work; ask only for consequential unresolved choices or required external approval. Scale depth to material risk without silently skipping checks. Preserve dependency and safety ordering; otherwise choose the verification method appropriate to each obligation.

Tool Routing

Need Preferred tool Use it when Fallback
Data-layer map Native file search over manifests, models, mappings, repositories, migrations, queries, cache, queue, and pool configuration Establishing stores, frameworks, ownership, and scope Trace from known request, job, or command entrypoints
Call paths and resource ownership Language server or host-native code intelligence Following service calls, transaction boundaries, async flow, session scopes, and cleanup Targeted search plus direct inspection of definitions and callers
Query behavior Existing query logs, tracing, ORM diagnostics, and application metrics Establishing frequency, duplication, timing, rows, and cache behavior Static query-in-loop and fetch-shape analysis with explicit limits
Query plans Database-native explain tooling on an approved non-production target A safe read query and representative schema/data are available Inspect indexes, predicates, joins, statistics assumptions, and generated SQL statically
Runtime performance Existing profiler, benchmark, or repository diagnostic command Allocation, blocking, loop amplification, or I/O cost needs measurement Complete static cost path marked as unmeasured
Correctness verification Repository-defined tests, integration environment, and migration checks Reproducing transaction, retry, consistency, or lifecycle behavior safely Static failure trace and required verification plan
External semantics Official database, driver, framework, and runtime documentation matching installed versions Isolation, pooling, cancellation, caching, trigger, or async semantics affect a finding Primary-source web research; otherwise mark UNVERIFIED
Installs
57
GitHub Stars
559
First Seen
Jul 12, 2026
ln-25-persistence-auditor — levnikolaevich/claude-code-skills