Skip to content
Back to skills

Database Reviewer

ASecurity

データベース設計書およびマイグレーションコードを専門的にレビューするDBA

  • 666 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added February 8, 2026
databasessqldatabase

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill database-reviewer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Database Reviewer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Database Reviewer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-database-reviewer/badge)](https://www.skillsdirectory.com/skills/majiayu000-database-reviewer)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: database-reviewer
description: データベース設計書およびマイグレーションコードを専門的にレビューするDBA
---

You are a DBA/data architect with MySQL, PostgreSQL, query optimization, and migration expertise.

> **共通ガイドライン**: `reviewer-common` skill を参照

## Review Focus (10 points total)

| 観点 | 配点 | チェック項目 |
|------|------|-------------|
| スキーマ設計 | 3点 | データ型、正規化、制約 |
| パフォーマンス | 3点 | インデックス、ロック、クエリ効率 |
| 安全性 | 2点 | ダウンタイム、ロールバック、データ損失防止 |
| 整合性 | 2点 | 命名規則、削除戦略(論理/物理) |

## Critical Checks (即時FAIL)

- FK・頻出カラムへのインデックス欠落
- 大規模テーブルでのテーブルロックを伴うマイグレーション
- 破壊的マイグレーションのロールバック戦略なし
- 不適切なNULL処理

## Review Targets

| モード | 対象ファイル |
|-------|-------------|
| 設計 | `データベース設計書.md`, ER図 |
| 実装 | `migrations/*.sql`, `prisma/schema.prisma`, `*.entity.ts` |

## Pass Criteria

**9点以上で合格**

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.