# code-review-suite

Adopt this skill: https://proskills.md/skills/other/luze1011-super-skills-skills-code-review-suite

Page: https://proskills.md/skills/other/luze1011-super-skills-skills-code-review-suite
This document is the public skill bundle for that page. It contains SKILL.md and every helper file the catalog carries. No login is required.

## File: skills/code-review-suite/SKILL.md
size: 4065
upstream: https://github.com/luze1011/super-skills/blob/main/skills/code-review-suite/SKILL.md

````text
---
name: code-review-suite
description: A comprehensive code review workflow for requesting reviews, processing feedback, and implementing improvements. Use this skill when the user wants to request a code review, respond to review feedback, refactor code based on suggestions, or improve code quality. Also use when mentions "review", "code review", "审查代码", "代码审查", "反馈", "重构", or "refactor" in the context of code changes.
---

# Code Review Suite

A complete workflow for managing code reviews - from requesting reviews to processing feedback and implementing improvements.

## When to Use This Skill

Trigger this skill when:
- User wants to request a code review for their changes
- User receives review feedback and needs help processing it
- User wants to refactor code based on review suggestions
- User mentions "review", "代码审查", "反馈处理", or similar terms

## Workflow Overview

```
Request Review → Collect Feedback → Process Suggestions → Implement Changes → Follow-up
```

## Step 1: Request Code Review

Use the `scripts/request-review.sh` script to create a structured review request.

### What the script does:
1. Analyzes changed files in the current branch
2. Generates a review request with context
3. Creates a checklist for reviewers

### Usage:
```bash
./scripts/request-review.sh --branch <feature-branch> --reviewer <reviewer-name>
```

The script generates:
- Summary of changes
- Key areas to review
- Testing checklist
- Context for reviewers

Read `assets/review-template.md` for the standard review request format.

## Step 2: Process Review Feedback

When you receive feedback, use `scripts/process-feedback.sh` to organize and track responses.

### What the script does:
1. Parses review comments
2. Categorizes feedback (critical, important, suggestion)
3. Tracks resolution status

### Feedback Categories:

| Priority | Description | Action |
|----------|-------------|--------|
| 🔴 Critical | Bugs, security issues, breaking changes | Must fix before merge |
| 🟡 Important | Performance, best practices, maintainability | Should fix |
| 🟢 Suggestion | Style, minor improvements | Consider fixing |

## Step 3: Implement Changes

Based on the feedback, implement changes following the guidelines in `references/refactor-guide.md`.

### Implementation Principles:

1. **Address Critical First** - Handle blocking issues immediately
2. **One Change Per Commit** - Keep commits atomic and focused
3. **Explain Your Reasoning** - When you disagree with feedback, document why
4. **Test Thoroughly** - Ensure changes don't break existing functionality

## Step 4: Respond to Feedback

