Agent skill

Code Review

by owainlewis in owainlewis/youtube-tutorials

Review code changes for bugs, security issues, performance problems, and style violations.

MITAuto-check passedDevelopment

Install Code Review

skills CLI
$ npx skills add owainlewis/youtube-tutorials --skill code-review -a claude-code

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

GitHub CLI
$ gh skill install owainlewis/youtube-tutorials 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/owainlewis/youtube-tutorials.git skills-src && mkdir -p .claude/skills && cp -r skills-src/tutorials/pi-coding-agent-guide/resources/04-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
402
Token cost
~343 tokens
SKILL.md length
160 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
MIT

At a glance

Review code changes for bugs, security issues, performance problems, and style violations.

  • Works in 3 steps: Understand the Change → Check for Issues → Report
  • Asked to review code
  • SKILL.md covers Step 1: Understand the Change, Step 2: Check for Issues and Step 3: Report
  • Calls git

What it does

Code Review is an agent skill from owainlewis/youtube-tutorials. Review code changes for bugs, security issues, performance problems, and style violations. Use when asked to review code, a PR, or recent changes.

Its SKILL.md is about 340 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. It works with Python. The repository describes itself as: All my YouTube tutorials. Everything here is free - but please follow me on YouTube if you find these helpful. The licence is MIT.

When your agent uses it

  • Asked to review code
  • Tasks that involve Code review

Example prompts

  • “/code-review”

Workflow steps

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

  1. Understand the Change
  2. Check for Issues
  3. Report

What it can do on your machine

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

    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 343 tokens when it runs. Until then it costs about 40 tokens; SKILL.md has 160 words of instructions outside code blocks.

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

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 owainlewis/youtube-tutorials at commit 5b3d3c9, republished under its MIT licence (© owainlewis). 160 words, ~343 tokens.

Download SKILL.mdSave it as .claude/skills/code-review/SKILL.md (or your agent's skills folder).
name
code-review
description
Review code changes for bugs, security issues, performance problems, and style violations. Use when asked to review code, a PR, or recent changes.

Code Review

When reviewing code, follow this process:

Step 1: Understand the Change

Run git diff (or git diff --staged for staged changes) to see what changed. Read the modified files in full to understand the surrounding context.

Step 2: Check for Issues

Review each changed file for:

Correctness

  • Logic errors, off-by-one errors, race conditions
  • Missing null/undefined checks at system boundaries
  • Incorrect error handling (swallowed errors, wrong error types)

Security

  • SQL injection, XSS, command injection
  • Hardcoded secrets or credentials
  • Overly permissive file/network access

Performance

  • N+1 queries, unnecessary loops, large allocations
  • Missing indexes for new database queries
  • Blocking operations in async code

Maintainability

  • Unclear naming, overly complex logic
  • Dead code, unused imports
  • Missing types in TypeScript

Step 3: Report

Format your review as:

  1. Summary: One sentence on what the change does
  2. Issues: Specific problems with file paths and line numbers
  3. Suggestions: Optional improvements (clearly marked as optional)

Be direct. Don't pad with praise. Focus on things that matter.

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

Files

Just SKILL.md in tutorials/pi-coding-agent-guide/resources/04-skills/code-review of owainlewis/youtube-tutorials.

Open the folder on GitHubat commit 5b3d3c9

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 skillowainlewis/youtube-tutorials402—~343Automated safety check: PassMIT
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT
Dignified Python Standardsdocling-project/docling69k—~1.5kAutomated safety check: PassApache-2.0
Code Review Skillawesome-skills/code-review-skill2.1k—~2.8kAutomated safety check: NotesMIT
Docling Pull Request Reviewdocling-project/docling69k—~1kAutomated safety check: PassMIT
Git History Bug Auditben-manes/caffeine18k—~3.3kAutomated safety check: PassApache-2.0

Similar skills

  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Dignified Python Standards

    docling-project/docling

    Applies opinionated production Python conventions chosen by the project's Python version: modern type syntax, pathlib, explicit checks and interface guidance.

    69k GitHub stars~1.5k tokensUpdated today
    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
  • 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.

    69k GitHub stars~1k tokensUpdated today
    DevelopmentAuto-check passed
  • Git History Bug Audit

    ben-manes/caffeine

    Audits a module by walking its git history commit by commit, tracking unresolved issues forward, and reporting the ones that survive to HEAD as findings.

    18k GitHub stars~3.3k tokensUpdated 2 days ago
    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 owainlewis/youtube-tutorials

  • Plan

    owainlewis/youtube-tutorials

    Write a short implementation plan or a longer execution plan before coding.

    402 GitHub stars~1k tokensUpdated 10 days ago
    Auto-check passed
  • Research

    owainlewis/youtube-tutorials

    Research video ideas for a topic, preview them, and add only approved non-duplicates to the configured Airtable content pipeline.

    402 GitHub stars~466 tokensUpdated 10 days ago
    Auto-check passed

Works with

Categories

Questions about Code Review

What does Code Review do?

Review code changes for bugs, security issues, performance problems, and style violations. Code Review is an agent skill from owainlewis/youtube-tutorials. Review code changes for bugs, security issues, performance problems, and style violations.

When should I use Code Review?

Code Review fits situations like: asked to review code; tasks that involve Code review.

How do I install Code Review in Claude Code?

Run `npx skills add owainlewis/youtube-tutorials --skill code-review -a claude-code`. Or copy the skill folder (tutorials/pi-coding-agent-guide/resources/04-skills/code-review in owainlewis/youtube-tutorials) 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 owainlewis/youtube-tutorials --skill code-review -a codex`. Or copy the skill folder (tutorials/pi-coding-agent-guide/resources/04-skills/code-review in owainlewis/youtube-tutorials) 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 owainlewis/youtube-tutorials --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).

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 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 343 tokens (SKILL.md is roughly 1.4k 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 Checklist (shareAI-lab/learn-claude-code, 78k stars), Dignified Python Standards (docling-project/docling, 69k stars), Code Review Skill (awesome-skills/code-review-skill, 2.1k stars) and Docling Pull Request Review (docling-project/docling, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Code Review?

owainlewis (a GitHub user) maintains it in owainlewis/youtube-tutorials, which has 402 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on September 27, 2026.

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