SkillTrust

← All skills

go-declarations

100 / 100 · Low risk

Fine to try.

By cxuu/golang-skills (GitHub) · coding · 194 stars · scanned at commit 91f0c2e

Use when declaring or initializing Go variables, constants, structs, or maps — including var vs :=, reducing scope with if-init, formatting composite literals, designing iota enums, and using any instead of interface{}. Also use when writing a new struct or const block, even if the user doesn't ask about declaration style. Does not cover naming conventions (see go-naming).

Works with any agent that supports SKILL.md skills.

What this skill can do

We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.

Install

Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.

if [ -e ~/.agents/skills/'go-declarations' ] || [ -L ~/.agents/skills/'go-declarations' ]; then echo 'A skill folder named go-declarations already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/cxuu/golang-skills' "$d" && git -C "$d" checkout --quiet '91f0c2eef559a3168f9d3c38f5f99936d472b508' -- 'skills/go-declarations' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/go-declarations' ~/.agents/skills/'go-declarations' && rm -rf "$d"; fi

Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'go-declarations' ~/.claude/skills/'go-declarations' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.

Badge for your README

The badge for cxuu/golang-skills shows the score of its lowest-scoring skill.

SkillTrust badge for cxuu/golang-skills

[![SkillTrust](https://zalavijaysinh.github.io/skilltrust/badges/cxuu/golang-skills.svg)](https://zalavijaysinh.github.io/skilltrust/repos/cxuu/golang-skills/)

Score history

DateVersionScore
2026-11-0791f0c2e100