superspec-ai-workflow: Skill for Claude Code

.agents/skills/golang-error-handling/SKILL.md

golang-error-handling is a skill for Claude Code from itokun99/superspec-ai-workflow. It costs 94 tokens per session (1,521 once invoked), scanned A, original, no licence file.

A guide to handling errors in Go programs, including creating, wrapping, joining, identifying, logging, and recovering from errors. Go is a programming language commonly used for backend services and command-line tools.

In plain words
What is it for?
Use it when designing Go error types, wrapping errors, deciding between returning errors and panicking, adding HTTP request logs, or using structured logging with slog.
Why use it?
It helps developers preserve useful error context and produce logs that are easier to understand when systems fail.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents).

This is itokun99/superspec-ai-workflow's own configuration. It tells Claude Code how to work on superspec-ai-workflow itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything superspec-ai-workflow configures →

Reuse

Borrowing it

Nothing to install: this file belongs to itokun99/superspec-ai-workflow. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/itokun99/superspec-ai-workflow/main/.agents/skills/golang-error-handling/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/itokun99/superspec-ai-workflow

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for golang-error-handling

README.md
[![agentmods](https://agentmods.dev/badge/skills/itokun99/superspec-ai-workflow/golang-error-handling/github.svg)](https://agentmods.dev/skills/itokun99/superspec-ai-workflow/golang-error-handling)
Your own site
<a href="https://agentmods.dev/skills/itokun99/superspec-ai-workflow/golang-error-handling"><img src="https://agentmods.dev/badge/skills/itokun99/superspec-ai-workflow/golang-error-handling/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for golang-error-handling

Your own site · 80×15
<a href="https://agentmods.dev/skills/itokun99/superspec-ai-workflow/golang-error-handling"><img src="https://agentmods.dev/badge/skills/itokun99/superspec-ai-workflow/golang-error-handling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,521 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00094 $0.01521
Opus 5 $0.00047 $0.00760
Sonnet 5 $0.00019 $0.00304
Haiku 4.5 $0.00009 $0.00152

Measured 11d ago against content hash 4c79776f4ad8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

golang-error-handling scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/golang-error-handling/SKILL.md · 87 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 87 lines · 94 tokens per session scan A 4c79776f4ad8

Subscribe to this mod's changes

golang-error-handling is a skill published in the GitHub repository itokun99/superspec-ai-workflow (2 stars, last pushed 2mo ago), with no licence file. It adds 94 tokens to every session and 1,521 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

goga-cell-go

Golang rules for implementing CODEMANIFEST contracts.

qarium/goga · 14 tokens

upgrade-upstream

Upgrade the rh-trex-ai upstream framework dependency in ambient-api-server. Handles version bump, compilation verification, breaking change detection, test execution, and go.sum cleanup. Use when: "upgrade rh-trex-ai", "bump upstream", "update trex", "new upstream version", "upgrade framework", "pull in upstream…

openshift-online/agent-control-plane · 81 tokens

systems-programming

Systems programming from memory management through networking. Covers memory models (stack vs heap, manual allocation, garbage collection, ownership/borrowing), concurrency (threads, mutexes, channels, async/await, actor model, data races vs race conditions), operating system concepts (processes, virtual memory, page…

Tibsfox/gsd-skill-creator · 154 tokens

typescript-patterns

TypeScript best practices and patterns. Use when writing TypeScript, fixing type errors, or working with generics.

Tibsfox/gsd-skill-creator · 27 tokens

ast-grep

Guide for writing ast-grep rules to perform structural code search and analysis. Use when users need to search codebases using Abstract Syntax Tree (AST) patterns, find specific code structures, or perform complex code queries that go beyond simple text search. This skill should be used when users ask to search for…

JanDeDobbeleer/oh-my-posh · 80 tokens

golang-testing

Production-ready Golang tests — table-driven tests, testify suites and mocks, parallel tests, fuzzing, fixtures, goroutine leak detection with goleak, snapshot testing, code coverage, integration tests, idiomatic test naming. Use when writing or reviewing Go tests, choosing a testing approach, setting up Go test CI…

samber/cc-skills-golang · 115 tokens