Skip to content
Agent Orchestration
Command

/trex.verify

Run all static analysis checks: go vet, format verification, and linting.

BOOST
From plugin
platform
13111 skills6 agents11 commands3 MCP
Install
$ npx -y skills add ambient-code/platform --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/trex.verify

Context preview

What this command does when you run it.

Run all static analysis checks: go vet, format verification, and linting.

Command definition

trex.verify.md

Verify Code Quality

Run all static analysis checks: go vet, format verification, and linting.

Instructions

Step 1: Run Verification

make verify

This runs:

  • `go vet ./cmd/... ./pkg/... ./test/...` — checks for suspicious constructs
  • `gofmt` formatting check — warns if any files are not properly formatted

Step 2: Run Linter

make lint

This runs `golangci-lint` against the codebase (ignores `unused` warnings).

Step 3: Fix Issues

  • **Formatting issues**: Run `gofmt -w .` to auto-fix
  • **Vet errors**: These indicate real bugs (unreachable code, incorrect printf args, etc.) — fix manually
  • **Lint warnings**: Address based on severity; some may be intentional

Step 4: Build Confirmation

make binary

When to Run This

  • Before committing changes
  • After generating a new Kind
  • As part of a CI-like local check before pushing
  • When the user asks to "clean up" or "check the code"
Ships withplatform

Kubernetes-native AI automation platform for intelligent agentic sessions

Get the whole plugin

Other commands on platform.