samber/cc-skills-golang · skills/golang-modernize/SKILL.md

golang-modernize skillA

golang-modernize is agent-read markdown (skill) from samber/cc-skills-golang: Modernize Golang code to use recent language features, standard library improvements, and idiomatic patterns. Use when reviewing Go code with old-style patterns, when encountering a deprecation warning, or when the user asks for modernization, a Go version upgrade (e.g. to Go 1.27), or a CI/tooling refresh. Not for structural refactors, extracting functions, or moving code between packages (→ See `samber/cc-skills-golang@golang-refactoring` skill)..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

How to install

Latest version
mdr add samber/cc-skills-golang/golang-modernize@v1.5.1
Exact content
mdr add samber/cc-skills-golang/golang-modernize@sha256:4690bd30545ecd8b

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_2nc3vq2dkohznmvo.svg)](https://markdownregistry.com/a/art_2nc3vq2dkohznmvo)

0 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
v1.5.1 latest2026-09-02 bac46b0 13,296 BA view · diff
v1.5.02026-09-02 8f8e2fe 13,296 BA view · diff
v1.4.12026-09-02 0944f80 12,325 BA view · diff
v1.3.12026-09-01 ec8c349 11,395 BA view · diff
v1.3.02026-08-19 ba9cc6d 11,229 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (13296 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

samber/cc-skills-golang · 3,187 stars · license MIT · pushed 2026-09-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_2nc3vq2dkohznmvo
GET https://markdownregistry.com/api/v1/resolve?ref=samber/cc-skills-golang/golang-modernize
GET https://markdownregistry.com/api/v1/blob/4690bd30545ecd8bd4af278684773c2cde19981aae5dd97ba45a90f5ea560c60