refactor-review-knowledge

Reviews uncommitted code changes against task checklists and submits evidence-based MR comments.

Updated Apr 30, 2026
One-click install
npx skills add https://github.com/yuezhen-huang/my-bytedance-skillhub --skill refactor-review-knowledge-yuezhen-huang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: refactor-review-knowledge
Source: https://github.com/yuezhen-huang/my-bytedance-skillhub/tree/main/refactor-review-knowledge
Command: npx skills add https://github.com/yuezhen-huang/my-bytedance-skillhub --skill refactor-review-knowledge-yuezhen-huang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually reviewing merge requests against task requirements is time-consuming and error-prone, often missing requirement mismatches buried in large diffs. This Skill automates structured code review of uncommitted changes, verifying each change against a checklist derived from the task description and MR summary. ## Core Features & Use Cases - Checklist-Driven Review: Extracts checklist items from the task description and MR summary, then systematically verifies each item against the actual changes. - Diff-Based Analysis: Examines uncommitted changes via a user-provided diff command (e.g., git diff HEAD --relative) and explores surrounding code with Read, Glob, and Grep for context. - Incremental MR Comments: Submits focused, evidence-based review comments through the code_review_comment tool as issues are found, avoiding trivial style nitpicks. - Use Case: A developer finishes a refactor and asks for a review before committing. Provide the task description, MR summary, and a diff command; the reviewer walks the checklist, cites specific lines, and posts comments only on task-relevant issues. ## Quick Start Review my uncommitted changes against this task description and MR summary using the diff command 'git add . && git diff HEAD --relative -- ".go" ".yaml"'.

Frequently Asked Questions about refactor-review-knowledge

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run an automated code review on uncommitted changes?

Provide the task description, MR summary, and a diff command such as 'git add . && git diff HEAD --relative'. The reviewer extracts a checklist, examines the diff, explores related code, and submits comments on task-relevant issues.

How to review a merge request against task requirements automatically?

Checklist items are extracted from the task description and MR summary, then each item is verified sequentially against the diff. Unsatisfied applicable items generate MR comments citing specific lines of code.

What inputs does the code review skill need?

It needs three inputs: a task description, an MR summary, and a diff command to obtain changes. You should not paste the code changes directly; instead provide a command like git diff HEAD --relative with file filters.

Does the automated reviewer fix the issues it finds?

No, it acts strictly as a reviewer and does not modify code. It only submits review comments through the code_review_comment tool, focusing on task-related issues rather than style nitpicks.

What kinds of issues does the code review comment on?

It comments only on issues where the changes fail to satisfy checklist items derived from the task requirements. It skips trivial code-style concerns, avoids praising well-done parts, and acknowledges when no issues exist.