cmd-entry-point-generator

Community

Auto-generate robust cmd/main.go entry points.

AuthorPremModhaOfficial
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Templates and guidance for generating standardized cmd/{service}/main.go entry points for Go microservices, ensuring consistent wiring of NATS JetStream, a data access layer, in-process L1 cache, OpenTelemetry, graceful shutdown, health checks, and DI wiring.

Core Features & Use Cases

  • Standardized entry points: Provides a production-ready main.go scaffold that wires configuration, logging, tracing, NATS JetStream connections, stream setup, and DI wiring.
  • Cross-service consistency: Ensures uniform startup patterns across services to speed development and reduce integration risk.
  • Use Case: When adding a new microservice, generate a ready-to-customize cmd/main.go template that can be extended with service-specific logic.

Quick Start

Run the generator to produce a new cmd/{service}/main.go scaffold and customize placeholders for your service.

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: cmd-entry-point-generator
Download link: https://github.com/PremModhaOfficial/motadata-ai-pipeline/archive/main.zip#cmd-entry-point-generator

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 471,000+ vetted skills library on demand.