From Ottonomous
Runs lint, type checking, tests, and visual verification. Auto-detects JS/TS, Python, Rust, and Go tools. Use for test-driven development or CI.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ottonomous:test <run | write | browser | electron | all> [staged | branch]<run | write | browser | electron | all> [staged | branch]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Arguments:** $ARGUMENTS
Arguments: $ARGUMENTS
| Command | Behavior |
|---|---|
run | Lint + type check + run tests |
write | Generate tests, then run pipeline |
browser | Visual verification (web apps) |
electron | Visual verification (Electron/VS Code apps) |
all | run + browser/electron combined |
Scope (optional, default: branch):
| Scope | Command |
|---|---|
branch | git diff main...HEAD --name-only |
staged | git diff --cached --name-only |
| Config | Tool | Command |
|---|---|---|
package.json + vitest | Vitest | npx vitest run |
package.json + jest | Jest | npx jest |
package.json + "test" | npm | npm test |
pyproject.toml | pytest | pytest |
Cargo.toml | cargo | cargo test |
go.mod | go | go test ./... |
.eslintrc* / eslint.config.* | ESLint | npx eslint . |
biome.json | Biome | npx biome check . |
tsconfig.json | TypeScript | npx tsc --noEmit |
# JS/TS test runner
npm install -D vitest
# JS/TS linter
npm install -D eslint @eslint/js
# JS/TS types
npm install -D typescript && npx tsc --init
# Python
pip install pytest ruff mypy
# 1. Lint
npx eslint . --fix # or: npx biome check . --write
# 2. Type check
npx tsc --noEmit # or: mypy .
# 3. Test
npx vitest run # or: pytest, cargo test, go test ./...
Fix errors, re-run until all pass.
git diff main...HEAD --name-only # branch scope
git diff --cached --name-only # staged scope
Filter to source files (exclude tests, configs, docs).
Delegate files to the test-writer subagent (persona in agents/test-writer.md). It determines testability and writes tests.
| Files | Subagents |
|---|---|
| 1-3 | 1 |
| 4-8 | 2-3 |
| 9+ | 3-5 |
spawn subagent(role="test-writer", prompt="Write tests for: [file list]. Runner: vitest. Convention: *.test.ts")
Same as Run Mode step 3.
Visual verification for web apps. The legacy standalone UI automation workflow has been removed; use the host environment's available browser automation tool directly.
.otto/test-screenshots/.otto/test-screenshots when no longer neededVisual verification for Electron/VS Code apps. The legacy standalone UI automation workflow has been removed; use the app's project-specific harness first when available, otherwise use the host environment's available browser automation tool directly.
engines.vscode in package.json → VS Code extension, electron in dependencies → Electron appnpm run compile.otto/test-screenshots/.otto/test-screenshots when no longer needednpx claudepluginhub brsbl/ottonomous --plugin ottonomousOrchestrates test, lint, and quality automation workflows with a decision guide for different change types. Useful for running suites, interpreting CI failures, and ensuring pre-merge confidence.
Verifies code after changes with typecheck, lint, tests, build for Node/TS, Python, Go, Rust projects. Auto-fixes errors, detects secrets, circular deps, deadcode, AI slop.
Runs lint, type-check, tests, and build checks for Node.js/TS, Python, Rust, Go, Java projects to verify code health after changes.