Scaffold Tests — Testing skill for Claude Code
Derive test obligations from a module's AST, then scaffold the suite and sandbox.
How to install Scaffold Tests
Installs to ~/.claude/skills/dograd007-low-level-design-claude-agent-scaffold-tests/SKILL.md
mkdir -p ~/.claude/skills/dograd007-low-level-design-claude-agent-scaffold-tests && curl -fsSL https://raw.githubusercontent.com/dograd007/low-level-design-claude-agent/HEAD/commands/scaffold-tests.md -o ~/.claude/skills/dograd007-low-level-design-claude-agent-scaffold-tests/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Scaffold Tests does
description: Derive test obligations from a module's AST, then scaffold the suite and sandbox argument-hint: ""
Scaffold the tests and sandbox for `$1` **from its abstract syntax tree**, not from reading the file and deciding what looks important.
Why the AST and not your reading
A module's public surface, the exceptions it raises, and the guards that raise them are facts in the syntax tree. Reading the file and listing what seems worth testing produces a plausible lis
Alternatives in Testing
- Module Test — Run tests for a specific module or all module-related tests 407 ★
- Create Seeder — Scaffold a seeder and factory for a module to populate test data 325 ★
- Baro — A CLI that turns a goal into a pull request - and a sandbox for testing concurrent AI coding agents on the Moz 120 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
C4ai Check
Test current changes with adversarial tests, then run full regression suite
Plan Phase
Architecture-first planning for a specific spec phase. Define files, symbols, and code-level interfaces first,
Canary Init
Scaffold a new test suite for a chosen framework using Canary's init tool.
Init Test
Initialize AgenTeX in the current project — scaffold a sample test suite, config/project.json, environments/qc
Validate Module
Run complete two-agent validation on module+tests (contract extraction + test validation). Binary pass/fail wi
Qhandoff
Opus creates plan, scaffold and first test run, Qwen finishes, Opus only checks diff and tests
Related Agents
Planted Error Probe
The ungameable calibration anchor — inject a KNOWN bug into a critical module and confirm the test suite catch
Bugsy Malone
QA for a ticket - writes the acceptance tests before the code (tests-first), then verifies with edge cases, li
Test Archaeologist
Writes tests for legacy code by first excavating its actual behavior contract — what the code really does, not