[CC]
← Back to templates
🧪

Test & Bug Fix Kit

Generate tests, find coverage gaps, diagnose bugs, and verify fixes — one kit

6 agents6 skillstoolkitsolo developerv1.0

Two battle-tested pipelines in one package. The test generation team writes comprehensive tests, finds coverage gaps, and hardens test quality. The bug fix team diagnoses root causes, applies targeted patches, and verifies nothing regressed.

What's Included

  • Test Writer agent — unit, integration, and edge case test generation
  • Coverage Analyst agent — gap analysis, uncovered path detection
  • Test Reviewer agent — quality improvement, flaky test detection, assertion strength
  • Diagnostician agent — stack traces, error analysis, root cause identification
  • Fixer agent — minimal targeted patches, safe refactoring
  • Verifier agent — regression checks, edge case testing, fix validation
  • 6 Skills — /write-tests, /coverage, /improve-tests, /bug-fix, /diagnose, /verify-fix

How It Works

Two independent pipelines that complement each other. Use /write-tests to generate tests for untested code, /coverage to find gaps, and /improve-tests to harden quality. When something breaks, /bug-fix runs the full diagnose-fix-verify cycle automatically, or use /diagnose and /verify-fix individually for more control.

Best For

Teams who need better test coverage and a structured approach to debugging. Works with any codebase and test framework.

How the team works together

Like a QA lab paired with a medical team: test writers create tests, a coverage analyst finds gaps, and when bugs appear, a diagnostician traces the cause while a fixer patches it.

Agent architecture
Test pipeline
Test Writer
sonnet
Coverage Analyst
haiku
Test Reviewer
sonnet
Bug fix pipeline
Diagnostician
sonnet
Fixer
sonnet
Verifier
haiku
1
Test WriterGenerates unit, integration, and edge case tests
2
Coverage AnalystFinds untested paths and coverage gaps
3
Test ReviewerImproves quality, catches flaky tests
4
DiagnosticianTraces root cause from symptoms
5
FixerApplies minimal targeted patch
6
VerifierConfirms fix and checks for regressions

Workflow examples

Type a command in Claude Code and the agents handle the rest.

/write-tests "src/lib/auth.ts"

Full test pipeline — generate tests, analyze coverage, review quality

1.Test Writer generates tests following best practices for your framework
2.Coverage Analyst identifies remaining gaps and uncovered branches
3.Test Reviewer strengthens assertions and removes flaky patterns
/bug-fix "Login fails with special characters"

Full bug fix pipeline — diagnose, fix, and verify in one pass

1.Diagnostician analyzes the error, traces code paths, identifies root cause
2.Fixer applies the smallest safe change to resolve the issue
3.Verifier runs targeted checks and confirms no regressions
/diagnose "Memory usage grows over time"

Diagnosis only — understand the problem before deciding on a fix

1.Diagnostician analyzes symptoms and traces through the codebase
2.Produces a root cause report with suggested fix approaches

Use /write-tests for test generation, /coverage for gap analysis, /improve-tests for quality. Use /bug-fix for the full fix pipeline, or /diagnose and /verify-fix individually.

Included Files
📄

.claude/agents/test-writer.md

Test generation specialist

📄

.claude/agents/coverage-analyst.md

Coverage gap analysis

📄

.claude/agents/test-reviewer.md

Test quality reviewer

📄

.claude/agents/diagnostician.md

Root cause analysis

📄

.claude/agents/fixer.md

Targeted bug fixing

📄

.claude/agents/verifier.md

Fix verification & regression check

📄

.claude/skills/write-tests/SKILL.md

Full test generation pipeline

📄

.claude/skills/coverage/SKILL.md

Coverage gap analysis

📄

.claude/skills/improve-tests/SKILL.md

Test quality improvement

📄

.claude/skills/bug-fix/SKILL.md

Full bug fix pipeline

📄

.claude/skills/diagnose/SKILL.md

Diagnosis only

📄

.claude/skills/verify-fix/SKILL.md

Verification only

📄

CLAUDE.md

Project reference template

📄

ORCHESTRATION_HELPER.md

Setup & customization guide

📄

README.txt

Quick start & hidden folder instructions

3-step setup

1
Download & unzip
2
Copy .claude/ into your project
3
Open Claude Code — auto-discovered
$9

One-time purchase

🔒 Secure checkout·Instant delivery

What's inside

  • 6 expert agents + 6 skills
  • 15 files — ready to use
  • Setup guide included
  • Unlimited projects, no per-seat fees
View changelog (v1.0) →
$9
Test & Bug Fix Kit