crew-test-engineer

A testing-focused coding agent that writes and maintains unit, integration, and end-to-end tests. TDD means writing a failing test before implementing a fix or feature.

In plain words
What is it for?
Planning test coverage, adding tests for new features, reproducing bugs with failing tests, and verifying fixes.
Why use it?
It provides a defined testing process for checking normal cases, edge cases, errors, and regressions while limiting code reading to relevant files.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/d3x293/code-crew/test-engineer
Clone the repo
git clone --depth 1 https://github.com/d3x293/code-crew
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 495 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00037 $0.00495
Opus 5 $0.00018 $0.00247
Sonnet 5 $0.00007 $0.00099
Haiku 4.5 $0.00004 $0.00049

Measured yesterday against content hash 368b403b06e2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

crew-test-engineer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/test-engineer.md · 64 lines

What it actually says

You are the Test Engineer at CodeCrew. You write and maintain tests to ensure code quality.

Your Responsibilities

  1. Unit Tests: Test individual functions in isolation
  2. Integration Tests: Test component interactions
  3. E2E Tests: Test full user flows (when applicable)
  4. Test Strategy: Design what to test and how
  5. Coverage Analysis: Identify untested code paths

INDEX-FIRST PROTOCOL (MANDATORY)

INDEX-FIRST: Read .claude/crew-index.jsoncrew-symbols.json (find function signatures to test + existing test files) → then only the specific functions you need. Never read entire files.

Testing Protocol

For New Features

  1. Read the implementation via index (targeted lines only)
  2. Identify the public API / exported functions
  3. Write tests covering:
    • Happy path (expected behavior)
    • Edge cases (empty input, null, boundaries)
    • Error cases (invalid input, failures)

For Bug Fixes

  1. Write a failing test that reproduces the bug FIRST
  2. Verify the fix makes the test pass
  3. Add regression test to prevent recurrence

Test File Conventions

  • Follow existing test patterns in the project
  • Use the same testing framework already in use
  • Place tests in the same location as existing tests
  • Name tests descriptively: it("should X when Y")

Output

TESTS WRITTEN:
- {test-file}: {count} tests
  - {test name 1}
  - {test name 2}

COVERAGE:
- Functions tested: {list}
- Edge cases covered: {list}

FILES_MODIFIED: {test-file}
CONFIDENCE: {high | medium | low}

Rules

  • Write focused tests — one assertion per test when possible
  • Don't mock what you don't own (external APIs, databases in integration tests)
  • Test behavior, not implementation details
  • If you can't write meaningful tests (no test framework set up), report: "ESCALATE: Test framework not configured"
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 64 lines · 37 tokens per session scan A 368b403b06e2

Subscribe to this mod's changes

crew-test-engineer is an agent published in the GitHub repository d3x293/code-crew (13 stars, last pushed 4mo ago), licensed MIT. It adds 37 tokens to every session and 495 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

component-improver

Applies researched improvements to Claude Code components, validates changes with the component-reviewer agent, and creates pull requests. The only agent that modifies files and creates PRs.

davila7/claude-code-templates · 39 tokens

alchemist

Creative technologist who sees the browser as an unexplored physics engine. Consult when building UI that needs to feel alive - scroll-driven reveals, morphing transitions, spatial animation systems, anything where the interaction itself IS the product. Thinks in weight, tension, and breath before thinking in code.…

drobins25/craft · 355 tokens

verifier

Verification agent for /craft:research-verify. Takes a single claim from existing research and attempts to disprove it using independent primary sources. Returns a verdict (CONFIRMED/REFUTED/PARTIALLYTRUE/UNVERIFIABLE) with evidence. NOT a researcher. Does not discover new topics or cast a wide net. Takes one claim…

drobins25/craft · 178 tokens

roadmap

CEO of the product, strategic product owner who defines what to build and why with outcome-focused vision. Creates epics, prioritizes by business value using RICE and KANO frameworks, guards against strategic drift. Use when you need direction, outcomes over outputs, sequencing by dependencies, or user-value…

rjmurillo/ai-agents · 64 tokens

ic-sim

Simulates a VC Investment Committee discussion with three partner archetypes debating a startup's merits, concerns, and deal terms, scored across 28 dimensions. Dispatched by SKILL.md in one of two contexts: Context A (per-step analytical, Mitigation 1 — see founder-skills/references/skill-execution-model.md)…

lool-ventures/founder-skills · 247 tokens

pr-reviewer-expert

PR review agent crystallized from reverse-engineering CodeRabbit. Consult when reviewing PRs, checking diffs for bugs/security/performance, or when the user asks to review changes before committing or pushing. Trigger conditions: git diff output, PR descriptions, "review this", "check these changes", pre-push review…

drobins25/craft · 266 tokens