원클릭으로
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