Skill / SKILL.md

Go Functional Options

cxuu/golang-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).
1 views 197 repository starsUpdated Nov 27, 2026
Overview

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

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/cxuu/golang-skills' skill-source

Use the complete skill-source/skills/go-functional-options directory with your client’s skill installer.

  • skills/go-functional-options

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/go-functional-options

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
81a0af04a4a24fe6756544b7ab1996a66c9399b0bfdd749dd4710911c9754964
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills