code-review-expert
Expert code review of current git changes with a senior engineer lens.
Skill by bd-dxg
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/bd-dxg-code-review-expert
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/code-review-expert
What's inside
- Skill name
code-review-expert- Description
- Expert code review of current git changes with a senior engineer lens. Detects SOLID violations, security risks, and proposes actionable improvements.
- License
- AGPL-3.0
- Instructions
- 152 lines in SKILL.md · view on GitHub
Files (7)
- README.md
- SKILL.md
- agent.yaml · agents/
- code-quality-checklist.md · references/
- removal-plan.md · references/
- security-checklist.md · references/
- solid-checklist.md · references/
SKILL.md (first lines)
# Code Review Expert
## Overview
Perform a structured review of the current git changes with focus on SOLID, architecture, removal candidates, and security risks. Default to review-only output unless the user asks to implement changes.
## Severity Levels
| Level | Name | Description | Action |
|-------|------|-------------|--------|
| **P0** | Critical | Security vulnerability, data loss risk, correctness bug | Must block merge |
| **P1** | High | Logic error, significant SOLID violation, performance regression | Should fix before merge |
| **P2** | Medium | Code smell, maintainability concern, minor SOLID violation | Fix in this PR or create follow-up |
| **P3** | Low | Style, naming, minor suggestion | Optional improvement |
## Workflow
### 1) Preflight context
- Use `git status -sb`, `git diff --stat`, and `git diff` to scope changes.
- If needed, use `rg` or `grep` to find related modules, usages, and contracts.
- Identify entry points, ownership boundaries, and critical paths (auth, payments, data writes, network).
**Edge cases:**
- **No changes**: If `git diff` is empty, inform user and ask if they want to review staged changes or a specific commit range.
- **Large diff (>500 lines)**: Summarize by file first, then review in batches by module/feature area.
- **Mixed concerns**: Group findings by logical feature, not just file order.
### 2) SOLID + architecture smells
- Load `references/solid-checklist.md` for specific prompts.
- Look for:
- **SRP**: Overloaded modules with unrelated responsibilities.
- **OCP**: Frequent edits to add behavior instead of extension points.
- **LSP**: Subclasses that break expectations or require type checks.
- **ISP**: Wide interfaces with unused methods.
- **DIP**: High-level logic tied to low-level implementations.
- When you propose a refactor, explain *why* it improves cohesion/coupling and outline a minimal, safe split.
- If refactor is non-trivial, propose an incremental plan instead of a large rewrite.
### 3) Removal candidates + iteration plan
- Load `references/removal-plan.md` for template.
- Identify code that is unused, redundant, or feature-flagged off.
- Distinguish **safe delete now** vs **defer with plan**.
- Provide a follow-up plan with concrete steps and checkpoints (tests/metrics).
### 4) Security and reliability scan
- Load `references/security-checklist.md` for coverage.
- Check for:
- XSS, injection (SQL/NoSQL/command), SSRF, path traversal
- AuthZ/AuthN gaps, missing tenancy checks
- Secret leakage or API keys in logs/env/files
- Rate limits, unbounded loops, CPU/memory hotspots
- Unsafe deserialization, weak crypto, insecure defaults
- **Race conditions**: concurrent access, check-then-act, TOCTOU, missing locks
- Call out both **exploitability** and **impact**.
### 5) Code quality scan
- Load `references/code-quality-checklist.md` for coverage.
- Check for:
- **Error handling**: swallowed exceptions, overly broad catch, missing error handling, async errors
- **Performance**: N+1 queries, CPU-intensive ops in hot paths, missing cache, unbounded memory
- **Boundary conditions**: null/undefined handling, empty collections, numeric boundaries, off-by-one
- Flag issues that may cause silent failures or production incidents.
### 6) Output format
Structure your review as follows:
```markdown
## Code Review Summary
**Files reviewed**: X files, Y lines changed
**Overall assessment**: [APPROVE / REQUEST_CHANGES / COMMENT]
---
## Findings
### P0 - Critical
(none or list)
### P1 - High
- **[file:line]** Brief title
- Description of issue
- Suggested fix
### P2 - Medium
...
### P3 - Low
...
---
## Removal/Iteration Plan
(if applicable)
## Additional Suggestions
(optional improvements, not blocking)
```
**Inline comments**: Use this format for file-specific findings:
```
::code-comment{file="path/to/file.ts" line="42" severity="P1"}
Description of the issue and suggested fix.
::
```
**Clean review**: If no issues found, explicitly state:
- What was checked
- Any areas not covered (e.g., "Did not verify database migrations")
- Residual risks or recommended follow-up tests
### 7) Next steps confirmationFrom bd-dxg/my-pi, AGPL-3.0.
More from bd-dxg/my-pi
- 0.634score
skill-monitor
bd-dxg
用 GitHub URL 持续监控远程仓库目录下的文件(如 skill、脚本、配置文件),不依赖 npx skills 安装。当用户提到"监控这个仓库/目录"、"检查有没有更新"、"帮我跟踪这个 URL 的变更"、"看看这个 skill 更新了什么"、"不想用 npx 安装"、或要求对比 GitHub…
SkillBFreshness: B★ 88Claude Code +9 - 0.633score
planning-with-files
bd-dxg
Implements Manus-style file-based planning to organize and track progress on complex tasks.
SkillBFreshness: B★ 88Claude Code +9 - 0.632score
github-issue-creator
bd-dxg
Use this skill when asked to create a GitHub issue.
SkillBFreshness: B★ 88Claude Code +9 - 0.632score
pr-creator
bd-dxg
Use this skill when asked to create a pull request (PR).
SkillBFreshness: B★ 88Claude Code +9 - 0.629score
humanizer-zh
bd-dxg
去除文本中的 AI 生成痕迹。适用于编辑或审阅文本,使其听起来更自然、更像人类书写。 基于维基百科的"AI 写作特征"综合指南。检测并修复以下模式:夸大的象征意义、 宣传性语言、以 -ing 结尾的肤浅分析、模糊的归因、破折号过度使用、三段式法则、 AI 词汇、否定式排比、过多的连接性短语。
SkillBFreshness: B★ 88Claude Code +9 - 0.629score
gencom
bd-dxg
根据 Git diff 生成提交信息(严格遵循项目风格)。当用户需要生成 git commit message、提交代码、或提到 commit/提交/commit message 时使用,即使他们没有明确说"生成提交信息",只要涉及代码提交就该用这个 skill。
SkillBFreshness: B★ 88Claude Code +9 - 0.629score
init-agents-md
bd-dxg
扫描项目结构并初始化项目级 AGENTS.md(context file)。当用户提到"初始化 AGENTS.md"、"创建项目说明"、"设置项目上下文"、"为新项目生成规则文件"、"看看这个项目要注意什么",或刚进入一个不熟悉的新仓库、开始新项目工作时,都应使用此 skill,即使没有明确提到 AGENTS.md。
SkillBFreshness: B★ 88Claude Code +9 - 0.629score
naming
bd-dxg
根据中文描述生成英文标识符(PascalCase)。当用户提到"命名"、"起名"、"叫啥"、"取个名"、"这个叫啥"、"module/component/class/file 叫什么"等需要为代码元素起英文名的场景时使用,即使用户没有明确说"生成英文文件名"。
SkillBFreshness: B★ 88Claude Code +9 - 0.626score
add-anchor
bd-dxg
为 Markdown 文件的标题添加英文自定义锚点 {#my-anchor}。当用户要求为 Markdown 标题添加锚点、处理 TOC 锚点、或需要标题可跳转链接时使用此命令。支持单文件或整个目录批量处理。
SkillBFreshness: B★ 88Claude Code +9 - 0.625score
pr-address-comments
bd-dxg
Use this skill if the user asks you to help them address GitHub PR comments for their current branch of the Gemini CLI.
SkillBFreshness: B★ 88Claude Code +9 - 0.623score
add-frontmatter
bd-dxg
为当前打开的 Markdown 文件添加 Frontmatter(包含 title 和 description)
SkillBFreshness: B★ 88Claude Code +9 - 0.612score
skill-creator
bd-dxg
Create new skills, modify and improve existing skills, and measure skill performance.
SkillBFreshness: B★ 88Claude Code +9
Signals
- Stars
- 88
- Forks
- 14
- Open issues
- 0
- Last commit (this folder)
- Sep 2, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- AGPL-3.0
- Repository
- github.com/bd-dxg/my-pi
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.283score
code-review-expert
shwoo03
Expert code review of current git changes with a senior engineer lens.
SkillCFreshness: CClaude Code +9 - 0.276score
code-review-expert
Microck
Expert code review of current git changes with a senior engineer lens.
SkillDFreshness: D★ 5Claude Code +9 - 0.244score
code-review-expert
shwoo03
Expert code review of current git changes with a senior engineer lens.
SkillDFreshness: DClaude Code +9 - 0.244score
code-review-expert
shwoo03
Expert code review of current git changes with a senior engineer lens.
SkillDFreshness: DClaude Code +9 - 0.244score
code-review-expert
tc9011
Expert code review of current git changes with a senior engineer lens.
SkillDFreshness: DClaude Code +9
More from bd-dxg
- 0.634score
skill-monitor
bd-dxg
用 GitHub URL 持续监控远程仓库目录下的文件(如 skill、脚本、配置文件),不依赖 npx skills 安装。当用户提到"监控这个仓库/目录"、"检查有没有更新"、"帮我跟踪这个 URL 的变更"、"看看这个 skill 更新了什么"、"不想用 npx 安装"、或要求对比 GitHub…
SkillBFreshness: B★ 88Claude Code +9 - 0.633score
planning-with-files
bd-dxg
Implements Manus-style file-based planning to organize and track progress on complex tasks.
SkillBFreshness: B★ 88Claude Code +9 - 0.632score
github-issue-creator
bd-dxg
Use this skill when asked to create a GitHub issue.
SkillBFreshness: B★ 88Claude Code +9 - 0.632score
pr-creator
bd-dxg
Use this skill when asked to create a pull request (PR).
SkillBFreshness: B★ 88Claude Code +9 - 0.629score
init-agents-md
bd-dxg
扫描项目结构并初始化项目级 AGENTS.md(context file)。当用户提到"初始化 AGENTS.md"、"创建项目说明"、"设置项目上下文"、"为新项目生成规则文件"、"看看这个项目要注意什么",或刚进入一个不熟悉的新仓库、开始新项目工作时,都应使用此 skill,即使没有明确提到 AGENTS.md。
SkillBFreshness: B★ 88Claude Code +9 - 0.629score
gencom
bd-dxg
根据 Git diff 生成提交信息(严格遵循项目风格)。当用户需要生成 git commit message、提交代码、或提到 commit/提交/commit message 时使用,即使他们没有明确说"生成提交信息",只要涉及代码提交就该用这个 skill。
SkillBFreshness: B★ 88Claude Code +9
Cite this page
code-review-expert skill. Agent Mart. https://agentmart.dev/skills/bd-dxg-code-review-expert (last updated 2026-10-24)