go-local-health
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "go-local-health":https://skillpi.com/zh/skills/deepskill-3f437f77421d94077bca55870deca0526176dfe4667cf08406006b361aae3b5c。安装前核对上游来源和版本:https://github.com/instructa/agent-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
在包含 go.mod/go.sum 的 Go 仓库中运行本地健康检查,执行本地测试、覆盖率和代码检查。用于运行或解析基于 lazygotest、gocovsh、tparse 和 golangci-lint 等工具的本地 Go 测试/覆盖率/代码检查工作流。不适用于 Rust 或非 Go 项目。
介绍来源: third_party · instructa · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
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.modexists 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.goorgo.modtool 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:
gocovshIf any required tool is missing, ask to install rather than using substitutes.
- Quick Snapshot:
- 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:
- Run tests with coverage and a one-screen summary:
go test -cover -json ./... | tparse
- 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.outis 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.
版本历史
-
v1.0.0
GitHub ↗
原版更新说明
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`
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 针对 Go 开发者提供本地健康检查工作流,解决测试、覆盖率、代码检查的常见需求
- 具有明确的技术场景和实用价值,属于开发者日常高频需求
亮点
- 触发词精准完整,覆盖多种变体,边界清晰
- 明确排除非 Go 项目,避免误触
亮点
- Phase/步骤清晰,有出口条件,含端到端示例
- frontmatter完整,单文件≤500行
亮点
- 工具来源明确,参数正确,覆盖主要异常
- 不可逆操作有确认机制
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。