go-structural-quality

go-structural-quality is a skill for Claude Code, Codex from Dankosik/go-service-template-rest. It costs 34 tokens per session (276 once invoked), scanned A, original, MIT.

A review method for Go code that tests whether new layers, interfaces, files, or parallel paths are really needed. Go is a programming language.

In plain words
What is it for?
Use it when reviewing a Go change that adds abstractions or splits responsibilities, especially before deciding whether to keep, simplify, or remove them.
Why use it?
It helps catch overcomplicated designs, duplicated responsibilities, and structures that make future changes harder.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when reviewing a Go change that adds abstractions or splits responsibilities, especially before deciding whether to keep, simplify, or remove them.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dankosik/go-service-template-rest/go-structural-quality
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Dankosik/go-service-template-rest --skill go-structural-quality
Clone the repo
git clone --depth 1 https://github.com/Dankosik/go-service-template-rest

Made for: Claude Code, Codex.

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 go-structural-quality

README.md
[![agentmods](https://agentmods.dev/badge/skills/dankosik/go-service-template-rest/go-structural-quality/github.svg)](https://agentmods.dev/skills/dankosik/go-service-template-rest/go-structural-quality)
Your own site
<a href="https://agentmods.dev/skills/dankosik/go-service-template-rest/go-structural-quality"><img src="https://agentmods.dev/badge/skills/dankosik/go-service-template-rest/go-structural-quality/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 go-structural-quality

Your own site · 80×15
<a href="https://agentmods.dev/skills/dankosik/go-service-template-rest/go-structural-quality"><img src="https://agentmods.dev/badge/skills/dankosik/go-service-template-rest/go-structural-quality.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 276 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 original 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.00034 $0.00276
Opus 5 $0.00017 $0.00138
Sonnet 5 $0.00007 $0.00055
Haiku 4.5 $0.00003 $0.00028

Measured 3d ago against content hash 9401e7099bf1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

go-structural-quality 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 3d 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/go-structural-quality/SKILL.md · 34 lines

What it actually says

Go Structural Quality

Judge whole-diff structure with a deletion test and one realistic change simulation.

For a delegated Decision or Review, or when the active artifact requires its result interface, load the shared specialist contract. For every added abstraction, layer, file, compatibility shim, or parallel path, record its present responsibility, where its complexity returns if deleted, and which owners and files the next realistic change would touch with and without it.

An interface with one adapter is not justified merely by hiding the adapter; it must reduce current complexity or protect a real dependency direction. A one-use helper survives when it uniquely carries a protocol or ownership constraint. Split responsibility, stale surfaces, and parallel execution paths remain collapse candidates.

A Decision selects the least structure that owns the current responsibility. A Review tries to delete or collapse each candidate and rejects it only when the simulation exposes higher locality or deletion cost.

Complete when every added structure passes both tests, each responsibility has one owner, and no superseded execution path remains.

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. 3d ago Changed · +2 lines 9401e7099bf1
  2. 10d ago First seen · 32 lines · 34 tokens per session scan A 656af0016187

Subscribe to this mod's changes

go-structural-quality is a skill published in the GitHub repository Dankosik/go-service-template-rest (7 stars, last pushed 2d ago), licensed MIT. It adds 34 tokens to every session and 276 once invoked, about $0.0002 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

design-review

Deep design review of Go codebase — naming, structure, consistency, interfaces, error handling. Scores each dimension and provides actionable fixes.

dimetron/pi-go · 30 tokens

agents-md

Generate AGENTS.md files for Go, Rust, TypeScript, and Java projects. Use this skill whenever the user asks to create, scaffold, bootstrap, update, or review an AGENTS.md (or agent-instructions, CLAUDE.md, repo guide for agents) file in a codebase. Also trigger when the user says "add AGENTS.md", "make this repo…

dimetron/pi-go · 138 tokens

gemtracker

Analyze Ruby gem dependencies, vulnerabilities, outdated packages, maintenance health, and insecure gem sources with the gemtracker CLI. Use when asked to audit Ruby gems, check Gemfile.lock security, review dependency health, or run gemtracker.

spaquet/gemtracker · 49 tokens

go-code-review

Use when reviewing Go code or checking code against community style standards. Also use proactively before submitting a Go PR or when reviewing any Go code changes, even if the user doesn't explicitly request a style review. Does not cover language-specific syntax — delegates to specialized skills.

cxuu/golang-skills · 56 tokens

code-review-go

Deep Go-specific code review covering goroutine lifecycle, data races, error wrapping, domain modeling, and interface design. Applied in addition to the generic code-review skill when Go code is detected. Invoked when reviewing Go PRs, Go code changes, or performing Go-specific quality checks.

soulcodex/agentic · 61 tokens

code-reviewer-go

Auto-route to this skill if project contains.

buiphucminhtam/forgewright · 4 tokens