claude

sql-safety-net

Static, no-database-connection guardrails for schema and query work: rewrites unsafe migrations into zero-downtime expand-contract steps, hunts ORM N+1 queries in your diff, interprets pasted EXPLAIN plans, and flags schema anti-patterns

3 on GitHubby Sigistryv1.0.0MITupdated yesterdaydatabase
/

Plugin sql-safety-net from marketplace sigistry in sigistry/marketplace. Commands read from the repo's manifest — yesterday.

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 (3)

  • explain-interpreter

    This skill should be used when the user mentions "EXPLAIN", "explain analyze", "query plan", "slow query", "seq scan", "sequential scan", "nested loop", "index scan", "query optimization", "buffers", "why is this query slow", or pastes a query plan to interpret. It provides a methodology for reading

  • safe-migrations

    This skill should be used when the user mentions "migration", "schema change", "zero downtime", "add column", "alter table", "add index", "lock", "expand contract", "backfill", "ALTER COLUMN", "NOT NULL", "CREATE INDEX", or rewriting a DDL change to avoid downtime. It provides the expand-contract (p

  • schema-antipatterns

    This skill should be used when the user mentions "schema design", "database anti-pattern", "N+1", "foreign key index", "normalization", "data types", "constraints", "ORM performance", "missing primary key", "VARCHAR 255", "boolean as int", or reviewing DDL/models for design problems. It provides a r

Slash commands (5)

  • /sql-safety-net:explain-plan

    Interpret a pasted EXPLAIN or EXPLAIN ANALYZE plan and recommend concrete indexes or rewrites

  • /sql-safety-net:index-advisor

    Recommend indexes for a slow query given only the query and table DDL, with column-order reasoning

  • /sql-safety-net:migration-safety

    Analyze a schema migration for locking/backfill hazards and rewrite it as safe zero-downtime steps

  • /sql-safety-net:n1-scan

    Scan ORM/data-access code for N+1 query patterns and emit idiomatic eager-loading fixes

  • /sql-safety-net:schema-review

    Review DDL/schema for relational anti-patterns and emit corrected DDL by severity

Subagents (2)

  • migration-rewriter

    Use this agent when an unsafe schema migration needs to be rewritten into safe, reversible, zero-downtime steps, adding a NOT NULL column, changing a column type, renaming a column, adding an index or foreign key, or any DDL that would take a blocking table lock. Trigger phrases include "make this m

  • n1-hunter

    Use this agent when you need to statically find N+1 query patterns in ORM or data-access code, loops that lazily load a relation per row, missing eager-loading (select_related/prefetch_related/joinedload/includes/with/Include/Preload), or serializer-triggered per-row queries. Trigger phrases include

Hooks (1)

  • PostToolUse

    node "${CLAUDE_PLUGIN_ROOT}/hooks/migration-guard.mjs"

View source on GitHub sigistry.com

More from sigistry/marketplace

All 30 plugins →

Monitoring and evaluation jobs on your project folder: twelve job skills (evaluation questions, question-method alignment, evaluation TOR drafts, indicator reference sheets, measurement feasibility, M&E plan drafts, progress evidence, findings to actions, results chain alignment, sampling plans, data quality assessment plans, baseline planning), three workflow packs and nineteen commands that cross-reference logframes, M&E plans, proposals, reports and TORs and write editable Markdown with source traceability.

24 skills · 19 commands

3

me-review

claude

Twelve structured monitoring and evaluation document reviews: logframes, theories of change, indicators, evaluation TORs, M&E plans, proposals, sampling plans, surveys, baseline reports, progress reports, data quality assessments, and evaluation reports. Each returns section-by-section PASS/PARTIAL/FAIL ratings, a summary verdict, and prioritized recommendations.

36 skills

3

ballast

claudecodex

Builds up to a goal in a field you have no expertise in: splits it into the foundations that goal actually needs, mobilizes what you already hold, learns what is missing, and leaves every solved path behind for the next goal. Nothing is called done until a check passes.

16 skills · hooks

3

Triages failing GitHub Actions runs, hardens Dockerfiles, pre-flights Kubernetes manifests before they reach the cluster, and drafts blameless postmortems from incident evidence

4 skills · 5 commands · 3 agents · hooks

3

Goes past detecting accessibility and localization issues to fixing them: cross-element ARIA and keyboard-focus remediation, color-contrast rewrites, hardcoded-string extraction, ICU MessageFormat correctness, and RTL readiness

3 skills · 5 commands · 2 agents · hooks

3

A repo-native toolchain for LLM apps: scaffolds eval suites, red-teams for prompt injection, hardens structured-output reliability, and audits token cost, riding promptfoo/DeepEval/Pydantic rather than replacing them

4 skills · 4 commands · 2 agents · hooks

3

Similar plugins

Professional UI/UX design intelligence for AI coding assistants. Includes searchable databases of styles, colors, typography, charts, and UX guidelines for React, Next.js, Astro, Vue, Nuxt.js, Nuxt UI, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui, Jetpack Compose, Angular, Laravel, JavaFX, and Three.js.

7 skills

nextlevelbuilder/ui-ux-pro-max-skill 148,759

Self-learning vector database — HNSW, FlashAttention-3, Graph RAG, hybrid search, DiskANN, and Brain AGI

4 skills · 1 command · 1 agent

ruvnet/ruflo 81,589

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

Query Trackio projects, runs, and metrics using the `trackio` CLI. Use when the user needs to list projects/runs/metrics, get summaries, or retrieve metric values from local Trackio databases. Supports both human-readable and JSON output formats. Covers project discovery, run inspection, metric querying, and system metrics. Designed for LLM agents and automation scripts.

1 skill

sickn33/agentic-awesome-skills 49,620

Connect Claude Code directly to your CockroachDB clusters for hands-on database work — explore schemas, write optimized SQL, debug queries, and manage distributed database clusters. This plugin provides 14 tools across two active MCP backends (self-hosted MCP Toolbox and managed CockroachDB Cloud MCP Server), three specialized agents (DBA, Developer, Operator), 32 skills across 6 operational domains, and built-in safety hooks.

34 skills · 3 agents · 3 MCP servers · hooks

anthropics/claude-plugins-official 47,076

payload

claude

Payload Development plugin - covers collections, fields, hooks, access control, plugins, and database adapters.

1 skill

payloadcms/payload 45,796

Maintain sql-safety-net?

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 plugins30 plugins