db-antipattern-parallel-check

Audits 25 database antipatterns in parallel and validates schema-migration consistency.

Updated Jul 21, 2026
One-click install
npx skills add https://github.com/masakinihirota/2026src-ni --skill db-antipattern-parallel-check-masakinihirota
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: db-antipattern-parallel-check
Source: https://github.com/masakinihirota/2026src-ni/tree/main/.agents/skills/db-antipattern-parallel-check
Command: npx skills add https://github.com/masakinihirota/2026src-ni --skill db-antipattern-parallel-check-masakinihirota

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Database design flaws and drift between schema definitions, migrations, and actual query usage often go unnoticed until they cause production incidents. This Skill runs a comprehensive parallel audit of 25 known database antipatterns plus a current-schema consistency check, so teams can inventory structural DB risks before release. ## Core Features & Use Cases - Parallel Multi-Agent Audit: Launches six specialized sub-agents (logical design, physical design, query, application integration, migration guard, current schema reviewer) simultaneously for fast, full-coverage review. - 25-Antipattern Coverage: Checks classic antipatterns such as EAV, Polymorphic Associations, SQL Injection, Index Shotgun, Ambiguous Groups, and Readable Passwords across four categories. - Schema Consistency Verification: Confirms alignment between schema, migrations, migration journal, foreign keys, indexes, enums, nullability, and validation rules, including safety measures for destructive changes. - Use Case: Before a production release, run this Skill to receive a severity-ranked issue list, a coverage verification report (25/25 patterns checked), and a Current Schema Check Sheet with prioritized remediation actions. ## Quick Start Ask the agent to run a full parallel database antipattern audit on the project and report coverage, severity-ranked findings, and schema consistency results.

Frequently Asked Questions about db-antipattern-parallel-check

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

FAQPage Schema
How do I check my database for common design antipatterns?▼

Run a structured audit covering the 25 classic SQL antipatterns across logical design, physical design, queries, and application integration. This Skill launches six parallel review agents and returns a severity-ranked findings list with prioritized fixes.

What database antipatterns does this audit cover?▼

It covers 25 antipatterns including EAV, Polymorphic Associations, Naive Trees, Index Shotgun, Ambiguous Groups, SQL Injection, Readable Passwords, and Magic Beans. The audit reports how many patterns were checked and whether full coverage was achieved.

How can I verify my schema matches my migrations?▼

The current schema reviewer agent checks consistency between schema definitions, migration files, and the migration journal. It also validates foreign keys, indexes, enums, nullability, and flags destructive changes lacking safety measures.

Does the audit automatically fix the database issues it finds?▼

No. High-risk changes are only proposed, not applied automatically. Fixes are applied as minimal diffs only when explicitly requested, keeping destructive or breaking schema changes under human control.

When should I run a database antipattern audit?▼

Run it before production releases, after major schema changes, or when auditing an unfamiliar codebase. It is designed for quickly inventorying structural DB risks and detecting drift between schema and implementation.