claude

gosqlx

Validate, format, lint, analyze and security-scan SQL with GoSQLX (MCP tools, skills, slash commands, a SQL reviewer agent and a .sql validation hook).

124 on GitHubby Ajit Pratap Singhv1.17.0Apache-2.0updated todaydevelopment
/

Plugin gosqlx from marketplace gosqlx in ajitpratap0/GoSQLX. Commands read from the repo's manifest — today.

This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.

What it installs

Skills (5)

  • sql-analysis

    Full GoSQLX review of a SQL query or .sql file - syntax validity, statement types, referenced tables/columns/functions, injection patterns, style lint and a formatted version - followed by a plain-language explanation of what the SQL does and what to fix. Use when the user asks to analyze, review, c

  • sql-dialects

    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 SQ

  • sql-formatting

    Format or pretty-print SQL with GoSQLX - consistent indentation, keyword casing and optional trailing semicolon. Use when the user asks to format, beautify, pretty-print, reindent or clean up SQL, or to make a .sql file consistent.

  • sql-linting

    Lint SQL with GoSQLX and explain its rules L001-L030 (whitespace, keyword case, comma placement, aliasing, plus safety, performance and naming rules), including which rules each entry point applies and which can be auto-fixed. Use when the user asks to lint SQL, enforce SQL style, explains a GoSQLX

  • sql-security-review

    SQL injection review with GoSQLX - scan SQL text for injection patterns (tautologies, UNION attacks, stacked queries, comment bypasses, time-based and out-of-band probes, dangerous functions) and review application code that builds SQL strings (concatenation, f-strings, fmt.Sprintf, template literal

Slash commands (4)

  • /gosqlx:analyze

    Full GoSQLX analysis of a SQL string or .sql file (validity, metadata, security, lint, formatting)

  • /gosqlx:format

    Format a SQL string or .sql file with GoSQLX

  • /gosqlx:lint

    Lint a SQL string or .sql file with GoSQLX style rules (L001-L010)

  • /gosqlx:security

    Scan a SQL string, .sql file, or SQL-building source file for injection risks with GoSQLX

Subagents (1)

  • sql-reviewer

    Read-only reviewer for SQL files, migrations and application code that builds SQL. Uses GoSQLX tools to validate syntax, lint style, scan for injection patterns and check dialect compatibility, then returns prioritized findings. Use after SQL or data-access code is written or changed, or when asked

MCP servers (1)

  • gosqlx

    connects to: ${GOSQLX_MCP_URL:-https://mcp.gosqlx.dev/mcp}

Hooks (1)

  • PostToolUse

    "${CLAUDE_PLUGIN_ROOT}/hooks/validate-sql.sh"

View source on GitHub gosqlx.dev

Similar plugins

superpowers

claudecodex

Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques

15 skills · hooks

obra/superpowers 316,836

diagram-design

claudecodex

Editorial diagrams in your brand, as self-contained HTML and SVG. Architecture, flowcharts, sequence, state machines, ER and database schemas, timelines, swimlanes, org charts, Gantt, Wardley maps, user journeys, service blueprints, UML class, lifecycle phase maps, and charts from bar, line and scatter to Sankey, treemap and heatmap, plus many more. Redraws draw.io, Mermaid, Excalidraw and PlantUML files. Exports SVG and PNG.

1 skill · 7 commands

cathrynlavery/diagram-design 66,757

context7

claudecodex

Up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your coding agent's context.

1 MCP server

upstash/context7 64,709

Build powerful, stateful CLI interfaces for any GUI application using the cli-anything harness methodology.

5 commands

HKUDS/CLI-Anything 58,665

Automates browser interactions for web testing, form filling, screenshots, and data extraction

12 skills

vercel-labs/agent-browser 50,373

Use Alibaba Open Code Review from local Codex.

2 skills

alibaba/open-code-review 50,068

Maintain gosqlx?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex pluginslisted