Agent skill

Code Review

by mobazha in mobazha/mobazha-unified

Review code for quality, architecture consistency, and adherence to Mobazha project standards using confidence-based filtering.

MPL-2.0Auto-check passedDevelopment

Install Code Review

skills CLI
$ npx skills add mobazha/mobazha-unified --skill code-review -a claude-code

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

GitHub CLI
$ gh skill install mobazha/mobazha-unified 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/mobazha/mobazha-unified.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/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
165
Token cost
~464 tokens
SKILL.md length
82 words
Files
2
Skills in repo
29
Repo updated
First seen
Licence
MPL-2.0

At a glance

Review code for quality, architecture consistency, and adherence to Mobazha project standards using confidence-based filtering.

  • The user asks for code review
  • SKILL.md covers 审查范围, 置信度评分, 审查维度 and 架构一致性检查(关键), plus 1 more section
  • Calls git
  • Pre-commit review

What it does

Code Review is an agent skill from mobazha/mobazha-unified. Review code for quality, architecture consistency, and adherence to Mobazha project standards using confidence-based filtering. Use when the user asks for code review, staged review, pre-commit review, or says "review", "审查", "检查代码", "帮我看看", "review staged", "提交前检查", "看看代码".

Its SKILL.md is about 460 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `checklist.md`).

It sits in Development, covering Code review. The repository describes itself as: Open-source commerce frontend for storefronts, marketplaces, checkout, and seller management. The licence is MPL-2.0.

When your agent uses it

  • The user asks for code review
  • Pre-commit review

Example prompts

  • “review”
  • “review staged”
  • “/code-review”

What it can do on your machine

Read from SKILL.md and the folder at commit 156c699. 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 464 tokens when it runs. Until then it costs about 72 tokens; SKILL.md has 82 words of instructions outside code blocks.

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

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 mobazha/mobazha-unified at commit 156c699, republished under its MPL-2.0 licence (© mobazha). 82 words, ~464 tokens.

Download SKILL.mdSave it as .claude/skills/code-review/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
code-review
description
Review code for quality, architecture consistency, and adherence to Mobazha project standards using confidence-based filtering. Use when the user asks for code review, staged review, pre-commit review, or says "review", "审查", "检查代码", "帮我看看", "review staged", "提交前检查", "看看代码".

Code Review

审查范围

  • 已暂存变更: git diff --staged
  • 未暂存变更: git diff
  • 指定文件: 按用户要求

置信度评分

对每个问题评分 0-100,只报告置信度 >= 80 的问题。

分数含义
0-25可能是误报或已有问题
26-50小问题,规范中未明确提及
51-75真实但影响较小
76-89重要,需要关注
90-100关键 Bug 或明确违反规范

审查维度

维度权重检查要点
架构一致性20%代码复用、分层架构、类型定义位置
代码质量20%命名、结构、可读性、DRY
React 最佳实践15%Hooks、性能、组件设计
TypeScript15%类型安全、泛型、禁止 any
迁移一致性10%与原 RN 功能对齐
响应式与间距10%断点、布局、内边距、元素间距
错误处理5%try-catch、用户反馈
测试覆盖5%单元测试完整性

架构一致性检查(关键)

详见 .cursor/rules/code-reuse-rules.mdc。

  • apps/ 中无业务类型定义(Props 除外)
  • apps/ 中无 transform*/map* 函数
  • 组件不直接调用 xxxApi.*,使用 hooks
  • 无跨文件重复逻辑
  • 上下文(如 viewingContext)正确传递

完整检查清单(货币、主题、间距等)见 checklist.md。

输出格式

markdown
## Code Review 报告

### 📁 审查文件

- file1.ts (+X 行)

### 📊 评分:X/10

### 🔴 必须修复(置信度 90-100)

#### 问题 #1: [问题标题]

- 位置:`file:line`
- 问题:[具体描述]
- 违反规范:[对应规则]
- 建议修复:[代码示例]

### 🟡 建议改进(置信度 80-89)

#### 问题 #N: [问题标题]

- 位置:`file:line`
- 问题:[具体描述]
- 建议修复:[代码示例]

### ✅ 一致性检查

- [x] 架构一致性 — 无违规
- [x] 迁移一致性 — 与原 RN 行为一致

### ✨ 代码亮点

- [描述写得好的代码或良好模式]

### 结论

- [ ] 可以提交
- [ ] 需修复后重新审查

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

Files

SKILL.md and 1 other file in .cursor/skills/code-review of mobazha/mobazha-unified.

  • SKILL.md
  • checklist.md

