golang-development:scaffold

golang-development:scaffold is a command for Claude Code from geoffjay/claude-plugins. It costs 29 tokens per session (2,528 once invoked), scanned C, original, MIT.

A command for starting new Go projects with a predefined structure, Go modules, tests, and development automation. Go is a programming language commonly used for services, command-line tools, and libraries.

In plain words
What is it for?
Use it to scaffold an HTTP service, command-line application, library, or microservice, with optional database or gRPC support.
Why use it?
It saves time creating the same folders, configuration, and build setup by hand.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: positional $N argument.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is go build $(LDFLAGS) -o bin/$(APP_NAME) ./cmd/server.

Good fit Use it to scaffold an HTTP service, command-line application, library, or microservice, with optional database or gRPC support.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/geoffjay/claude-plugins
agentmods
npx agentmods add commands/geoffjay/claude-plugins/scaffold

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for golang-development:scaffold

README.md
[![agentmods](https://agentmods.dev/badge/commands/geoffjay/claude-plugins/scaffold/github.svg)](https://agentmods.dev/commands/geoffjay/claude-plugins/scaffold)
Your own site
<a href="https://agentmods.dev/commands/geoffjay/claude-plugins/scaffold"><img src="https://agentmods.dev/badge/commands/geoffjay/claude-plugins/scaffold/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for golang-development:scaffold

Your own site · 80×15
<a href="https://agentmods.dev/commands/geoffjay/claude-plugins/scaffold"><img src="https://agentmods.dev/badge/commands/geoffjay/claude-plugins/scaffold.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,528 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.02528
Opus 5.5 $0.00012 $0.01011
Sonnet 5.5 $0.00006 $0.00506
Haiku 4.5 $0.00003 $0.00253

Measured 3mo ago against content hash 2134b7200af8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

golang-development:scaffold scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf bin/
plugins/golang-development/commands/scaffold.md · 457 lines

How it starts

The opening of the file, as written. The whole thing — 457 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Golang Development Scaffold Command

Create a new Go project with a production-ready structure, modern tooling, and best practices built-in.

Usage

/golang-development:scaffold <project-name> [options]

Arguments

  • $1 - Project name (required, will be used for module name)
  • $2 - Project type: service, cli, library, or microservice (optional, defaults to service)
  • $3 - Additional options as JSON (optional)

Examples

# Create a basic HTTP service
/golang-development:scaffold my-api service

# Create a CLI application
/golang-development:scaffold my-tool cli

# Create a library
/golang-development:scaffold my-lib library

# Create a microservice with full features
/golang-development:scaffold user-service microservice '{"with_grpc": true, "with_db": true}'

Project Structures

Service (HTTP API)

my-api/
├── cmd/
│   └── server/
│       └── main.go
├── internal/
│   ├── handler/
│   │   └── health.go
│   ├── middleware/
│   │   └── logging.go
│   └── service/
│       └── user.go
├── pkg/
│   └── response/
│       └── response.go
├── api/
│   └── openapi.yaml
├── scripts/
│   └── build.sh
├── deployments/
│   ├── Dockerfile
│   └── k8s/
├── go.mod
├── go.sum
├── .gitignore
├── .golangci.yml
├── Makefile
└── README.md

CLI Application

my-tool/
├── cmd/
│   └── my-tool/
│       └── main.go
├── internal/
│   ├── command/
│   │   ├── root.go
│   │   └── serve.go
│   └── config/
│       └── config.go
├── go.mod
├── go.sum
├── .gitignore
├── .golangci.yml
├── Makefile
└── README.md

Library

my-lib/
├── example_test.go
├── lib.go
├── lib_test.go
├── go.mod
├── go.sum
├── .gitignore
├── .golangci.yml
├── LICENSE
└── README.md

Microservice (Full Features)

user-service/
├── cmd/
│   └── server/
│       └── main.go
├── internal/
│   ├── domain/
│   │   └── user.go
│   ├── handler/
│   │   ├── http/
│   │   └── grpc/
│   ├── repository/
│   │   └── postgres/
│   ├── service/
│   │   └── user_service.go
│   └── infrastructure/
│       ├── database/
│       ├── cache/
│       └── messaging/
├── api/
│   ├── http/
│   │   └── openapi.yaml
│   └── grpc/
│       └── user.proto
├── pkg/
│   ├── logger/
│   ├── metrics/
│   └── tracing/
├── migrations/
│   └── 001_create_users.sql
├── deployments/
│   ├── Dockerfile
│   ├── docker-compose.yml
│   └── k8s/
├── scripts/
├── go.mod
├── go.sum
├── .gitignore
├── .golangci.yml
├── Makefile
└── README.md

Read the full file on GitHub · 457 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 457 lines · 29 tokens per session scan C 2134b7200af8

Subscribe to this mod's changes

golang-development:scaffold is a command published in the GitHub repository geoffjay/claude-plugins (8 stars, last pushed 1y ago), licensed MIT. It adds 29 tokens to every session and 2,528 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

golang-development:scaffold compared with commands from other repositories

golang-development:scaffold next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
golang-development:scaffoldgeoffjay/claude-pluginsCommand81y agoMITC29Claude Code
check-goarmanzeroeight/fastagent-pluginsCommand304mo agoMITA16Claude Code
go-testcodelably/harmony-claude-codeCommand449mo agoMITA50Claude Code
trex.verifyopenshift-online/agent-control-planeCommand15yesterdayMITA0Claude Code
gopher-fixcar12o/claude-workflowsCommand29mo agoMITA24Claude Code
go-reviewYaomeng1749/claude-code-digital-nomad-config-packCommand47mo agononeA27Claude Code
go-testraja21068/AutoResearchCommand26mo agoMITA8Claude Code