Agent skill

Review

by alamenai in alamenai/terrae

Review code changes implemented in the current session before committing

MITAuto-check passedDevelopment

Install Review

skills CLI
$ npx skills add alamenai/terrae --skill review -a claude-code

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

GitHub CLI
$ gh skill install alamenai/terrae 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/alamenai/terrae.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/review .claude/skills/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
review
GitHub stars
244
Token cost
~936 tokens
SKILL.md length
351 words
Files
1
Skills in repo
11
Repo updated
First seen
Licence
MIT

At a glance

Review code changes implemented in the current session before committing

  • Works in 8 steps: Gather Changes → Read Changed Files → Analyze Changes → …
  • Tasks that involve Code review
  • Calls git

What it does

Review is an agent skill from alamenai/terrae. Review code changes implemented in the current session before committing

Its SKILL.md is about 940 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 React and Mapbox. The repository describes itself as: Composable and animated components that replace imperative layers with simple props. The perfect companion for shadcn/ui. The licence is MIT.

When your agent uses it

  • Tasks that involve Code review

Example prompts

  • “/review”

Requirements

  • Pre-approved tools (allowed-tools): Read, Grep, Glob, Bash(git *)

Workflow steps

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

  1. Gather Changes
  2. Read Changed Files
  3. Analyze Changes
  4. Structure the Review
  5. Be Constructive
  6. Check for Common Issues
  7. Verify Against Project Rules
  8. Verify Page Navigation

What it can do on your machine

Read from SKILL.md and the folder at commit ea9a480. 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(git *)

    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

Review loads about 936 tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 351 words of instructions outside code blocks.

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

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 alamenai/terrae at commit ea9a480, republished under its MIT licence (© alamenai). 351 words, ~936 tokens.

