Agent skill

Go Code Review

by sandgardenhq in sandgardenhq/sgai

Go code review checklist based on official Go style guides. An agent skill from sandgardenhq/sgai.

Custom licenceAuto-check passedDevelopment

Install Go Code Review

skills CLI
$ npx skills add sandgardenhq/sgai --skill go-code-review -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sandgardenhq/sgai go-code-review --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sandgardenhq/sgai.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cmd/sgai/skel/.sgai/skills/coding-practices/go-code-review .claude/skills/go-code-review && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
go-code-review
GitHub stars
137
Token cost
~3.1k tokens
SKILL.md length
1,025 words
Files
1
Skills in repo
53
Repo updated
First seen
Licence
Custom licence

At a glance

Go code review checklist based on official Go style guides. An agent skill from sandgardenhq/sgai.

  • Works in 12 steps: gofmt - Code is formatted → Errors handled - No ignored errors → Doc comments - Exports documented → …
  • Tasks that involve Code review
  • SKILL.md covers Reference URLs, Formatting, Naming and Comments, plus 5 more sections
  • Calls go

What it does

Go Code Review is an agent skill from sandgardenhq/sgai. Go code review checklist based on official Go style guides. When reviewing Go code for style, idioms, and best practices

Its SKILL.md is about 3.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Code review. The repository describes itself as: Sandgarden AI Software Factory.

When your agent uses it

  • Tasks that involve Code review

Example prompts

  • “/go-code-review”

Workflow steps

12 steps, taken from the first numbered list in SKILL.md.

  1. gofmt - Code is formatted
  2. Errors handled - No ignored errors
  3. Doc comments - Exports documented
  4. slices.Delete - Use for slice deletion (not append pattern)
  5. Naming - Short, idiomatic names
  6. Tests - Exist and helpful failures
  7. No panics - Error returns used
  8. Context - First param when used
  9. Interfaces - At consumer, not producer
  10. Modern idioms - Uses slices/maps packages where applicable
  11. Switch statements - Use switch for multi-way conditionals
  12. Dead code - No bare blocks, unreachable code, or leftover references

What it can do on your machine

Read from SKILL.md and the folder at commit 9efbb7b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • go

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • go.dev
    • pkg.go.dev
    • google.github.io

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Go Code Review loads about 3.1k tokens when it runs. Until then it costs about 34 tokens; SKILL.md has 1,025 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~34
When it runs · the whole SKILL.md, loaded when a task matches
~3.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,025 words (~3,115 tokens).

“Comprehensive code review checklist based on official Go style guides.”

— opening of SKILL.md by sandgardenhq, Custom licence
name
go-code-review
metadata.languages
go

Read the full SKILL.md on GitHub

Files

Just SKILL.md in cmd/sgai/skel/.sgai/skills/coding-practices/go-code-review of sandgardenhq/sgai.

Open the folder on GitHubat commit 9efbb7b

Compare with similar skills

Go Code Review next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Go Code Review compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Go Code Review this skillsandgardenhq/sgai137—~3.1kAutomated safety check: PassCustom licence
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k4 repos~1.1kAutomated safety check: PassMIT
Backend Code Reviewlangflow-ai/langflow155k—~3.5kAutomated safety check: NotesMIT
Mole Bug Patternstw93/Mole70k—~2kAutomated safety check: PassGPL-3.0
Backend Code Reviewlanggenius/dify158k—~676Automated safety check: PassCustom licence

Similar skills

  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 4 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Backend Code Review

    langflow-ai/langflow

    Review backend code for quality, security, maintainability, and best practices based on established checklist rules.

    155k GitHub stars~3.5k tokensUpdated today
    DevelopmentAuto-check: notes
  • A catalog of recurring bug shapes in the Mole Mac cleaner, used to review safety-sensitive diffs for deletion safety, unbounded commands, shell traps and weak tests.

    70k GitHub stars~2k tokensUpdated today
    DevelopmentAuto-check passed
  • Backend Code Review

    langgenius/dify

    Reviews backend code under api/ for concrete, reproducible defects, routes to rule packs for architecture, schema, repositories and SQLAlchemy, and ranks findings from P0 to P3.

    158k GitHub stars~676 tokensUpdated today
    DevelopmentAuto-check passed
  • WooCommerce Code Review

    woocommerce/woocommerce

    Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.

    11k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed

