buf-regen — regenerate Go code from protobuf buf-regen, specgraph, community, regenerate Go code from protobuf, ide skills, buf-regen install, protobuf to Go code generation, Go code regeneration from protobuf definitions, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for Go Development Agents needing automated protobuf code regeneration and validation. buf-regen is a tool that regenerates Go code from protobuf definitions, using commands like buf lint and buf generate to validate and generate code.

Features

Runs buf lint to validate proto files
Executes buf generate to regenerate Go code in gen/
Updates dependencies using go mod tidy
Verifies generated code compiles with go build ./gen/...
Reports any errors encountered during the process

# Core Topics

seanb4t seanb4t
[0]
[0]
Updated: 3/8/2026

Agent Capability Analysis

The buf-regen skill by seanb4t is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for regenerate Go code from protobuf, buf-regen install, protobuf to Go code generation.

Ideal Agent Persona

Perfect for Go Development Agents needing automated protobuf code regeneration and validation.

Core Value

Empowers agents to regenerate Go code from protobuf definitions using buf, enabling automated validation and compilation with buf lint and go build, while updating dependencies with go mod tidy.

Capabilities Granted for buf-regen

Regenerating Go code after proto file changes
Validating protobuf definitions with buf lint
Compiling generated Go code with go build

! Prerequisites & Limits

  • Requires buf and Go installed
  • Limited to Go and protobuf
  • Needs access to proto files in proto/specgraph/v1/
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

buf-regen

Learn how to use buf-regen to regenerate Go code from protobuf definitions. Follow our step-by-step guide to get started today!

SKILL.md
Readonly

buf-regen

Regenerate Go code from protobuf definitions.

When to use

After any change to files in proto/specgraph/v1/*.proto.

Steps

  1. Run buf lint to validate proto files
  2. Run buf generate to regenerate Go code in gen/
  3. Run go mod tidy to update dependencies
  4. Run go build ./gen/... to verify generated code compiles
  5. Report any errors

Notes

  • Generated files go to gen/specgraph/v1/ (protobuf) and gen/specgraph/v1/specgraphv1connect/ (ConnectRPC)
  • Never hand-edit files in gen/ — they are overwritten by buf generate
  • buf STANDARD lint requires unique response type names per RPC (wrap with GetXxxResponse, UpdateXxxResponse)

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is buf-regen?

Perfect for Go Development Agents needing automated protobuf code regeneration and validation. buf-regen is a tool that regenerates Go code from protobuf definitions, using commands like buf lint and buf generate to validate and generate code.

How do I install buf-regen?

Run the command: npx killer-skills add seanb4t/specgraph/buf-regen. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for buf-regen?

Key use cases include: Regenerating Go code after proto file changes, Validating protobuf definitions with buf lint, Compiling generated Go code with go build.

Which IDEs are compatible with buf-regen?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for buf-regen?

Requires buf and Go installed. Limited to Go and protobuf. Needs access to proto files in proto/specgraph/v1/.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add seanb4t/specgraph/buf-regen. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use buf-regen immediately in the current project.

Related Skills

Looking for an alternative to buf-regen or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI