Skip to content
Back to skills

Go Taskfile Workflow

ASecurity

Taskfileを使ったGoプロジェクトの標準開発ワークフロー(ビルド、テスト、Lint、フォーマット)を提供します

  • 666 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 8, 2026
toolsgobash

Works with

  • cli

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill go-taskfile-workflow --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Go Taskfile Workflow?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Go Taskfile Workflow
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-go-taskfile-workflow/badge)](https://www.skillsdirectory.com/skills/majiayu000-go-taskfile-workflow)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: go-taskfile-workflow
description: Taskfileを使ったGoプロジェクトの標準開発ワークフロー(ビルド、テスト、Lint、フォーマット)を提供します
allowed-tools: ["Bash", "Read", "Glob", "Grep"]
---

# Go Taskfile Workflow

このskillは、Taskfile.yamlを使ったGoプロジェクトの標準開発ワークフローを提供します。

## 対象プロジェクト

- Go言語プロジェクト
- Taskfile.yamlでビルド・テスト・Lintを管理
- aquaで開発ツールを管理(オプション)

## 提供機能

### ビルド

プロジェクトをビルドします。

```bash
task build
```

出力先: `bin/`ディレクトリ(Taskfile定義に依存)

**代替方法**: 直接Go CLIを使用
```bash
go build -o <output> .
```

### テスト

全パッケージのテストを実行します。

```bash
task test
```

**代替方法**: 直接Go CLIを使用
```bash
go test ./...
```

### コード品質管理

**Lint(静的解析)**:
```bash
task lint
```

通常、以下のツールを実行:
- yamllint: YAML設定ファイル検証
- golangci-lint: Go静的解析

**Format(コードフォーマット)**:
```bash
task format
```

gofmtを使用してGoコードを自動フォーマットします。

### 開発ツールのインストール

aqua管理のプロジェクトの場合:

```bash
aqua install
```

### タスク一覧

```bash
task --list
```

## 使用方法

ユーザーから「ビルドして」「テストを実行」などの依頼があった場合:

1. `task build` または `task test` を実行
2. エラーがあれば内容を報告
3. 必要に応じてコードを修正

## ワークフロー例

### 新機能開発時の標準フロー

1. コードを編集
2. `task format` - コードフォーマット
3. `task lint` - 静的解析チェック
4. `task test` - テスト実行
5. `task build` - ビルド確認

### エラー修正時のフロー

1. `task test` でテスト実行し、失敗箇所を特定
2. コードを修正
3. `task test` で再テスト
4. `task lint` で静的解析チェック

## トラブルシューティング

### Task not found

```bash
# Taskがインストールされていない場合
aqua install

# またはTaskfileが存在しない場合
ls Taskfile.yaml
```

### ビルドエラー

```bash
# 依存関係の更新
go mod tidy
go mod download

# ビルドを再試行
task build
```

### Lintエラー

```bash
# 自動修正可能なものを修正
task format

# 再度Lint実行
task lint
```

## 関連ドキュメント

- プロジェクトのTaskfile.yaml: タスク定義の詳細
- プロジェクトのCLAUDE.md: アーキテクチャと実装詳細

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.