Help us improve
Share bugs, ideas, or general feedback.
From go-backend
Go 開発サーバーの起動・管理。「go run」「サーバー起動」「開発サーバー」「API サーバー」「ローカルサーバー」などのキーワードで自動適用。
npx claudepluginhub no-problem-dev/claude-code-plugins --plugin go-backendHow this skill is triggered — by the user, by Claude, or both
Slash command
/go-backend:go-dev-serverThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Go バックエンドの開発サーバーを起動・管理する。
Provides idiomatic Go patterns for backend APIs with Gin, Echo, Fiber: standard project structure, custom error handling, handler dependency injection, concurrency best practices.
Provides Go backend patterns for HTTP services (net/http, Chi/Gin/Echo, middleware), concurrency (goroutines, channels, errgroup), database access (sqlx, pgx), and project structure. Detects stack from go.mod.
Manages Go modules and dependencies: initializes projects, edits go.mod/go.sum, handles versioning/conflicts, sets up workspaces, troubleshoots errors.
Share bugs, ideas, or general feedback.
Go バックエンドの開発サーバーを起動・管理する。
以下の優先順位で Go プロジェクトを検出:
GO_BACKEND_DIR(go.mod の存在を確認)go.modbackend/, server/, api/, go/)cd <backend_dir>
# main.go の検出
# GO_MAIN_PATH > cmd/server/main.go > cmd/api/main.go > cmd/main.go > main.go
MAIN_PATH="${GO_MAIN_PATH:-}"
if [[ -z "$MAIN_PATH" ]]; then
for p in cmd/server/main.go cmd/api/main.go cmd/main.go main.go; do
[[ -f "$p" ]] && MAIN_PATH="$p" && break
done
fi
# 開発サーバー起動(フォアグラウンド)
go run "$MAIN_PATH"
| 変数 | 説明 | デフォルト |
|---|---|---|
GO_BACKEND_DIR | バックエンドディレクトリ | 自動検出 |
GO_MAIN_PATH | main.go のパス | cmd/server/main.go |
go run はフォアグラウンドで実行される(ブロッキング)