sqg
Type-safe database code generation from annotated SQL files
All Skills in This Repository (1)
Pure Emerald Level IndicatorsFrequently Asked Questions
FAQPage SchemaHow to install SQG?โผ
Run `npx skills add sqg-dev/sqg --all -g -y` in your terminal to install the skill globally for your coding agent.
How to generate type-safe code from SQL?โผ
Write your queries in a .sql file with annotations like -- QUERY and -- MIGRATE, then run sqg with a sqg.yaml config to emit fully typed TypeScript, Java, or Python wrappers.
Which databases and languages does SQG support?โผ
SQG works with SQLite, DuckDB, and PostgreSQL, and generates code for TypeScript, Java (JDBC and Arrow), and Python.
Does SQG work with Claude Code and Cursor?โผ
Yes. The skill follows the universal SKILL.md standard and SQG also ships an MCP server, so it runs smoothly in Claude Code, Cursor, Codex, and similar agents.
Can SQG handle bulk inserts and migrations?โผ
Yes. The -- TABLE :appender annotation generates high-performance bulk insert appenders, and -- MIGRATE blocks manage schema migrations in source order.
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