go-lambda-error-handling

Official

Make Go Lambda errors explicit and safe

Authorprimolabs-org
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you design, review, and implement reliable error handling in Go AWS Lambda services so failures stay explicit, diagnosable, and correctly mapped at the boundary.

Core Features & Use Cases

  • Domain and application errors: Keep business rules, validation, and orchestration failures transport-agnostic and inspectable.
  • HTTP adapter mapping: Convert expected failures into safe API Gateway responses with the right status codes instead of generic Lambda errors.
  • SQS retry behavior: Classify retryable and terminal failures, support partial batch responses, and preserve FIFO ordering when required.
  • Boundary hygiene: Wrap causes with context, avoid string-based branching, and prevent transport concerns from leaking into core logic.
  • Use case: Apply this Skill when a Go Lambda microservice needs consistent error propagation across domain, application, outbound adapters, and HTTP or SQS inbound handlers.

Quick Start

Ask for a review or implementation plan that updates the Go Lambda service to use explicit wrapped errors and correct HTTP or SQS failure mapping.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: go-lambda-error-handling
Download link: https://github.com/primolabs-org/spec-star-go/archive/main.zip#go-lambda-error-handling

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 536,000+ vetted skills library on demand.