edmundmiller/dotfiles/ggsql
Claude Code and agent skill by edmundmiller/dotfiles
- community
Checking that the SKILL.md file is still in the repository.
Writes, modifies, explains, validates, and runs ggsql grammar-of-graphics visualization queries.
Install
npx vskill@latest install edmundmiller/dotfiles/ggsqlSKILL.md
ggsql Query Writer
Write valid ggsql visualization queries from natural-language requests. ggsql combines SQL data shaping with a declarative grammar of graphics.
Use this skill when
- Creating or modifying a ggsql query.
- Converting a chart request into ggsql.
- Explaining, validating, or running ggsql.
- Choosing ggsql layers, mappings, scales, facets, projections, or labels.
Do not trigger for ordinary SQL work that has no visualization component.
Required reference
Read references/syntax.md before writing or changing a query. It is the complete upstream language reference and defines the allowed clauses, aesthetics, layers, settings, palettes, and CLI commands.
Never invent ggsql syntax. If the reference does not document a requested feature, say so and offer the closest documented form.
Workflow
- Identify the data source, columns, desired visual encodings, grouping, and output.
- Shape data with SQL or CTEs before
VISUALISEwhen necessary. - Choose the simplest documented
DRAWlayer and mappings. - Add
SCALE,FACET,PROJECT, orLABELonly when the request needs them. - If
ggsqlis available, validate withggsql validate. Render withggsql exec ... -vonly when output is requested. - Return the complete query, then briefly explain consequential choices.
Minimal pattern
Alternatively, let VISUALISE name the source:
Guardrails
- Use only documented clauses, settings, aesthetics, layers, transforms, and palettes.
- Preserve the user's source names and column names.
- Prefer
ggsql:penguinsorggsql:airqualityonly when example data is needed. - Do not claim validation or rendering unless the command actually ran.
- Keep SQL portable unless the selected backend requires a documented dialect feature.
Security
- Security scanPassed, 95 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 repositoryCheckingskills/catalog/ggsql/SKILL.md
Popularity
- 7-day trend score
- 5
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/edmundmiller/dotfiles/ggsql)