error-handling-audit

Community

Audit Go error handling for best practices.

Authormeriley
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill ensures Go code adheres to robust error handling standards, preventing common pitfalls like error swallowing and improper wrapping, which can lead to hard-to-debug issues.

Core Features & Use Cases

  • Error Wrapping Validation: Checks for correct use of %w for error chaining.
  • Contextual Error Messages: Audits error messages for sufficient debugging information.
  • Error Swallowing Detection: Identifies instances where errors are ignored.
  • Use Case: Before committing new Go code, run this skill to automatically scan for and report on any deviations from best practices in error handling, ensuring code quality and maintainability.

Quick Start

Run the error-handling-audit skill on the current Go project.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: error-handling-audit
Download link: https://github.com/meriley/claude-code-skills/archive/main.zip#error-handling-audit

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.