Skill / SKILL.md

Go Declarations

cxuu/golang-skills

Use when declaring or initializing Go variables, constants, structs, or maps — including var vs :=, reducing scope with if-init, formatting composite literals, designing iota enums, and using any instead of interface{}. Also use when writing a new struct or const block, even if the user doesn't ask about declaration style. Does not cover naming conventions (see go-naming).
1 views 197 repository starsUpdated Nov 27, 2026
Overview

Use when declaring or initializing Go variables, constants, structs, or maps — including var vs :=, reducing scope with if-init, formatting composite literals, designing iota enums, and using any instead of interface{}. Also use when writing a new struct or const block, even if the user doesn't ask about declaration style. Does not cover naming conventions (see go-naming).

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-declarations directory with your client’s skill installer.

  • skills/go-declarations

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/go-declarations

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
fb79ee3dd360c87039c8323b207567fed2384fac884afa18c9faaeede0b9a14b
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills