effective go

Apply best practices and conventions from the official Effective Go guide to write clean, idiomatic Go code.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "effective go" with this command: npx skills add openshift/hypershift/openshift-hypershift-effective-go

Effective Go

Apply best practices and conventions from the official Effective Go guide to write clean, idiomatic Go code.

When to Apply

Use this skill automatically when:

  • Writing new Go code

  • Reviewing Go code

  • Refactoring existing Go implementations

Key Reminders

Follow the conventions and patterns documented at https://go.dev/doc/effective_go, with particular attention to:

  • Formatting: Always use gofmt

  • this is non-negotiable

  • Naming: No underscores, use MixedCaps for exported names, mixedCaps for unexported

  • Error handling: Always check errors; return them, don't panic

  • Concurrency: Share memory by communicating (use channels)

  • Interfaces: Keep small (1-3 methods ideal); accept interfaces, return concrete types

  • Documentation: Document all exported symbols, starting with the symbol name

References

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Skills

Autonomous novel writing CLI agent with web workbench (InkOS Studio) - use for creative fiction writing, novel generation, style imitation, chapter continuat...

Registry SourceRecently Updated
Coding

clipping-video-highlights

长视频(YouTube链接/本地视频)→ N个短高光片段+烧字幕+AI封面。100%免费方案:yt-dlp字幕提取+MiniMax LLM选高光+MiniMax图片生成封面+ffmpeg剪辑。

Registry SourceRecently Updated
Coding

CheckMCC

Look up credit card rewards eligibility for merchants. Find the best credit card to use at any store, restaurant, or online merchant by checking MCC codes an...

Registry SourceRecently Updated
Coding

wechat-publish-pro

Pure Python tool to convert Markdown to styled HTML and publish articles to WeChat official account drafts with AI-based content refinement and theme support.

Registry SourceRecently Updated