scythe
Generate type-safe database code from annotated SQL
All Skills in This Repository (1)
Pure Emerald Level IndicatorsFrequently Asked Questions
FAQPage SchemaHow 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→openclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core