Install
$ agentstack add skill-brsbl-ottonomous-test ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
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 |
Run Mode
1. Detect Tools
| 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 |
2. Setup (if missing)
# 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
3. Run Pipeline
# 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.
Write Mode
1. Get Changed Files
git diff main...HEAD --name-only # branch scope
git diff --cached --name-only # staged scope
Filter to source files (exclude tests, configs, docs).
2. Launch Test Writers
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")
3. Run Pipeline
Same as Run Mode step 3.
Browser Mode
Visual verification for web apps. The legacy standalone UI automation workflow has been removed; use the host environment's available browser automation tool directly.
- Detect dev server URL from package.json or running processes
- Open the URL, capture an accessibility/DOM snapshot, interact through semantic selectors, and take screenshots
- Screenshots go to
.otto/test-screenshots/ - Cleanup any browser session/tool process and remove
.otto/test-screenshotswhen no longer needed
Electron Mode
Visual 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.
- Detect app type:
engines.vscodein package.json → VS Code extension,electronin dependencies → Electron app - Build first:
npm run compile - Launch with CDP/automation hooks, connect, inspect snapshots/webviews, interact through semantic selectors, and take screenshots
- Screenshots go to
.otto/test-screenshots/ - Cleanup browser/app processes and remove
.otto/test-screenshotswhen no longer needed
All Mode
- Run Mode (lint, type check, test)
- Auto-detect: web → Browser Mode, Electron/VS Code → Electron Mode
- Report results
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: brsbl
- Source: brsbl/ottonomous
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.