Home / Skills / go-functional-options

go-functional-options

cxuu/golang-skillsSkill

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).

ScannedSkillSource: GitHub
180 stars +4 this week Updated 5mo ago License Apache-2.0 Context ≈87 tokens always loaded
51popular

Why this score

Stars9/35
Usage (forks)2/15
Upkeep15/25
License15/15
Owner history10/10

This repo hosts 10 skills, so its 180 stars are split between them (about 18 each) for scoring.

Popularity score: 51/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank

Security

Scanned Oct 20, 2026 at commit 91f0c2eef559, with Cisco's open-source skill-scanner.

None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.

A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan

Alternatives

Other makers' add-ons that do the same job, next to this one.

NameScoreStarsContextUpdated
This onego-functional-options cxuu/golang-skills · Skill 51★ 180≈87 always5mo ago
go anombyte93/prd-taskmaster · Skill Both about go and take 62★ 606≈23 always3mo ago
vue-options-api-best-practices vuejs-ai/skills · Skill Both about option 70★ 2.9k≈34 always16d ago
gsy-option-builder CarGuo/GSYVideoPlayer · Skill Both about option 84★ 22k≈25 always25d ago
go-generator Redocly/redocly-cli · Skill Both about go 71★ 1.5k≈30 always16d ago
add-cli-option remotion-dev/remotion · Skill Both about option 79★ 65k≈59 always16d ago