go-patterns

Route Go development tasks to evidence-based testing, concurrency, and error-handling methodologies.

415|44|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/notque/vexjoy-agent --skill go-patterns-notque
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: go-patterns
Source: https://github.com/notque/vexjoy-agent/tree/main/skills/engineering/go-patterns
Command: npx skills add https://github.com/notque/vexjoy-agent --skill go-patterns-notque

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires benchstat, go, grep, bash, python3, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Prevents Go work from skipping the hard parts by routing tasks to the correct methodology for testing, concurrency, error handling, review, SAP CC conventions, and quality gates.

Core Features & Use Cases

  • Evidence-based routing: Classifies Go tasks using triggers (e.g., testing, goroutines/channels, errors.Is/As, code review signals, SAP CC conventions, make check) and loads the matching reference methodology.
  • Reference-driven execution: Loads only the relevant domain reference files (and optional sub-references) rather than applying a generic prompt.
  • Deterministic guardrails via scripts: Provides reusable Go-oriented scripts for benchmark comparisons, error-handling anti-pattern scanning, interface compliance checks, SAP CC HTTP/JSON conventions checks, and TODO-format enforcement.

Quick Start

Ask the agent to “review this Go PR for concurrency and error-handling failure modes, and run the required quality gate steps.”

Frequently Asked Questions about go-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I ensure my Go code review covers concurrency and error handling failure modes?

Go code review for concurrency and error handling requires classifying task triggers like goroutines, channels, and errors.Is/As to load matching reference methodologies. This routing enforces deterministic execution by applying specific review phases and quality gate checks.

What is the best way to apply SAP CC conventions when writing Go code?

Applying SAP CC conventions in Go involves routing HTTP and JSON formatting tasks to specialized reference instructions. The process enforces codebase-specific lint-style checks and TODO-format enforcement to maintain deterministic quality gate verification.

How do I run benchmark comparisons for Go refactors?

Go benchmark comparisons for refactors require running provided scripts using the benchstat dependency. This script execution analyzes performance differences, ensuring refactored code maintains deterministic execution requirements and passes quality gate verification.

Does this Go testing methodology work with standard quality gate runs?

Go testing methodology integrates with standard quality gate runs by loading relevant domain reference files and executing optional scripts. It classifies the task domain, follows corresponding reference phases, and enforces deterministic execution requirements during make check operations.

What dependencies do I need to run Go error-handling anti-pattern scans?

Running Go error-handling anti-pattern scans requires bash, python3, and grep dependencies to execute provided scripts. These tools enable interface compliance checks and error-handling anti-pattern scanning by processing reference instructions loaded during task classification.

Why does my Go PR review skip hard testing and concurrency methodologies?

Go PR reviews skip hard methodologies when applying generic prompts instead of evidence-based routing. Classifying task triggers for testing, goroutines, or errors.Is/As loads matching reference files, enforcing deterministic guardrails and domain-specific review phases.