Diesel Guard
ayarotsky/diesel-guard
Lints Diesel and SQLx Postgres migrations for unsafe schema changes that lock tables or cause downtime, and authors custom Rhai checks.
Safely regenerates Windmill's SQLx offline query cache after a SQL query changes in Rust, with a mandatory backup step and worktree-specific database checks.
$ npx skills add windmill-labs/windmill --skill update-sqlx -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install windmill-labs/windmill update-sqlx --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/windmill-labs/windmill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/update-sqlx .claude/skills/update-sqlx && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "update-sqlx" agent skill from https://github.com/windmill-labs/windmill/tree/main/.agents/skills/update-sqlx into .claude/skills/update-sqlx/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "update-sqlx", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/windmill-labs/windmill/tree/main/.agents/skills/update-sqlxType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add windmill-labs/windmill --skill update-sqlx -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install windmill-labs/windmill update-sqlx --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/windmill-labs/windmill.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/update-sqlx .agents/skills/update-sqlx && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "update-sqlx" agent skill from https://github.com/windmill-labs/windmill/tree/main/.agents/skills/update-sqlx into .agents/skills/update-sqlx/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "update-sqlx", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add windmill-labs/windmill --skill update-sqlx -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install windmill-labs/windmill update-sqlx --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/windmill-labs/windmill.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/update-sqlx .cursor/skills/update-sqlx && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "update-sqlx" agent skill from https://github.com/windmill-labs/windmill/tree/main/.agents/skills/update-sqlx into .cursor/skills/update-sqlx/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "update-sqlx", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/windmill-labs/windmill.git --path .agents/skills/update-sqlx--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add windmill-labs/windmill --skill update-sqlx -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install windmill-labs/windmill update-sqlx --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/windmill-labs/windmill.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/update-sqlx .gemini/skills/update-sqlx && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "update-sqlx" agent skill from https://github.com/windmill-labs/windmill/tree/main/.agents/skills/update-sqlx into .gemini/skills/update-sqlx/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "update-sqlx", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install windmill-labs/windmill update-sqlxInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add windmill-labs/windmill --skill update-sqlx -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/windmill-labs/windmill.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/update-sqlx .github/skills/update-sqlx && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "update-sqlx" agent skill from https://github.com/windmill-labs/windmill/tree/main/.agents/skills/update-sqlx into .github/skills/update-sqlx/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "update-sqlx", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add windmill-labs/windmill --skill update-sqlx -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install windmill-labs/windmill update-sqlx --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/windmill-labs/windmill.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/update-sqlx .opencode/skills/update-sqlx && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "update-sqlx" agent skill from https://github.com/windmill-labs/windmill/tree/main/.agents/skills/update-sqlx into .opencode/skills/update-sqlx/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "update-sqlx", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
update-sqlxSafely regenerates Windmill's SQLx offline query cache after a SQL query changes in Rust, with a mandatory backup step and worktree-specific database checks.
Windmill compiles with SQLX_OFFLINE=true in CI, so every sqlx::query! and sqlx::query_as! macro needs matching cached data in backend/.sqlx/. The skill is only for additions or edits to a query; removing a query leaves cosmetically orphaned cache entries that never break a build, and it warns against running prepare just to tidy those, since prepare deletes the whole cache before regenerating it and a compile failure can leave it gutted, observed going from 2350 entries down to 142.
Before running anything, the agent backs up the cache with the bundled sqlx-cache.sh script, which is worktree-scoped so a sibling worktree running prepare at the same time cannot overwrite it, and makes sure DATABASE_URL points at the current worktree's own database, since prepare compiles every query against a live database and another worktree's database will be missing recent migrations. It also flags that test-target queries need --all-targets to be cached, which in a Community Edition checkout can abort partway through because a test file imports an Enterprise-only module.
2 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit f40eea2. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships script files (Shell), which the agent can run.
Shell commands in SKILL.md call:
cargogitbashFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
SQLx Offline Cache Updater loads about 1.7k tokens when it runs. Until then it costs about 23 tokens; SKILL.md has 748 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 748 words (~1,739 tokens).
“Windmill uses SQLX_OFFLINE=true in CI, which requires all sqlx::query! / sqlx::query_as! macros to have matching cached query data in backend/.sqlx/.”
SKILL.md and 1 other file in .agents/skills/update-sqlx of windmill-labs/windmill.
Open the folder on GitHubat commit f40eea2
SQLx Offline Cache Updater next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| SQLx Offline Cache Updater this skillwindmill-labs/windmill | 18k | — | ~1.7k | Automated safety check: Pass | Custom licence | |
| Diesel Guardayarotsky/diesel-guard | 121 | — | ~3.1k | Automated safety check: Pass | MIT | |
| Supabase Postgres Best Practicessupabase/agent-skills | 2.7k | 24 repos | ~808 | Automated safety check: Pass | MIT | |
| Database Migrations SQL Migrationsrmyndharis/antigravity-skills | 1.7k | 3 repos | ~577 | Automated safety check: Notes | MIT | |
| DB ContextSilvioBaratto/optimizer | 176 | — | ~6.4k | Automated safety check: Notes | Custom licence | |
| Postgrestimescale/pg-aiguide | 1.9k | — | ~941 | Automated safety check: Pass | Apache-2.0 |
ayarotsky/diesel-guard
Lints Diesel and SQLx Postgres migrations for unsafe schema changes that lock tables or cause downtime, and authors custom Rhai checks.
supabase/agent-skills
Gives the agent Postgres rules to consult before writing or changing tables, queries, indexes, RLS policies or migrations, and when diagnosing slow queries.
rmyndharis/antigravity-skills
SQL database migrations with zero-downtime strategies for PostgreSQL, MySQL, SQL Server
SilvioBaratto/optimizer
Complete knowledge of the optimizer PostgreSQL database: 57 ingestion tables, schema, relationships, live row counts, query patterns, and conventions.
timescale/pg-aiguide
A skill your agent uses for any PostgreSQL database work — table design, indexing, data types, constraints, extensions (pgvector, PostGIS, TimescaleDB), search, and migrations.
Rain-kl/OpenFlare
Wavelet 项目专用:当新增或修改数据库表结构、索引、初始化数据、系统配置 seed、模板 seed、默认管理员、goose SQL 迁移、internal/infra/persistence/migrator、ClickHouse 分析库 DDL 或数据库升级流程时必须使用。本技能指导在 internal/infra/persistence/migrator/goose 下编写…
windmill-labs/windmill
Checklist of every backend, frontend, CLI and capture change needed to add a new TriggerCrud-based trigger type, such as Azure, GCP or Kafka, to Windmill.
windmill-labs/windmill
Writes and runs black-box benchmark cases for Windmill's flow, app, script, CLI and global AI generation modes, including before-and-after comparisons.
windmill-labs/windmill
Actively challenges vague or conflicting terminology as you design, and keeps a living domain glossary file up to date in real time.
windmill-labs/windmill
Runs the same code review locally that GitHub's auto-review actions run on a PR, delegating to a fresh-context subagent so the review isn't biased by the main session's own reasoning.
windmill-labs/windmill
Opens a draft GitHub pull request with a conventional title and explicit body, then drives CI review rounds before marking it ready.
windmill-labs/windmill
Opens the Windmill dev page to preview a flow, script or app, choosing between proxy and direct mode and deciding whether the agent or the runtime starts the wmill dev server.
Works with
Categories
Safely regenerates Windmill's SQLx offline query cache after a SQL query changes in Rust, with a mandatory backup step and worktree-specific database checks. Windmill compiles with SQLX_OFFLINE=true in CI, so every sqlx::query! and sqlx::query_as!
SQLx Offline Cache Updater fits situations like: regenerating the SQLx offline cache after adding a new SQL query in Rust; fixing a CI failure that says there is no cached data for a query; cleaning up orphaned SQLx cache entries left by a removed query.
Run `npx skills add windmill-labs/windmill --skill update-sqlx -a claude-code`. Or copy the skill folder (.agents/skills/update-sqlx in windmill-labs/windmill) into .claude/skills/update-sqlx in your project. Claude Code loads it when a task matches its description.
Run `npx skills add windmill-labs/windmill --skill update-sqlx -a codex`. Or copy the skill folder (.agents/skills/update-sqlx in windmill-labs/windmill) into .agents/skills/update-sqlx in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add windmill-labs/windmill --skill update-sqlx -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/update-sqlx, .gemini/skills/update-sqlx, .github/skills/update-sqlx and .opencode/skills/update-sqlx in your project.
Going by SKILL.md and its folder, SQLx Offline Cache Updater needs a shell for the scripts in its folder and the command-line tools its instructions call (cargo, git and bash). Our summary lists: A local PostgreSQL database matching the current worktree's migrations; The Rust SQLx CLI.
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
SQLx Offline Cache Updater has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.
About 1.7k tokens (SKILL.md is roughly 7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with SQLx Offline Cache Updater: Diesel Guard (ayarotsky/diesel-guard, 121 stars), Supabase Postgres Best Practices (supabase/agent-skills, 2.7k stars), Database Migrations SQL Migrations (rmyndharis/antigravity-skills, 1.7k stars) and DB Context (SilvioBaratto/optimizer, 176 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
windmill-labs (a GitHub organization) maintains it in windmill-labs/windmill, which has 18,128 GitHub stars. The repository holds 42 skills in this directory. The repository was last updated on October 8, 2026.
Source: windmill-labs/windmill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.