For each piece of feedback:
1. Acknowledge the comment
2. Explain what you changed (or why you didn't)
3. Link to the commit that addresses it

## Reference Files

- **Review Checklist**: Read `references/review-checklist.md` for what to check during reviews
- **Refactor Guide**: Read `references/refactor-guide.md` for best practices on implementing changes

## Tips for Effective Reviews

### For Authors:
- Keep changes small and focused
- Provide context in your review request
- Be open to feedback
- Respond to all comments

### For Reviewers:
- Be constructive and specific
- Explain the "why" behind suggestions
- Distinguish between must-fix and nice-to-have
- Acknowledge good code

## Example Workflow

```
User: "I need to request a review for my PR"

Agent:
1. Run `request-review.sh` to generate review request
2. Present the formatted request
3. Ask if user wants to customize it

User: "I got some feedback on my PR, can you help?"

Agent:
1. Ask user to share the feedback
2. Run `process-feedback.sh` to categorize it
3. Help implement changes following refactor-guide.md
4. Draft responses to each comment
```

## Integration with Git

This skill works well with git workflows:
- Analyzes branch differences
- Tracks file changes
- Integrates with PR/merge request workflows

---

Use this skill to make code reviews more efficient and ensure consistent quality improvements.
````

## File: README.md
upstream: https://github.com/luze1011/super-skills/blob/main/README.md

````text
# 🚀 Super Skills Collection

> **11 个超级技能合集** - OpenClaw 一站式能力平台

---

## ✨ 技能列表

| 技能 | 功能 | 安装命令 |
|------|------|---------|
| 🌐 **super-browser** | AI视觉+Playwright+DevTools 浏览器自动化 | `npx skills add luze1011/super-skills@super-browser` |
| 🖥️ **desktop-control-plus** | PyAutoGUI+Midscene 桌面自动化 | `npx skills add luze1011/super-skills@desktop-control-plus` |
| 🧪 **super-testing** | pytest+Playwright+E2E 测试全流程 | `npx skills add luze1011/super-skills@super-testing` |
| 💻 **super-code** | 代码审查+Git+GitHub CLI | `npx skills add luze1011/super-skills@super-code` |
| 📄 **super-document** | PDF+Word+Excel+PPTX 文档处理 | `npx skills add luze1011/super-skills@super-document` |
| 🔍 **super-search** | 多引擎+新闻+社交搜索 | `npx skills add luze1011/super-skills@super-search` |
| ✍️ **super-writing-assistant** | 规划→撰写→润色 写作助手 | `npx skills add luze1011/super-skills@super-writing-assistant` |
| 💡 **creative-generator** | 四层能力创意生成器 | `npx skills add luze1011/super-skills@creative-generator` |
| 📢 **marketing-suite** | 策略→内容→运营 营销套件 | `npx skills add luze1011/super-skills@marketing-suite` |
| 👀 **code-review-suite** | 请求→反馈→重构 代码审查 | `npx skills add luze1011/super-skills@code-review-suite` |
| 🧪 **testing-expert** | pytest+Playwright 测试专家 | `npx skills add luze1011/super-skills@testing-expert` |

---

## 📦 一键安装全部

```bash
# 安装所有超级技能
npx skills add luze1011/super-skills --yes --global
```

---

## 🎯 快速开始

### 浏览器自动化
```bash
npx @midscene/web@1 connect --url "https://github.com"
npx @midscene/web@1 act --prompt "搜索 OpenClaw"
```

### 桌面控制
```bash
npx @midscene/computer@1 connect
npx @midscene/computer@1 act --prompt "打开记事本"
```

### 文档处理
```python
# Python 示例
from docx import Document
doc = Document()
doc.add_heading('Hello World', 0)
doc.save('demo.docx')
```

---

## 📚 技能详情

### 🌐 super-browser
融合 AI 视觉控制、Playwright 精确自动化、DevTools 调试分析、网页剪藏。

### 🖥️ desktop-control-plus
PyAutoGUI 精确坐标控制 + Midscene AI 视觉理解双引擎。

### 🧪 super-testing
Python pytest + Playwright + Vitest + Midscene E2E 测试全栈方案。

### 💻 super-code
代码审查流程 + Git 工作流 + GitHub CLI + 重构指南。

### 📄 super-document
PDF/Word/Excel/PowerPoint 文档处理全流程。

### 🔍 super-search
多搜索引擎 + AI 增强 + 新闻聚合 + 社交研究。

---

## 🔧 环境配置

部分技能需要配置环境变量：

```bash
# Midscene (浏览器/桌面自动化)
MIDSCENE_MODEL_API_KEY=your-api-key
MIDSCENE_MODEL_NAME=qwen3.5-plus
MIDSCENE_MODEL_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
MIDSCENE_MODEL_FAMILY=qwen3.5
```

---

## 📁 目录结构

```
super-skills/
├── skills/
│   ├── super-browser/
│   ├── super-testing/
│   ├── super-code/
│   ├── super-document/
│   ├── super-search/
│   ├── super-writing-assistant/
│   ├── desktop-control-plus/
│   ├── testing-expert/
│   ├── code-review-suite/
│   ├── creative-generator/
│   └── marketing-suite/
├── README.md
└── LICENSE
```

---

## 🤝 贡献

欢迎提交 Issue 和 Pull Request！

---

## 📄 License

MIT

---

_Created by 太子 (OpenClaw Agent)_
````
