Db review

From tranhieutt/software_development_department · View interactive version

Db review is an AI agent skill from the GitHub repository tranhieutt/software_development_department. Reviews database schemas, queries, and migrations for correctness, performance, security, and best practices. Use when reviewing SQL migration files or when the user mentions database review, schema review, or query audit.

How to use this skill

Skill file

When this skill is invoked:

  1. Read the target schema, migration, or query files in full.
  1. Evaluate schema design:
  1. Evaluate indexing strategy:
  1. Evaluate migration safety:
  1. Evaluate data integrity:
  1. Evaluate query quality (if queries provided):
  1. Output the review:
## Database Review: [Schema/Migration Name]

### Schema Design: [CLEAN / ISSUES FOUND]
[List design problems]

### Indexes: [APPROPRIATE / MISSING / OVER-INDEXED]
[List index recommendations]

### Migration Safety: [SAFE / RISKY / BLOCKING]
[List migration risks and recommendations]

### Data Integrity: [ENFORCED / GAPS FOUND]
[List integrity concerns]

### Query Quality: [CLEAN / ISSUES FOUND]
[List query problems]

### Positive Observations
[What is well-designed]

### Required Changes
[Must-fix before applying]

### Suggestions
[Nice-to-have improvements]

### Verdict: [APPROVED / APPROVED WITH SUGGESTIONS / CHANGES REQUIRED]

Protocol

Output

Deliver exactly:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.