iterate/sqlfu/complete
Claude Code and agent skill by iterate/sqlfu
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install iterate/sqlfu/completeSKILL.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 theowner/repo/pathconvention 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.tsin the project - a
definitions.sqlfile - a
migrations/directory with timestamped.sqlfiles - 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 withsqlfu draft/ advance withsqlfu goto.sql/*.sql— checked-in queries. Typed wrappers are emitted tosql/.generated/<name>.sql.ts.- Workflow: edit
definitions.sql→sqlfu draft --name <slug>→ review the emitted migration →sqlfu migrate(orsqlfu goto <target>) →sqlfu generateto refresh wrappers. - After editing
sql/*.sql, runsqlfu generateso wrappers stay in sync. - Use
sqlfu checkbefore committing schema changes. - Config field names (post-rename):
db,migrations,definitions,queries. Do not use the old namesmigrationsDir,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-skillstyle_ - [x] Move this file to
tasks/complete/2026-04-19-skill.md - [x] Push branch
skilland 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
- SKILL.md in the repositoryCheckingtasks/complete/2026-04-19-skill.md
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
[](https://verified-skill.com/skills/iterate/sqlfu/complete)