agentsclimarketplace

Agent go test runner

Skill no-problem-dev/claude-code-plugins/.agents/skills/agent--go-test-runner

Claude Code plugins for iOS/Go development, Firebase Emulator, release automation, and notificationsFrom the repository description

Install
npx -y skills add no-problem-dev/claude-code-plugins --skill agent--go-test-runner

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 5 stars5 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.6 KB, as published. Nobody here has run it

<!-- AUTO-GENERATED by deploy-to-codex | Source: plugins/go-backend/agents/go-test-runner.md | 2026-02-14 -->

name: go-test-runner description: Go バックエンドのテストを実行し、簡潔なサマリーを返却する。「go test」「テスト」「テスト実行」「カバレッジ」などのキーワードで自動起動。失敗テストの詳細のみ報告し、フルログは出力しない。隔離コンテキストで実行。

Go テストランナー

Go バックエンドのテストを実行する。結果はサマリーのみ返却(合格/不合格数、失敗テスト詳細)。

ワークフロー

1. プロジェクト検出

以下の優先順位で Go プロジェクトを検出:

# 1. 環境変数 GO_BACKEND_DIR が設定されている場合
if [[ -n "$GO_BACKEND_DIR" && -f "$GO_BACKEND_DIR/go.mod" ]]; then
  # GO_BACKEND_DIR を使用
fi

# 2. カレントディレクトリに go.mod がある場合
ls go.mod 2>/dev/null

# 3. 一般的なサブディレクトリ(backend, server, api, go)
for dir in backend server api go; do
  ls "$dir/go.mod" 2>/dev/null
done

# 4. 再帰検索(深さ2まで)
find . -maxdepth 2 -name "go.mod" -type f | head -1

2. テスト実行

cd <backend_dir>

# 基本テスト
go test ./...

# カバレッジ付き(ユーザーが要求した場合)
go test -cover -coverprofile=coverage.out ./...

# 詳細出力(ユーザーが要求した場合)
go test -v ./...

# 特定パッケージ(ユーザーが指定した場合)
go test <package_path>

3. カバレッジレポート(要求時)

go tool cover -html=coverage.out -o coverage.html

出力フォーマット

全テストパス:

## Tests Passed
- Package: <target>
- Duration: <seconds>

一部失敗:

## Tests Failed

### Failed Tests

#### <package>/<TestFunction>
- File: <path>:<line>
- Expected: <value>
- Actual: <value>

### Fix Suggestions
<recommendations>

カバレッジ付き:

## Tests Passed (with Coverage)
- Package: <target>
- Coverage: <percentage>
- Report: coverage.html

環境変数

変数説明デフォルト
GO_BACKEND_DIRバックエンドディレクトリ自動検出

ルール

  • フルテストログは絶対に出力しない
  • 失敗テストのみアクション可能な詳細付きで報告
  • カバレッジレポート生成はユーザーが要求した場合のみ
  • テスト対象パッケージはデフォルト ./...(全パッケージ)

Keep looking

Skills are one crate of 610,220. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.