test-fix SKILL.md skillA

test-fix from drobins25/craft is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add drobins25/craft/test-fix@v1.2.0

Pins v1.2.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
drobins25/craft
Path
skills/test-fix/SKILL.md
Versions recorded
2
Latest version
v1.2.0, committed Jul 16, 2026
First version recorded
May 1, 2026
Size
8,561 bytes
Repository stars
70
License
MIT

This skill should be used when validate-chunk reports test failures specifically, when the user says "tests are failing", "figure out what's wrong with the tests", "fix the failing tests", or when test assertions don't match expected output after chunk implementation. Triages whether the test or the implementation is wrong and fixes the correct one.

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

# Test Fix Skill

You are the **test triage specialist** — when a test fails after chunk implementation, you determine which side is wrong: the test or the code. Tests break for two very different reasons, and they need opposite fixes.

## When This Activates

- validate-chunk reported **test failures** (not type/lint/build errors)
- A test assertion doesn't match expected output
- Tests that passed before the chunk now fail

## Orchestrator Context

The orchestrator may pass enriched args with labeled fields. Parse these to start triage faster:

- `CHUNK:` "N/total: chunk title" — identifies the chunk
- `CHUNK_GOAL:` what the chunk was supposed to build — key for intent determination
- `FAILING_TESTS:` test file names + error summary — start from these instead of re-running
- `ERRORS:` error output — skip straight to triage with this output
- `FILES_CHANGED:` comma-separated paths — know what the chunk touched

**Fallback:** Args may be just a file path. Gather context from the story file and test output directly.

## Triage Philosophy

**Understand intent before touching anything:**
- The chunk changed something on purpose
- The test might be asserting the OLD behavior
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add drobins25/craft/test-fix@sha256:a340f9a713ea543b

The line at the top of this page pins the label v1.2.0, 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_4bqflmbqltajvfmg.svg)](https://markdownregistry.com/a/art_4bqflmbqltajvfmg)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between May 1, 2026 and Jul 16, 2026, about one every 76 days.

versioncommittedcommitsizeaudit
v1.2.0 latest2026-07-16 c148399 8,561 BA view · diff
v1.2.02026-05-01 efbc71a 8,555 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 (8561 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

drobins25/craft · 70 stars · license MIT · pushed 2026-11-01 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_4bqflmbqltajvfmg
GET https://markdownregistry.com/api/v1/resolve?ref=drobins25/craft/test-fix
GET https://markdownregistry.com/api/v1/blob/a340f9a713ea543be807c1933205bcc6224e7a2aa017c5b3e3439f971e8f73e1

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 drobins25/craft

CLAUDE.md CLAUDE.md file
drobins25/craft · CLAUDE.md
git:20261019.7a57c10 · audit A · 70 stars
DESIGN.md DESIGN.md file
drobins25/craft · DESIGN.md
git:20261022.9f00b66 · audit A · 70 stars
adhoc SKILL.md skill
drobins25/craft · skills/adhoc/SKILL.md · Adhoc workflow for small targeted changes to existing behavior or appearance, without the full story ceremony. Use when…
git:20261003.000b0eb · audit A · 70 stars
approve SKILL.md skill
drobins25/craft · skills/approve/SKILL.md · Request write permission from the user before making file changes. MUST be invoked before any write attempt when the…
git:20260731.218cf50 · audit A · 70 stars
browser SKILL.md skill
drobins25/craft · skills/browser/SKILL.md · Interactive browser automation via playwright-cli. Use when you need to navigate a site, click elements, fill forms…
git:20260804.f8ad7bc · audit A · 70 stars
content-spark SKILL.md skill
drobins25/craft · skills/content-spark/SKILL.md · This skill should be used when a story has been captured but content direction is unresolved - the spark describes WHAT…
v1.2.0 · audit A · 70 stars
creative-spark SKILL.md skill
drobins25/craft · skills/creative-spark/SKILL.md · This skill should be used when the user asks to "brainstorm", "explore options", "get creative", "what if we...", or…
v1.5.0 · audit A · 70 stars
design-vibe SKILL.md skill
drobins25/craft · skills/design-vibe/SKILL.md · Use this skill when the user wants to discover, define, or refine their product's aesthetic identity. Triggers on "what…
v2.0.0 · audit A · 70 stars
lock-decision SKILL.md skill
drobins25/craft · skills/lock-decision/SKILL.md · This skill should be used when the user says "lock it", "go with that", "approved", "that's the standard", or…
v1.2.0 · audit A · 70 stars
plan-chunks SKILL.md skill
drobins25/craft · skills/plan-chunks/SKILL.md · This skill should be used when the user asks to "plan chunks", "break this down", "plan the implementation", or when a…
v3.0.0 · audit A · 70 stars
refine-chunk SKILL.md skill
drobins25/craft · skills/refine-chunk/SKILL.md · This skill should be used when validate-chunk reports errors or failures, when the user asks to "fix these errors"…
v1.2.0 · audit A · 70 stars
validate-chunk SKILL.md skill
drobins25/craft · skills/validate-chunk/SKILL.md · Enforcement layer for chunk and story validation. Invokes the chunk-validator agent (haiku), enforces the verdict…
v4.0.0 · audit A · 70 stars

Every file in drobins25/craft

Other files named test-fix

test-fix SKILL.md skill
jerseycheese/agent-skills · skills/test-fix/SKILL.md · Automatically invoke when any test run produces failures: FAIL output, test errors, or assertion failures in unit or…
git:20261026.2f17d5b · audit A · 4 stars

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