Claude Code plugin with a test-generate command plus test automator and debugger subagents for Python and JavaScript unit tests.
How it works
Foe: Flaky Wisp, a failing or flaky test.
Foes
- Flaky WispHaze Poison Ward Insight Flicker Pinned Enraged
Party · Context
- SentinelYour agent100/100Haze Poison Ward Insight Flicker Pinned Enraged
- DebuggerSubagent0/40Haze Poison Ward Insight Flicker Pinned Enraged
The Flaky Wisp blocks the way.
What really happensIt stands for a failing or flaky test.
Sentinel: Context 100/100.
The Flaky Wisp uses Flicker.
What really happensA flaky test passes on one run and fails on the next.
Sentinel takes 8. Sentinel: Context 92/100.
The hero raises the Unit Testing relic over untested code.
What really happensYou run /unit-testing:test-generate and describe the code or module to cover.
Flaky Wisp takes 29.
It counts the open flanks the wisp could slip through.
What really happensThe command looks for untested functions and classes and picks pytest for Python or Jest for JavaScript and TypeScript.
Flaky Wisp takes 24.
The Flaky Wisp uses Flicker.
Sentinel takes 8. Sentinel: Context 84/100.
Wards rise around each path: mocks, edge cases, clear checks.
What really happensIt writes tests with mocked dependencies, edge cases and assertions, then reports coverage gaps.
Flaky Wisp takes 36.
When a test turns red, the debugger ally hunts the cause.
What really happensThe unit-testing-debugger agent captures the error, reproduces it, isolates the failure, makes a minimal fix and checks it.
Debugger: Context 40/40.
The summons work the problem, each in its own context.
What really happensEach subagent does its own model and tool work, apart from the main conversation.
Flaky Wisp takes 11. Flaky Wisp falls.
Debugger returns with a short report.
What really happensOnly the subagent's final summary comes back to the main agent.
Sentinel takes 2. Sentinel: Context 82/100. Sentinel: Insight. Debugger returns.
The Flaky Wisp falls.
Learn this spell
Claude Code
/plugin marketplace add wshobson/agents
/plugin install unit-testing@claude-code-workflowsNotes
/unit-testing:test-generate writes pytest, Jest or React component tests with mocks and edge cases, then checks coverage gaps. The unit-testing-debugger agent captures the error, reproduces it, isolates the failure and makes a minimal fix. The test-automator agent's prompt is broad and names cloud and browser tools, so point it at local runners. No hooks or MCP, so trials equip it as is. It has no skills, so the native Codex install adds nothing from it.
This spell has no recorded sessions in the curator's logs. Tried it? Send a spell report.

