go-backend-clean-architecture — Claude Code skill: what it does
go-backend-clean-architecture scaffolds a Go backend in the current folder: Gin, MongoDB, JWT auth and Clean Architecture layers, from clone to first run.
no license 105 installs ★ 18 updated 2026-06-16
npx skills add rebyteai-template/rebyte-skills --skill go-backend-clean-architecture -a claude-codeWhat go-backend-clean-architecture does
The skill walks an agent through bootstrapping a Go service from the go-backend-clean-architecture template: it pulls the repository into the working directory, downloads the Go modules and points out where the MongoDB connection and JWT secret go.
A non-empty folder is handled by cloning into _temp_template first and moving the files across. Build with go build -o app ./cmd/main.go, run with go run ./cmd/main.go.
Go 1.21+ and a reachable MongoDB are needed before anything compiles. Docker support is there too, though the container path stays optional.
What it helps with
- stand up a Gin service without wiring the boilerplate by hand
- add MongoDB storage and JWT auth to a fresh Go project
- start from a Clean Architecture layout instead of one flat file
- get from an empty repo to a running server
Example prompts for the agent
- Scaffold the go-backend-clean-architecture template in this folder and pull the modules
- Wire up the MongoDB connection string and JWT secret in the environment
- Build the app with
go build -o app ./cmd/main.goand start it
How to install go-backend-clean-architecture
1Skills CLI (Vercel)
npx skills add rebyteai-template/rebyte-skills --skill go-backend-clean-architecture -a claude-code2Manually: put the files in place
~/.claude/skills/go-backend-clean-architecture/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/go-backend-clean-architecture/
1Skills CLI (Vercel)
npx skills add rebyteai-template/rebyte-skills --skill go-backend-clean-architecture -a codex2Manually: put the files in place
.agents/skills/go-backend-clean-architecture/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add rebyteai-template/rebyte-skills --skill go-backend-clean-architecture -a cursor2Manually: put the files in place
.cursor/skills/go-backend-clean-architecture/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install rebyteai-template/rebyte-skills go-backend-clean-architecture2Manually: put the files in place
.github/skills/go-backend-clean-architecture/SKILL.md1Skills CLI (Vercel)
npx skills add rebyteai-template/rebyte-skills --skill go-backend-clean-architecture -a gemini-cli2Platform CLI
gemini skills install https://github.com/rebyteai-template/rebyte-skills --path go-backend-clean-architectureManually: put the files in place
.devin/skills/go-backend-clean-architecture/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add rebyteai-template/rebyte-skills --skill go-backend-clean-architecture -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about go-backend-clean-architecture
How do I install go-backend-clean-architecture in Claude Code?
Run npx skills add rebyteai-template/rebyte-skills --skill go-backend-clean-architecture -a claude-code. The skill file lands at ~/.claude/skills/go-backend-clean-architecture/SKILL.md.
What does go-backend-clean-architecture do?
It sets up a Go backend template built on Gin, MongoDB, JWT and Clean Architecture, then walks through dependencies, build and run commands.
What do I need before running it?
Go 1.21+ and a working MongoDB, with Docker optional. You also fill in the database connection string and a JWT secret yourself.