Use when writing tests for tools, the executor, Artifact Hub client, or Bleve index. Covers unit tests with mocked executor, integration tests with build tags, e2e tests against live clusters, and table-driven patterns.
Use when working with the Artifact Hub API client, adding new API endpoints, fixing HTTP requests, or debugging values/schema lookups for Helm charts.
Use when writing code that shells out to external CLIs (k3d, kubectl, kustomize, tilt, helm). Shows the correct way to use the executor package, handle errors, parse output, and set timeouts.
Use when defining or registering MCP tools with the Go SDK. Shows how to define tool schemas using Go structs, register handlers, and wire tool groups into the server.