EffortlessMetrics

Builder Write Test — Testing skill for Claude Code

Testing community

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

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.

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

  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/.rs
    • LSP tests: crates/perl-lsp-/tests/.rs
    • Use snake_case file names matching the test subject

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 Repository