GoldziherGoldziherCommunity·1 Agent Skills Included

scythe

Generate type-safe database code from annotated SQL

Generates type-safe database access code from annotated SQL queries in 10 languages across 10 databases. Eliminates hand-written row mapping, parameter binding, and schema drift between SQL and application code. Lints, audits, and formats SQL with 58 built-in rules to catch security and safety bugs before they ship. Runs fully offline in pre-commit hooks, keeping generated code in sync with your schema.
npx skills add Goldziher/scythe --all -g -y

All Skills in This Repository (1)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install scythe?â–¼

Run `npx skills add Goldziher/scythe --all -g -y` in your terminal to install this skill globally for your coding agent.

What does scythe do?â–¼

Scythe compiles annotated SQL files into type-safe database access code, including row types, query functions, and type mappings, in 10 languages across 10 databases.

Does scythe need a live database connection?â–¼

No. Scythe reads your SQL statically, so code generation works offline with no database connection and can run inside a pre-commit hook.

Which languages and databases does scythe support?â–¼

It supports Rust, Python, TypeScript, JavaScript, Go, Java, Kotlin, C#, Elixir, Ruby, and PHP against PostgreSQL, MySQL, SQLite, DuckDB, MSSQL, Oracle, Snowflake, and more.

Can scythe catch SQL security issues?â–¼

Yes. The built-in audit command scans for dangerous functions, GRANT to PUBLIC, literal passwords, and unsafe migrations, with output in human, SARIF, or JSON formats.

Related Repositories in Software Engineering

View All in Software Engineering→