Agent skill

Regenerate Boilerplate

by microbus-io in microbus-io/fabric

A skill your agent uses when a microservice's generated files are corrupted, outdated, or need to be rebuilt from scratch.

Apache-2.0Auto-check passedBackend & APIs

Install Regenerate Boilerplate

skills CLI
$ npx skills add microbus-io/fabric --skill regenerate-boilerplate -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install microbus-io/fabric regenerate-boilerplate --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/microbus-io/fabric.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/microbus/regenerate-boilerplate .claude/skills/regenerate-boilerplate && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
regenerate-boilerplate
GitHub stars
172
Token cost
~499 tokens
SKILL.md length
209 words
Files
1
Skills in repo
32
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses when a microservice's generated files are corrupted, outdated, or need to be rebuilt from scratch.

  • Works in 3 steps: Read Local CLAUDE.md File → Regenerate the Boilerplate → Vet and Test
  • A microservices generated files are corrupted
  • Calls go
  • Need to be rebuilt from scratch

What it does

Regenerate Boilerplate is an agent skill from microbus-io/fabric. Use when a microservice's generated files are corrupted, outdated, or need to be rebuilt from scratch.

Its SKILL.md is about 500 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs, covering Project scaffolding and Microservices. The repository describes itself as: Microbus is the only fabric where every agentic workflow runs on a true microservice substrate - giving your workflows security, scale, observability, and prompt-driven authoring. The licence is Apache-2.0.

When your agent uses it

  • A microservices generated files are corrupted
  • Need to be rebuilt from scratch

Example prompts

  • “/regenerate-boilerplate”

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Read Local CLAUDE.md File
  2. Regenerate the Boilerplate
  3. Vet and Test

What it can do on your machine

Read from SKILL.md and the folder at commit fb98098. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • go

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Regenerate Boilerplate loads about 499 tokens when it runs. Until then it costs about 31 tokens; SKILL.md has 209 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~31
When it runs · the whole SKILL.md, loaded when a task matches
~499

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from microbus-io/fabric at commit fb98098, republished under its Apache-2.0 licence (© microbus-io). 209 words, ~499 tokens.

