refine SKILL.md skillA
refine from swingerman/engineer is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add swingerman/engineer/refine@git:20261020.53d8135Pins git:20261020.53d8135 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- swingerman/engineer
- Path
engineer/skills/refine/SKILL.md- Versions recorded
- 10
- Latest version
- git:20261020.53d8135, committed Oct 20, 2026
- First version recorded
- May 20, 2026
- Size
- 7,913 bytes
- Repository stars
- 162
- License
- MIT
Use after a feature's code is implemented and passing, to clean up the changed code before verification. Triggers — "/engineer.refine", "refine this code", "clean up the feature", "refactor what we built".
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
# refine
Charter-bound clean-up of a feature's changed code — Checkpoint 6. Modeled on Claude Code's stock `/simplify` (a three-subagent parallel review) with two layers the stock skill lacks: **charter validation** of every proposal, and **graceful breaking changes**.
The behavior contract (ACs + specs) is sacred — a refactor that breaks it is a category error. New shapes are introduced alongside old, never instead of.
## When to use
Checkpoint 6, after `atdd:atdd-team` produces passing code, before `crap-analyzer` (Checkpoint 7).
**Verification independence:** refine runs on a non-implementer agent (`agent_id` ≠ CP5's; enforced by `dae_handoff.py gate()`). The three review subagents (Step 2) are fresh regardless, so independence is satisfied by construction.
**Not for:** changing behavior (`feature-edit`); risk analysis (`crap-analyzer`); code that isn't implemented/green yet.
## Workflow
**Step 0 — Entry gate.** Before starting, verify the prior checkpoint is complete: run `${CLAUDE_PLUGIN_ROOT}/scripts/dae_handoff.py <feature-dir> --through 5`. On a non-zero exit, **stop** and surface the gap to the human — do not proceed.
…Read the whole file at its exact version.
How to install
mdr add swingerman/engineer/refine@sha256:bd11eea9eb6164b0The line at the top of this page pins the label git:20261020.53d8135, 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_wj4uyizt67yukwln)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 10 versions of this file, between May 20, 2026 and Oct 20, 2026, about one every 17 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261020.53d8135 latest | 2026-10-20 | 53d8135 | 7,913 B | A | view · diff |
| git:20261020.b3a2099 | 2026-10-20 | b3a2099 | 7,544 B | A | view · diff |
| git:20261020.a98004e | 2026-10-20 | a98004e | 7,298 B | A | view · diff |
| git:20260923.32947eb | 2026-09-23 | 32947eb | 7,304 B | A | view · diff |
| git:20260923.5520e1e | 2026-09-23 | 5520e1e | 6,894 B | A | view · diff |
| git:20260528.ff45e93 | 2026-05-28 | ff45e93 | 6,858 B | A | view · diff |
| git:20260528.0c6f513 | 2026-05-28 | 0c6f513 | 6,386 B | A | view · diff |
| git:20260520.674f2de | 2026-05-20 | 674f2de | 5,830 B | A | view · diff |
| git:20260520.057b2c2 | 2026-05-20 | 057b2c2 | 5,490 B | A | view · diff |
| git:20260520.42e36d0 | 2026-05-20 | 42e36d0 | 5,361 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 (7913 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
swingerman/engineer · 162 stars · license MIT · pushed 2026-10-27 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_wj4uyizt67yukwln GET https://markdownregistry.com/api/v1/resolve?ref=swingerman/engineer/refine GET https://markdownregistry.com/api/v1/blob/bd11eea9eb6164b04b9dd5aa11d423d52832fe4de1a7bc5bf8ceaca128be7ab4
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 swingerman/engineer
Every file in swingerman/engineer