Test This — Testing skill for Claude Code
Generate tests for a specific file matching project patterns.
How to install Test This
Installs to ~/.claude/commands/mike-byrne-ai-espalier-harness-test-this.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/Mike-Byrne-AI/espalier-harness/HEAD/.claude/commands/test-this.md -o ~/.claude/commands/mike-byrne-ai-espalier-harness-test-this.md Restart Claude Code, or start a new session, for it to be picked up.
What Test This does
Generate tests for a specific file matching project patterns. Delegates to the test-writer agent for orthogonal-context generation.
The user will specify a file path.
Identify the target file and confirm it exists. If the user did not name a file, ask which one.
Dispatch the **test-writer** subagent (`subagent_type='test-writer'`). Brief it on:
- The target file path.
- The project's fixture conventions (tmp_path, subprocess stdin mocking).
- Test file naming (`tests/test_{m
Alternatives in Testing
- Fix Issue — by metabase - Addresses GitHub issues by taking issue number as parameter, analyzing context, implementing sol 46.5k ★
- Agent Skills Spec — A skill is a folder of instructions, scripts, and resources that agents can discover and load dynamically to p 1.9k ★
- Test Optimization Patterns — テスト実行速度を改善するためのリファクタリングパターンとベストプラクティス集 974 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Zoom Out
Step back from a specific file or function and explain it in the context of the larger system — direct callers
E2e Test Writer
Write end-to-end tests using Playwright or Cypress
Module Test
Run tests for a specific module or all module-related tests
Validate Module
Run complete two-agent validation on module+tests (contract extraction + test validation). Binary pass/fail wi
Lecture Mastery Tester
Interactive, conversational mastery test for a specific lecture. Tests whether the student has truly learned t
TDD Workflow
Test-Driven Development workflow and patterns. Use when following TDD methodology or writing tests before impl
Related Agents
Cocotb Reviewer
cocotb testbench quality reviewer. Reviews Python test code quality, stimulus generation, assertion patterns,
Go Test Writer Assistant
Write comprehensive Go tests using Ginkgo/Gomega following project patterns. Generates test suites, uses Count
Askit File Search
Locates specific files, symbols, or text patterns and reports the matching paths and lines. Use when delegatin