01
It starts by itself
weekly design review. Runs in Claude Code routine or cron.
- ↻ weekly design review
0 8 * * 1
Go code stays idiomatic and bounded.
Install the Golang Design Patterns skill and make it a habit: follow https://gethabit.dev/skills/samber/golang-design-patterns.md
42K installs4K starsMIT licenceSource on GitHub ↗

Golang Design Patterns
by samber · 42K installs
The skill
The golang design patterns skill guides agents to idiomatic Go: functional options, no init() or global state, safe enums, timeouts, retries, streaming and a fitting architecture.
Only when you ask.
The habit
Go code stays idiomatic and bounded.
↻ Runs by itselfweekly design review
When does it start? How does it check its work? What does it remember?
Stops after ten findings per run.
Load open issues and the architecture the developer chose last time.
Look for init() misuse, mutable globals, unbounded pools and external calls without a timeout.
Compare against the best practices list, such as functional options and enums that start at 1.
List findings before any refactor is suggested.
Ask the developer which architecture they prefer before proposing clean, hexagonal, DDD or flat layout.
Send error handling, context and interface questions to the matching samber golang skills.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the Golang Design Patterns skill helps.
No. It asks which style you prefer and avoids heavy architecture on small projects.
In review mode it reports findings first and suggests refactors after.
Copy the prompt at the top into your agent. It installs the skill from samber/cc-skills-golang and sets up the habit. Or run npx skills add samber/cc-skills-golang --skill golang-design-patterns.
Yes. It is published under MIT. Habit is free too.
Install the Golang Design Patterns skill and make it a habit: follow https://gethabit.dev/skills/samber/golang-design-patterns.md
All samber skills →More code skills →
Works in
Made by samber, published under MIT. Habit links to the original and never changes it. Is this your skill?