gza-code-review-full
Comprehensive pre-release code review assessing test coverage, code duplication, and component interactions
Supply asset profile
Coding and developer agents
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
GitHub automation
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Agent fit
Claude Code + Cursor + CLI
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add mhawthorne/gza --skill gza-code-review-full
Maintenance
fresh
Pushed today
Risk
Needs review
Dependency or permission surface needs review
GitHub quality
11
57/100 Quality · 58/100 Trust
Coverage tags
Review notes
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent adoption scorecard
Trust, audit, and install readiness at a glance
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
PromisingUseful candidate, but compare it with alternatives before adopting.
Trust
Do not auto-installTrust Score v5 found insufficient evidence for agent installation. Treat this as discovery material, not an executable recommendation.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Sandbox only
Choose a stronger alternative or inspect the source manually before any install attempt.
Stars
11 GitHub stars
Repo activity
11 stars, 1 forks
Maintenance
Pushed today
License
MIT
Install
npx skills add mhawthorne/gza --skill gza-code-review-full
Install safety
standard package or runtime install path
Permission surface
secrets or environment access, shell or command execution
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Review before production
- Skill is highly specific to the gza codebase, limiting reusability for other projects.
- Low GitHub adoption signal
- Quality score needs review
- Permission surface needs review: secrets or environment access, shell or command execution
Install readiness
Install path available
- Install path is available
- Repository evidence is available
- License is declared
- No Agent Proven outcome evidence yet
Agent-readable metadata
Machine-readable decision data for this skill.
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
- GitHub automation workflows
- Claude Code teams
- builders willing to evaluate younger projects
- Inspect repository metadata
Suited agents
Install decision
- Command
- npx skills add mhawthorne/gza --skill gza-code-review-full
- Policy
- block
- Human review
- yes
Trust and risk
- Trust
- 50/100
- Audit
- 69/100
- Risk level
- Needs review
Outcome loop
- Endpoint
- /api/agent/outcome
- Event ID
- resolve
- Outcomes
- 5
Install command
npx skills add mhawthorne/gza --skill gza-code-review-fullDo not use when
- teams that need a vendor-supported SLA
- production agents without a repository review
- Low GitHub adoption signal
- Skill is highly specific to the gza codebase, limiting reusability for other projects.
- High-risk permission hints: Shell or command execution, Secrets or environment access
Alternative
Code Review
168.6K Stars
npx skills add mattpocock/skills --skill code-review
Alternative
Grill With Docs
164.7K Stars
npx skills add mattpocock/skills --skill grill-with-docs
Alternative
To Spec
164.7K Stars
npx skills add mattpocock/skills --skill to-spec
Alternative
To Tickets
176.7K Stars
npx skills add mattpocock/skills --skill to-tickets
Agent safety v2
25/100 · Avoid automatic install
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
high
Shell or command execution
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Network access
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Filesystem access
Skill may read or write project files, documents, generated artifacts, or local workspace state.
high
Secrets or environment access
Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.
- High-risk permission hints: Shell or command execution, Secrets or environment access
- Dependency or permission surface needs review
Install targets
Install this skill in your agent workflow
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
OpenAgentSkill CLI
Resolve policy, run the source installer safely, and report a verified install receipt.
$ npx --yes https://github.com/Leon-Drq/openagentskill/releases/download/cli-v0.2.1/openagentskill-0.2.1.tgz install mhawthorne-gza-code-review-fullAgent resolve plan
Let an agent verify fit before installing.
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20gza-code-review-full%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20gza-code-review-full%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/mhawthorne-gza-code-review-full/install
Agent should check
- Task fit and alternatives from Resolve API.
- Audit score, trust score, and safety policy warnings.
- Install target compatibility for Codex, Claude Code, Cursor, or CLI.
Copy prompt
Task: Use gza-code-review-full in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20gza-code-review-full%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/mhawthorne-gza-code-review-full/install
Install command: npx skills add mhawthorne/gza --skill gza-code-review-full
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Give an agent the install path, not another directory page.
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/mhawthorne-gza-code-review-full/install
LLM text format
/api/skills/mhawthorne-gza-code-review-full/install?format=text
Find alternatives
/api/skills/search?q=gza-code-review-full&limit=3
Agent prompt
Use gza-code-review-full for this task. Review https://www.openagentskill.com/api/skills/mhawthorne-gza-code-review-full/install, then install with: npx skills add mhawthorne/gza --skill gza-code-review-fullRegistry metadata
Agent-readable profile for automatic skill selection.
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/mhawthorne-gza-code-review-full
LLM text
/api/registry/manifest/mhawthorne-gza-code-review-full?format=text
Install alias
/api/registry/install/mhawthorne-gza-code-review-full
Recommend
/api/registry/recommend?task=Use%20gza-code-review-full%20in%20an%20agent%20workflow&limit=3
Agent fit
GitHub automation
Use-case tags
Platforms
Claude Code, Cursor
Audit report
Needs review · 69/100
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Needs validation for GitHub automation
Do a manual repository review before adding this to an agent workflow.
Role in stack
Needs validation
Primary fit
GitHub automation
Trust label
Needs manual review
Install path
Command ready
Use when
- GitHub automation workflows
- Claude Code teams
- builders willing to evaluate younger projects
Evidence
- recent repository activity
- install command or GitHub repo available
- 57/100 quality profile
- 1 OpenAgentSkill engagement events
review first
- Low GitHub adoption signal
- Skill is highly specific to the gza codebase, limiting reusability for other projects.
Implementation path
- 1Install it in a sandbox agent and run one GitHub automation task end to end.
- 2Compare output quality, latency, and failure behavior against at least one alternative.
- 3Promote it into production only after reviewing repository permissions, license, and maintenance signals.
Trust profile
Do not auto-install
Trust Score v5 found insufficient evidence for agent installation. Treat this as discovery material, not an executable recommendation.
GitHub adoption
FIX11 GitHub stars
Stars/forks activity
FIX11 stars, 1 forks; issue activity unavailable in current metadata
Recent maintenance
PASSPushed today
License clarity
PASSMIT
Good signals
- AI review approved
- Install path is available
- Repository evidence is available
- Recently maintained repository
- Install command has no obvious high-risk pattern
- Outcome loop is ready but needs first real agent run
Review before install
- Skill is highly specific to the gza codebase, limiting reusability for other projects.
- Low GitHub adoption signal
- Quality score needs review
- Permission surface needs review: secrets or environment access, shell or command execution
- GitHub adoption: 11 GitHub stars
- Stars/forks activity: 11 stars, 1 forks; issue activity unavailable in current metadata
- Dependency/runtime risk: command execution surface, credential or environment access
- Permission surface: secrets or environment access, shell or command execution
- No real agent outcome reports yet
- Human review required before unattended installation
Recommended action
Choose a stronger alternative or inspect the source manually before any install attempt.
Quality profile
Promising candidate for agent workflows
Useful candidate, but compare it with alternatives before adopting.
Workflow fit
Use this skill in these scenarios
Manage repositories
GitHub automation
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Build and ship code
Coding agents
I need a coding agent that can understand a repository, edit code, and review pull requests.
Investigate faster
Research agents
I need my agent to research a topic, compare sources, and produce a concise report.
Workflow fit
Add it to a complete workflow
Inspect, patch, and verify code
Coding review agent
A workflow for software agents that inspect repositories, review pull requests, generate tests, and turn findings into shippable patches.
Find, compare, and synthesize
Research report agent
A workflow for agents that gather sources, compare claims, summarize long material, and draft useful research briefs.
Turn skills into distribution
Content growth agent
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Alternative shortlist
Compare before you install
Similar skills that may fit this task.
Code Review
Review a branch or diff against repository standards and the originating spec in two independent analysis passes.
Grill With Docs
A relentless interview that pressure-tests a plan against the codebase, sharpens domain language, and updates CONTEXT.md and ADRs when decisions become durable.
To Spec
Turn the current conversation and codebase context into a structured implementation spec, then publish it to the configured project issue tracker.
To Tickets
Break a plan, spec, or conversation into independently actionable tracer-bullet tickets with explicit blocking relationships.
Overview
--- name: gza-code-review-full description: Comprehensive pre-release code review assessing test coverage, code duplication, and component interactions allowed-tools: Read, Glob, Grep, Bash(uv run pytest:*), Bash(uv run python:*), Bash(uv run mypy:*), Bash(ls:*), Bash(wc:*) version: 1.0.0 public: false ---
# 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:** ```bash ls -la src/gza/*.py ls -la src/gza/providers/*.py ```
2. **List all test files:** ```bash 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.py` → `test_db.py` - `cli.py` → `test_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: ```bash 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
### Step 3: Assess functional test coverage
Functional tests verify end-to-end workflows. Check for:
1. **Core workflows that should have integration tests:** - Creating a task → running it → verifying completion - Task dependencies (task B waits for task A) - PR creation workflow - Review workflow - Improve workflow
2. **Read `tests_integration/`** (if exists) to see what's covered
3. **Identify missing functional tests** - workflows documented in AGENTS.md that aren't tested
### Step 4: Analyze code duplication
Look for patterns of duplicated code:
1. **Search for similar code blocks:** - Similar function signatures doing similar things - Copy-pasted error handling - Repeated patterns that could be extracted
2. **Check specific areas prone to duplication:** - CLI command handlers (do they share common patterns that could be unified?) - Database queries (repeated query patterns) - Git operations (similar git command sequences)
3. **Use grep to find suspicious patterns:** ```bash # Find similar function definitions grep -n "def.*task" src/gza/*.py
# Find repeated patterns grep -n "subprocess.run" src/gza/*.py grep -n "click.echo" src/gza/cli.py ```
4. **Read AGENTS.md** section on "Single code path principle" and verify it's followed
### Step 5: Check error handling consistency
Review how errors are handled across the codebase:
1. **Identify error handling patterns:** ```bash # Find exception raising grep -n "raise " src/gza/*.py
# Find try/except blocks grep -n "except " src/gza/*.py
# Find custom exceptions grep -rn "class.*Exception" src/gza/ grep -rn "class.*Error" src/gza/ ```
2. **Check for consistency:** - Are errors handled uniformly? (always raise vs sometimes return None) - Are custom exceptions used where appropriate vs generic `Exception`? - Do error messages provide actionable information? - Are exceptions caught too broadly? (`except Exception` vs specific types)
3. **Look for problematic patterns:** - Silent failures (bare `except:` or `except: pass`) - Swallowed exceptions without logging - Inconsistent error return values (None vs empty list vs raise) - Missing error handling on I/O operations
4. **Document findings:** - List any inconsistencies in error handling approach - Note functions that should raise but return None (or vice versa) - Identify error messages that aren't helpful for debugging
### Step 6: Check API/interface consistency
Review function signatures and naming conventions:
1. **Check naming consistency:** ```bash # Find all public function definitions grep -n "^def " src/gza/*.py grep -n " def " src/gza/*.py | grep -v "__" ```
2. **Look for inconsistencies:** - Similar operations with different names (`get_task` vs `fetch_task` vs `retrieve_task`) - Parameter ordering inconsistencies (does `db` come first or last?) - Return type inconsistencies (objects vs dicts vs tuples)
3. **Check function signatures:** - Do similar functions have similar signatures? - Are there functions with too many parameters (>5)? - Are boolean parameters used where enums would be clearer?
4. **Review public interfaces:** - Are module `__all__` exports defined? - Is it clear what's public vs private? (underscore prefix convention) - Are there functions that should be private but aren't?
### Step 7: Audit configuration and hardcoding
Look for magic values that should be configurable:
1. **Find hardcoded values:** ```bash # Find numeric literals (potential magic numbers) grep -En "[^a-zA-Z_][0-9]{2,}[^0-9]" src/gza/*.py
# Find string literals that might be paths or config grep -n '"/.*"' src/gza/*.py grep -n "'/.*'" src/gza/*.py ```
2. **Check for:** - Magic numbers (timeouts, retry counts, limits) - Hardcoded file paths - Hardcoded URLs or endpoints - Default values that should be configurable
3. **Review path handling:** - Are paths constructed safely using `pathlib`? - Are there string concatenations for paths? (`dir + "/" + file`) - Are relative vs absolute paths handled correctly?
4. **Check configuration loading:** - Is `config.py` the single source for configuration? - Are there config values scattered in other modules? - Are defaults documented?
### Step 8: Review logging and observability
Assess the ability to debug and monitor the system:
1. **Check logging usage:** ```bash # Find logging calls grep -n "logging\." src/gza/*.py grep -n "logger\." src/gza/*.py grep -n "log\." src/gza/*.py
# Find print statements (should these be logs?) grep -n "print(" src/gza/*.py ```
2. **Assess logging quality:** - Is there consistent logging for key operations? - Can you trace a task's execution through the logs? - Are log levels used appropriately? (debug vs info vs warning vs error) - Are there operations that fail silently without logging?
3. **Check for sensitive data exposure:** ```bash # Look for potential credential logging grep -in "api.key\|token\|password\|secret\|credential" src/gza/*.py ``` - Are API keys, tokens, or passwords properly excluded from logs? - Are there any `repr()` or `str()` methods that might expose secrets?
4. **Review error logging:** - Are exceptions logged with stack traces where needed? - Are error messages actionable? - Is there enough context to debug issues?
### Step 9: Check resource management
Look for resource leaks and cleanup issues:
1. **Check file handling:** ```bash # Find file operations grep -n "open(" src/gza/*.py grep -n "with open" src/gza/*.py ``` - Are all file opens using context managers (`with`)? - Are there any `open()` calls without corresponding `close()`?
2. **Check database connections:** ```bash grep -n "connect(" src/gza/*.py grep -n "cursor" src/gza/*.py ``` - Are database connections properly closed? - Are cursors managed with context managers? - Is there connection pooling or is it connect-per-operation?
3. **Check subprocess management:** ```bash grep -n "subprocess" src/gza/*.py grep -n "Popen" src/gza/*.py ``` - Are subprocesses properly waited on? - Are there potential zombie processes? - Are stdin/stdout/stderr handles closed?
4. **Check for memory issues:** - Are there unbounded caches or growing lists? - Are large objects cleaned up after use? - Are there circular references that prevent garbage collection?
5. **Check temp file cleanup:** ```bash grep -n "tempfile\|mktemp\|NamedTemporaryFile" src/gza/*.py ``` - Are temp files cleaned up after use? - Are temp directories removed?
### Step 10: Assess type safety
Review type hints and type correctness:
1. **Check type hint coverage:** ```bash # Find functions without return type hints grep -n "def.*):$" src/gza/*.py
# Find functions with type hints grep -n "def.*) ->" src/gza/*.py ```
2. **Run mypy (if configured):** ```bash uv run mypy src/gza/ --ignore-missing-imports 2>&1 | head -100 ```
3. **Look for type safety issues:** - Functions with `Any` types that could be more specific - `Optional` types without proper `None` checks - Type: ignore comments (are they justified?) - Inconsistent types (function returns `str | None` but callers don't check)
4. **Check for common type issues:** ```bash # Find potential None issues grep -n "\.get(" src/gza/*.py # dict.get returns Optional grep -n "or None" src/gza/*.py grep -n "if.*is None" src/gza/*.py ```
### Step 11: Analyze component interaction patterns
Understand how modules interact and assess the clarity of these interactions:
1. **Map the import graph:** ```bash grep -h "^from gza" src/gza/*.py | sort | uniq -c | sort -rn grep -h "^import gza" src/gza/*.py | sort | uniq -c | sort -rn ```
2. **Identify the layering:** - Which modules are "lower level" (few dependencies)? - Which are "higher level" (many dependencies)? - Are there circular dependencies?
3. **Check separation of concerns:** - Does `cli.py` only handle CLI concerns, delegating to other modules? - Does `db.py` only handle database concerns? - Does `runner.py` only handle execution concerns?
4. **Look for unclear interfaces:** - Functions with too many parameters - Functions that do too many things - Tight coupling between modules that should be loosely coupled
5. **Document the interaction patterns:** ``` cli.py → db.py (task CRUD) cli.py → runner.py (task execution) runner.py → providers/* (AI execution) runner.py → git.py (git operations) etc. ```
### Step 12: Compile the review report
Create a structured report at `reviews/code-review-full.md`:
```markdown # Gza Code Review - Pre-Release Assessment
Date: YYYY-MM-DD Reviewer: Claude
## Executive Summary
[2-3 sentence overview of codebase health]
## Test Coverage
### Unit Tests
| Module | Test File | Coverage Assessment | |--------|-----------|---------------------| | db.py | test_db.py | Good - covers CRUD, queries | | cli.py | test_cli.py | Partial - missing `gza pr` tests | | ... | ... | ... |
#### Well-Tested Areas - [List modules/features with good coverage]
#### Under-Tested Areas - [List modules/featur
Technical details
- Version
- 1.0.0
- License
- MIT
- Last updated
- Aug 21, 2026
- Published
- Aug 21, 2026
Decision snapshot
Needs validation
recent repository activity
Audit
Install review
Install and adoption review
- Security
- 68/100
- Maintenance
- 100/100
- Install
- 92/100
Agent-proven evidence
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
- Success rate
- —
- Recent failure
- —
- Outcomes
- 0
- Output quality
- —
- Failed
- 0
- Not relevant
- 0
- Installs
- 0
- Risk blocked
- 0
- Setup needed
- 0
- Production
- 0
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Add to agent workflow
Free and open source. Review the report before installing into production agents.
Growth loop
Share kit
Scenario-led draft for gza-code-review-full, ready for a manual X post.
gza-code-review-full: Comprehensive pre-release code review assessing test coverage, code duplication, and componen... 11 stars https://www.openagentskill.com/skills/mhawthorne-gza-code-review-full?ref=x
Optional reply with install command
Listing + install path for gza-code-review-full: https://www.openagentskill.com/skills/mhawthorne-gza-code-review-full?ref=x Install: npx skills add mhawthorne/gza --skill gza-code-review-full
Listing source
Registry indexed
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
- Creator
- mhawthorne
- Source
- mhawthorne/gza
- Indexed by
- OpenAgentSkill community index
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
Claim this skill listing
This Registry indexed listing is attributed to mhawthorne but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Add the evidence badges to your README
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/mhawthorne-gza-code-review-full)
[](https://www.openagentskill.com/skills/mhawthorne-gza-code-review-full)
[](https://www.openagentskill.com/skills/mhawthorne-gza-code-review-full/audit)
[](https://www.openagentskill.com/skills/mhawthorne-gza-code-review-full)Author
mhawthorne
@mhawthorne
Tags
Platform fit
Health signals
- GitHub stars
- 11
- Quality score
- 31/100
- Last GitHub push
- Aug 21, 2026
- Framework hints
- Unknown
- OpenAgentSkill views
- 1
- Install copies
- 0
- Outbound clicks
- 0
Community signal
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Trust & safety
Do not auto-install
- GitHub adoption11 GitHub starsFIX
- Stars/forks activity11 stars, 1 forks; issue activity unavailable in current metadataFIX
- Recent maintenancePushed todayPASS
- License clarityMITPASS
- README/SKILL.md completenessMetadata includes enough usage and workflow contextPASS
- Dependency/runtime riskcommand execution surface, credential or environment accessFIX
Related skills
Code Review
Review a branch or diff against repository standards and the originating spec in two independent analysis passes.
168.6K StarsGrill With Docs
A relentless interview that pressure-tests a plan against the codebase, sharpens domain language, and updates CONTEXT.md and ADRs when decisions become durable.
164.7K StarsTo Spec
Turn the current conversation and codebase context into a structured implementation spec, then publish it to the configured project issue tracker.
164.7K StarsTo Tickets
Break a plan, spec, or conversation into independently actionable tracer-bullet tickets with explicit blocking relationships.
176.7K Stars