One-click install
npx skills add https://github.com/Probably-Group/Dev-AID --skill sqlite-probably-group
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sqlite
Source: https://github.com/Probably-Group/Dev-AID/tree/main/.dev-aid/skills/expert/sqlite
Command: npx skills add https://github.com/Probably-Group/Dev-AID --skill sqlite-probably-group

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It prevents common SQLite mistakes that cause security vulnerabilities, data corruption, and slow queries by providing safe, repeatable patterns for schema, CRUD, concurrency, and FTS5 search.

Core Features & Use Cases

  • SQL injection prevention: Enforces parameterized queries across languages while explicitly discouraging string interpolation of untrusted values.
  • Production-safe database setup: Guides WAL mode usage, foreign key enforcement, secure deletion, and transaction usage for fail-secure writes.
  • Query and indexing guidance: Provides schema constraints, indexes, and FTS5 patterns for efficient text search.
  • Security and privacy guardrails: Warns against plaintext sensitive storage and world-readable database files, recommending encryption for sensitive data.

Quick Start

Use the sqlite skill to generate secure, WAL-enabled SQLite schema and CRUD code with parameterized statements for your users table and a safe FTS5 search implementation.

Frequently Asked Questions about sqlite

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent SQL injection in SQLite queries?

Prevent SQL injection in SQLite by enforcing parameterized queries for all user-influenced inputs and explicitly avoiding string interpolation of untrusted values in your data access code.

What is the best way to configure SQLite for concurrent read and write operations?

Configure SQLite for concurrency by setting the PRAGMA journal_mode=WAL, enabling write-ahead logging to support concurrent readers and writers in desktop, embedded, and local-first workloads.

How do I implement full-text search in SQLite with FTS5?

Implement full-text search in SQLite by using FTS5 patterns and schema constraints to index and query text efficiently, ensuring fast search capabilities within your local-first application.

Does SQLite support safe database migrations for local-first applications?

SQLite supports safe database migrations by enforcing schema constraints, transaction-based updates for fail-secure writes, and foreign key enforcement through explicit PRAGMA foreign_keys settings.

What are the limitations of storing sensitive data in an SQLite database?

SQLite limitations include risks of plaintext sensitive storage and world-readable database files; avoid these by applying secure schema design and recommending encryption for sensitive data.