wei18/apple-dev-skills · collaboration-skills/skills/pr-diff-verification/SKILL.md

pr-diff-verification skillA

pr-diff-verification is agent-read markdown (skill) from wei18/apple-dev-skills: Use before pushing a branch or opening a PR to verify `git show --stat HEAD` matches what the commit message claims. Prevents the "commit log wrote but code didn't make it" class of accidents where the commit message describes changes that aren't in the diff (e.g. amend overwrote the previous commit's content, force-push lost commits, worktree wipe lost staged work). Invoke whenever Leader is about to `git push` a feature branch OR open a PR..

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.

How to install

Latest version
mdr add wei18/apple-dev-skills/pr-diff-verification@git:20260907.575583f
Exact content
mdr add wei18/apple-dev-skills/pr-diff-verification@sha256:6052705136664f6d

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_s2c2tczjwwnthuqp.svg)](https://markdownregistry.com/a/art_s2c2tczjwwnthuqp)

0 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260907.575583f latest2026-09-07 575583f 5,600 BA view · diff
git:20260904.a7b2bd72026-09-04 a7b2bd7 5,546 BA view · diff
git:20260904.f6860662026-09-04 f686066 5,081 BA view · diff
git:20260624.331609b2026-06-24 331609b 4,886 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 (5600 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

wei18/apple-dev-skills · 19 stars · license MIT · pushed 2026-09-08 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_s2c2tczjwwnthuqp
GET https://markdownregistry.com/api/v1/resolve?ref=wei18/apple-dev-skills/pr-diff-verification
GET https://markdownregistry.com/api/v1/blob/6052705136664f6d8344752f6788ee1ccf0ebe022c4918e0d51eadd17026e591