review-code SKILL.md skillA
review-code from sorafujitani/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add sorafujitani/skills/review-code@git:20260902.d9838bbPins git:20260902.d9838bb in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- sorafujitani/skills
- Path
review-code/SKILL.md- Versions recorded
- 3
- Latest version
- git:20260902.d9838bb, committed Sep 2, 2026
- First version recorded
- Apr 28, 2026
- Size
- 7,184 bytes
- Repository stars
- 8
- License
- MIT
PRベースの多角的コードレビューを実行する。 小規模な差分は直接レビューし、独立した成果物や競合仮説があり調整コストを上回る場合だけ必要な数のsubagentを並列起動する。指摘箇所のコード実在確認・ WebSearchによる公式ドキュメント裏取りでハルシネーションを防止する。 各指摘に前提知識・公式リファレンスURLを付与し教育的なレビューを提供する。 言語・フレームワークを自動検出し、プロジェクト設定+公式ガイドラインに基づくレビューを実施。 以下の場合に使用: (1) PRのコードレビューを依頼されたとき (2) git diffに対するコードレビュー (3) マージ前の品質チェック (4) コードの改善提案が欲しいとき.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Code Review: 多角的PRレビュー
## 核心原則
- **教育的レビュー**: 指摘ごとに「なぜ問題か」の理由と、理解に必要な前提知識・公式ドキュメントURLを提示する
- **証拠ベース**: すべての指摘は `file:line` で特定し、`Read` でコード実在を確認済みであること
- **ハルシネーション防止**: API仕様・言語仕様に言及する場合は `WebSearch` で公式ドキュメントを裏取りする
- **コード変更禁止**: レビューのみ。修正は行わない
## 入力処理
`$ARGUMENTS` の内容に応じて:
1. **GitHub PR URL**: `gh pr view --json` でPR情報を取得(diff, comments, files, body)
2. **ブランチ名**: `git diff main...{branch}` で差分取得
3. **引数なし**: 現在のブランチの `git diff main...HEAD` を使用
## Phase 1: Context Collection(コンテキスト収集)
**目的**: レビュー対象の差分取得 + プロジェクトの言語・フレームワーク・lint設定を把握
**Step 1: 差分取得**
- PR URL → `gh pr view --json` で構造化情報取得
- ブランチ → `git diff` で差分取得
- 変更ファイル一覧と変更行数を把握
- **未追跡ファイルを含める**: `git diff` は未追跡(新規)ファイルを出力しない。`git status --short` の `??` と `git ls-files --others --exclude-standard` で新規ファイルを列挙し、内容を直接 Read してレビュー対象に加える
**Step 2: 言語・フレームワーク自動検出**
- [lang-detection.md](references/lang-detection.md) に従い、設定ファイルを `Glob` → `Read` で検出
- 検出結果: 言語、フレームワーク、linter設定
**Step 3: 公式レビューガイドラインの取得**
- [lang-detection.md](references/lang-detection.md) の「動的参照戦略」に記載された `site:` 付き検索クエリを使用する
- `site:` 付きで公式ドキュメントに限定して検索する(例: `site:typescriptlang.org`, `site:go.dev`)。見つからなければ「公式未確認」と明記する
…Read the whole file at its exact version.
How to install
mdr add sorafujitani/skills/review-code@sha256:4f9d099c72340ff2The line at the top of this page pins the label git:20260902.d9838bb, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_gfgrq3uw74ojpsd2)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Apr 28, 2026 and Sep 2, 2026, about one every 64 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260902.d9838bb latest | 2026-09-02 | d9838bb | 7,184 B | A | view · diff |
| git:20260830.be948ba | 2026-08-30 | be948ba | 6,742 B | A | view · diff |
| git:20260428.9fc6a48 | 2026-04-28 | 9fc6a48 | 6,543 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (7184 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
sorafujitani/skills · 8 stars · license MIT · pushed 2026-10-15 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_gfgrq3uw74ojpsd2 GET https://markdownregistry.com/api/v1/resolve?ref=sorafujitani/skills/review-code GET https://markdownregistry.com/api/v1/blob/4f9d099c72340ff263db63d31f733dd76033f98ea0704c4952555c1537227c0b
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from sorafujitani/skills
Every file in sorafujitani/skills