Download SKILL.mdSave it as .claude/skills/regenerate-boilerplate/SKILL.md (or your agent's skills folder).
name
regenerate-boilerplate
description
Use when a microservice's generated files are corrupted, outdated, or need to be rebuilt from scratch.

CRITICAL: Read and analyze this microservice before starting. Do NOT explore or analyze other microservices. The instructions in this skill are self-contained to this microservice.

The generated boilerplate is a pure projection of myserviceapi/definition.go. Rebuilding it is a single deterministic command - there is nothing to reconstruct by hand. The hand-written source (definition.go, sibling type files, service.go, service_test.go, resources/embed.go) is the source of truth and is never overwritten.

Workflow

Copy this checklist and track your progress:

Regenerating boilerplate:
- [ ] Step 1: Read local CLAUDE.md file
- [ ] Step 2: Regenerate the boilerplate
- [ ] Step 3: Vet and test
Step 1: Read Local CLAUDE.md File

Read the local CLAUDE.md file in the microservice's directory. It contains microservice-specific instructions that should take precedence over global instructions.

Confirm the hand-written source is intact: myserviceapi/definition.go (the spec), service.go (the handlers), and resources/embed.go. If resources/embed.go is missing, recreate it per the add-microservice skill. If definition.go itself is corrupted or missing, this skill cannot help - the boilerplate is derived from it, not the other way around.

Step 2: Regenerate the Boilerplate

From the microservice's directory, run the generator. It overwrites myserviceapi/client.go, intermediate.go, mock.go, mock_test.go, and manifest.yaml from definition.go, regardless of their prior state.

shell
go run github.com/microbus-io/fabric/cmd/genservice .
Step 3: Vet and Test

Run go vet ./... from the project root to verify the microservice compiles, then go test ./... (or the microservice's own package) to verify its tests pass. Fix any issues before finishing.

© microbus-io, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/microbus/regenerate-boilerplate of microbus-io/fabric.

Open the folder on GitHubat commit fb98098

Compare with similar skills

Regenerate Boilerplate next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Regenerate Boilerplate compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Regenerate Boilerplate this skillmicrobus-io/fabric172—~499Automated safety check: PassApache-2.0
Create ServiceTheDecipherist/claude-code-mastery-project-starter-kit338—~1.8kAutomated safety check: NotesMIT
Rtvi Cv Scaffold Vss ServiceNVIDIA/skills3.6k—~4.5kAutomated safety check: PassProprietary
Senior Javabenchflow-ai/skillsbench1.8k—~5kAutomated safety check: PassMIT
Scaffolding Fastapi Dapraiskillstore/marketplace433—~2.2kAutomated safety check: PassNone
Spring Boot Project Creatorgiuseppe-trisciuoglio/developer-kit357—~3.4kAutomated safety check: NotesMIT

Similar skills

  • Create Service

    TheDecipherist/claude-code-mastery-project-starter-kit

    Scaffold a new microservice that follows the project's server/handlers/adapters architecture.

    338 GitHub stars~1.8k tokensUpdated 3 mo ago
    Backend & APIsAuto-check: notes
  • Official

    Scaffold a standalone RTVI CV microservice that plugs into VSS Search and Alerts profiles via Kafka mdx-raw.

    3.6k GitHub stars~4.5k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Senior Java

    benchflow-ai/skillsbench

    World-class Java and Spring Boot development skill for enterprise applications, microservices, and cloud-native systems.

    1.8k GitHub stars~5k tokensUpdated 2 mo ago
    Backend & APIsAuto-check passed
  • Scaffolding Fastapi Dapr

    aiskillstore/marketplace

    Build production-grade FastAPI backends with SQLModel, Dapr integration, and JWT authentication.

    433 GitHub stars~2.2k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Spring Boot Project Creator

    giuseppe-trisciuoglio/developer-kit

    Creates and scaffolds a new Spring Boot project (3.x or 4.x) by downloading from Spring Initializr, generating package structure (DDD or Layered architecture), configuring JPA, SpringDoc OpenAPI…

    357 GitHub stars~3.4k tokensUpdated 1 mo ago
    Backend & APIsAuto-check: notes
  • Modular Design Principles

    tech-leads-club/agent-skills

    Technology-agnostic guidance for modular systems: bounded contexts, clear boundaries, composability, state isolation, explicit contracts, failure containment, scaffolding workflows, split/merge…

    7k GitHub stars~3.1k tokensUpdated 2 days ago
    DevelopmentAuto-check passed

More from microbus-io/fabric

All 32 skills in this repo
  • Add Config

    microbus-io/fabric

    TRIGGER when user asks to add or modify a configuration property or setting, or to make a value configurable.

    172 GitHub stars~2.3k tokensUpdated 13 days ago
    Auto-check passed
  • Add Function

    microbus-io/fabric

    TRIGGER when user asks to add, create, or modify an API endpoint, function, or RPC, or a route that accepts typed arguments and returns typed results.

    172 GitHub stars~2.4k tokensUpdated 13 days ago
    Auto-check passed
  • Add Inbound Event

    microbus-io/fabric

    TRIGGER when user asks to listen for, subscribe to, or handle an event emitted by another microservice.

    172 GitHub stars~1.4k tokensUpdated 13 days ago
    Auto-check passed
  • Add Metric

    microbus-io/fabric

    TRIGGER when user asks to add or modify a metric, counter, gauge, or histogram, or to track/measure an operation.

    172 GitHub stars~1.5k tokensUpdated 13 days ago
    Auto-check passed
  • Add Outbound Event

    microbus-io/fabric

    TRIGGER when user asks to fire, emit, or publish an event that other microservices can subscribe to.

    172 GitHub stars~1.7k tokensUpdated 13 days ago
    Auto-check passed
  • Add Python Function

    microbus-io/fabric

    TRIGGER when user asks to add a Python-backed function endpoint to an existing Python-backed microservice.

    172 GitHub stars~1.3k tokensUpdated 13 days ago
    Auto-check passed

Categories

Questions about Regenerate Boilerplate

What does Regenerate Boilerplate do?

A skill your agent uses when a microservice's generated files are corrupted, outdated, or need to be rebuilt from scratch. Regenerate Boilerplate is an agent skill from microbus-io/fabric. Use when a microservice's generated files are corrupted, outdated, or need to be rebuilt from scratch.

When should I use Regenerate Boilerplate?

Regenerate Boilerplate fits situations like: A microservices generated files are corrupted; need to be rebuilt from scratch.

How do I install Regenerate Boilerplate in Claude Code?

Run `npx skills add microbus-io/fabric --skill regenerate-boilerplate -a claude-code`. Or copy the skill folder (.claude/skills/microbus/regenerate-boilerplate in microbus-io/fabric) into .claude/skills/regenerate-boilerplate in your project. Claude Code loads it when a task matches its description.

How do I install Regenerate Boilerplate in Codex?

Run `npx skills add microbus-io/fabric --skill regenerate-boilerplate -a codex`. Or copy the skill folder (.claude/skills/microbus/regenerate-boilerplate in microbus-io/fabric) into .agents/skills/regenerate-boilerplate in your project. Codex loads it when a task matches its description.

Can I use Regenerate Boilerplate in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add microbus-io/fabric --skill regenerate-boilerplate -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/regenerate-boilerplate, .gemini/skills/regenerate-boilerplate, .github/skills/regenerate-boilerplate and .opencode/skills/regenerate-boilerplate in your project.

What does Regenerate Boilerplate need to run?

Going by SKILL.md and its folder, Regenerate Boilerplate needs the command-line tools its instructions call (go).

Does Regenerate Boilerplate access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Regenerate Boilerplate safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Regenerate Boilerplate use?

Regenerate Boilerplate is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Regenerate Boilerplate use?

About 499 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Regenerate Boilerplate?

Skills that share tags, products or a category with Regenerate Boilerplate: Create Service (TheDecipherist/claude-code-mastery-project-starter-kit, 338 stars), Rtvi Cv Scaffold Vss Service (NVIDIA/skills, 3.6k stars), Senior Java (benchflow-ai/skillsbench, 1.8k stars) and Scaffolding Fastapi Dapr (aiskillstore/marketplace, 433 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Regenerate Boilerplate?

microbus-io (a GitHub organization) maintains it in microbus-io/fabric, which has 172 GitHub stars. The repository holds 32 skills in this directory. The repository was last updated on September 28, 2026.

Source: microbus-io/fabric on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.