database-audit

Audit database schemas, migrations, and indexes for design flaws and misconfigurations.

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/radenadri/skills-alena --skill database-audit-radenadri
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-audit
Source: https://github.com/radenadri/skills-alena/tree/main/skills/database-audit
Command: npx skills add https://github.com/radenadri/skills-alena --skill database-audit-radenadri

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Auditing and hardening database schemas, migrations, and data integrity to prevent fragile designs and performance issues.

Core Features & Use Cases

  • Schema and migration audit: identify normalization issues, constraints, and rollback readiness.
  • Indexing & performance: assess query patterns, high-volume table strategies, and retention policies.
  • Data integrity and governance: verify FK constraints, data types, and consistency across environments.
  • Use Case: When migrating to a new DB, you run this audit to surface critical risks before deployment.

Quick Start

Run the audit against your current schema and migrations to surface constraints, indexes, and growth risks.

Frequently Asked Questions about database-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is a database schema audit and how does it improve reliability?

A database schema audit identifies design flaws, misconfigurations, and missing indexes to improve reliability. It reviews schema files, constraints, and growth strategies to prevent fragile designs and performance issues in production.

How do I audit database migrations for rollback readiness and data integrity?

You audit database migrations by thoroughly reviewing migration files to verify constraints, foreign keys, and rollback readiness. This process enforces checks for data integrity and consistency across environments before deployment.

Can I use this database audit for high-volume tables and query performance tuning?

Yes, database audits apply to high-volume tables and performance tuning by assessing query patterns, indexing strategies, and retention policies. This identifies missing indexes and misconfigurations that degrade performance under load.

What is the best way to identify missing indexes and normalization issues in my database?

The best way to identify missing indexes and normalization issues is to run a comprehensive schema audit. This reviews actual schema structures and query patterns to surface constraints and growth risks.

Does a database schema audit require migration files and query patterns to work?

Yes, a thorough database audit requires migration files, actual schema definitions, and query patterns. Reviewing these elements together enforces checks for constraints, data types, and growth strategies across static and evolving databases.