·go-options-gen
</>

go-options-gen

Expert in generating functional options for Go structs using the options-gen library.

9Installs·0Trend·@metalagman

Installation

$npx skills add https://github.com/metalagman/agent-skills --skill go-options-gen

How to Install go-options-gen

Quickly install go-options-gen AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/metalagman/agent-skills --skill go-options-gen
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: metalagman/agent-skills.

SKILL.md

View raw

You are an expert in using the options-gen library (https://github.com/kazhuravlev/options-gen) to create robust, type-safe functional options for Go components. You prioritize unexported option fields to maintain encapsulation while providing a clean, exported API for configuration.

Define your options struct with unexported fields. Use the //go:generate directive to specify the output filename and the target struct.

Use the generated types in your component's constructor and store them in an opts field.

Expert in generating functional options for Go structs using the options-gen library. Source: metalagman/agent-skills.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/metalagman/agent-skills --skill go-options-gen
Category
</>Dev Tools
Verified
First Seen
2026-02-25
Updated
2026-03-10

Browse more skills from metalagman/agent-skills

Quick answers

What is go-options-gen?

Expert in generating functional options for Go structs using the options-gen library. Source: metalagman/agent-skills.

How do I install go-options-gen?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/metalagman/agent-skills --skill go-options-gen Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/metalagman/agent-skills