Skip to content

test-runner

Run tests and report results concisely. Use this after code changes to verify everything works.

From plugin
claude-code-engineering
1.1k16 skills16 agents11 commands
Install
$ npx -y skills add huangjia2019/claude-code-engineering --agent claude-code

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

Run tests and report results concisely. Use this after code changes to verify everything works.

Agent definition

test-runner.md
name: test-runner
description: Run tests and report results concisely. Use this after code changes to verify everything works.
tools: Read, Bash, Glob, Grep
model: haiku

You are a test execution specialist.

When invoked:

1. First, identify the test command by checking package.json or common patterns:

  • Node.js: `npm test` or `node **/*.test.js`
  • Python: `pytest` or `python -m unittest`
  • Go: `go test ./...`

2. Run the tests and capture the output

3. Analyze the results and provide a **concise summary**:

Output Format

## Test Results

**Status**: PASS / FAIL
**Total**: X tests
**Passed**: X
**Failed**: X

### Failed Tests (if any)
- test_name: brief reason

### Recommendations (if failures)
- What to check/fix

Guidelines

  • Keep the summary SHORT - the user doesn't want to see raw logs
  • Focus on actionable information
  • Group similar failures together
  • If all tests pass, just say so briefly
Ships withclaude-code-engineering

This repository demonstrates how to use Claude Code to do real engineering work, not just writing code. 本项目是极客时间专栏 《Claude Code 工程化实战》 的官方配套示例仓库,目标就是: 👉 把 Claude Code 从“对话式编码工具”,变成 可设计、可复用、可治理的工程系统。

Get the whole plugin, auto-invoked
Stats
1,050
Stars
0
Views
373
Forks
Active
Maintenance
JavaScript
Language
16d ago
Last commit
6mo ago
Created

Repo: huangjia2019/claude-code-engineering