Builder Write Test — Testing skill for Claude Code
Builder step 2 — write the failing test from the spec before implementing the fix.
How to install Builder Write Test
Installs to ~/.claude/commands/effortlessmetrics-perl-lsp-builder-write-test.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/EffortlessMetrics/perl-lsp/HEAD/.claude/commands/builder-write-test.md -o ~/.claude/commands/effortlessmetrics-perl-lsp-builder-write-test.md Restart Claude Code, or start a new session, for it to be picked up.
What Builder Write Test does
description: Builder step 2 — write the failing test from the spec before implementing the fix user-invocable: false
Builder Write Test
Write the test BEFORE the fix. TDD: red → green → refactor.
Steps
Read the test code from the spec (step 1 output)
Create or open the test file:
- Parser tests:
crates/perl-parser-core/tests/.rs - LSP tests:
crates/perl-lsp-/tests/.rs - Use snake_case file names matching the test subject
- Parser tests:
Alternatives in Testing
- Fix Issue — by metabase - Addresses GitHub issues by taking issue number as parameter, analyzing context, implementing sol 46.5k ★
- Test Fixing — Detect failing tests and propose patches or fixes 475 ★
- TDD Diagnostics.V1 — Follow strict TDD stages 272 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Builder Implement
Builder step 3 — implement the fix described in the spec
Test Driven Development
Use when implementing any feature or bugfix, before writing implementation code - write the test first, watch
Cha Fix
Write the failing test first, then the smallest fix that turns it green. One writer, one defect, one commit.
Root Cause Fix
Root-cause-first TDD loop for any bug or data fix. Forces a failing reproduction test BEFORE touching producti
Builder Read Spec
Builder step 1 — read the spec, then build
Fix Bug
Test-driven bug fixing — reproduce with a failing test, fix via parallel agents, then pick the best solution.
Related Agents
Feos Tester
FEOS S5 test-first agent. Use before implementing a task to write failing tests derived from the story's accep
Agent Test Driven Development Agent
Strict TDD implementation agent. Triggers on 'implement', 'write code for', 'add feature', 'fix bug', or any r
Local Coder
Use for local code generation: implementing a function against a spec or failing test, refactor snippets, boil