From fabrik
Guides SQL query writing, schema design, migrations, and best practices for SQLite databases, including strict tables, prefixed IDs, timestamps, triggers. Useful for SQLite and Go-SQLite code.
How this skill is triggered — by the user, by Claude, or both
Slash command
/fabrik:sqlThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill provides guidance for working with SQLite databases. It covers query writing, schema design, and SQLite-specific best practices.
This skill provides guidance for working with SQLite databases. It covers query writing, schema design, and SQLite-specific best practices.
Use this skill when:
select * over explicit column namesstrict tablesstrftime('%Y-%m-%dT%H:%M:%fZ')strftimeid text primary key default ('p_' || lower(hex(randomblob(16)))) (where the p_ is a prefix depending on the table name; two-letter prefixes are okay too, so the prefix is unique among tables)created/updated columns like this: created text not null default (strftime('%Y-%m-%dT%H:%M:%fZ'))create trigger table_name_updated_timestamp after update on table_name begin
update table_name set updated = strftime('%Y-%m-%dT%H:%M:%fZ') where id = old.id;
end;
npx claudepluginhub maragudk/fabrik --plugin fabrikGuides SQL database design, query optimization, and migration safety. Use when writing queries, designing schemas, or planning zero-downtime migrations.
Guides sqlite3 CLI usage to build composable SQLite knowledge databases, design schemas, query data, manage relationships, and output for agent parsing.
Provides best practices for database schema design, query optimization, migrations, indexing, N+1 avoidance, pagination, and transactions across PostgreSQL, MySQL, Oracle, SQLite. Use for schema design, queries, or migrations.