SKILL

sqlite

Use SQLite for embedded relational storage: schema, WAL mode, transactions, indexing, and performance. Use for local and mobile data layers.

Target: Databases. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • SQLite
  • Quick Start
  • When to Use
  • Best Practices
  • Schema
  • Concurrency
  • Performance
  • Durability

Embedded relational storage with SQLite. Local/desktop/mobile storage Single-machine apps with small data Prototypes and embedded tools Read-heavy offline datasets Use INTEGER PRIMARY KEY or explicit rowid Prefer TEXT for dates (ISO) or REAL for timestamps Add UNIQUE and CHECK constraints Use STRICT tables (SQLite 3.37+) for typed data Enable WAL mode for concurrent readers Use short write transactions Set busytimeout to avoid SQLITEBUSY Avoid long-running read transactions Index columns used in WHERE/JOIN Use PRAGMA to tune (cachesize, mmap) Batch writes in transactions VACUUM periodically to reclaim space Choose journal mode by need (WAL vs DELETE) Set synchronous=NORMAL in WAL for speed Back up via .backup or VACUUM INTO Test on the target filesystem 1. Choose file location and open with pragmas (WAL). 2. Create schema with constraints and indexes. 3. Write with short transactions and busytimeout. 4. Query with parameters to avoid injection. 5. Tune cache and synchronous for the workload. 6. Back up with .backup/VACUUM INTO. 7. Vacuum and re-analyze periodically. 8. Test concurrency on the target platform. 1. Writes and reads are consistent 2. Concurrent reads work in WAL mode 3

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
ssrjkk/agent-skills
Source file
.claude/skills/database/sqlite/SKILL.md
Fixed revision
868975614072b553f929cb32c52c5e7dc4ba8734
Read the complete original documentation ↗

Requirements

  • Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.

A small first task

先阅读原作者说明,再决定是否在自己的 AI 工具中使用。

Instructions for your AI tool

Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: ssrjkk/agent-skills · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-11T03:01:42.379Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.