Adding a Functional Endpoint

Official

Automate endpoint creation for microservices.

Authormicrobus-io
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Creating or modifying a functional endpoint of a microservice often requires manual boilerplate generation, correct Go signatures, and consistent testing scaffolds. This Skill automates the end-to-end process by guiding the user through signature-driven boilerplate creation and integration steps.

Core Features & Use Cases

  • Define in service.yaml: Add or update a functional endpoint's signature, description, and HTTP method as part of the service's API surface.
  • Generate Boilerplate Code: Produce the initial Go handler or RPC function, along with interface stubs and test scaffolds.
  • Move Implementation & Test: Relocate implementation when renaming functions and align associated tests.
  • Document & Version: Create documentation and trigger code versioning to keep the microservice evolvable.

Quick Start

Use the add-function skill to create a new endpoint MyNewFunction(primitiveParam string, customParam CustomType) (result string) by defining the signature in service.yaml, then run go generate to generate boilerplate and implement business logic.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Adding a Functional Endpoint
Download link: https://github.com/microbus-io/fabric/archive/main.zip#adding-a-functional-endpoint

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.