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
- 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 ★
- Spy — by spylang - Enforces strict coding conventions with comprehensive testing guidelines, multiple code compilati 678 ★
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
Context Pack
Aggregate everything a new (or returning) engineer needs to know about ONE feature/area — spec, plan, ADRs, in
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
Related Agents
Cocotb Reviewer
cocotb testbench quality reviewer. Reviews Python test code quality, stimulus generation, assertion patterns,
Ticket Context Analyzer
Perform targeted LSP analysis on test repositories to extract fresh, contextual patterns for a specific Jira t
Test Writer Pytest
Use when writing new tests or improving coverage for gsc-mcp. Knows the pytest fixtures, Google API mocking pa