audit-sqlite
CommunityPrevent SQLite race conditions with locks.
System Documentation
What problem does it solve?
Prevents database corruption and runtime failures by ensuring every SQLite access follows a consistent locking and idempotent schema pattern across the backend persistence layer.
Core Features & Use Cases
- Concurrency-safe SQLite access auditing: Checks whether code uses
threading.Lock()consistently (including properwith self._lock:usage) to avoid “database is locked” and race conditions. - Schema idempotency verification: Reviews whether schema operations (e.g.,
CREATE TABLE ... IF NOT EXISTS,ALTER TABLEpatterns) are repeatable and safe. - GUI write isolation validation: Ensures SQLite writes are not performed directly from GUI paths by comparing modules against the
ClassificationDBreference pattern.
Use case: When refactoring or adding features to the contabilidad classifier workflow, audit gestor_contable/core/* SQLite modules to confirm they match the locking strategy used by ClassificationDB.
Quick Start
Ask the AI to run an audit of the SQLite modules in gestor_contable/core/ against the ClassificationDB locking and schema/idempotency pattern and produce the required “AUDITORIA: PERSISTENCIA SQLITE Y LOCKING” report with any real code findings.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: audit-sqlite Download link: https://github.com/ElPoot/contabilidad/archive/main.zip#audit-sqlite Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.