go-review-pr

go-review-pr is a skill for Claude Code from JotJunior/cstk. It costs 73 tokens per session (2,173 once invoked), scanned A, original, MIT.

A final review of the changes on a Git branch before opening a pull request, which is a request to merge code into another branch.

In plain words
What is it for?
Review changed Go, test, migration, frontend, configuration, and documentation files, including builds, tests, linting, and other service-specific checks.
Why use it?
It checks only the branch’s changes against project conventions, so unrelated existing code does not distract from the pre-merge quality check.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md.

Part of the cstk-language-go plugin — 7 skills shipped together

Good fit Review changed Go, test, migration, frontend, configuration, and documentation files, including builds, tests, linting, and other service-specific checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jotjunior/cstk/go-review-pr
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 JotJunior/cstk --skill go-review-pr
Clone the repo
git clone --depth 1 https://github.com/JotJunior/cstk

Made for: Claude Code.

Or install cstk-language-go, the plugin that ships this one along with the rest of its 7 skills.

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-review-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/jotjunior/cstk/go-review-pr/github.svg)](https://agentmods.dev/skills/jotjunior/cstk/go-review-pr)
Your own site
<a href="https://agentmods.dev/skills/jotjunior/cstk/go-review-pr"><img src="https://agentmods.dev/badge/skills/jotjunior/cstk/go-review-pr/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-review-pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/jotjunior/cstk/go-review-pr"><img src="https://agentmods.dev/badge/skills/jotjunior/cstk/go-review-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,173 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00073 $0.02173
Opus 5 $0.00036 $0.01086
Sonnet 5 $0.00015 $0.00435
Haiku 4.5 $0.00007 $0.00217

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

Security

Grade A, and why

go-review-pr 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 10d 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.

plugins/cstk-language-go/skills/go-review-pr/SKILL.md · 249 lines

How it starts

The opening of the file, as written. The whole thing — 249 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Go Review PR

Perform a diff-aware quality review of ALL changes in the current branch before opening a PR. This is the final quality gate — it checks everything that go-review-service checks, but scoped to the diff only.

Arguments

$ARGUMENTS should specify:

  • Base branch (optional, default: main) — the branch to compare against

Step 1: Gather the Diff

# Get the base branch (default: main)
BASE=${1:-main}

# All changed files in this branch vs base
git diff --name-only $BASE...HEAD

# Full diff for context
git diff $BASE...HEAD

# Commits in this branch
git log --oneline $BASE..HEAD

Categorize changed files:

  • Go source files (*.go, excluding *_test.go)
  • Go test files (*_test.go)
  • Migration files (migrations/*.sql)
  • Frontend files (*.ts, *.tsx)
  • Config files (*.json, *.yaml, *.toml, go.mod, go.sum)
  • Documentation (*.md)

Step 2: Per-Service Analysis

For each service with changed files, read the changed files and run these checks:

Check A: Compilation

cd services/{service} && go build ./...

Check B: Tests Pass

cd services/{service} && go test ./... -count=1 -timeout 60s

Check C: Lint

cd services/{service} && golangci-lint run ./... 2>&1 || true

Step 3: Convention Checks (on diff only)

For each changed Go file, verify:

3.1 Code in English

  • All new variable names, function names, comments, error messages are in English
  • FAIL if Portuguese found in code (excluding string literals for user-facing messages)

3.2 JSON Tags snake_case

  • All new struct fields with json:"" tags use snake_case
  • FAIL if camelCase or PascalCase found in json tags

3.3 DB Tags Match Columns

  • All new struct fields with db:"" tags use snake_case matching column names
  • Cross-reference with migration files if available

3.4 Schema Prefix in SQL

  • All SQL queries in repository files use {schema}.{table} format
  • FAIL if any bare table name found (e.g., FROM members instead of FROM member.members)

Read the full file on GitHub · 249 lines

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. 10d ago First seen · 249 lines · 73 tokens per session scan A a55f5a18a4a3

Subscribe to this mod's changes

go-review-pr is a skill published in the GitHub repository JotJunior/cstk (23 stars, last pushed yesterday), licensed MIT. It adds 73 tokens to every session and 2,173 once invoked, about $0.0004 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-30.