Skip to content
cccskills
FreePublished on GitHub

go-backend-workflow

Go バックエンド開発ワークフロー全体のガイド。「Go」「バックエンド」「API サーバー」「golang」などのキーワードで自動適用。ビルド・テストはサブエージェント、品質・メンテナンスはスキルを推奨。

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md3.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Go バックエンド開発ワークフロー(v2.0)

Go バックエンドプロジェクトのビルド・テスト・品質管理を統合管理するオーケストレーター。

エージェント(重い処理はサブエージェントで実行)

エージェント用途使いどころ
go-build-runnerバイナリビルド「ビルドして」「コンパイルして」
go-test-runnerテスト実行「テストして」「テスト走らせて」

原則: ビルド・テストは必ずサブエージェントで実行。メインコンテキストにログを流さない。

スキル(品質・開発・メンテナンス)

スキル用途使いどころ
go-quality静的解析 + Swagger 生成「lint して」「Swagger 生成」
go-dev-server開発サーバー起動「サーバー起動」「go run」
go-maintenance依存整理・キャッシュクリア「go mod tidy」「キャッシュクリア」

推奨ワークフロー

コード変更
    ↓
go-build-runner(ビルド)
    ↓ 成功
go-test-runner(テスト)
    ↓ 全テストパス
go-quality(品質チェック)
    ↓ 問題なし
コミット・PR

プロジェクト検出順序

  1. 環境変数 GO_BACKEND_DIR(go.mod の存在を確認)
  2. カレントディレクトリの go.mod
  3. サブディレクトリ(backend/, server/, api/, go/)
  4. 再帰検索(深さ2まで)

環境変数

変数説明デフォルト
GO_BACKEND_DIRバックエンドディレクトリ自動検出
GO_MAIN_PATHmain.go のパスcmd/server/main.go
GO_BIN_NAME出力バイナリ名server

よくあるエラーと対処

go mod tidy が必要

go: modules disabled by GO111MODULE=off

対処:

export GO111MODULE=on
go mod tidy

golangci-lint が見つからない

golangci-lint: command not found

対処:

brew install golangci-lint
# または
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest

swag が見つからない

swag: command not found

対処:

go install github.com/swaggo/swag/cmd/swag@latest

テストカバレッジ

カバレッジ付きテストの実行:

go test -cover -coverprofile=coverage.out ./...
go tool cover -html=coverage.out -o coverage.html
open coverage.html

Lint 設定

プロジェクトルートに .golangci.yml を配置することでLintルールをカスタマイズ可能。

推奨設定例:

linters:
  enable:
    - errcheck
    - gosimple
    - govet
    - ineffassign
    - staticcheck
    - unused

linters-settings:
  errcheck:
    check-type-assertions: true

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

CHANGELOG エントリ追加・バージョン計算。「CHANGELOG」「変更履歴」「changelog add」「version bump」「バージョン」「バージョンアップ」などのキーワードで自動適用。

The English summary is being prepared. Showing the original description.

no-problem-dev/claude-code-plugins5Updated Mar 15, 2026

プロジェクトの .claude/ ディレクトリ(skills, agents, contexts)を Codex CLI 互換 .agents/ に変換。「codex export」「Codex 変換」「プロジェクトをエクスポート」などで自動適用。

The English summary is being prepared. Showing the original description.

no-problem-dev/claude-code-plugins5Updated Mar 15, 2026

デザインシステム準拠のSwiftUIコンポーネントを生成する。新しいUIパーツの作成、コンポーネント生成時に使用。「コンポーネント作成」「新しいUI」「パーツ作成」「component generate」「UIパーツ」「新規コンポーネント」などのキーワードで自動適用。

The English summary is being prepared. Showing the original description.

no-problem-dev/claude-code-plugins5Updated Mar 15, 2026

Claude Code プラグインを Codex CLI 互換形式に変換。SKILL.md → .agents/skills/、agents → .agents/skills/、AGENTS.md 生成。「deploy」「codex」「Codex 変換」「エクスポート」などで自動適用。

The English summary is being prepared. Showing the original description.

no-problem-dev/claude-code-plugins5Updated Mar 15, 2026

SwiftUI ViewのDesign System準拠性を監査する。既存UIのレビュー、デザインチェック時に使用。「デザインレビュー」「UIチェック」「design audit」「デザイン監査」「UI監査」「デザインチェック」「トークン確認」などのキーワードで自動適用。

The English summary is being prepared. Showing the original description.

no-problem-dev/claude-code-plugins5Updated Mar 15, 2026

UIの視覚的差分を検出・比較する。デザイン変更前後の比較、リファレンスとの差分確認時に使用。「デザイン比較」「UI差分」「design diff」「design compare」「ビフォーアフター」「見た目の違い」などのキーワードで自動適用。

The English summary is being prepared. Showing the original description.

no-problem-dev/claude-code-plugins5Updated Mar 15, 2026

See all skills by no-problem-dev

Report a problem with this skill