skills/smithery.ai/go-project-main

go-project-main

Installation
SKILL.md

Main Entry Point

⚠️ CRITICAL: File Separation

DO NOT put server code in main.go!

cmd/server/main.go should ONLY contain:

  • Cobra CLI setup
  • Profile creation/validation
  • Signal handling
  • Call to server.NewServer() and server.Start()

All server logic belongs in server/server.go (see go-project-server).

File Structure

cmd/server/
└── main.go              # ONLY CLI entry point, 50-100 lines max
Installs
1
First Seen
Apr 10, 2026
go-project-main from smithery.ai