More from sandgardenhq/sgai

All 53 skills in this repo
  • Root Cause Tracing

    sandgardenhq/sgai

    A skill your agent uses when errors occur deep in execution and you need to trace back to find the original trigger - systematically traces bugs backward through call stack, adding instrumentation…

    137 GitHub starsUsed in 4 repos~1.4k tokens
    Auto-check passed
  • Condition Based Waiting

    sandgardenhq/sgai

    A skill your agent uses when tests have race conditions, timing dependencies, or inconsistent pass/fail behavior - replaces arbitrary timeouts with condition polling to wait for actual state…

    137 GitHub starsUsed in 3 repos~933 tokens
    Auto-check passed
  • Defense In Depth

    sandgardenhq/sgai

    A skill your agent uses when invalid data causes failures deep in execution, requiring validation at multiple system layers - validates at every layer data passes through to make bugs structurally…

    137 GitHub starsUsed in 3 repos~970 tokens
    Auto-check passed
  • Agent Native Architecture

    sandgardenhq/sgai

    Build AI agents using prompt-native architecture where features are defined in prompts, not code.

    137 GitHub stars~2k tokensUpdated 19 days ago
    Auto-check passed
  • Adhoc

    sandgardenhq/sgai

    Run and manage ad-hoc AI prompts in sgai workspaces without starting a full agentic session.

    137 GitHub stars~1.2k tokensUpdated 19 days ago
    Auto-check passed
  • You must use this skill when debugging web UI bugs or testing interactive components that require multi-step browser interactions.

    137 GitHub stars~3.7k tokensUpdated 19 days ago
    Auto-check passed

Categories

Questions about Go Code Review

What does Go Code Review do?

Go code review checklist based on official Go style guides. An agent skill from sandgardenhq/sgai. Go Code Review is an agent skill from sandgardenhq/sgai. Go code review checklist based on official Go style guides.

When should I use Go Code Review?

Go Code Review fits situations like: tasks that involve Code review.

How do I install Go Code Review in Claude Code?

Run `npx skills add sandgardenhq/sgai --skill go-code-review -a claude-code`. Or copy the skill folder (cmd/sgai/skel/.sgai/skills/coding-practices/go-code-review in sandgardenhq/sgai) into .claude/skills/go-code-review in your project. Claude Code loads it when a task matches its description.

How do I install Go Code Review in Codex?

Run `npx skills add sandgardenhq/sgai --skill go-code-review -a codex`. Or copy the skill folder (cmd/sgai/skel/.sgai/skills/coding-practices/go-code-review in sandgardenhq/sgai) into .agents/skills/go-code-review in your project. Codex loads it when a task matches its description.

Can I use Go Code Review in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sandgardenhq/sgai --skill go-code-review -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/go-code-review, .gemini/skills/go-code-review, .github/skills/go-code-review and .opencode/skills/go-code-review in your project.

What does Go Code Review need to run?

Going by SKILL.md and its folder, Go Code Review needs the command-line tools its instructions call (go).

Does Go Code Review access the network?

SKILL.md names 3 domains. As links in the text: go.dev, pkg.go.dev and google.github.io. This is read from the text; nothing was executed.

Is Go Code Review safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Go Code Review use?

Go Code Review has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Go Code Review use?

About 3.1k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Go Code Review?

Skills that share tags, products or a category with Go Code Review: PR Babysitter (openinterpreter/openinterpreter, 69k stars), Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), Backend Code Review (langflow-ai/langflow, 155k stars) and Mole Bug Patterns (tw93/Mole, 70k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Go Code Review?

sandgardenhq (a GitHub organization) maintains it in sandgardenhq/sgai, which has 137 GitHub stars. The repository holds 53 skills in this directory. The repository was last updated on September 21, 2026.

Source: sandgardenhq/sgai on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.