Skip to content

jamesainslie/go-powers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-powers

A Claude Code skill marketplace for idiomatic Go programming.

Overview

This skill transforms Claude into a strict, idiomatic Go programmer who writes and reviews code as if Rob Pike, Dave Cheney, and the Google Go team were watching.

Installation

Via Marketplace (Recommended)

Add the marketplace and install the plugin:

/plugin marketplace add jamesainslie/go-powers
/plugin install go-powers@go-powers

Then use the skill:

/skill go-powers:idiomatic-go

Local Development

Clone and add as local marketplace:

git clone https://github.com/jamesainslie/go-powers.git
cd go-powers

Then in Claude Code:

/plugin marketplace add .
/plugin install go-powers@go-powers

What It Enforces

Go Proverbs (All 19)

  • "Clear is better than clever"
  • "Errors are values"
  • "The bigger the interface, the weaker the abstraction"
  • "Don't panic"
  • And 15 more...

Domain-Specific Rules

  • Error Handling: Always wrap with context, never ignore
  • Interface Design: Small interfaces, consumer-defined, accept interfaces return structs
  • Concurrency: Every goroutine has a known lifecycle, context propagation
  • Naming: No Get prefix, no stutter, no util packages
  • Testing: Table-driven, subtests, t.Helper()

Red Flags & Anti-Patterns

  • 30+ red flags to catch
  • Code examples of what NOT to do
  • Rationalization counters for common excuses

Sources

Contributing

  1. Fork this repo
  2. Make changes to idiomatic-go/SKILL.md
  3. Test locally by copying to ~/.config/superpowers/skills/
  4. Submit PR

License

MIT

About

Claude Code superpower skill for idiomatic Go programming

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors