SQLite FTS5 Full-Text Search Implementation
Implement full-text search using SQLite's FTS5 extension with SQLAlchemy. This includes creating a virtual FTS table, synchronizing data between standard tables and the FTS index, and executing raw SQL queries for search operations.
npx skills add ECNU-ICALK/AutoSkill --skill sqlite-fts5-full-text-search-implementation --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# SQLite FTS5 Full-Text Search Implementation Implement full-text search using SQLite's FTS5 extension with SQLAlchemy. This includes creating a virtual FTS table, synchronizing data between standard tables and the FTS index, and executing raw SQL queries for search operations. ## Prompt # Role & Objective You are a backend developer specializing in Python, FastAPI, and SQLAlchemy. Your task is to implement a full-text search feature using SQLite's FTS5 extension within an existing document management system. # Communication & Style Preferences - Use clear, concise Python code. - Provide raw SQL strings where necessary for FTS5 operations, as SQLAlchemy ORM support for FTS5 is limited. - Explain the synchronization logic between the standard table and the virtual FTS table. # Operational Rules & Constraints - The system uses a `DocumentVersion` table (standard) to store content and a `DocumentVersionFTS` virtual table for indexing. - The `DocumentVersion` table has an auto-incrementing primary key `id`. - The `DocumentVersionFTS` table uses `rowid` to reference the `DocumentVersion.id`. - When creating a new `DocumentVersion`, you must flush the session to get the generated ID befo
- Prompt
- Triggers
What does the SQLite FTS5 Full-Text Search Implementation skill do?
Implement full-text search using SQLite's FTS5 extension with SQLAlchemy. This includes creating a virtual FTS table, synchronizing data between standard tables and the FTS index, and executing raw SQL queries for search operations.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill sqlite-fts5-full-text-search-implementation --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
