thermiteau/maverick/mav-bp-database-management

Claude Code and agent skill by thermiteau/maverick

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Database and data management conventions for all projects using databases. Covers schema migrations, backup strategy, data lifecycle, index management, and connection pooling. Applied when designing, implementing, or reviewing database interactions.

Install

npx vskill@latest install thermiteau/maverick/mav-bp-database-management

SKILL.md

The same SKILL.md was published earlier as thermiteau/maverick/mav-bp-database-management.

Database & Data Management Standards

Maverick's hard rules for schema migrations, environment isolation, and data safety.

Maverick's Rules

  • Forward-only in production — never roll back a production migration manually; undo with a new forward migration.
  • Every migration is reversible — each migration includes an up and a down operation, even if the down is only ever used in development.
  • Never edit an already-applied migration — once applied to any shared environment, write a new migration instead.
  • No ad-hoc DDL against shared environments — every schema change is a versioned migration file in version control.
  • Strict environment isolation — dev, staging, and production databases are completely separate. Never connect to production from a local machine (bastion/audited admin tools only). Never copy production data to development — seed data or anonymised snapshots only.
  • Seed data is synthetic and idempotent — never production data in seed files; re-running seeds produces the same result.
  • No speculative indexes — index only columns appearing in actual query WHERE/JOIN/ORDER BY/GROUP BY clauses; remove unused indexes.
  • Connection pooling is mandatory — never open a connection per request; configure connection and idle timeouts.
  • Stage destructive schema changes — DROP/RENAME/type changes require the expand-backfill-contract pattern: deploy code that stops using the column first, then migrate.

Project Implementation Lookup

Check for docs/maverick/skills/database-management/SKILL.md. If present, read it — it wins on specifics (library, config, conventions). If missing, proceed with these standards and note the gap in your summary.

Detecting Database Issues in Code Review

When reviewing code, flag these patterns:

PatternIssueFix
Raw SQL without parameterised queriesSQL injection riskUse parameterised queries or ORM
Manual schema change (ad-hoc DDL)Unreproducible, untracked changeCreate a migration file
Editing an already-applied migrationBreaks migration historyWrite a new migration
No index on columns used in WHERE/JOINPerformance degradation at scaleAdd appropriate index
Opening connection per request (no pooling)Connection exhaustionUse connection pool
Hardcoded connection stringSecurity risk, environment couplingUse environment variables or secrets manager
Missing down migrationCannot revert in developmentAdd reversible down operation
Production data in seed filesData leak, privacy violationUse synthetic data only
DROP TABLE or DROP COLUMN without staged rolloutBreaks running applicationStage the change: remove code references first
No transaction wrapping for multi-step migrationPartial application on failureWrap in transaction where the database supports it

<!-- maverick-plugin-version: 5.3.1 -->

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
11
Repository forks
2
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. 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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/thermiteau/maverick/mav-bp-database-management/badge)](https://verified-skill.com/skills/thermiteau/maverick/mav-bp-database-management)

Something wrong with this skill or its page? Tell us.