SkillTrust

← All skills

go-control-flow

100 / 100 · Low risk

Fine to try.

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

Use when writing conditionals, loops, or switch statements in Go — including if with initialization, early returns, for loop forms, range, switch, type switches, and blank identifier patterns. Also use when writing a simple if/else or for loop, even if the user doesn't mention guard clauses or variable scoping. Does not cover error flow patterns (see go-error-handling).

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-control-flow' ] || [ -L ~/.agents/skills/'go-control-flow' ]; then echo 'A skill folder named go-control-flow 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-control-flow' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/go-control-flow' ~/.agents/skills/'go-control-flow' && 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-control-flow' ~/.claude/skills/'go-control-flow' (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