Builder Write Test banner
EffortlessMetrics EffortlessMetrics

Builder Write Test

Testing community

Description

--- 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 1. Read the test code from the spec (step 1 output) 2. Create or open the test file: - Parser tests: `crates/perl-parser-core/tests/<descriptive_name>.rs` - LSP tests: `crates/perl-lsp-<provider>/tests/<name>.rs` - Use snake_case file names matching the test subject 3.

Installation

Installs to ~/.claude/commands/effortlessmetrics-perl-lsp-builder-write-test.md

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

Full documentation available on GitHub

View Source Repository