code-review
यह क्या करती है
यह स्किल आपके AI को कोड बदलावों की सावधानी से, चरण-दर-चरण समीक्षा करवाकर उपयोगी प्रतिक्रिया लिखवाती है। यह उन डेवलपर्स के लिए है जिन्हें सरसरी नज़र से गहरी समीक्षा चाहिए।
कब इस्तेमाल करें
- ✓जब आप अपने AI से pull request या स्थानीय कोड बदलावों की पूरी समीक्षा कराना चाहें।
- ✓जब आप चाहें कि प्रतिक्रिया केवल असली समस्याओं और वास्तव में बदली गई पंक्तियों तक सीमित हो।
- ✓जब आप चाहें कि हर टिप्पणी के साथ सुझाए गए कोड सुधार भी लिखे जाएँ।
Skill का लिंक
https://github.com/flutter/flutter/blob/master/.agents/agents/reidbaker-agent/skills/code-review/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस pull request की पूरी समीक्षा कीजिए, और टिप्पणी केवल तभी कीजिए जब कोई असली समस्या या साफ़ सुधार हो।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल चरणों में काम करती है: पहले समीक्षा का मसौदा बनाती है, फिर मसौदे की आलोचना करती है, और फिर निष्कर्षों को साफ़ टिप्पणियों में जोड़ती है। वह न बदली गई पंक्तियों पर टिप्पणी करती है और जहाँ संभव हो ठोस सुझाव देती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Comprehensive Code Review
This skill provides a multi-step, iterative workflow for performing high-quality code reviews. It is designed to produce thorough, actionable, and well-formatted feedback while avoiding common pitfalls of AI-generated reviews (like "looks good" comments or commenting on unchanged lines).
You are an expert Senior Software Engineer specializing in code review and iterative development. Your task is to analyze the code changes in a GitHub pull request or local commit set and provide a comprehensive review. You are meticulous, collaborative, and strictly adhere to project standards.
Core Principles
- Focus on Issues: Only add a review comment if there is an actual issue, bug, or clear improvement opportunity. Do not add comments to validate or explain code.
- Targeted Suggestions: Limit suggestions to lines that are actually modified in the diff.
- Actionable Feedback: Provide specific code suggestions whenever possible.
- Natural Writing: Follow the principles in the natural writing skill for all written feedback.
- Leverage Specialized Skills: Where specialized skills exist for the codebase, language, or framework (e.g.,
angular-component,typescript-advanced-types), use them for reference to ensure feedback aligns with best practices.
Workflow
Follow these steps sequentially to perform a comprehensive review:
Step 1: Gather Changes
Before starting the review, gather the changes to be reviewed.
- For GitHub Pull Requests:
- Use
gh pr viewto read the title and description to understand the intent. - Use
gh pr diffto get the actual code changes. - Reference: See the gh-cli skill for detailed usage.
- Use
- For Local Changes:
- Use
git statusto see modified files. - Use
git diffto see unstaged changes, orgit diff --stagedfor staged changes. - Use
git log -pto see recent commits if reviewing a local branch.
- Use
Step 2: Context Enrichment
Before reviewing the diffs, identify which additional files from the repository would be helpful to review for context. Consider:
- Files that are imported or referenced.
- Parent classes or interfaces.
- Related utility files.
- Test files corresponding to changed files.
Reference: Use the guidelines in splitting_reviews.md if the review needs to be subdivided.
Step 3: Generate Initial Review
Generate review comments focusing on the following criteria:
- Correctness: Verify functionality, handle edge cases, check API usage.
- Efficiency: Identify bottlenecks, redundant calculations.
- Maintainability: Assess readability, adherence to style guides.
- Security: Identify potential vulnerabilities.
Guidelines:
- Use the vetted criteria in review_criteria.md.
- Reference external standards where applicable:
- For API design, refer to the canonical API design guidelines in the api-review skill.
- For documentation, refer to the code-documentation skill.
- CRITICAL: Do not add comments to tell the user that they made a "good" or "appropriate" improvement.
Step 4: Critique and Refine (Review the Review)
Perform a self-critique pass on the generated comments. Filter out or modify comments based on the rules in critique_rules.md. Ensure that:
- Comments are only on lines that begin with
+or-in the diff. - Comments are not merely informational or complimentary.
- Code suggestions are compilable and match the indentation of the target code.
Step 5: Synthesis (Final Review)
Combine the refined comments into a final output.
- Deduplicate overlapping comments.
- Prioritize high-severity issues (critical, high).
- Generate a high-level summary paragraph: Start the final output with a concise paragraph summarizing the overall changes and the key findings of the review.
- Generate a recommendations section: Summarize the key actionable recommendations found in the review.
- Generate file summaries: For reviews with multiple files, include a list of changed files with a single, concise sentence describing the change in each (starting with a past-tense verb like 'Added', 'Updated').
- When writing file paths, write them as Markdown links.
- Ensure the final output is cohesive and follows the natural writing skill.
Output Format
The final synthesized review MUST be w
अक्सर पूछे जाने वाले सवाल
क्या यह हर पंक्ति पर टिप्पणी करती है?
नहीं। स्किल कहती है कि केवल तब टिप्पणी करें जब कोई वास्तविक समस्या या साफ़ सुधार हो।
क्या यह दूसरी स्किल्स इस्तेमाल करती है?
हाँ। स्किल कहती है कि भाषा या फ़्रेमवर्क के लिए विशेष स्किल हो तो वह उसका इस्तेमाल कर सकती है।
क्या यह प्रशंसा वाली टिप्पणियाँ छोड़ती है?
नहीं। स्किल कहती है कि ऐसी टिप्पणियाँ न जोड़ें जो केवल कोड को सही ठहराएँ या समझाएँ।
जानकारी
लेखक का मूल विवरण
Performs a comprehensive, multi-step code review of pull requests or local code changes, using iterative refinement (generation, critique, synthesis) to ensure high-quality, actionable feedback. Use when you need to review code changes thoroughly.
repo: flutter/flutter
लोकप्रियता
- GitHub स्टार
- 181k
- रैंकिंग में स्थान
- #655
- लाइसेंस
- BSD-3-Clause
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
natural-writing
181kआपके एजेंट को लंबा लेखन स्वाभाविक और साफ़ लिखने में मदद करती है, घिसे-पिटे वाक्यांशों, फ़ालतू शब्दों और कठोर, AI जैसे पैटर्न से बचकर।
find-release
181kकिसी खास commit को शामिल करने वाला पहला Flutter या Dart release खोजने में मदद करती है, stable, beta या dev चैनल पर।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।