SkillTrust

← All skills

go-functional-options

100 / 100 · Low risk

Fine to try.

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

Use when designing a Go constructor or factory function with optional configuration — especially with 3+ optional parameters or extensible APIs. Also use when building a New* function that takes many settings, even if they don't mention "functional options" by name. Does not cover general function design (see go-functions).

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