Skill / SKILL.md

Go Control Flow

cxuu/golang-skills

Use when writing conditionals, loops, or switch statements in Go — including if with initialization, early returns, for loop forms, range, switch, type switches, and blank identifier patterns. Also use when writing a simple if/else or for loop, even if the user doesn't mention guard clauses or variable scoping. Does not cover error flow patterns (see go-error-handling).
1 views 197 repository starsUpdated Nov 27, 2026
Overview

Use when writing conditionals, loops, or switch statements in Go — including if with initialization, early returns, for loop forms, range, switch, type switches, and blank identifier patterns. Also use when writing a simple if/else or for loop, even if the user doesn't mention guard clauses or variable scoping. Does not cover error flow patterns (see go-error-handling).

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

  • skills/go-control-flow

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/go-control-flow

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

Please log in to comment

    No comments yet

Related skills