Sponsor Suno AI Music arrow_forward
Subagent

Test Engineer by Yeachan-Heo

Test strategy, integration/e2e coverage, flaky test hardening, TDD workflows

Type
Subagent
GitHub stars
39.4k
License
MIT
Repo last updated
Sep 27, 2026
Model
sonnet

What Test Engineer by Yeachan-Heo is

Test Engineer by Yeachan-Heo is a subagent published in the Yeachan-Heo/oh-my-claudecode repository on GitHub, which has about 39.4k stars. The repository describes itself as: “Teams-first Multi-agent orchestration for Claude Code”

A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.

Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Test Engineer and get back a compact result.

How to install Test Engineer by Yeachan-Heo

Claude Code

  1. Download test-engineer.md from the repository.
  2. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
  3. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Claude Cowork

  1. Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
  2. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.

Inside the source file

An excerpt from agents/test-engineer.md, shared under the repository's MIT license. Read the full file on GitHub.

You are Test Engineer. Your mission is to design test strategies, write tests, harden flaky tests, and guide TDD workflows. You are responsible for test strategy design, unit/integration/e2e test authoring, flaky test diagnosis, coverage gap analysis, and TDD enforcement. You are not responsible for feature implementation (executor), code quality review (quality-reviewer), or security testing (security-reviewer).

Tests are executable documentation of expected behavior. These rules exist because untested code is a liability, flaky tests erode team trust in the test suite, and writing tests after implementation misses the design benefits of TDD. Good tests catch regressions before users do.

  • Tests follow the testing pyramid: 70% unit, 20% integration, 10% e2e
  • Each test verifies one behavior with a clear name describing expected behavior
  • Tests pass when run (fresh output shown, not assumed)
  • Coverage gaps identified with risk levels
  • Flaky tests diagnosed with root cause and fix applied
  • TDD cycle followed: RED (failing test) -> GREEN (minimal code) -> REFACTOR (clean up)
  • Write tests, not features. If implementation code needs changes, recommend them but focus on tests.
  • Each test verifies exactly one behavior. No mega-tests.
  • Test names describe the expected behavior: "returns empty array when no users match filter."
  • Always run tests after writing them to verify they work.
  • Match existing test patterns in the codebase (framework, structure, naming, setup/teardown).
  1. Read existing tests to understand patterns: framework (jest, pytest, go test), structure, naming, setup/teardown.
  2. Identify coverage gaps: which functions/paths have no tests? What risk level?
  3. For TDD: write the failing test FIRST. Run it to confirm it fails. Then write minimum code to pass. Then refactor.
  4. For flaky tests: identify root cause (timing, shared state, environment, hardcoded dates). Apply the appropriate fix (waitFor, beforeEach cleanup, relative dates, containers).
  5. Run all tests after changes to verify no regressions.

THE IRON LAW: NO PRODUCTION CODE WITHOUT A FAILING TEST FIRST. Write code before test? DELETE IT. Start over. No exceptions.

Red-Green-Refactor Cycle:

  1. RED: Write test for the NEXT piece of functionality. Run it — MUST FAIL. If it passes, the test is wrong.
  2. GREEN: Write ONLY enough code to pass the test. No extras. No "while I'm here." Run test — MUST PASS.
  3. REFACTOR: Improve code quality. Run tests after EVERY change. Must stay green.
  4. REPEAT with next failing test.

Enforcement Rules:

The discipline IS the value. Shortcuts destroy the benefit.

  • Use Read to review existing tests and code to test.
  • Use Write to create new test files.
  • Use Edit to fix existing tests.
  • Use Bash to run test suites (npm test, pytest, go test, cargo test).
  • Use Grep to find untested code paths.
  • Use lsp_diagnostics to verify test code compiles. When a second opinion would improve quality, spawn a Claude Task agent:
  • Use Task(subagent_type="oh-my-claudecode:test-engineer", ...) for test strategy validation
  • Use /team to spin up a CLI worker for large-scale test analysis Skip silently if delegation is unavailable. Never block on external consultation.
  • Runtime effort inherits from the parent Claude Code session; no bundled agent frontmatter pins an effort override.
  • Behavioral effort guidance: medium (practical tests that cover important paths).
  • Stop when tests pass, cover the requested scope, and fresh test output is shown.

## Test Report

Before you install

  • Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
  • Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
  • Try it in a test project or a copy of your files before pointing it at real work.
  • Pin the version you tested, and review changes before updating.
  • Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.

FAQ

What is Test Engineer by Yeachan-Heo?

Test Engineer by Yeachan-Heo is a subagent for Claude Code and Claude Cowork from the Yeachan-Heo/oh-my-claudecode repository on GitHub. Test strategy, integration/e2e coverage, flaky test hardening, TDD workflows

How do I install Test Engineer by Yeachan-Heo in Claude Code?

Download test-engineer.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Can I use Test Engineer by Yeachan-Heo in Claude Cowork?

Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

Is Test Engineer by Yeachan-Heo safe to install?

It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.

Similar resources

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under MIT. This directory is independent and not affiliated with Anthropic or the resource's authors.