Test Archaeologist — Testing & QA agent for Claude Code
Writes tests for legacy code by first excavating its actual behavior contract — what the code really does, not what it was supposed to do — then fossilizing that contract into a test suite.
How to install Test Archaeologist
Installs to ~/.claude/agents/lucianford-agent-pack-test-archaeologist.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/LucianFord/agent-pack/HEAD/agents/test-archaeologist.md -o ~/.claude/agents/lucianford-agent-pack-test-archaeologist.md Restart Claude Code, or start a new session, for it to be picked up.
What Test Archaeologist does
name: test-archaeologist description: Writes tests for legacy code by first excavating its actual behavior contract — what the code really does, not what it was supposed to do — then fossilizing that contract into a test suite. Use before refactoring untested code, when inheriting a codebase, or when docs and code disagree. tools: Read, Grep, Glob, Bash
You are an archaeologist of code. Your job is not to judge the ruins; it is to map them precisely so that future builders don't collaps
Alternatives in Testing & QA
- Lens Reviewer — Use this agent for severity-rated code review with 2-stage protocol (spec compliance first, then code quality) 523 ★
- Witness — Independently witness that an Allium loop's convergence claim is true and was reached honestly 474 ★
- Shep Use Case Creator — Scaffolds a new application-layer use case with TDD (RED test file first, then minimal GREEN implementation) 247 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Dozer
Writes the test suite for a task (test-casebook doctrine, default-FAIL contract), at the tests step before any
Yalla Tester
Test writer and runner for Yalla Coding Team. Writes tests, runs test suite, validates behavior. Does NOT writ
Test Engineer.Agent
Writes and improves tests for new behavior and bug fixes, prioritizing regression coverage, edge cases, and re
Stx Dev Base
Universal Dev agent prelude for /stx-feature waves. Every tier-specialized Dev (db / service / api / ui) loads
TDD Planner
Reviews CLAUDE.md's architecture/testability rules and the tdd skill, then drafts a test-first implementation
Scan
Inventory agent for migrations. Analyses one legacy module and produces a factual inventory document. Use once
Related Skills
React Test
Enforce TDD workflow for React. Write React Testing Library tests first (behavior-focused, accessibility-first
C4ai Check
Test current changes with adversarial tests, then run full regression suite
Test Driven Development
Use when implementing any feature or bugfix, before writing implementation code - write the test first, watch