test-runner
Installation
SKILL.md
Test Runner
When to Use
- Validate changes with unit/integration tests or triage failing test runs.
Rules
- Use
source setTestEnv.shwhen environment variables are required. - Focus on the first actionable failure line and include package + test name.
- Prefer targeted test runs (
-run) over full-suite when iterating.
Commands
- Full suite (with test env):
source setTestEnv.sh && go test -v -cover ./... - Single package:
source setTestEnv.sh && go test -v -cover ./lib/... - Single test:
source setTestEnv.sh && go test -v -run TestHashPass ./lib/...
Output
- Result: pass or fail.
- Failures: package, test name, first actionable error lines.
- Next: 1-3 focused suggestions (narrow test, inspect file, add mock).
Related Skills
logs-repro-harness,linter-runner,db-infra-mocks
Related skills
More from pilinux/gorest
file-reader
Precisely read source files or snippets and return concise, citation-backed facts needed for decisions or edits.
27code-navigation
Rapid, focused navigation to locate definitions/usages and map the impact of proposed changes.
7fix-suggester
Diagnose failures and propose minimal, test-backed fixes with verification and rollback instructions.
7build-run
Build and run the project locally to reproduce compile/runtime issues in a safe, non-production way.
7logs-repro-harness
Reduce flaky or environment-dependent failures to a minimal, reproducible script and capture the exact logs and error lines.
7ci-orchestrator
Run a CI-like pipeline locally (format, lint, vet, static-analysis, tests) and summarize per-step results with remediation guidance.
6