nerds-odd-e/doughnut · .agents/skills/post-change-refactor/SKILL.md

post-change-refactor skillA

post-change-refactor is agent-read markdown (skill) from nerds-odd-e/doughnut: Refactor concepts implicated by the current uncommitted change before commit. Use concept-bounded scope even when completion requires untouched code, but Jidoka-stop before unapproved cross-subsystem refactoring. Remove duplication, unclear naming, shotgun surgery, dead / test-only / redundant code, and oversized files; run related tests only when the refactor edits. Local slice wrap-up overlay (execute-plan / gsd-execute-phase). Use after a slice, before commit, or on: refactor change, clean up.

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 nerds-odd-e/doughnut/post-change-refactor@git:20260905.db253c7
Exact content
mdr add nerds-odd-e/doughnut/post-change-refactor@sha256:7445d0a0c644d04c

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

0 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260905.db253c7 latest2026-09-05 db253c7 9,732 BA view · diff
git:20260904.9987db82026-09-04 9987db8 9,666 BA view · diff
git:20260828.8bfd1582026-08-28 8bfd158 12,042 BA view · diff
git:20260826.4fe303c2026-08-26 4fe303c 12,045 BA view · diff
git:20260826.f88eb092026-08-26 f88eb09 12,048 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 (9732 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

nerds-odd-e/doughnut · 49 stars · license MIT · pushed 2026-09-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_rwnbjls4ffj7jx62
GET https://markdownregistry.com/api/v1/resolve?ref=nerds-odd-e/doughnut/post-change-refactor
GET https://markdownregistry.com/api/v1/blob/7445d0a0c644d04c252fe8481190c83a2d7d7b2f62b6e5b5a7a1e654807f56a5