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
mdr add mryo0826/aidd-practice-guide/review-before-commit@git:20260921.2ad66e0mdr add mryo0826/aidd-practice-guide/review-before-commit@sha256:d015ce49f3058420Pin 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.
[](https://markdownregistry.com/a/art_7vky56vl5ujap4y5)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260921.2ad66e0 latest | 2026-09-21 | 2ad66e0 | 11,756 B | A | view · diff |
| git:20260921.aeecf4e | 2026-09-21 | aeecf4e | 10,323 B | A | view · diff |
| git:20260909.e884a56 | 2026-09-09 | e884a56 | 5,935 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 (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
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.