All Agent Skills

Development & Engineering

golang-error-handling

Golang Error Handling is a source-indexed Agent Skill for development & engineering work. Based on the SKILL.md description, it focuses on idiomatic golang error handling — creation, wrapping with %w, errors.is/as, errors.join, custom error…. Use the linked GitHub file to confirm scope and prerequisites before enabling it.

Read original SKILL.md
Review it in your own environment.

AI Vitamin indexes this source file; it does not certify safety, quality, compatibility, permissions, or outcomes.

What this Skill does

Golang Error Handling is a source-indexed Agent Skill for development & engineering work. Based on the SKILL.md description, it focuses on idiomatic golang error handling — creation, wrapping with %w, errors.is/as, errors.join, custom error…. Use the linked GitHub file to confirm scope and prerequisites before enabling it.

What the author says

Idiomatic Golang error handling — creation, wrapping with %w, errors.Is/As, errors.Join, custom error types, sentinel errors, panic/recover, the single handling rule, structured logging with slog, HTTP request logging middleware, and samber/oops for production errors. Built to make logs usable at scale with log aggregation 3rd-party tools. Apply when creating, wrapping, inspecting, or logging errors in Go code. For samber/oops specifics → See `samber/cc-skills-golang@golang-samber-oops` skill; for slog handler ecosystem → See `samber/cc-skills-golang@golang-samber-slog` skill.

Compatibility and requirements

  • Use an agent runtime that supports Agent Skills and the linked SKILL.md format.
  • Confirm the source repository's tools, SDKs, and platform prerequisites for ui and frontend work.

How to install or import it

  • Open the linked GitHub SKILL.md and review its scope and setup instructions.
  • Install or import the skill using the agent runtime's documented workflow.
  • Run a small, non-sensitive test and verify the output before broader use.

Permissions and risks

  • Review every command, file path, network request, dependency, and credential scope before enabling it.
  • GitHub stars indicate popularity, not safety or correctness; validate the source and test with non-sensitive data.

Example workflows

  • Ask an AI agent to apply Golang Error Handling to ui and frontend work described in the source record.
  • Have the agent state assumptions, required tools, and expected output before using this development & engineering skill.
  • Compare the result with the linked GitHub SKILL.md and verify it against your project requirements.

Related Agent Skills

More source records in Development & Engineering.

View category