Open the folder on GitHubat commit 156c699

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 skillmobazha/mobazha-unified165—~464Automated safety check: PassMPL-2.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT
Backend Code Reviewlangflow-ai/langflow156k—~3.5kAutomated safety check: NotesMIT
Understand Diff AnalysisEgonex-AI/Understand-Anything86k1 repos~1.4kAutomated safety check: PassMIT
Mole Bug Patternstw93/Mole70k—~2kAutomated safety check: PassGPL-3.0

Similar skills

  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • 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
  • Backend Code Review

    langflow-ai/langflow

    Review backend code for quality, security, maintainability, and best practices based on established checklist rules.

    156k GitHub stars~3.5k tokensUpdated today
    DevelopmentAuto-check: notes
  • Understand Diff Analysis

    Egonex-AI/Understand-Anything

    Reads your git changes or a pull request against a prebuilt knowledge graph of the project to explain what changed, which components are affected and what is risky.

    86k GitHub starsUsed in 1 repo~1.4k tokens
    DevelopmentAuto-check passed
  • A catalog of recurring bug shapes in the Mole Mac cleaner, used to review safety-sensitive diffs for deletion safety, unbounded commands, shell traps and weak tests.

    70k GitHub stars~2k tokensUpdated today
    DevelopmentAuto-check passed
  • Backend Code Review

    langgenius/dify

    Reviews backend code under api/ for concrete, reproducible defects, routes to rule packs for architecture, schema, repositories and SQLAlchemy, and ranks findings from P0 to P3.

    158k GitHub stars~676 tokensUpdated today
    DevelopmentAuto-check passed

More from mobazha/mobazha-unified

All 29 skills in this repo
  • A11y Guide

    mobazha/mobazha-unified

    Accessibility guide for Mobazha following WCAG 2.1 AA standards including color contrast, reduced motion, ARIA patterns, keyboard navigation, focus management, and screen reader testing.

    165 GitHub stars~1.4k tokensUpdated 4 days ago
    Auto-check passed
  • API Reference

    mobazha/mobazha-unified

    Look up Mobazha backend API endpoints, request/response formats, and field mappings.

    165 GitHub stars~1.7k tokensUpdated 4 days ago
    Auto-check passed
  • Code Simplifier

    mobazha/mobazha-unified

    Simplify and refine recently written code for clarity, consistency, and maintainability while preserving all functionality.

    165 GitHub stars~601 tokensUpdated 4 days ago
    Auto-check passed
  • Commit Helper

    mobazha/mobazha-unified

    Generate commit messages and run pre-commit validation following Mobazha conventions.

    165 GitHub stars~735 tokensUpdated 4 days ago
    Auto-check passed
  • Component Dev

    mobazha/mobazha-unified

    Create and modify UI components following Mobazha conventions including directory structure, spacing standards, accessibility, and testing.

    165 GitHub stars~638 tokensUpdated 4 days ago
    Auto-check passed
  • Debug Troubleshoot

    mobazha/mobazha-unified

    Troubleshooting handbook for common issues in Mobazha development including build errors, Matrix connection issues, wallet problems, and performance debugging.

    165 GitHub stars~1.4k tokensUpdated 4 days ago
    Auto-check passed

Categories

Questions about Code Review

What does Code Review do?

Review code for quality, architecture consistency, and adherence to Mobazha project standards using confidence-based filtering. Code Review is an agent skill from mobazha/mobazha-unified. Review code for quality, architecture consistency, and adherence to Mobazha project standards using confidence-based filtering.

When should I use Code Review?

Code Review fits situations like: the user asks for code review; pre-commit review.

How do I install Code Review in Claude Code?

Run `npx skills add mobazha/mobazha-unified --skill code-review -a claude-code`. Or copy the skill folder (.cursor/skills/code-review in mobazha/mobazha-unified) 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 mobazha/mobazha-unified --skill code-review -a codex`. Or copy the skill folder (.cursor/skills/code-review in mobazha/mobazha-unified) 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 mobazha/mobazha-unified --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 MPL-2.0 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 464 tokens (SKILL.md is roughly 1.9k 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: PR Babysitter (openinterpreter/openinterpreter, 69k stars), Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), Backend Code Review (langflow-ai/langflow, 156k stars) and Understand Diff Analysis (Egonex-AI/Understand-Anything, 86k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Code Review?

mobazha (a GitHub organization) maintains it in mobazha/mobazha-unified, which has 165 GitHub stars. The repository holds 29 skills in this directory. The repository was last updated on October 3, 2026.

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