
go-style-core
Working with Go formatting, line length, nesting, naked returns, semicolons
by cxuuFree
Description
Go Style Core is an agent skill for Go formatting and core style principles. It covers line length, nesting, naked returns, semicolons and the formatting rules that gofmt handles, and it is the place to go when a style question is not answered by a more specific Go skill. Its guidance is ordered. When the principles conflict, clarity comes first: can a reader understand the code without extra context. Simplicity comes next, then concision, where every line should earn its place, then maintainability, meaning the code should be easy to change later. Consistency comes last, so that new code matches the surrounding code and the project's own conventions. The skill routes the agent to a principles note for resolving conflicts between these goals, and to a formatting note for gofmt, line breaks, whitespace, comments and semicolons. It suits Go developers and reviewers who want a shared baseline for style, and agents that write Go code and should follow it. It is part of the golang-skills collection by cxuu and installs with the skills CLI. The listing shows it as free.…
Highlights
- Priority order: clarity, simplicity, concision, maintainability, consistency
- Formatting rules for gofmt and line breaks
- Guidance on nesting and naked returns
- Reference notes for conflicting principles
Ratings & Reviews
No ratings yet
Be the first to rate go-style-core.
People also visit
go-style-core FAQ
What does the Go Style Core skill cover?
Go formatting, line length, nesting, naked returns, semicolons and the core style principles in a set order.
Which principle wins when they conflict?
Clarity comes first, then simplicity, concision, maintainability and consistency, according to the skill.
How do I install it?
Run: npx skills add https://github.com/cxuu/golang-skills --skill go-style-core
Is it free?
Yes. The listing shows the skill as free.
What do the security audits show?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best go-style-core alternatives?
Popular alternatives to go-style-core include use-modern-go, modern-go-guidelines and go-code-review. See all go-style-core alternatives















