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.
Proactive validation agent for hook-driven test framework setups. Use PROACTIVELY when the user modifies test infrastructure, adds new hooks, or reports test execution issues. Diagnoses configuration problems and suggests fixes.
Proactive test generation agent for hook-driven test frameworks. Use PROACTIVELY when the user creates new MCP tools, commands, skills, or hooks that should have test coverage. Analyzes component implementations to generate comprehensive test definitions with appropriate expectations.
This skill should be used when the user asks about "how hooks work", "UserPromptSubmit", "hook-driven testing", "test wrapper", "prompt interception", "hook JSON format", "state management", or needs to understand the architecture of hook-driven automated testing.
This skill should be used when the user asks to "write a test", "create test cases", "add test coverage", "define test expectations", "use contains vs regex", "chain dependent tests", or needs guidance on test definition schema, expectation types, variable capture, or test organization best practices.
This skill should be used when the user asks about "test validation", "assertion strategies", "regex vs contains", "handling flaky tests", "validation failures", "expected vs actual", or needs guidance on choosing validation approaches and handling edge cases.
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
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).
npx claudepluginhub zircote-plugins/auto-harnessSignal Intelligence - Comprehensive market research toolkit with report generation, GitHub issue creation, and trend-based analysis using three-valued logic
Multi-agent orchestration for Claude Code. Coordinate teams of agents with shared tasks, messaging, and 7 proven patterns including RLM for large-file analysis beyond context limits.
Software Development Lifecycle standards and requirements for project quality, security, and compliance
Complete lifecycle management for Architectural Decision Records (ADRs): create, update, supersede, search, audit compliance, and export
Comprehensive documentation management: review, create, update, and maintain high-quality documentation with Diataxis framework support
Test framework detection, convention-aware test generation, and changed-file test execution.
TestForge - Master of quality assurance through intelligent test generation. Analyzes code behavior to auto-generate comprehensive tests that catch real bugs, not just boost coverage numbers. Supports Jest, Pytest, Vitest, and more.
Commands for code review, testing, and analysis
Orchestrate complex test workflows with dependencies, parallel execution, and smart test selection
Unit testing with debugging and test automation
Comprehensive Pytest testing framework skills for Python projects with fixtures, plugins, and advanced testing patterns.