fix-the-class SKILL.md skillA
fix-the-class from joetawil7/first-pass is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add joetawil7/first-pass/fix-the-class@git:20261001.a4388faPins git:20261001.a4388fa in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- joetawil7/first-pass
- Path
skills/fix-the-class/SKILL.md- Versions recorded
- 6
- Latest version
- git:20261001.a4388fa, committed Oct 1, 2026
- First version recorded
- Sep 25, 2026
- Size
- 6,089 bytes
- Repository stars
- 107
- License
- MIT
Bug-fix routine that fixes the whole class of bug, not just the reported instance. Use for any bug report, failing production behaviour, monitoring alert, audit finding or review finding that does real harm (a smaller review finding goes on the item's list, as ship-check says), and whenever the same kind of bug has been seen before. Reproduces it with a failing test, names the failure class, searches the task's scope for the same pattern (the whole codebase when the user's own prompt asks for…
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
# fix-the-class A fix that guards only the spot where the bug was found invites the same bug in the next feature. Audits that find the same bug twice are the sign. Fix the instance, then the class. ## 1. Reproduce Write a test that fails the way the report says, at the lowest layer that reproduces it end to end (see `ship-check` step 2). No test, no fix: if it cannot be reproduced, say what was tried and stop. ## 2. Name the class Which pre-mortem question did the original change fail? Twice, halfway, outside call, failure-is-not-empty, neighbors, endings, money, hostile user, words, scale and time. Which invariant in `INVARIANTS.md` does it break? If none fits, the invariant is missing: draft it. State the pattern in one sentence that can be searched for, for example: - "a status check outside the transaction that then writes" (twice) - "a done-marker saved before the work" (halfway) - "a vendor call with no timeout" or "a committing call retried on 5xx" (outside call) - "a query result checked for loading but not for error" (failure is not empty) - "the delete path skips what the disconnect path releases" (neighbors) …
Read the whole file at its exact version.
How to install
mdr add joetawil7/first-pass/fix-the-class@sha256:958690c6f8cfc07eThe line at the top of this page pins the label git:20261001.a4388fa, 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_di4wsqfpcebzux7l)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between Sep 25, 2026 and Oct 1, 2026, about one every day.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261001.a4388fa latest | 2026-10-01 | a4388fa | 6,089 B | A | view · diff |
| git:20260929.5291e17 | 2026-09-29 | 5291e17 | 5,339 B | A | view · diff |
| git:20260926.52679d4 | 2026-09-26 | 52679d4 | 5,248 B | A | view · diff |
| git:20260925.ec4b0ba | 2026-09-25 | ec4b0ba | 5,243 B | A | view · diff |
| git:20260925.b12fce8 | 2026-09-25 | b12fce8 | 4,236 B | A | view · diff |
| git:20260925.dbcac0d | 2026-09-25 | dbcac0d | 4,024 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 (6089 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
joetawil7/first-pass · 107 stars · license MIT · pushed 2026-10-17 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_di4wsqfpcebzux7l GET https://markdownregistry.com/api/v1/resolve?ref=joetawil7/first-pass/fix-the-class GET https://markdownregistry.com/api/v1/blob/958690c6f8cfc07e7f8db14d7b011646e66e5a3be93ad9e79a4c318839cbf157
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.