Mike-Byrne-AI

Test This — Testing skill for Claude Code

Testing community

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

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

  1. Identify the target file and confirm it exists. If the user did not name a file, ask which one.

  2. 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 Repository