Skill / SKILL.md

Go Error Management

v0lka/skills

Guides the agent to avoid common Go error management mistakes when writing or reviewing Go code. Covers panic usage, error wrapping vs transforming, checking error types and values correctly with errors.As/errors.Is, handling errors exactly once, explicitly ignoring errors, and handling defer errors. Use when writing, reviewing, or refactoring Go error handling code, or when working with sentinel errors, custom error types, wrapped errors, or defer cleanup.
2 views 32 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Guides the agent to avoid common Go error management mistakes when writing or reviewing Go code. Covers panic usage, error wrapping vs transforming, checking error types and values correctly with errors.As/errors.Is, handling errors exactly once, explicitly ignoring errors, and handling defer errors. Use when writing, reviewing, or refactoring Go error handling code, or when working with sentinel errors, custom error types, wrapped errors, or defer cleanup.

Installation & variants

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

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

Use the complete skill-source/development/idiomatic-go/go-error-management directory with your client’s skill installer.

  • development/idiomatic-go/go-error-management

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory development/idiomatic-go/go-error-management

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

Please log in to comment

    No comments yet

Related skills