code-review
Skill by polyipseity
Guides an AI assistant through structured code reviews of pull requests, code changes and audits in the obsidian-terminal repository. It covers correctness, type safety, tests, localization and completeness for developers working on this codebase.
Install code-review
Built from the published package, never by AI.
git clone --depth 1 https://github.com/polyipseity/obsidian-terminal /tmp/obsidian-terminal && mkdir -p ~/.claude/skills && cp -r /tmp/obsidian-terminal/.agents/skills/code-review ~/.claude/skills/code-reviewRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/polyipseity/obsidian-terminal /tmp/obsidian-terminal && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/obsidian-terminal/.agents/skills/code-review ~/.gemini/antigravity-cli/skills/code-reviewAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The code-review skill gives an AI assistant a structured process for reviewing pull requests, code changes and code audits. It starts with preparation steps, such as finding the base and head refs, reading the diff, and reading changed files in full. It then checks each review dimension against a checklist: correctness, type safety, architecture fit, test coverage, localization, build and scripts, documentation, regression risk and completeness.
The workflow ends with a report that includes an overview, what is done well, issues with severity and file and line references, fix recommendations, and a completion checklist. The checklists follow this repository's conventions, such as the ban on casts, one test file per source file, locale key syncing and Conventional Commits. It is aimed at developers and agents reviewing changes to this codebase.
Written from the project's SKILL.md and checked against it.
What it can do
- Correctness reviewChecks logic errors, state handling, async use, edge cases and backward compatibility.
- Type safety reviewScans for casts, any types, and missing runtime type guards.
- Architecture fitChecks that changes follow existing patterns such as SettingsManager and LanguageManager.
- Test coverage reviewChecks test files, naming conventions, mocking style and vitest run usage.
- Localization reviewChecks locale keys, placeholders, the sync script and alphabetical ordering.
- Build and scripts reviewChecks that changes to build and install scripts have matching tests.
- Documentation reviewChecks changesets, commit message format and AGENTS.md updates.
- Regression risk reviewChecks default values and whether old saved data still loads.
- Completeness checkCompares the diff stat with expected files and looks for leftover TODO comments.
- Structured review reportProduces findings with severity, file and line references, fixes and a checklist.
What you need
- Git
- Node.js
- Bun
Try asking
- Review the diff between main and my branch for correctness and type safety.
- Check this PR for missing locale keys and confirm the locale sync step was run.
- Audit my changes for test coverage and whether a changeset is needed.
Good to know
- Written for the conventions of this repository, so many checks are repo-specific.
- Tests should be run with vitest run, not watch mode, in automated flows.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/code-review/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to code-review
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
code-review: common questions
Does the skill check localization?
Yes. It checks new keys in the English translation file, placeholder handling, the locale sync script and alphabetical ordering.
What does the review report include?
An overview, what is done well, issues with severity and file and line references, fix recommendations, and a completion checklist.
Does it check commit messages?
Yes. It checks Conventional Commits style, a header of 72 characters or fewer, and body wrapping at 100 characters.
How do I install code-review?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is code-review free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is code-review safe to use?
It scores 82 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to code-review?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
