sql-guard

Community

Guard SQL code against tenant leaks.

Authoranotherben
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps prevent tenant isolation breaches and unsafe SQL patterns by guiding developers to follow strict tenant_id scoping, parameterization, and safe timestamp usage before writing or editing queries or migrations.

Core Features & Use Cases

  • Enforces tenant_id scoping on tenant-scoped tables and promotes parameters-based queries.
  • Promotes safe migration practices and type-safe joins to avoid cross-table data leakage.
  • Use Case: Review and guard SQL changes in new features that touch banking records, customers, or transactional stores.

Quick Start

Run the SQL Guard prior to writing or editing queries to ensure tenant isolation, parameterization, and safe timestamp usage.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: sql-guard
Download link: https://github.com/anotherben/claude-harness/archive/main.zip#sql-guard

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.