bycxuu· 20 skills
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).
$npx -y skills add cxuu/golang-skills --skill go-functional-optionsInstalls into the current project.
Run `npx skills use "https://github.com/cxuu/golang-skills" --skill "cxuu/golang-skills/go-functional-options"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/cxuu/golang-skills" that are relevant to the current task. Run `npx skills add "https://github.com/cxuu/golang-skills"` and select the relevant skills, then follow their instructions.