dograd007

Scaffold Tests — Testing skill for Claude Code

Testing community

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

Terminal
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 Repository