autorenew

SKILL DETAIL

Database Design Quality Review

Use this skill when an ERD, DDL, ORM schema, or migration plan needs an evidence-bounded database design review before implementation; triggers include database design review, migration readiness review, and schema quality audit.

StatusStable
TypeAtomic Skill
DomainSoftware testing
SDLCTest design
Good forQA / DEV
LanguageChinese / English
EvalsEvals ✓
Synced2026-09-15

Why this Skill

It turns this Skill's method into a quality input that can be executed, reviewed, and reused.

  • Use it to check model integrity, constraints, indexes, lifecycle/privacy, and data ownership.
  • Do not connect, write, migrate, or query a real database; do not run benchmarks or recovery drills.
  • Do not infer business rules, thresholds, retention periods, or privacy classes from table or field names.
  • Each DB-## includes object, source/evidence, constraints/indexes, transaction/concurrency, migration rollback, impact, owner, and validation method.
  • Checking tables and fields without constraints, lifecycle, rollback, or recovery.

When to use

Use this Skill
  • Use it to check model integrity, constraints, indexes, lifecycle/privacy, and data ownership.
  • Use it to identify transaction, concurrency, migration rollback, backup/recovery, and performance risks.
  • Use it when DDL or migration material is incomplete but a bounded design review is needed.
Common pitfalls
  • Checking tables and fields without constraints, lifecycle, rollback, or recovery.
  • Treating an index as proof that query performance was verified.
  • Treating a parseable migration as backward compatibility and rollback proof.

Input

Minimum Input
  • Read `prompts/database-design-quality-review.md` and audit objective, version, database scope, and evidence.
Recommended Input
  • Project goal
  • Test scope
  • Constraints
Optional Context
  • Relevant code or configuration
  • Historical results
  • Logs and metrics

Output

The output follows this Skill's method and makes facts, assumptions, risks, and next steps explicit.

Judge the output value before installing

  1. 01Read prompts/database-design-quality-review.md and audit objective, version, database scope, and evidence.
  2. 02Classify input as known, missing, conflicting, stale, out_of_scope, and assumptions.
  3. 03Build coverage by object, constraints, indexes, transaction/concurrency, lifecycle, migration, and recovery; bind evidence to DB-## findings.
  4. 04Separate facts, evidence-backed inferences, recommendations, and Human decisions with impact, owner, close condition, and validation.
View full output structure
  1. 05Without execution identity, time, environment, and raw results, do not write that a database operation succeeded.

How It Works

  1. 01Read prompts/database-design-quality-review.md and audit objective, version, database scope, and evidence.
  2. 02Classify input as known, missing, conflicting, stale, out_of_scope, and assumptions.
  3. 03Build coverage by object, constraints, indexes, transaction/concurrency, lifecycle, migration, and recovery; bind evidence to DB-## findings.
  4. 04Separate facts, evidence-backed inferences, recommendations, and Human decisions with impact, owner, close condition, and validation.
  5. 05Without execution identity, time, environment, and raw results, do not write that a database operation succeeded.

Install & Quick Start

Install command / SHELL
npx skills add \
  https://github.com/naodeng/awesome-qa-skills/tree/main/skills/en/testing-types/database-design-quality-review
  -g
database-design-quality-review.prompt
@skill database-design-quality-review

Using the current project context, produce an actionable result following this Skill.

Additional context:
[Paste project context or requirement]