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.

Install it, pinned
mdr add joetawil7/first-pass/fix-the-class@git:20261001.a4388fa

Pins 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

The exact contents, by fingerprint
mdr add joetawil7/first-pass/fix-the-class@sha256:958690c6f8cfc07e

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_di4wsqfpcebzux7l.svg)](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.

versioncommittedcommitsizeaudit
git:20261001.a4388fa latest2026-10-01 a4388fa 6,089 BA view · diff
git:20260929.5291e172026-09-29 5291e17 5,339 BA view · diff
git:20260926.52679d42026-09-26 52679d4 5,248 BA view · diff
git:20260925.ec4b0ba2026-09-25 ec4b0ba 5,243 BA view · diff
git:20260925.b12fce82026-09-25 b12fce8 4,236 BA view · diff
git:20260925.dbcac0d2026-09-25 dbcac0d 4,024 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the 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 (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

GitHub

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.

More from joetawil7/first-pass

AGENTS.md AGENTS.md file
joetawil7/first-pass · AGENTS.md
git:20261017.8c8e14b · audit A · 107 stars
habit-words SKILL.md skill
joetawil7/first-pass · skills/habit-words/SKILL.md · Learns the words a user habitually writes to their coding agent that make its answers worse ("be 100% sure", "don't…
git:20260925.b12fce8 · audit A · 107 stars
hulk SKILL.md skill
joetawil7/first-pass · skills/hulk/SKILL.md · Lifts the task's scope for one task. The session, its reviews and fix-the-class then look across the whole codebase and…
git:20261001.a4388fa · audit A · 107 stars
jev SKILL.md skill
joetawil7/first-pass · skills/jev/SKILL.md · Sets up, checks or changes the optional Jev judge, the TypeSafe decision model that ship-check asks about review…
git:20260929.5291e17 · audit A · 107 stars
premortem SKILL.md skill
joetawil7/first-pass · skills/premortem/SKILL.md · Run before writing or changing code for any feature, bug fix or refactor that touches data, jobs, money, outside…
git:20261009.f5bc413 · audit A · 107 stars
quick SKILL.md skill
joetawil7/first-pass · skills/quick/SKILL.md · Quick mode for the rest of the session. Instead of CI's full checks, a change runs only the checks it can affect…
git:20261017.09925bf · audit A · 107 stars
review SKILL.md skill
joetawil7/first-pass · skills/review/SKILL.md · Reviews a change before it is merged, from little or no input. With nothing typed it reviews the branch you are on…
git:20261014.81d2b78 · audit A · 107 stars
setup-first-pass SKILL.md skill
joetawil7/first-pass · skills/setup-first-pass/SKILL.md · Set up first-pass for a main folder that holds many repos, or for one repo. In a main folder it writes one set of…
git:20261014.81d2b78 · audit A · 107 stars
sharpen SKILL.md skill
joetawil7/first-pass · skills/sharpen/SKILL.md · Rewrites the prompt typed after the command before any work starts, then works from the rewrite. Splits a mixed-up…
git:20260925.ec4b0ba · audit A · 107 stars
ship-check SKILL.md skill
joetawil7/first-pass · skills/ship-check/SKILL.md · The definition of done. Run before calling any change done, fixed, verified, ready or shippable, for features and bug…
git:20261017.09925bf · audit A · 107 stars

Every file in joetawil7/first-pass

Browse by kind, by grade A, or by owner.