ajitpratap0/gosqlx/sql-dialects
Claude Code and agent skill by ajitpratap0/gosqlx
- community
Checking that the SKILL.md file is still in the repository.
Check whether SQL parses under a specific database dialect with GoSQLX (PostgreSQL, MySQL, SQL Server, Oracle, SQLite, Snowflake, generic; MariaDB and ClickHouse via the CLI) and explain dialect-specific syntax problems. Use when the user asks if SQL is valid for a particular database, is porting SQL between databases, or gets a syntax error that may be dialect-related.
Install
npx vskill@latest install ajitpratap0/gosqlx/sql-dialectsSKILL.md
Dialect validation with GoSQLX
Input: $ARGUMENTS - usually a dialect name and SQL (string or .sql path). If no dialect is given, infer it from the project (driver imports, connection strings, migration tooling) or ask.
MCP tool
Call validate_sql (mcp__plugin_gosqlx_gosqlx__validate_sql) with sql and dialect. Use only values listed in the tool's dialect enum. Every server version accepts:
generic, mysql, postgresql, sqlite, sqlserver, oracle, snowflake
Map user wording onto them: Postgres/PG -> postgresql; MSSQL/T-SQL/Azure SQL -> sqlserver; PL/SQL -> oracle. The result is {valid, error?, dialect?}.
CLI-only dialects
Newer server builds also list mariadb and clickhouse. If the connected server's enum does not include them, use the local CLI:
Steps
- Validate with the requested dialect. If it fails, also validate with
generic(or a neighbouring dialect) to tell a real syntax error apart from a dialect-specific construct. - Explain the error at its line/column and name the construct involved (for example backtick vs double-quote identifiers,
LIMITvsTOP/FETCH FIRST,ILIKE,::casts,QUALIFY,ON DUPLICATE KEY UPDATEvsON CONFLICT). - Suggest an equivalent for the target dialect. Separate GoSQLX's verdict from your own knowledge of the database.
- A pass means GoSQLX parses it; it does not prove the target database accepts every function or type. Say so when it matters.
For conversion, the CLI has gosqlx transpile --from <d> --to <d>; it currently supports mysql -> postgres, postgres -> mysql and postgres -> sqlite.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/gosqlx/skills/sql-dialects/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/ajitpratap0/gosqlx/sql-dialects)