Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

sql-database-support

Skill by prest

Guides classifying, gap-analyzing and scaffolding support for a new SQL database in pREST. It covers wire-compatible variants such as TimescaleDB and new dialects.

  • Score 88
  • 4.6k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install sql-database-support

Built from the published package, never by AI.

git clone --depth 1 https://github.com/prest/prest /tmp/prest && mkdir -p ~/.claude/skills && cp -r /tmp/prest/.cursor/skills/sql-database-support ~/.claude/skills/sql-database-support

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install sql-database-support in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill walks a developer through adding a new SQL database to pREST. It starts by classifying the engine as either a Postgres-wire variant that can reuse the postgres adapter, or a new dialect that needs its own adapter. Next it has the developer write an integration/<db>/DIFFERENCES.md file that answers a gap worksheet covering driver, quoting, catalog listing, native features, ACL and compose ownership. Only after that does it point to the paths to change, such as integration/<db>/, Makefile targets and per-database GitHub workflows.

The skill is aimed at contributors working on the pREST codebase. It uses TimescaleDB as the reference engine and includes a note on handling engine-specific features through the adapter interface. It also sets safety rules, such as parameterized SQL only and failing closed on auth and ACL.

Written from the project's SKILL.md and checked against it.

What it can do

  • Engine classificationDecides whether a new engine is a Postgres-wire variant or a new dialect before any scaffolding.
  • Gap analysis worksheetLists seven items to answer in integration/<db>/DIFFERENCES.md, from driver to compose ownership.
  • Change-path mappingShows which paths to change for a wire variant versus a new dialect.
  • Test policy guidanceDescribes smoke, feature and compatibility tests for a new database under integration/.
  • Adapter-specific feature patternExplains using a no-op base adapter method and overriding it in a specialized adapter.
  • Support checklistProvides a checklist for opening a new database, including Make target and dedicated workflow.

What you need

  • Go toolchain
  • Docker and Docker compose
  • Make
  • GitHub Actions workflows

Try asking

  • Classify whether MySQL would be a wire variant or a new dialect for pREST
  • Help me write integration/<db>/DIFFERENCES.md for a new database
  • Show the file paths I must change to add a new dialect adapter

Good to know

  • Meant to plan and start support, not to ship a full product surface in one pass.
  • New dialects also need unit tests with at least 80% package coverage and no live database.
  • Engine-specific code must not be imported from controllers, middlewares or router.
  • Shared integration suites stay on the Postgres job.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .cursor/skills/sql-database-support/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB
  • examples.md2 KB

Alternatives to sql-database-support

All alternatives →
hugging-face-datasetssickn33
94

Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.

AAA Skill 50k
db-repairgarrytan
94

Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.

AAA Skill 34k
alloydb-basicsgoogle
94

Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.

AAA Skill 26k
clickhouse-logs-queriessupabase
94

Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.

AAA Skill 116k
fix-slow-queriespaperclipai
94

Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.

AAA Skill 119k
prisma-8prisma
94

Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.

AAA Skill 48k

Compare with hugging-face-datasets, db-repair or alloydb-basics

sql-database-support: common questions

Does this skill add database support to pREST by itself?

No. The source describes it as a guide for analysis and scaffolding, meant to help a contributor think through and start support for an engine.

What is the difference between a wire variant and a new dialect here?

A wire variant can reuse the postgres adapter with only seed or extension changes. A new dialect needs its own adapter when it uses another driver or emits different SQL.

Which database is the reference example?

The source names integration/timescaledb/ and its DIFFERENCES.md as the reference engine.

How do I install sql-database-support?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is sql-database-support free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is sql-database-support safe to use?

It scores 88 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to sql-database-support?

Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.

sql-database-support Install

Add to stack

Loading.