/agentic-awesome-skills:sqlx-sqlite-transactionsfrom agentic-awesome-skills
Diagnoses and fixes SQLx/SQLite transaction bugs: writes surviving rollback, pool deadlocks, and multi-statement atomicity. Traces executor ownership and connection checkout.
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.
Cargo.toml and Cargo.lock. The example uses SQLx 0.9.1 with Tokio and SQLite.SELECT sqlite_version(). A memory database can have different connection-sharing behavior depending on its options.pool.begin().await? at the boundary that owns the unit of work. It checks out a connection for the lifetime of the transaction.execute, fetch_one, or fetch_optional call across helper methods. A call sent to &SqlitePool checks out its own connection, even when the caller holds a transaction. An independent write can commit immediately.&mut *tx at a call site that owns tx. For a helper taking &mut Transaction<'_, Sqlite>, use &mut **tx at SQLx query calls. Alternatively, accept &mut SqliteConnection and pass the transaction's underlying connection.let mut tx = pool.begin().await?;
sqlx::query("UPDATE orders SET status = ?1 WHERE id = ?2")
.bind("ready")
.bind(order_id)
.execute(&mut *tx)
.await?;
tx.commit().await?;
Run the two-connection rollback fixture. It checks row counts for a failed pooled insert sequence, a failed transactional sequence, and a successful transaction.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
sqlx, sqlite, transactions, connection-pool, rollback, rust-database
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 2, 2026
Other plugins' skills for the same job