skills/modelscope.cn/error-handling-audit

error-handling-audit

SKILL.md

Go Error Handling Audit Skill

Purpose

Audit Go code for error handling best practices based on RMS Go coding standards. This skill ensures errors are properly wrapped, context is preserved, and error handling follows idiomatic Go patterns.

What This Skill Checks

1. Error Wrapping with %w (Priority: CRITICAL)

Golden Rule: Always wrap errors with fmt.Errorf(..., %w, err) to preserve error chain for errors.Is() and errors.As().

Good Pattern:

Installs
1
First Seen
Jun 2, 2026
error-handling-audit from modelscope.cn