Agent skill

Code Review

by hw-native-sys in hw-native-sys/pypto

Review code changes against PyPTO project standards before committing.

Custom licenceAuto-check: notesDevelopment

Install Code Review

skills CLI
$ npx skills add hw-native-sys/pypto --skill code-review -a claude-code

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

GitHub CLI
$ gh skill install hw-native-sys/pypto 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/hw-native-sys/pypto.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/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
125
Token cost
~1.8k tokens
SKILL.md length
810 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
Custom licence

At a glance

Review code changes against PyPTO project standards before committing.

  • Works in 6 steps: Code Quality → Python Style (see python-style.md for… → Documentation Alignment → …
  • Preparing commits
  • SKILL.md covers Review Process, Review Checklist, Cross-Layer Consistency and Common Issues to Flag, plus 3 more sections
  • Calls git

What it does

Code Review is an agent skill from hw-native-sys/pypto. Review code changes against PyPTO project standards before committing. Use when reviewing code, preparing commits, checking pull requests, or when the user asks for code review.

Its SKILL.md is about 1.8k 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 and Pull requests. It works with Python and C++. The repository describes itself as: A community-driven pypto implementation.

When your agent uses it

  • Preparing commits
  • Checking pull requests
  • The user asks for code review

Example prompts

  • “/code-review”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Read, Grep, Glob, Bash

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Code Quality
  2. Python Style (see python-style.md for full details)
  3. Documentation Alignment
  4. Testing Standards
  5. Multi-Language Documentation Sync
  6. Commit Content

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep
    • Glob
    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

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

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    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 1.8k tokens when it runs. Until then it costs about 47 tokens; SKILL.md has 810 words of instructions outside code blocks.

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

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: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Grep, Glob, Bash

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 810 words (~1,829 tokens).

“You are a specialized code review agent. Review all code changes in the current git diff against PyPTO's quality standards. You MUST NOT modify any files — only analyze and report.”

— opening of SKILL.md by hw-native-sys, Custom licence
name
code-review
allowed-tools
Read, Grep, Glob, Bash
context
fork

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .claude/skills/code-review of hw-native-sys/pypto.

Open the folder on GitHubat commit 5f71449

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 skillhw-native-sys/pypto125—~1.8kAutomated safety check: NotesCustom licence
Code Review Excellenceandrew-yangy/gru-ai155—~1.7kAutomated safety check: NotesMIT
Code Revieweralirezarezvani/claude-skills28k1 repos~1.6kAutomated safety check: PassMIT
Code Review Skillawesome-skills/code-review-skill2.1k—~2.8kAutomated safety check: NotesMIT
pybind11 Release Preparationpybind/pybind1118k—~1.7kAutomated safety check: PassCustom licence
Docling Pull Request Reviewdocling-project/docling68k—~1kAutomated safety check: PassMIT

Similar skills

  • Code Review Excellence

    andrew-yangy/gru-ai

    Provides comprehensive code review guidance for React 19, Vue 3, Rust, TypeScript, Java, Python, and C/C++.

    155 GitHub stars~1.7k tokensUpdated 7 mo ago
    DevelopmentAuto-check: notes
  • Code Reviewer

    alirezarezvani/claude-skills

    Code review automation for TypeScript, JavaScript, Python, Go, Swift, Kotlin, C, .NET, Java, C, C++, Rust, Ruby, PHP, and Dart/Flutter.

    28k GitHub starsUsed in 1 repo~1.6k 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
  • Opens the pybind11 release-preparation pull request: picking the release base, bumping the version in common.h and integrating the changelog, following docs/release.rst.

    18k GitHub stars~1.7k tokensUpdated today
    DevelopmentAuto-check passed
  • Docling Pull Request Review

    docling-project/docling

    Reviews or re-reviews a Docling pull request in fixed stages, with findings that can be reproduced and an explicit record of every check that was run.

    68k GitHub stars~1k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • 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

More from hw-native-sys/pypto

  • Compare Codegen

    hw-native-sys/pypto

    Compare codegen output (.pto files and pass dumps) between origin/main and the current branch for a given test case.

    125 GitHub stars~1.4k tokensUpdated 7 days ago
    Auto-check passed
  • Add Op

    hw-native-sys/pypto

    Add new operator definitions to PyPTO across all layers (C++, Python IR, Python DSL, tests, codegen, docs).

    125 GitHub stars~2k tokensUpdated 7 days ago
    Auto-check passed
  • Testing

    hw-native-sys/pypto

    Verify testing coverage and run tests for PyPTO project. An agent skill from hw-native-sys/pypto.

    125 GitHub stars~1.1k tokensUpdated 7 days ago
    Auto-check passed
  • Weekly Changelog

    hw-native-sys/pypto

    Generate a weekly changelog markdown file summarizing external API and feature changes from git commits in a date range.

    125 GitHub stars~2.1k tokensUpdated 7 days ago
    Auto-check passed

Works with

Categories

Questions about Code Review

What does Code Review do?

Review code changes against PyPTO project standards before committing. Code Review is an agent skill from hw-native-sys/pypto. Review code changes against PyPTO project standards before committing.

When should I use Code Review?

Code Review fits situations like: preparing commits; checking pull requests; the user asks for code review.

How do I install Code Review in Claude Code?

Run `npx skills add hw-native-sys/pypto --skill code-review -a claude-code`. Or copy the skill folder (.claude/skills/code-review in hw-native-sys/pypto) 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 hw-native-sys/pypto --skill code-review -a codex`. Or copy the skill folder (.claude/skills/code-review in hw-native-sys/pypto) 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 hw-native-sys/pypto --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?

Going by SKILL.md and its folder, Code Review needs the command-line tools its instructions call (git). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Grep, Glob, Bash.

Does Code Review access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Code Review safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Code Review use?

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

About 1.8k tokens (SKILL.md is roughly 7.3k 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 Code Review?

Skills that share tags, products or a category with Code Review: Code Review Excellence (andrew-yangy/gru-ai, 155 stars), Code Reviewer (alirezarezvani/claude-skills, 28k stars), Code Review Skill (awesome-skills/code-review-skill, 2.1k stars) and pybind11 Release Preparation (pybind/pybind11, 18k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Code Review?

hw-native-sys (a GitHub organization) maintains it in hw-native-sys/pypto, which has 125 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on September 30, 2026.

Source: hw-native-sys/pypto on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.