What problem does it solve?
Developers need Go code that follows modern best‑practice guidelines while staying within the language version used by the project. This skill automatically determines the project's Go version and tailors guidance accordingly.
Core Features & Use Cases
- Detects the Go version from go.mod files in the repository.
- Provides a concise response describing the detected version or prompts the user to specify a target version when detection fails.
- Restricts suggested language features to those available in the detected or chosen Go version, ensuring generated code compiles without version mismatches.
- Ideal for developers writing new Go code, reviewing existing code, or updating codebases to modern standards.
Quick Start
Ask the skill to write Go code using the latest features supported by the detected Go version, for example: “Generate a concurrent map lookup using Go 1.21 features”.