Agent skill · software engineering · secondsky

bun-sqlite

Use for bun:sqlite, SQLite operations, prepared statements, transactions, and queries.

Why this skill is useful

Provides specific commands and patterns for using bun:sqlite that the AI wouldn't reliably generate on its own.

What it needs

Requires bun installed locally. About 5k tokens when loaded. Last updated 2026-08-06. 204 stars on the source repository.

What this skill does

Bun SQLite Bun has a built-in, high-performance SQLite driver via bun:sqlite. Quick Start Opening Databases Running Queries Direct Execution Prepared Statements (Recommended) Parameters Positional Parameters Named Parameters Query Methods Transactions Batch Operations Column Types Column Definitions Error Handling Database Management Common Patterns Repository Pattern Common Errors Error Cause Fix ------- ------- ----- SQLITECONSTRAINT Constraint violation Check UNIQUE/FK constraints SQLITEBUSY Database locked Use WAL mode, add retry logic no such table Table doesn't exist Run CREATE TABLE first database is locked Concurrent access Enable WAL mode Performance Tips When to Load References Load references/pragmas.md when: Performance tuning Journal modes Memory configuration Load references/fts.md when: Full-text search FTS5 configuration

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills secondsky/bun-sqlite

View the source on GitHub

Browse the @skills marketplace