agh-code-guidelines

Official

Ship correct Go concurrency the first time.

Authorcompozy
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents Go production changes in AGH from drifting into reviewer-blocking style and concurrency violations by enforcing the project’s canonical error handling, logging, context, configuration, and goroutine ownership rules before you implement them.

Core Features & Use Cases

  • Codebase-wide Go standards enforcement: ensures new/edited production Go code follows AGH’s strict rules for error wrapping, error matching, and banning unsafe patterns.
  • Concurrency and lifecycle correctness: requires context-driven goroutine shutdown, WaitGroup tracking for owner-spawned goroutines, and no fire-and-forget execution.
  • Operational reliability at CLI boundaries: distinguishes “flag not set” vs “flag set to zero value,” trims/filters CLI string-slice inputs, and keeps JSON/JSONL output shapes stable.
  • Configuration and type discipline: bans hardcoded operational values, enforces functional options/config lifecycle updates, and requires compile-time interface assertions for exported types.

Quick Start

Activate this skill while editing a production Go file under cmd/ or internal/ (but not *_test.go) to apply its Go style and concurrency rules before you submit the change.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: agh-code-guidelines
Download link: https://github.com/compozy/agh/archive/main.zip#agh-code-guidelines

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