Download SKILL.mdSave it as .claude/skills/review/SKILL.md (or your agent's skills folder).
name
review
description
Review code changes implemented in the current session before committing
allowed-tools
Read, Grep, Glob, Bash(git *)

Review Skill

Review the code changes implemented in the current session before committing.

Instructions

  1. Gather Changes

    bash
    git status
    git diff --stat

    Identify all modified and new files from the current work.

  2. Read Changed Files For each modified or new file, read the full content to understand the implementation. Use git diff <file> for modified files to see what changed.

  3. Analyze Changes Review the code for:

    • Correctness: Logic errors, edge cases, potential bugs
    • Project Conventions: Following Terrae patterns (arrow functions, type over interface, etc.)
    • Performance: Unnecessary re-renders, memory leaks, inefficient algorithms
    • Security: XSS, injection vulnerabilities, exposed secrets
    • TypeScript: Proper typing, avoiding any, type safety
    • React Patterns: Proper hooks usage, effect dependencies, cleanup functions
  4. Structure the Review Format your review with clear sections:

    ## Code Review: [Feature/Change Name]
    
    ### Overview
    Brief summary of what the changes do.
    
    ### Code Quality & Style
    - Positives
    - Issues found
    
    ### Potential Issues & Risks
    Bugs, edge cases, or concerns.
    
    ### Performance Implications
    Any performance considerations.
    
    ### Suggestions for Improvement
    Specific, actionable recommendations.
    
    ### Summary
    Overall assessment and next steps.
  5. Be Constructive

    • Acknowledge good code, not just problems
    • Provide specific line numbers when referencing issues
    • Suggest fixes, not just problems
    • Distinguish between blockers and nice-to-haves
  6. Check for Common Issues

    • Missing cleanup in useEffect
    • Missing dependencies in hooks
    • Unhandled promise rejections
    • Missing error boundaries
    • Hardcoded values that should be constants
    • Missing TypeScript types
    • Console.log statements left in code
  7. Verify Against Project Rules Read the rule files in .claude/rules/ and verify the code follows them:

    • .claude/rules/typescript.md: Types, naming, ordering
    • .claude/rules/javascript.md: Formatting, arrow functions, explicit returns, early returns
    • .claude/rules/react/component.md: File structure, component structure, map component template
    • .claude/rules/react/hooks.md: useEffect extraction, dependencies, memoization rules
    • .claude/rules/react/props.md: Type extraction, ordering, defaults, documentation
    • .claude/rules/react/patterns.md: Component size, composition, common patterns
    • .claude/rules/react/rendering.md: Conditional rendering, inline functions, keys, fragments
    • .claude/rules/react/performance.md: Resource cleanup, refs vs state, layer management, canvas, DOM
    • .claude/rules/clean-code.md: Naming, functions, comments, formatting, error handling
    • .claude/rules/nextjs.md: App Router folder structure, file naming
    • .claude/rules/security.md: XSS, CSP, CORS, CSRF, secrets, rate limiting

    Flag any violations with the specific rule and file location.

  8. Verify Page Navigation If docs pages were added or modified, verify the prev and next props in DocsLayout match the sidebar navigation order defined in src/app/docs/_components/docs-sidebar.tsx. Check:

    • prev/next titles match the sidebar item titles exactly
    • prev/next hrefs point to the correct neighboring pages
    • New pages are linked from their neighbors (both prev and next sides)
    • The first page has no prev, the last page has no next

© alamenai, 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 .claude/skills/review of alamenai/terrae.

Open the folder on GitHubat commit ea9a480

Compare with similar skills

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.

Review compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Review this skillalamenai/terrae244—~936Automated safety check: PassMIT
@pierre/diffs Code Renderingpierrecomputer/pierre6.3k2 repos~803Automated safety check: PassApache-2.0
Cherry Studio PR ReviewCherryHQ/cherry-studio53k—~3.9kAutomated safety check: PassAGPL-3.0
Performance CheckZeroDeng01/sublinkPro1.7k—~1.8kAutomated safety check: PassMIT
Code Reviewnteract/semiotic2.7k—~1.5kAutomated safety check: PassApache-2.0
Code Review SkillRain-kl/OpenFlare289—~2.3kAutomated safety check: NotesMIT

Similar skills

  • @pierre/diffs Code Rendering

    pierrecomputer/pierre

    Guides an agent through using @pierre/diffs to render syntax-highlighted files and diffs, and to build editing and review surfaces in React or plain JavaScript.

    6.3k GitHub starsUsed in 2 repos~803 tokens
    DevelopmentAuto-check passed
  • Cherry Studio PR Review

    CherryHQ/cherry-studio

    Reviews Cherry Studio branches, pull requests, commits, files and docs against the project's own architecture, naming, API-boundary and UI rules, report-only by default.

    53k GitHub stars~3.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Performance Check

    ZeroDeng01/sublinkPro

    Checklist for reviewing code changes that touch queries, APIs, rendering, caching or algorithms for performance, scalability and resource-usage problems.

    1.7k GitHub stars~1.8k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Code Review

    nteract/semiotic

    Review Semiotic pull requests for behavioral bugs, regressions, contract drift, and missing evidence.

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

    289 GitHub stars~2.3k tokensUpdated 3 days ago
    DevelopmentAuto-check: notes
  • Expert code reviewer for TypeScript + React 19 applications.

    115 GitHub stars~1.7k tokensUpdated 6 mo ago
    DevelopmentAuto-check passed

More from alamenai/terrae

All 11 skills in this repo
  • Check

    alamenai/terrae

    Verify all outputs exist after creating a new component and fix any issues

    244 GitHub stars~1.1k tokensUpdated 6 mo ago
    Auto-check passed
  • Docs

    alamenai/terrae

    Generate or update documentation for Terrae components. An agent skill from alamenai/terrae.

    244 GitHub stars~576 tokensUpdated 6 mo ago
    Auto-check passed
  • Fix

    alamenai/terrae

    Systematically fix issues found by /review or reported by the user

    244 GitHub stars~775 tokensUpdated 6 mo ago
    Auto-check passed
  • New

    alamenai/terrae

    End-to-end workflow for building a new Terrae component from scratch

    244 GitHub stars~2.4k tokensUpdated 6 mo ago
    Auto-check passed
  • Perf

    alamenai/terrae

    Audit component performance and identify optimization opportunities with actionable fixes

    244 GitHub stars~678 tokensUpdated 6 mo ago
    Auto-check passed
  • PR

    alamenai/terrae

    Commit, push, and open a pull request on GitHub. An agent skill from alamenai/terrae.

    244 GitHub stars~767 tokensUpdated 6 mo ago
    Auto-check: notes

Works with

Categories

Questions about Review

What does Review do?

Review code changes implemented in the current session before committing. Review is an agent skill from alamenai/terrae.

When should I use Review?

Review fits situations like: tasks that involve Code review.

How do I install Review in Claude Code?

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

How do I install Review in Codex?

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

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

What does Review need to run?

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

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

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

About 936 tokens (SKILL.md is roughly 3.7k 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 Review?

Skills that share tags, products or a category with Review: @pierre/diffs Code Rendering (pierrecomputer/pierre, 6.3k stars), Cherry Studio PR Review (CherryHQ/cherry-studio, 53k stars), Performance Check (ZeroDeng01/sublinkPro, 1.7k stars) and Code Review (nteract/semiotic, 2.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Review?

alamenai (a GitHub user) maintains it in alamenai/terrae, which has 244 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on April 6, 2026.

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