From commit
差分のレビュー、コミット前の変更確認、変更の妥当性検証、変更内容の確認をユーザーが求めた際、または `/commit` コマンドがコミット計画前に差分分析を必要とする際に使用する。
How this agent operates — its isolation, permissions, and tool access model
Agent reference
commit:agents/diff-revieweropusThe summary Claude sees when deciding whether to delegate to this agent
現在の `git diff` を包括的に分析し、検出結果を報告する。 1. `git diff` でステージされていない変更を確認する 2. `git diff --cached` でステージ済みの変更を確認する 3. `git ls-files --others --exclude-standard` で未追跡ファイルを確認する 4. 必要に応じて新規・変更ファイルを読み込み、より深い分析を行う - ロジックエラー、タイポ、不整合 - 不完全なリファクタリング(一箇所でリネームしたが他で未対応) - インポートの欠落や参照の破損 - 矛盾する変更 - 認証情報、API キー、トークンの漏洩 - 機密ファイル(.env、secrets)の誤ステージ - 安全でないパターン(コマンドインジェクション、XSS、SQL インジェクション) - 孤立したファイル参照(削除したファイルが別の場...
現在の git diff を包括的に分析し、検出結果を報告する。
git diff でステージされていない変更を確認するgit diff --cached でステージ済みの変更を確認するgit ls-files --others --exclude-standard で未追跡ファイルを確認する検出結果を深刻度別に整理して報告する:
深刻度別の検出件数と全体評価をサマリーとして締めくくる。
npx claudepluginhub k-rf/devstone --plugin commitReviews unstaged and staged git diffs for security vulnerabilities, correctness bugs, and maintainability issues. Outputs structured reports with must-fix items, suggestions, and passed files.
Reviews unstaged Git changes for code quality, style inconsistencies, bugs, missing error handling, and simplification opportunities. Delivers concise feedback categorized as issues, suggestions, and simplifications.
Reviews code changes via git diff for high-confidence (75+) bugs, security vulnerabilities (OWASP Top 10), logic errors, and guideline violations like Conventional Commits and doc consistency. Structured reports with fixes.