ワンクリックで
test-runner
Run Go and frontend tests for kattle project. Use after code changes to verify correctness.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Run Go and frontend tests for kattle project. Use after code changes to verify correctness.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Create a git worktree for a new TASK. Use when starting a new feature, fix, or refactor task that requires isolated development.
Go code quality rules and standards for kattle project. Apply when writing or reviewing Go code.
macOS native memory analysis tools (leaks, heap, vmmap, Instruments). Use for native app memory debugging.
Memory profile snapshot capture and baseline comparison. Use for verification after memory optimization.
Go application memory profiling and analysis. Use when investigating memory leaks or high memory usage.
React/TypeScript code quality rules for kattle frontend. Apply when writing or reviewing frontend code.
| name | test-runner |
| description | Run Go and frontend tests for kattle project. Use after code changes to verify correctness. |
| disable-model-invocation | true |
| user-invocable | true |
| allowed-tools | Bash, Read |
This skill provides commands and workflows for running tests in the kattle project across Go backend and React frontend codebases.
Run backend tests using the Go test runner:
# All tests
go test ./...
# Specific package
go test ./internal/kube/...
# With verbose output
go test -v ./...
# With race detection
go test -race ./...
# With coverage
go test -cover ./...
-v: Verbose output with individual test results-race: Enable race condition detection-cover: Display coverage percentage-timeout: Set timeout (e.g., -timeout 30s)-run: Run specific tests matching pattern (e.g., -run TestName)Run frontend tests using npm in the React project:
# Run all tests (single run)
npm --prefix cmd/gui/frontend run test:run
# Watch mode (re-run on file changes)
npm --prefix cmd/gui/frontend run test
# With coverage report
npm --prefix cmd/gui/frontend run test:run -- --coverage
test: Run tests in watch mode for developmenttest:run: Single test run (useful for CI/CD)coverage/ directoryRun both Go and frontend tests in sequence:
# Quick validation (both suites)
go test ./... && npm --prefix cmd/gui/frontend run test:run
This validates the entire codebase before committing or creating a PR.
After running tests, expect output with:
After making changes: Run targeted tests first
go test ./internal/kube/...
Before committing: Run full test suites
go test ./... && npm --prefix cmd/gui/frontend run test:run
For pull requests: Include coverage results
go test -cover ./...
npm --prefix cmd/gui/frontend run test:run -- --coverage