db-executor

Community

Safe PostgreSQL operator with mandatory dry-run

Authorpaulovictor237
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Prevents accidental data loss and unsafe database changes by enforcing a safety-first workflow for querying and modifying PostgreSQL databases.

Core Features & Use Cases

  • Safe Write Operations: Enforces WHERE validation, performs dry-run previews with affected row counts and sample rows, and requires explicit confirmation before executing UPDATE or DELETE statements.
  • Flexible Execution: Runs queries via native psql or auto-detected Docker containers and supports CSV-formatted outputs for efficient parsing.
  • Schema Discovery & Inspection: Provides table search, schema inspection, and list-tables helpers to find and understand table structures before writing queries.
  • Use Case: Inspect a users table, preview the rows that would be affected by an UPDATE, and safely apply the change only after verifying the dry-run and typing yes to confirm.

Quick Start

Ask the skill to run a SELECT or to preview and then safely execute an UPDATE/DELETE while following its mandatory dry-run and explicit yes confirmation.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 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: db-executor
Download link: https://github.com/paulovictor237/PeveAgent/archive/main.zip#db-executor

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.