gza-code-review-full

gza-code-review-full is a skill for Claude Code from mhawthorne/gza. It costs 22 tokens per session (3,811 once invoked), scanned A, original, MIT.

A detailed review of a codebase before release, covering tests, duplicated code, component interactions, errors, interfaces, configuration, logging, resources, and types.

In plain words
What is it for?
Use it for a pre-release health check, to find missing tests and refactoring opportunities, and to inspect consistency across a project.
Why use it?
It helps reveal quality and maintenance problems that may be missed during ordinary feature development. The findings are saved as a dated review report.

Skill for Claude Code

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

Good fit Use it for a pre-release health check, to find missing tests and refactoring opportunities, and to inspect consistency across a project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mhawthorne/gza/gza-code-review-full
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 mhawthorne/gza --skill gza-code-review-full
Clone the repo
git clone --depth 1 https://github.com/mhawthorne/gza

Made for: Claude Code.

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 gza-code-review-full

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mhawthorne/gza/gza-code-review-full"><img src="https://agentmods.dev/badge/skills/mhawthorne/gza/gza-code-review-full.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,811 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00022 $0.03811
Opus 5 $0.00011 $0.01906
Sonnet 5 $0.00004 $0.00762
Haiku 4.5 $0.00002 $0.00381

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

Security

Grade A, and why

gza-code-review-full scanned grade A with 1 finding 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 9d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

grep -n "subprocess.run" src/gza/*.py
src/gza/skills/gza-code-review-full/SKILL.md · 534 lines

How it starts

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

Full Codebase Code Review

Perform a comprehensive code review of the gza codebase, suitable for pre-release assessment. This review covers:

  1. Unit test coverage
  2. Functional test coverage
  3. Code duplication
  4. Component interaction patterns
  5. Error handling consistency
  6. API/interface consistency
  7. Configuration and hardcoding audit
  8. Logging and observability
  9. Resource management
  10. Type safety

When to Use

  • Before a release to assess codebase health
  • When you want a comprehensive quality check
  • To identify areas needing more tests or refactoring

Output

Write findings to reviews/<timestamp>-code-review-full-<model>.md in the project root, where <timestamp> is the current date/time in YYYYmmddHHMMSS format and <model> is a short identifier for the model performing the review (e.g., reviews/20260305114139-code-review-full-opus-4-6.md). Use your own model name/ID to derive the short identifier.

Process

Step 1: Inventory the codebase

Map out the source modules and test files:

  1. List all source modules:

    ls -la src/gza/*.py
    ls -la src/gza/providers/*.py
    
  2. List all test files:

    ls -la tests/*.py
    ls -la tests_integration/*.py 2>/dev/null || echo "No integration tests dir"
    
  3. Create a mapping of source file → test file(s):

    • db.pytest_db.py
    • cli.pytest_cli.py
    • etc.
  4. Identify untested modules - source files with no corresponding test file

Step 2: Assess unit test coverage

For each source module:

  1. Read the source file to understand its public interface (functions, classes, methods)

  2. Read the corresponding test file (if exists)

  3. Check coverage by listing:

    • Functions/methods that ARE tested
    • Functions/methods that are NOT tested
    • Edge cases that aren't covered (error paths, boundary conditions)
  4. Run the tests to verify they pass:

    uv run pytest tests/ -v --tb=short
    

Focus especially on:

  • db.py - Core task storage, critical for correctness
  • cli.py - User-facing commands, all subcommands should have tests
  • runner.py - Task execution logic
  • git.py - Git operations (mocked tests preferred)
  • github.py - GitHub integration

Read the full file on GitHub · 534 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. 9d ago First seen · 534 lines · 22 tokens per session scan A bb53870a694b

Subscribe to this mod's changes

gza-code-review-full is a skill published in the GitHub repository mhawthorne/gza (12 stars, last pushed yesterday), licensed MIT. It adds 22 tokens to every session and 3,811 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.