Agent skill

Code Review

by hardness1020 in hardness1020/Leeway

Code quality review — identify patterns, anti-patterns, and improvements.

MITAuto-check passedDevelopment

Install Code Review

skills CLI
$ npx skills add hardness1020/Leeway --skill code-review -a claude-code

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

GitHub CLI
$ gh skill install hardness1020/Leeway 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/hardness1020/Leeway.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.leeway/skills/code-review .claude/skills/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
code-review
GitHub stars
115
Token cost
~301 tokens
SKILL.md length
99 words
Files
2 (incl. references)
Skills in repo
2
Repo updated
First seen
Licence
MIT

At a glance

Code quality review — identify patterns, anti-patterns, and improvements.

  • Works in 5 steps: Scan structure — use glob and grep to… → Read changed files — focus on logic, not… → Check against patterns — see… → …
  • Performing code reviews
  • SKILL.md covers Workflow, Rules and Output Format
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Code Review is an agent skill from hardness1020/Leeway. Code quality review — identify patterns, anti-patterns, and improvements. Use when performing code reviews, auditing code quality, or evaluating pull requests for readability, maintainability, and correctness.

Its SKILL.md is about 300 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/checklist.md`).

It sits in Development, covering Code review, Code quality and Pull requests. The repository describes itself as: A workflow-driven AI agent framework that executes YAML-defined decision trees. The licence is MIT.

When your agent uses it

  • Performing code reviews
  • Auditing code quality
  • Evaluating pull requests for readability
  • Maintainability

Example prompts

  • “/code-review”

Workflow steps

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

  1. Scan structure — use glob and grep to understand the scope of changes
  2. Read changed files — focus on logic, not formatting
  3. Check against patterns — see references/checklist.md for the full checklist
  4. Identify issues — categorize by severity (critical, major, minor, suggestion)
  5. Write report — structured as Summary, Issues, Suggestions

What it can do on your machine

Read from SKILL.md and the folder at commit 7601e5e. 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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

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

  • Network

    No URLs in SKILL.md.

    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

Code Review loads about 301 tokens when it runs, and up to ~538 if it reads all its reference files. Until then it costs about 55 tokens; SKILL.md has 99 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~55
When it runs · the whole SKILL.md, loaded when a task matches
~301
With references · SKILL.md plus every file in references/, read only if the agent opens them
~538

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

The full file from hardness1020/Leeway at commit 7601e5e, republished under its MIT licence (© hardness1020). 99 words, ~301 tokens.

Download SKILL.mdSave it as .claude/skills/code-review/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
code-review
description
Code quality review — identify patterns, anti-patterns, and improvements. Use when performing code reviews, auditing code quality, or evaluating pull requests for readability, maintainability, and correctness.

Code Review

Workflow

  1. Scan structure — use glob and grep to understand the scope of changes
  2. Read changed files — focus on logic, not formatting
  3. Check against patterns — see references/checklist.md for the full checklist
  4. Identify issues — categorize by severity (critical, major, minor, suggestion)
  5. Write report — structured as Summary, Issues, Suggestions

Rules

  • Cite file:line for every issue — evidence before opinion
  • Keep one issue per point — don't bundle unrelated problems
  • Suggest fixes, not just problems — "consider X" is better than "this is wrong"
  • Praise good patterns — reinforce what works

Output Format

markdown
## Summary
[1-2 sentence overall assessment]

## Issues
- **[severity]** file:line — description

## Suggestions
- file:line — recommendation

For the full quality checklist, read references/checklist.md.

© hardness1020, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in .leeway/skills/code-review of hardness1020/Leeway.

  • SKILL.md
  • references/checklist.md

Open the folder on GitHubat commit 7601e5e

Compare with similar skills

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.

Code Review compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Code Review this skillhardness1020/Leeway115—~301Automated safety check: PassMIT
WooCommerce Code Reviewwoocommerce/woocommerce11k3 repos~1.1kAutomated safety check: PassCustom licence
Code Review Skillawesome-skills/code-review-skill2.1k—~2.8kAutomated safety check: NotesMIT
Code Reviewerjewbetcha/opentrace1162 repos~1.1kAutomated safety check: NotesMIT
Cyclomatic Complexitysaurabhkumar8112/cyclomatic-complexity-skill405—~761Automated safety check: PassApache-2.0
Code Review SkillRain-kl/OpenFlare288—~2.3kAutomated safety check: NotesMIT

Similar skills

  • 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
  • Code Review Skill

    awesome-skills/code-review-skill

    Provides comprehensive code review guidance for React 19, Vue 3, Angular 17+, Svelte 5, Rust, TypeScript, Java, Java 8, PHP, Ruby, Rails, Python, Django, FastAPI, Go, C/.NET, Kotlin, Swift, Dart…

    2.1k GitHub stars~2.8k tokensUpdated 29 days ago
    DevelopmentAuto-check: notes
  • Code Reviewer

    jewbetcha/opentrace

    Comprehensive code review skill for TypeScript, JavaScript, Python, Swift, Kotlin, Go.

    116 GitHub starsUsed in 2 repos~1.1k tokens
    DevelopmentAuto-check: notes
  • Cyclomatic Complexity

    saurabhkumar8112/cyclomatic-complexity-skill

    Refactor code to reduce cyclomatic complexity so it stays readable, maintainable, and aligned with the long-term vision of the codebase, not just optimized for AI comprehension.

    405 GitHub stars~761 tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Code Review Skill

    Rain-kl/OpenFlare

    Provides comprehensive code review guidance for React 19, Vue 3, Angular 17+, Svelte 5, Rust, TypeScript, Java, PHP, Python, Django, Go, C/.NET, Kotlin, Swift, NestJS, C/C++, and more.

    288 GitHub stars~2.3k tokensUpdated today
    DevelopmentAuto-check: notes
  • Code Reviewer

    Yikai-Liao/symusic

    Analyzes code diffs and files to identify bugs, security vulnerabilities (SQL injection, XSS, insecure deserialization), code smells, N+1 queries, naming issues, and architectural concerns, then…

    189 GitHub starsUsed in 1 repo~1.3k tokens
    DevelopmentAuto-check passed

More from hardness1020/Leeway

  • Coding Standards

    hardness1020/Leeway

    Coding standards and best practices checklist for Python and TypeScript.

    115 GitHub stars~340 tokensUpdated 4 mo ago
    Auto-check passed

Categories

Questions about Code Review

What does Code Review do?

Code quality review — identify patterns, anti-patterns, and improvements. Code Review is an agent skill from hardness1020/Leeway. Code quality review — identify patterns, anti-patterns, and improvements.

When should I use Code Review?

Code Review fits situations like: performing code reviews; auditing code quality; evaluating pull requests for readability; maintainability.

How do I install Code Review in Claude Code?

Run `npx skills add hardness1020/Leeway --skill code-review -a claude-code`. Or copy the skill folder (.leeway/skills/code-review in hardness1020/Leeway) into .claude/skills/code-review in your project. Claude Code loads it when a task matches its description.

How do I install Code Review in Codex?

Run `npx skills add hardness1020/Leeway --skill code-review -a codex`. Or copy the skill folder (.leeway/skills/code-review in hardness1020/Leeway) into .agents/skills/code-review in your project. Codex loads it when a task matches its description.

Can I use 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 hardness1020/Leeway --skill 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/code-review, .gemini/skills/code-review, .github/skills/code-review and .opencode/skills/code-review in your project.

What does Code Review need to run?

SKILL.md names no scripts, command-line tools or credentials: Code Review is instructions for the agent only.

Does Code Review access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is 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 Code Review use?

Code Review is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Code Review use?

About 301 tokens (SKILL.md is roughly 1.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 237 tokens, read only when the agent opens those files.

What are the alternatives to Code Review?

Skills that share tags, products or a category with Code Review: WooCommerce Code Review (woocommerce/woocommerce, 11k stars), Code Review Skill (awesome-skills/code-review-skill, 2.1k stars), Code Reviewer (jewbetcha/opentrace, 116 stars) and Cyclomatic Complexity (saurabhkumar8112/cyclomatic-complexity-skill, 405 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Code Review?

hardness1020 (a GitHub user) maintains it in hardness1020/Leeway, which has 115 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on May 21, 2026.

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