Transaction Correctness Auditor

•
489
•

Audits database transaction patterns to ensure data integrity, prevent connection leaks, and verify event consistency.

The ln-652-transaction-correctness-auditor is a specialized L3 worker designed to analyze database interaction patterns within a codebase. It identifies common pitfalls such as missing rollbacks, overly broad transaction scopes that include external network calls, and mismatches in event notification channels. By automating these checks, the skill helps developers maintain robust data integrity, optimize connection pool usage, and ensure that asynchronous triggers or notifications behave as expected in production environments.

主要功能

01Detects missing rollback handling in database commit blocks and context managers
02Verifies consistency between event publishers and subscribers for PG NOTIFY and Redis
03Analyzes transaction boundaries and scopes to prevent long-held database connections
04Identifies performance bottlenecks caused by external API calls inside transaction blocks
05Generates structured audit reports with severity ratings and specific remediation steps
06489 GitHub stars

使用场景

01Optimizing database connection pool performance by narrowing transaction scopes
02Performing a deep dive audit into database reliability for high-traffic backend services
03Troubleshooting race conditions or missing real-time updates in systems using DB triggers