This file is byte-identical to the first copy the registry indexed, one of 3 indexed copies. Same content hash, so the same checks give both the same grade.
mkl-write-regression from 00200200/maintainer-skills-lab is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
Write a focused regression test from an established bug reproduction and public behavior. Use when a fix needs a test that fails on the affected version; avoid mirroring the implementation or weakening assertions.
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
# Write a regression test
Read the reproduction, expected public behavior, and nearby test conventions. Derive the assertion from the behavior a caller needs, not from the proposed implementation.
Write the smallest test that captures the defect. Use deterministic inputs and existing project dependencies where practical. Do not mock away the faulty path. Place supporting fixtures beside the test and explain any environment requirements.
Run the test against the affected implementation before accepting it as a regression test. Use concise output flags (`pytest -q --tb=short -x`, or `python3 tools/test_fast.py`; unittest: `-q -f`) so failures stay readable instead of dumping full local-variable tracebacks. Inspect why it failed: an assertion about the reported behavior is evidence; an import error, collection failure, permission problem, or timeout is not the intended proof. Keep the test unchanged when evaluating the fix.
If the fix is already present, use an isolated checkout or an equivalent preserved baseline to test the pre-fix version. Preserve the user's current checkout and uncommitted work. Do not revert their working tree merely to get a red test.
…
The line at the top of this page pins the label git:20260930.0130a77, 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.
GET https://markdownregistry.com/api/v1/artifacts/art_nskstxtuxilkultq
GET https://markdownregistry.com/api/v1/resolve?ref=00200200/maintainer-skills-lab/mkl-write-regression
GET https://markdownregistry.com/api/v1/blob/117e37820fac511e8894b53f5e7c05b33542433ae4ba5191d20495c61d6a7a69
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.
00200200/maintainer-skills-lab · providers/claude/.claude/skills/mkl-architect-editor/SKILL.md · Two-model pipeline routing high-level design to an Architect model, and mechanical search/replace edits to an Editor…
00200200/maintainer-skills-lab · providers/claude/.claude/skills/mkl-bisect-regression/SKILL.md · Pinpoint regressions using automated git bisect test scripts with zero prompt token waste.
00200200/maintainer-skills-lab · providers/claude/.claude/skills/mkl-bump-version/SKILL.md · Evaluate conventional commits since latest tag, determine next SemVer, and surgically update version files.
00200200/maintainer-skills-lab · providers/claude/.claude/skills/mkl-humanize/SKILL.md · Edit stiff or AI-sounding prose into natural writing while preserving meaning, facts, citations, and the author's point…
00200200/maintainer-skills-lab · providers/cursor/.cursor/skills/mkl-write-regression/SKILL.md · Write a focused regression test from an established bug reproduction and public behavior. Use when a fix needs a test…
00200200/maintainer-skills-lab · providers/opencode/.opencode/skills/mkl-write-regression/SKILL.md · Write a focused regression test from an established bug reproduction and public behavior. Use when a fix needs a test…
00200200/maintainer-skills-lab · providers/claude/.claude/skills/mkl-write-regression/SKILL.md · Write a focused regression test from an established bug reproduction and public behavior. Use when a fix needs a test…
00200200/maintainer-skills-lab · skills/mkl-write-regression/SKILL.md · Write a focused regression test from an established bug reproduction and public behavior. Use when a fix needs a test…
00200200/maintainer-skills-lab · providers/codex/.agents/skills/mkl-write-regression/SKILL.md · Write a focused regression test from an established bug reproduction and public behavior. Use when a fix needs a test…
00200200/maintainer-skills-lab · providers/gemini/.gemini/antigravity/skills/mkl-write-regression/SKILL.md · Write a focused regression test from an established bug reproduction and public behavior. Use when a fix needs a test…