Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By zircote-pluginsv1.0.2MIT
Automated hook-driven test framework generator for Claude Code projects. Scaffolds complete test infrastructure including commands, hooks, runner scripts, and test definitions into target projects.
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
automation, hooks, claude-code, mcp, functional-testing, integration-testing
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code plugin that automates integration of hook-driven test framework patterns into any project. The plugin scaffolds complete test infrastructure directly into target projects, enabling automated testing of Claude Code plugins, MCP tools, commands, skills, and hooks.
auto-harness is a generator/scaffolding plugin - it doesn't provide test commands itself, but rather generates test infrastructure INTO your project's .claude/ directory. This keeps test configuration project-scoped and portable.
When you run /harness:init, the plugin creates:
your-project/
├── .claude/
│ ├── commands/
│ │ ├── run-tests.md # /run-tests command
│ │ ├── add-test.md # /add-test command
│ │ └── test-report.md # /test-report command
│ ├── hooks/
│ │ ├── hooks.json # UserPromptSubmit hook config
│ │ └── test-wrapper.sh # Hook script for test mode
│ └── test-state.json # Runtime state (gitignored)
└── tests/
└── functional/
├── runner.sh # Core test orchestration
├── tests.yaml # Test definitions (or .json)
└── reports/ # Generated reports
Add to your Claude Code plugins:
# Via marketplace (when published)
claude plugins add auto-harness
# Or local development
claude --plugin-dir /path/to/auto-harness
Initialize test infrastructure in your project:
/harness:init
The setup wizard will guide you through:
Start a test run:
/run-tests
This enters test mode where special commands become active.
Execute tests interactively:
next or n to get the next testvalidate <response> or v <response> to check resultsGenerate a report:
report
| Command | Description |
|---|---|
/harness:init | Initialize test infrastructure in current project |
/harness:validate | Validate existing test setup |
After initialization, your project gets these commands:
| Command | Description |
|---|---|
/run-tests | Start test execution mode |
/add-test | Add a new test interactively |
/test-report | Generate test report |
When test mode is active, these prompts are intercepted:
| Command | Shortcut | Description |
|---|---|---|
next | n | Get next test to execute |
skip | s | Skip current test |
validate <response> | v <response> | Validate Claude's response |
status | - | Show test progress |
report | - | Generate report |
vars | - | Show captured variables |
abort | a | Stop test run |
help | ? | Show available commands |
---
version: "1.0"
description: "My Project Test Suite"
tests:
- id: smoke_basic
description: Basic smoke test
category: smoke
action: >
Confirm the test framework is operational by responding
with 'Test framework operational'
expect:
- contains: "operational"
- not_contains: "error"
tags: [smoke, critical]
- id: mcp_tool_test
description: Test MCP tool functionality
category: mcp-tools
action: "Call mcp__server__tool_name with param: 'test'"
expect:
- contains: "success"
- regex: "result:\\s+(.+)"
save_as: tool_result
tags: [mcp, integration]
- id: dependent_test
description: Test that uses captured variable
category: integration
action: "Process the result: ${tool_result}"
depends_on: mcp_tool_test
expect:
- contains: "processed"
tags: [integration]
JSON format is recommended as it requires no external dependencies (YAML requires PyYAML which may not be available on all systems).
Generated from the plugin's indexed repository (zircote-plugins/auto-harness) — no native marketplace selected
npx claudepluginhub p/zircote-auto-harnessBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground