service-structure

Community

Understand dual-binary microservice architecture.

Authorvesviet
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill clarifies the standard dual-binary architecture (main service and worker) used in microservices, helping developers understand where to place different types of logic and how services are deployed.

Core Features & Use Cases

  • Architecture Explanation: Details the purpose and separation of concerns between the main service (API requests) and the worker service (background tasks).
  • Directory Structure: Provides a clear visual breakdown of the project's directory layout for both binaries.
  • Deployment Guidance: Explains how the main and worker services are deployed separately in Kubernetes using the same Docker image.
  • Use Case: When starting a new microservice, use this Skill to ensure you correctly set up the main API binary and the background worker binary, placing event consumers, cron jobs, and outbox processors in the appropriate worker components.

Quick Start

Explain the dual-binary architecture for a microservice, detailing the main service and worker components.

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: service-structure
Download link: https://github.com/vesviet/microservices-agent-skills/archive/main.zip#service-structure

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.