# 変更の品質レビュー (ponytail-review)

> 変更を正しさ・安全性・負荷耐性・テスト・速度・簡潔さの観点でレビューし、diffだけでなく関連コードも読みます。

- カテゴリ: [コードレビュー](https://www.myskills.tools/ja/categories/code-review/)
- 提供元: コミュニティ · DietrichGebert
- リポジトリ: https://github.com/DietrichGebert/ponytail/tree/main/skills/ponytail-review (commit 2a1fe84)
- SKILL.md: https://github.com/DietrichGebert/ponytail/blob/main/skills/ponytail-review/SKILL.md
- インストールコマンド: `npx skills add DietrichGebert/ponytail --skill ponytail-review`
- ライセンス: MIT
- 対応ツール: Claude Code, Codex, Cursor
- 権限: read-repo ✓, write-files ✗, shell ✓, network ✗
- 状態: スキャン済み
- ルールスキャンですべてのリスクを検出できるわけではありません。インストール前にこのスキルの SKILL.md を読み、権限を確認してください。

## 基本ルール

指摘には必ず「この入力や状況でこの誤った結果になる」という具体例が必要で、具体例がなければ指摘しないこと。

## 実行フェーズ

1. **まず変更を理解** — diffに加え呼び出し元・呼び出し先・テスト・READMEを読み、データの流れを追い、リポジトリから想定負荷を判断します。
2. **観点ごとに確認** — バグ、セキュリティやデータ消失のリスク、スケールの問題、テスト不足、速度、削れるコードを順に確認します。
3. **報告前に検証** — 該当行を読み直して指摘が成り立つか確かめ、最小の修正を提案します。削除する修正を優先し、好みや曖昧な懸念は書きません。
4. **平易な言葉で報告** — 変更の内容を述べ、必須・推奨・任意のグループに番号付きで指摘を並べ、最後に判定を示します。

## 権限の説明（SKILL.md より）

| 機能 | 必要か | 説明 |
|---|---|---|
| ファイル書き込み | 不要 | 指摘を列挙するだけで、コードは一切変更しません。 |
| コマンド実行 | 一部で必要 | diffの取得やgrepによる呼び出し元検索など、読み取り専用のコマンドに限られます。 |
| 外部通信 | 不要 | 手順にネットワークアクセスはありません。 |

## SKILL.md のフロントマター（YAML）

```yaml
---
name: ponytail-review
description: >
  Quality review of a change: is the logic right, is it safe, does it hold
  under real load, is risky code tested, is it fast enough, and is every line
  needed. Reads the connected code, not only the diff. Each finding is
  explained in plain English. Use for "review this", "code review", "review
  the last commit", "review my PR", "is this over-engineered", /ponytail-review.
---
```

ホーム: https://www.myskills.tools/ja/ · URL: https://www.myskills.tools/ja/skills/ponytail-review/
