go-local-health

Run local health checks in Go repositories that contain go.mod/go.sum, performing local tests, coverage, and code checks. Intended for running or parsing local Go test/coverage/code-check workflows using tools such as lazygotest, gocovsh, tparse, and golangci-lint. Not applicable to Rust or non-Go projects.

Last repository push
GitHub Stars
141
Forks
17
Issues / PRs
0

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "go-local-health" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-3f437f77421d94077bca55870deca0526176dfe4667cf08406006b361aae3b5c. Verify the upstream source and version against https://github.com/instructa/agent-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Run local health checks in Go repositories that contain go.mod/go.sum, performing local tests, coverage, and code checks. Intended for running or parsing local Go test/coverage/code-check workflows using tools such as lazygotest, gocovsh, tparse, and golangci-lint. Not applicable to Rust or non-Go projects.

0 Downloads

Introduction source: third_party · instructa · 0.0.1 Reference

SkillPi interpretation

Tasks
Run local Go health checks (tests, coverage, lint) in Go repositories that contain go.mod/go.sum. Use when the user asks to run or interpret local Go test/coverage/lint workflows using tools like lazygotest, gocovsh, tparse, and golangci-lint. Do not use for Rust or non-Go projects.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: go-local-health
description: Run local Go health checks (tests, coverage, lint) in Go repositories that contain go.mod/go.sum. Use when the user asks to run or interpret local Go test/coverage/lint workflows using tools like lazygotest, gocovsh, tparse, and golangci-lint. Do not use for Rust or non-Go projects.

Go Local Health

Overview

Provide a consistent, repeatable local workflow for Go test, coverage, and lint checks. Use this to run fast snapshots, interactive test loops, and coverage inspection without re-deriving commands.

Guardrails (language + tooling)

  • Confirm go.mod exists in the repo root before running anything. If missing, stop and ask.
  • Run commands from the repo root so module settings and tooling config are discovered.
  • Respect the repo’s Go toolchain configuration (go.mod + toolchain).
  • Prefer repo-pinned tool versions (e.g., tools.go or go.mod tool directives). If tools are missing and no pins exist, ask before installing or adding pins.
  • Required tools vary by mode:
    • Quick Snapshot: go, tparse, golangci-lint
    • Interactive Test Loop: lazygotest
    • Coverage Explorer: gocovsh If any required tool is missing, ask to install rather than using substitutes.
  • All automated runs must be non-interactive. Only launch TUIs when the user explicitly requests them.

Workflow Decision Tree

  • Use Quick Snapshot when you want a fast read on tests + coverage + lint.
  • Use Interactive Test Loop when you are actively iterating on tests.
  • Use Coverage Explorer when you need to inspect coverage hotspots in detail.
  • If the repo is large, ask whether to scope to a package path before running full ./....

Quick Snapshot (tests + coverage + lint)

Preferred (scripted, deterministic):

~/.codex/skills/go-local-health/scripts/go-local-health --scope ./...

Manual fallback:

  1. Run tests with coverage and a one-screen summary:
go test -cover -json ./... | tparse
  1. Run lint with the repo’s configuration:
golangci-lint run ./...

If a narrower scope is requested, replace ./... with the specific package path.

Interactive Test Loop (lazygotest)

  • Launch from the repo root:
lazygotest
  • Use the UI to filter packages and re-run tests while editing code.

Coverage Explorer (gocovsh)

  • Launch from the repo root:
gocovsh
  • If a cover.out is required or preferred, generate it first:
go test -coverprofile=cover.out ./...

Reporting Back to the User

  • Summarize failing packages, error types, and coverage gaps.
  • If lint fails, report the top categories (not every line) and ask whether to fix now.
  • If coverage is low, identify the worst packages and suggest next steps only if asked.

Non-Goals

  • Do not run in non-Go repos.
  • Do not swap in other tools or skip required checks.
  • Do not change CI configuration or code unless the user asks.

Version history

  1. v1.0.0 GitHub ↗
    Original release notes

    First Agent Plugins v1 release of `regenrek.agentic-engineer-core`. - portable root `plugin.json` - six fully validated Agent Skills - provider compilation verified for Codex, Claude Code, and Cursor - no legacy `.plugin/plugin.json` or `x-agentrig` metadata Bundle SHA-256: `eae83ad0d813ec89bf4e2bb0128c8e7cb09c888e54d1ef661bd184147b884664`

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Highlights

  • 针对 Go 开发者提供本地健康检查工作流,解决测试、覆盖率、代码检查的常见需求
  • 具有明确的技术场景和实用价值,属于开发者日常高频需求
Trigger Precision92/100

Highlights

  • 触发词精准完整,覆盖多种变体,边界清晰
  • 明确排除非 Go 项目,避免误触
Structure and Standards95/100

Highlights

  • Phase/步骤清晰,有出口条件,含端到端示例
  • frontmatter完整,单文件≤500行
Execution Reliability90/100

Highlights

  • 工具来源明确,参数正确,覆盖主要异常
  • 不可逆操作有确认机制
Evidence Verifiability (mean of the first four)89/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.