/agentic-awesome-skills:sqlite-developmentfrom agentic-awesome-skills
Design, debug, and migrate production SQLite databases with WAL concurrency, foreign keys, STRICT tables, FTS5 indexes, and safe schema rebuilds.
Ships in agentic-awesome-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
SQLITE_BUSY failures.PRAGMA foreign_keys = ON and STRICT tables.Identify the SQLite library version (sqlite3.sqlite_version or SELECT sqlite_version()), driver/binding, concurrency pattern (single process vs multi-process, read/write ratio), and storage medium (local filesystem vs network mount). Inspect existing connection setup code, pragma defaults, and migration scripts. Avoid placing active WAL-mode SQLite databases on network filesystems where shared-memory locking does not work reliably.
PRAGMA foreign_keys = ON on every new connection. SQLite defaults this setting to OFF per connection even when tables declare REFERENCES constraints. Run PRAGMA foreign_key_check after bulk loads or legacy repairs.PRAGMA journal_mode = WAL and set a per-connection PRAGMA busy_timeout that fits the workload latency budget. With WAL and PRAGMA synchronous = NORMAL, an OS crash or power failure can roll back recently committed transactions. Use FULL when those commits must survive.BEGIN IMMEDIATE for transactions that will write. A default BEGIN DEFERRED transaction that reads first and upgrades to a write while another writer holds the lock fails immediately with SQLITE_BUSY without waiting for busy_timeout.PRAGMA wal_checkpoint(TRUNCATE) during maintenance windows when needed.STRICT (SQLite 3.37+) when dynamic type affinity is undesirable, so string values cannot silently enter INTEGER columns.CHECK constraints.content='table_name'), install matching AFTER INSERT, AFTER DELETE, and AFTER UPDATE triggers to keep the search index synchronized. When attaching FTS5 to an already-populated table, run an initial backfill (INSERT INTO <fts_table>(<fts_table>) VALUES('rebuild')) inside the setup transaction so pre-existing rows are indexed and later updates/deletes do not fail with SQLITE_CORRUPT_VTAB, then verify search and update behavior on a pre-existing row.ALTER TABLE supports renaming tables/columns, adding columns, and dropping simple columns, but changing column types, nullability, CHECK constraints, or foreign keys requires the documented 12-step table-rebuild pattern.VACUUM INTO or SQLite's online backup API rather than copying a live WAL database with raw file copy while writers are active).PRAGMA foreign_keys changes inside an active transaction, so disable foreign keys (PRAGMA foreign_keys = OFF) before BEGIN. Inside the transaction, record existing indexes, triggers, and dependent views from sqlite_schema, drop dependent views before dropping the old table and renaming the replacement (otherwise ALTER TABLE ... RENAME TO fails view validation with no such table), recreate the table, copy rows explicitly by column list, drop the old table, rename the new table, recreate indexes/triggers/views, and run PRAGMA foreign_key_check before COMMIT. Restore PRAGMA foreign_keys = ON after COMMIT or ROLLBACK (outside the transaction).An application using SQLite silently stored orphan rows, accepted string prices in an integer column, and hit
SQLITE_BUSYunder concurrent writes.
Run the worked WAL concurrency and integrity test to reproduce each failure mode and verify per-connection foreign_keys, STRICT tables, and BEGIN IMMEDIATE serialization under WAL mode.
STRICT tables require SQLite 3.37.0 or newer; check sqlite_version() before emitting STRICT DDL.Test schema rebuilds, checkpoints, and VACUUM on a copy of the database first. Use VACUUM INTO or the online backup API for a consistent live copy. For a raw file copy, close every connection and keep writers stopped until the copy is complete. Keep production paths and user records out of examples and logs.
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (sickn33/agentic-awesome-skills) — no native marketplace selected
npx claudepluginhub p/sickn33-antigravity-awesome-skills3,196 skills in this plugin
/007Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project./00-andruia-consultantUsar al iniciar o mejorar un proyecto de IA: diagnostica código y restricciones, propone skills existentes y redacta tareas y un plan de implementación en español./10-andruia-skill-smithUsar para crear o mejorar una skill de Andru.ia: define entradas y resultados, redacta SKILL.md con ejemplos y límites, valida la estructura y prepara una PR.2 plugins in one repository ship this exact skill · first indexed Dec 1, 2026
Other plugins' skills for the same job