gotestsumcigo
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 "gotestsumcigo" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-bf4fcff9e680458916210cfae5edd16b9e2063569d76dd0e95ecf89e2a4107d0. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/summarize-failing-go-test-runs-and-rerun-flakes-before-ci-repair-loops-with-gotestsum before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Use gotestsum to convert noisy go test output into compact failure summaries, JUnit or JSON artifacts, and optionally re-run flaky tests before an agent begins fixing Go code.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Software, accounts and paid services
- gotestsum, Go toolchain
- Testing
- Not tested
Browse files
Frontmatter
name: "使用 gotestsum 在 CI 修复循环中总结失败的 Go 测试运行并重新运行浮动测试"
slug: "summarize-failing-go-test-runs-and-rerun-flakes-before-ci-repair-loops-with-gotestsum"
version: "1.0.0"
displayName: "使用 gotestsum 在 CI 修复循环中总结失败的 Go 测试运行并重新运行浮动测试"
summary: "使用 gotestsum 将嘈杂的 `go test` 输出转换为紧凑的失败摘要、JUnit 或 JSON 构件,并在代理开始修复 Go 代码之前可选地重新运行不稳定的测试。"
license: "MIT"
description: "使用 gotestsum 将嘈杂的 `go test` 输出转换为紧凑的失败摘要、JUnit 或 JSON 构件,并在代理开始修复 Go 代码之前可选地重新运行不稳定的测试。"
github_stars: 2600
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Code Quality & Review"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 2600使用 gotestsum 在 CI 修复循环中总结失败的 Go 测试运行并重新运行浮动测试
Use gotestsum to turn noisy go test output into compact failure summaries, JUnit or JSON artifacts, and optional reruns of flaky tests before an agent starts fixing Go code.
Prerequisites
gotestsum, Go toolchain
Installation
Requirements and caveats from upstream:
- The nerdfonts icons requires a font from Nerd Fonts.
- Note that using --rerun-fails may require the use of other flags, depending on
- moby (aka Docker)
Basic usage or getting-started notes:
-
gotestsum runs tests using go test -json, prints formatted test output, and a summary of the test run.
-
Download a binary from releases, or build from
-
source with go install gotest.tools/gotestsum@latest. To run without installing use
-
Extracted from upstream docs: https://raw.githubusercontent.com/gotestyourself/gotestsum/HEAD/README.md
Documentation
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 有效解决 Go 项目在 CI/CD 流程中测试输出嘈杂、浮动测试难以定位的核心痛点
- 提供失败摘要、JUnit/JSON 构件输出和浮动测试重跑能力,显著提升测试可读性与稳定性
Highlights
- 触发描述清晰完整,覆盖 gotestsum、失败摘要、JUnit、JSON、浮动测试等核心关键词
- 边界定义明确,不易与其他测试相关 Skill 产生混淆
Areas to improve
-
缺少步骤划分 Reported severity: Minor
文档未使用 Phase 或 Step 明确划分执行流程
Recommendation: 建议添加 Step 1/2/3 等步骤划分,提升可读性
-
缺少端到端示例 Reported severity: Minor
仅有基础使用说明,缺乏完整的命令示例和输出展示
Recommendation: 建议添加完整的 gotestsum 使用示例,包括典型命令和预期输出
-
缺少 When to Use 场景说明 Reported severity: Minor
未明确说明适用场景和使用时机
Recommendation: 建议添加 When to Use 章节,说明在何种 CI 场景下使用此 Skill
Highlights
- frontmatter 完整,包含必要元数据
- 文档结构基本清晰,有 prerequisites 和 installation 说明
Areas to improve
-
异常处理覆盖不足 Reported severity: Minor
未说明如何处理安装失败、flag 冲突等常见异常场景
Recommendation: 建议补充常见异常的处理建议,如安装失败时的备选方案
Highlights
- 工具来源明确,提供二进制下载和源码安装两种方式
- 基础使用流程清晰,参数说明基本完整
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.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
- raw.githubusercontent.com
- www.nerdfonts.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
gotestsum, Go toolchain
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.