go-modern
CommunityVersion-aware Go idioms for safer code.
Authorfall-out-bug
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Edit and review Go code in a way that respects the repository's targeted Go version, preventing outdated patterns and ensuring consistent idioms.
Core Features & Use Cases
- Detect and enforce: determine the Go version from go.mod or sdp-plugin/go.mod and restrict changes to features supported by that version.
- Promote modern idioms: prefer stdlib-based improvements (e.g., slices.SortFunc, strings.Cut, maps.Clone) to simplify code without altering behavior.
- Guided verification: provide a practical checklist and examples for safe modernization, plus recovery steps if tests fail.
Quick Start
Inspect the repository's Go version in go.mod or sdp-plugin/go.mod, then apply only language features and stdlib patterns supported by that version when editing or reviewing Go code.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: go-modern Download link: https://github.com/fall-out-bug/sdp_lab/archive/main.zip#go-modern Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.