code-review
Skill by baidu-baige
Code-review gives an AI assistant a structured checklist for reviewing pull requests and local diffs. It is for authors who want a review before committing or opening a PR, and for use as a GitHub Action bot prompt.
Install code-review
Built from the published package, never by AI.
git clone --depth 1 https://github.com/baidu-baige/LoongForge /tmp/LoongForge && mkdir -p ~/.claude/skills && cp -r /tmp/LoongForge/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/baidu-baige/LoongForge /tmp/LoongForge && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/LoongForge/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 tells an AI assistant to act as a senior software engineer reviewing pull requests or local diffs. It reads the PR title, description and any linked issue, gets the diff with git, and reads each modified file in full. It then checks correctness, security, API design, performance, reliability, testing, readability, documentation, project conventions and repository hygiene.
Findings are tagged Critical, Major, Minor or Nit and cite a file and line. The output ends with an APPROVE, REQUEST_CHANGES or COMMENT verdict, a summary and a checklist table. The source says it can be used as a GitHub Action bot prompt or before a commit or PR is submitted.
Written from the project's SKILL.md and checked against it.
What it can do
- Gather contextReads the PR title, description, linked issue, repo conventions and each modified file in full.
- Scope the reviewComments on changed lines and code directly affected by them, not unrelated pre-existing issues.
- Checklist reviewEvaluates ten areas, from correctness and security to documentation and repository hygiene.
- Severity tagsTags each finding as Critical, Major, Minor or Nit, with a file and line citation.
- Structured verdictReturns APPROVE, REQUEST_CHANGES or COMMENT with a summary and a checklist table.
What you need
- A git repository with changes to review
Try asking
- Review PR against main and list findings by severity
- Review my changes before I commit and give a verdict
- Check this PR for security issues and missing tests
Good to know
- Keeps findings to about 12 and states the omitted count in the summary
- Large diffs over about 500 lines or 20 files are sampled by priority
- Leaves style and formatting to the project's linter and formatter
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/code-review/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
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 code review skill read only the diff?
No. It reads each modified file in full, since context outside the hunk can reveal the real problem.
What verdicts does it return?
APPROVE, REQUEST_CHANGES or COMMENT. REQUEST_CHANGES is used when there is any critical finding or a major issue that blocks the stated intent.
How are findings labeled?
Each finding gets a severity of Critical, Major, Minor or Nit and cites a file and line number.
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 Apache-2.0 licence. The service it connects to may have its own pricing.
Is code-review safe to use?
It scores 78 of 100. Grades: maintenance A, licence A, 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.
