Home / mryo0826 / aidd-practice-guide · .claude/skills/review-before-commit/SKILL.md · GitHub

review-before-commit skillA

review-before-commit is agent-read markdown (skill) from mryo0826/aidd-practice-guide: commit を提案する直前に回す検査。対話でのみ述べて記録に入れ忘れたものを洗い出し、文脈を持たない読み手が読めるかを参照・時点語・件数の3軸で検査する。公開リポジトリなら、コミットメッセージの規約・staging に混ざった未追跡ファイル・履歴として公開される情報も同じ1本で検査する。staging 内容とコミットメッセージを提示する前に使用(push 前の検査は review-before-push)。.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# commit 直前の検査

**読み手は「文脈を持たない次のセッションの AI」である。** 書いた本人には解決できてしまう参照が、ここで落ちる。

🔴 **冒頭で1つだけ判定する: 対象は公開リポジトリか、非公開か。** ⇒ **公開なら、下の「公開リポジトリのときに追加で回す」節まで含めて、この1本で回す。** ⭐ **判定は最初の1回だけで、手順ごとに「これは公開向けか」を考えない**——**判断の場面を消すための構成である。**

**この Skill は手順だけを持つ。** **なぜ検査するかの一般形は `01_ai-driven-dev-strategy.md`「外に出る直前に検査を挟む(非可逆な操作のゲート)」**にあり、**このリポジトリ固有の規約は `CLAUDE.md`** にある。⇒ **どちらも正本で、この Skill はその実装である。**

## 前提思想

- **検査は通過判定ではない。** 指摘は列挙して人間に渡す。致命的でなければ直さず記録する、という選択が常にある。
- **検査そのものが、部分適用で「通過」しうる。** 落ち方は2通りある——**検査項目の一部を飛ばす**(3軸のうち2軸だけ当てる)と、**検査対象の一部を飛ばす**(2ファイルのうち1ファイルだけ見る)。⇒ **どちらも明示的に宣言してから始める。**
- **対象は「自分が編集した範囲」ではない。** 今回触っていない箇所でも、次のセッションの開始に要るなら読む。

## モード

| モード | 発動 | 振る舞い |
|--------|------|---------|
| **検査(既定)** | commit を提案しようとした瞬間 | 下の手順を上から順に回し、検出物を一覧で出す |
| **再検査** | 前回の検査の後にさらに編集した場合 | **前回の検査後に書いた分を対象に、同じ手順を回す**(⚠️ 前回「通った」ことは今回の根拠にならない) |

## 確度ラベル

検出物には `[Fact]`(実測した)/`[Judgment]`(読んで判断した)/`[Assumption]`(確かめていない)を付ける。**「たぶん解決する」を `[Fact]` として報告しない。**

## 手順

### 1. 対話にのみ在るものを洗い出す

このセッションで**対話でのみ述べて、まだ `.md` に入っていない**ものを列挙し、1件ずつ「入っている/入っていない」を判定する。

- ⚠️ **特に見るもの: 「後で書きます」「レトロで扱います」「次のセッションで」と言ったもの。** ⇒ **そう言ったこと自体が、記録した気にさせる。**
…

Read the whole file at its exact version.

How to install

Latest version
mdr add mryo0826/aidd-practice-guide/review-before-commit@git:20260921.2ad66e0
Exact content
mdr add mryo0826/aidd-practice-guide/review-before-commit@sha256:d015ce49f3058420

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_7vky56vl5ujap4y5.svg)](https://markdownregistry.com/a/art_7vky56vl5ujap4y5)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260921.2ad66e0 latest2026-09-21 2ad66e0 11,756 BA view · diff
git:20260921.aeecf4e2026-09-21 aeecf4e 10,323 BA view · diff
git:20260909.e884a562026-09-09 e884a56 5,935 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (11756 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

GitHub

mryo0826/aidd-practice-guide · 3 stars · license NOASSERTION · pushed 2026-09-23 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_7vky56vl5ujap4y5
GET https://markdownregistry.com/api/v1/resolve?ref=mryo0826/aidd-practice-guide/review-before-commit
GET https://markdownregistry.com/api/v1/blob/d015ce49f30584200915b99ad5a84adab29ae49823ad0b1766c63d0415e07d20

Your agent 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.

More from mryo0826/aidd-practice-guide

requirements-review skill
mryo0826/aidd-practice-guide · .claude/skills/requirements-review/SKILL.md · 要件・仕様(作るものの状態=WHAT)の壁打ちとレビュー。甘い前提・抜けた非機能要件・外部API/クラウド制約の見落としを媚びずに突き、確定要件を受入基準(AC)付きで固める。要件定義・仕様策定・仕様レビュー時に使用(実装・コードは対象外)…
git:20260722.4a3ddc4 · audit A · 3 stars
review-before-push skill
mryo0826/aidd-practice-guide · .claude/skills/review-before-push/SKILL.md · push する直前に回す検査。別環境で clone / pull して再開する視点で到達状態を判定し、確度ラベルが今も正しいかを読み直す。公開リポジトリなら、初めて読む人間の視点・機微情報・版(タグ)の要否も同じ1本で検査する。push…
git:20260921.2ad66e0 · audit A · 3 stars
zenn-article skill
mryo0826/aidd-practice-guide · .claude/skills/zenn-article/SKILL.md · このガイドを題材にした技術記事(Zenn 等)の構成壁打ちと overclaim レビュー。誇大表現・裏取り無き「実証」主張・絶対語を確度ラベルで検出して格下げする。要件・仕様(requirements-review)や実装コード(code…
git:20260921.90c7916 · audit A · 3 stars
CLAUDE.md claude
mryo0826/aidd-practice-guide · CLAUDE.md
git:20260923.649f8bf · audit A · 3 stars

Every file in mryo0826/aidd-practice-guide

Browse by kind, by grade A, or by owner.