Mend — Testing skill for Claude Code
Fix a bug issue with TDD — reproduce with failing test, fix, verify, close.
How to install Mend
Installs to ~/.claude/skills/ppazosp-anvil-mend/SKILL.md
mkdir -p ~/.claude/skills/ppazosp-anvil-mend && curl -fsSL https://raw.githubusercontent.com/ppazosp/anvil/HEAD/commands/mend.md -o ~/.claude/skills/ppazosp-anvil-mend/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Mend does
description: Fix a bug issue with TDD — reproduce with failing test, fix, verify, close argument-hint: Issue ID (e.g. P1-001, 003)
Mend
Bug-fix workflow driven by an issue .md file. Reproduces the bug with a failing test first, then fixes it.
**Issue ID:** $ARGUMENTS
Phase 0: Load Issue & Context
**Goal:** Get full bug context, check blockers, signal work has started
**Actions:**
- If
$ARGUMENTSis empty, ask the user for the issue ID - Find the issue file: glob for `
Alternatives in Testing
- Fix Issue — by metabase - Addresses GitHub issues by taking issue number as parameter, analyzing context, implementing sol 46.5k ★
- TDD Diagnostics.V1 — Follow strict TDD stages 272 ★
- Test Driven Development.SKILL — Enforces TDD discipline with RED-GREEN-REFACTOR cycle 262 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Fix Bug
Test-driven bug fixing — reproduce with a failing test, fix via parallel agents, then pick the best solution.
Reproduce My Bug
Agent skill: no fix without a failing reproduction — evidence sweep, ranked hypotheses, minimal failing test,
Root Cause Fix
Root-cause-first TDD loop for any bug or data fix. Forces a failing reproduction test BEFORE touching producti
Reproduce
Prompt — reproduce a bug as a failing test
Fixissue
End-to-end issue resolution - fetch, branch, fix, test, commit, PR, close
04 Fix
Rapid bug fix workflow - auto-plan, execute, test, and close simple fixes in one command
Related Agents
Bug Triager
Read-only triage of ONE issue — reproduce, classify severity, locate the root cause via codebase-memory MCP, a
Bug Fix
Use when diagnosing and fixing a bug. Chains reproduce → isolate → hypothesize → fix → verify → learn with hum
Agent Test Driven Development Agent
Strict TDD implementation agent. Triggers on 'implement', 'write code for', 'add feature', 'fix bug', or any r