code-review

code-review

mergeCraftのPR・差分を証拠付きで監査し、重大度を付けた所見とapproveまたはrequest_changesの最終判定を行うレビュー技能。

AIスキル大辞典による日本語要約
品質評価93/100評価確度:十分
人気度(GitHub Star) 38発掘スコア 93
01

このSkillでできること

  • ✓PR、ブランチ差分、ステージ済み変更を対象に、正確性・データ整合性・セキュリティ・安定性・性能・保守性を確認する
  • ✓ファイル行、差分、ツール出力などの証拠に基づいて所見を作成し、重大度やカテゴリを付ける
  • ✓既知の非問題や撤回済み所見を考慮し、検証後に一つの最終判定へまとめる
  • ✓MCP、ホスト型レビュー、ファイルアクセスのみの環境に応じてレビュー手順を調整する
02

使い方

01
STEP 1

完全な差分を先に読み、変更範囲と影響範囲を整理する

02
STEP 2

対象関数、呼び出し元、関連テスト、境界となるインターフェースを確認する

03
STEP 3

リポジトリのゲートや解析結果を証拠として扱い、実行不能・未実行の結果は所見にしない

04
STEP 4

所見を証拠、重大度、カテゴリ付きで整理し、approveまたはrequest_changesを一度だけ明示する

03

Skillのインストール

このGitHubリポジトリにあるSkillを確認し、現在の環境に適した方法でインストールしてください。
インストール後、正常に利用できることを確認し、基本的な使い方も簡潔に説明してください。

Repository:
https://github.com/alexhawat/mergeCraft
手動でインストールする

README / SKILL.mdから機械抽出できたコマンドのみ表示しています。推測したコマンドではありません。

Set up mergeCraft (BYOK AI PR review) in this repository.
Reference: https://github.com/alexhawat/mergeCraft/blob/main/AGENTS-mergecraft.md
Do all of this yourself, without asking me, except where step 4 says STOP:
1. Ensure `uv` is on PATH. If it is missing, install it:
curl -LsSf https://astral.sh/uv/install.sh | sh     # macOS/Linux
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"   # Windows
Do NOT install Python. uv downloads a compatible interpreter on its own.
2. Install the CLI:
uv tool install "merge-craft @ git+https://github.com/alexhawat/mergeCraft"
mergecraft --version
3. Scaffold config + workflow (non-interactive, writes no secrets):
mergecraft init
This creates .mergecraft/config.yaml, .github/workflows/mergecraft.yml,
and a [learnings](docs/glossary.md#learnings) file at .mergecraft/learnings.md.
4. STOP and hand the credential step back to me. Do not read, generate, guess,
echo, or commit any API key, token, or .env file. Print the single command
you want me to run. Inspect `mergecraft provider list` first; use the label
or id configured by init (add the provider first if missing). Examples
below assume those labels exist; use
--scope local instead for local evaluation:
mergecraft provider auth anthropic --scope github     # Claude Pro/Max subscription
mergecraft provider auth openai --scope github      # ChatGPT Plus/Pro/Team/Enterprise
mergecraft p
Install the mergeCraft agent skill into this repo so you know its CLI,
config keys, exit codes, and failure modes.
1. Fetch the skill:
git clone --depth 1 https://github.com/alexhawat/mergeCraft /tmp/mergecraft-src
2. Copy the generated [harness](docs/glossary.md#harness) package for your agent from
skills/<harness>/mergecraft/ (listed in skills/harnesses.yaml) to the path
your agent reads. Examples:
skills/cursor/mergecraft/     -> Cursor
skills/grok-bot/mergecraft/   -> Grok Bot (user skill; not .agents/skills/)
skills/opencode/mergecraft/   -> OpenCode
skills/codex/mergecraft/      -> Codex CLI
skills/gemini-cli/mergecraft/ -> Gemini CLI
skills/openclaw/mergecraft/   -> OpenClaw
skills/hermes/mergecraft/     -> Hermes Agent
skills/copilot/mergecraft/    -> GitHub Copilot
Almost every agent shares one install destination -- the Agent Skills
standard path:
.agents/skills/mergecraft/   -> Codex, Cursor, OpenCode, Gemini CLI,
OpenClaw
.claude/skills/mergecraft/   -> Claude Code (it does NOT read
.agents/skills/); OpenCode reads it too
hermes skills install        -> Hermes Agent (uses ~/.hermes/skills/)
.github/skills/mergecraft/   -> GitHub Copilot (cloud agent, code review,
CLI, VS Code agent mode)
If your agent is none of these, copy AGENTS-mergecraft.md (as AGENTS.md) and
llms.txt to the repo root -- every agent reads those.
3. Also copy commands/ to your agent's slash-comma
Read https://github.com/alexhawat/mergeCraft/blob/main/AGENTS-mergecraft.md and set
mergeCraft up in this repo. Install the CLI with uv (uv fetches its own Python —
do not install Python), run `mergecraft init`, wire .mergecraft/config.yaml, and
open a PR with the workflow. Print the `mergecraft provider auth <provider> --scope github` command for
me to run myself — never touch credentials. Then copy
skills/cursor/mergecraft/ into .agents/skills/mergecraft/ so you keep the
knowledge.
Read https://github.com/alexhawat/mergeCraft/blob/main/AGENTS-mergecraft.md and set
mergeCraft up in this repo. Install the CLI with uv (uv fetches its own Python —
do not install Python), run `mergecraft init` in the consumer repo (never in the
mergeCraft source tree), wire .mergecraft/config.yaml, and open a PR with the
workflow. Print the `mergecraft provider auth <provider> --scope github` command for me to run myself —
never touch credentials. After I confirm the secret is stored, run
`mergecraft doctor` as needed. Install the generated skill from
skills/grok-bot/mergecraft/ as a Grok Bot user skill (Settings → Plugins → Yours;
enable it for this Bot) so you keep the knowledge.
04

このSkillを使うプロンプト例

Skill名を明示すると、意図したSkillを使わせやすくなります。自動発動型では必須とは限りません。

このPRの完全な差分を確認し、mergeCraftのレビュー規則に従って、証拠付きの所見を重大度・カテゴリとともに整理してください。撤回済み所見は再掲せず、最後にapproveまたはrequest_changesのどちらか一つで判定してください。
出力例を見る
判定: request_changes
所見:
- Major / security: `path/to/file.py:42`。差分のこの処理により権限確認が迂回される可能性がある。該当コードとテスト結果を根拠とする。
- その他の未解決のブロッキング所見はなし。
05

安全性チェック

自動解析による参考情報です。Skillの安全性を保証するものではありません。

外部API通信検出あり
Shellコマンド実行検出あり
ファイル読み取り明確な記述なし
ファイル書き込み明確な記述なし
ネットワークアクセス検出あり
認証情報検出あり
検出根拠を見る
  • shell: cs/`](docs/) | Full generated index | ## Development ```bash make setup # uv sync + pre-commit make lint # ruff make typecheck # mypy stri
  • network: ft (BYOK AI PR review) in this repository. Reference: https://github.com/alexhawat/mergeCraft/blob/main/AGENTS-mergecraft.md Do all of this yourself, w
  • network: on PATH. If it is missing, install it: curl -LsSf https://astral.sh/uv/install.sh | sh # macOS/Linux powershell -c "irm https://astral.sh/u
  • credential: . Do not read, generate, guess, echo, or commit any API key, token, or .env file. Print the single command you want me to run. Inspect `mergecraft
  • credential: ile at .mergecraft/learnings.md. 4. STOP and hand the credential step back to me. Do not read, generate, guess, echo, or commit any API key, token, or
06

関連Skill