iterate/sqlfu/complete

Claude Code and agent skill by iterate/sqlfu

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install iterate/sqlfu/complete

SKILL.md

using-sqlfu skill

Ship an agent skill that teaches an agent how to work inside a sqlfu project. Install via npx skills@latest add mmkal/sqlfu/skills/using-sqlfu.

Status

Done. Skill shipped at skills/using-sqlfu/SKILL.md. Installable with npx skills@latest add mmkal/sqlfu/skills/using-sqlfu.

Plan

Distribution
  • Co-locate the skill in this repo at skills/using-sqlfu/SKILL.md.
  • Install with npx skills@latest add mmkal/sqlfu/skills/using-sqlfu — matches the owner/repo/path convention from mattpocock/skills.
  • Document the install command in the sqlfu README once the skill exists (separate follow-up; not required for this task).
Format

Follow Anthropic's skill format: directory with SKILL.md containing YAML frontmatter (name, description) and a short instruction body.

Reference style from /Users/mmkal/.claude/skills/writing-well/SKILL.md and /Users/mmkal/.claude/skills/write-a-skill/SKILL.md: concise prose, bulleted lists, triggers stated in the description, under ~100 lines.

Scope / triggers

The description should trigger the skill when an agent sees:

  • a sqlfu.config.ts in the project
  • a definitions.sql file
  • a migrations/ directory with timestamped .sql files
  • keywords: "sqlfu", "definitions.sql", "sqlfu generate", "sqlfu draft", "sqlfu goto"
What the skill teaches
  • The project uses sqlfu. SQL is the source language; TypeScript is generated.
  • Three source-of-truth locations:
  • definitions.sql — the desired schema right now. Edit this when you want to change the schema.
  • migrations/*.sql — ordered history. Do not hand-author. Generate with sqlfu draft / advance with sqlfu goto.
  • sql/*.sql — checked-in queries. Typed wrappers are emitted to sql/.generated/<name>.sql.ts.
  • Workflow: edit definitions.sql → sqlfu draft --name <slug> → review the emitted migration → sqlfu migrate (or sqlfu goto <target>) → sqlfu generate to refresh wrappers.
  • After editing sql/*.sql, run sqlfu generate so wrappers stay in sync.
  • Use sqlfu check before committing schema changes.
  • Config field names (post-rename): db, migrations, definitions, queries. Do not use the old names migrationsDir, definitionsPath, sqlDir.
Generate as a hook?

Include an optional, copy-pasteable Claude Code settings.json snippet at the bottom of the skill that runs sqlfu generate automatically after edits to definitions.sql or any file under sql/. Users opt in by adding it to their own settings.

Checklist

  • [x] Flesh out this task file and commit alone as task: flesh out skill plan _committed as b045782_
  • [x] Create skills/using-sqlfu/SKILL.md _71 lines, covers definitions/migrations/queries workflow, commands, and optional hook snippet_
  • [x] Verify the body is under ~100 lines and matches the style of existing skills _matches the writing-well / write-a-skill style_
  • [x] Move this file to tasks/complete/2026-04-19-skill.md
  • [x] Push branch skill and open a PR

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/iterate/sqlfu/complete/badge)](https://verified-skill.com/skills/iterate/sqlfu/complete)

Something wrong with this skill or its page? Tell us.