debate-review
यह क्या करती है
यह टूल दो AI का इस्तेमाल करके आपके कोड को publish करने से पहले उसकी समीक्षा करता है। एक AI समस्याएं ढूंढता है और दूसरा उनका बचाव करता है या नई समस्याएं खोजता है, जिससे विश्लेषण ज़्यादा पूरा होता है।
कब इस्तेमाल करें
- ✓जब आप ऐसे कोड की विस्तृत समीक्षा चाहते हों जो जल्द publish होने वाला है (PR/MR)।
- ✓सामान्य समीक्षा में छूट सकने वाली 'blind spots' ढूंढने के लिए।
- ✓समीक्षा का अनुरोध बनाने से पहले भी अपने कोड को लोकल स्तर पर जांचने के लिए।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/debate-review/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“कृपया इस कोड की समीक्षा करो।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
आप एक कमांड चलाते हैं जो आपका कोड दो AI के पास भेजता है। वे मिली समस्याओं पर 'बहस' करते हैं, और एक अंतिम समीक्षा तैयार होकर सीधे आपके code request पर लगा दी जाती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
debate-review
When to Use
- You have a GitHub PR or GitLab MR that needs a thorough pre-merge review.
- You want a two-model debate (main reviewer vs. debate reviewer) to catch blind spots before posting inline comments.
Two models argue before anything is posted. A main reviewer finds issues. A debate reviewer tries to
knock them down and may add its own. The main reviewer then makes the final call, and one review with
inline comments lands on the PR or MR. It posts from the user's own gh, glab or az account as a
non-approval review or comment. It never approves and never requests changes.
You are the orchestrator. You run one command and relay the result. You do not review the diff yourself, and you do not touch the PR.
Run it
node "<skill-dir>/scripts/review-pr.mjs" --local [--base <ref>]
node "<skill-dir>/scripts/review-pr.mjs" <pr-url | number> [--dry-run]
- If the user wants a review and there is no PR/MR URL, run
--localfrom the repo (or--repo-dir). Do not invent a URL. Relay stdout.--localnever talks to a forge and rejects non-UTF-8 Git paths rather than decoding them lossily. <pr-url>is a GitHub/pull/N, GitLab/-/merge_requests/N, or Azure DevOps/_git/<repo>/pullrequest/NURL (dev.azure.comor the legacy*.visualstudio.com). A bare number resolves against the cwd'sorigin, including Azure DevOps https andssh.dev.azure.com:v3/remotes.--dry-runprints a live PR review instead of posting it. It does not combine with--local.- Azure DevOps needs
azlogged in (az login) with access to the project. No extension is required, the script talks to the REST API throughaz rest. A review there is N inline comment threads plus one closed summary thread, since Azure DevOps has no single review object; the alert blockquotes render as plain quotes, which still read. - The reviewers are two delegate-skills lanes,
review-mainandreview-debate. If either is missing the script says so. Add them withdelegate-setup. Pick two different implementers, since the debate is only worth something when the second model doesn't share the first one's blind spots (mainclaudeorgrok, debatecodexat high effort is a good pair). For a one-off, pass--main <implementer>or--debate <implementer>. Only implementers whose relay has--read-onlyare accepted. These two lanes belong to the reviewer. Don't point them at a lane you use for other work, such as a plan-debate lane. - Exit code
3means this head sha already has a debate-review. Re-run with--forceto post again. - A run takes minutes, since it is two or three implementer sessions back to back. Run it in the background and report the printed URL when it finishes. Don't poll tightly.
All flags: --help. Contracts: references/schema.md. What gets posted:
references/comment-format.md. The reviewer briefs live in assets/prompts/
and the script fills them in; you don't need to read them.
After it posts
Each posted comment carries a <!-- debate-review:<id> status=... --> marker. babysit-pr handles
GitHub and GitLab rounds (verify, fix blockers, reply, resolve). It cannot harvest Azure DevOps yet,
so relay Azure findings directly to the user. Don't act on the findings yourself unless asked.
Artifacts
~/.cache/debate-review/<owner>__<repo>/<N>/<head>/ holds run.json (all three documents, timings,
what was posted) plus main/, debate/, and final/, each with the brief sent and the relay's
result.json.
--local writes under ~/.cache/debate-review/local/<repo>/<branch>/<head>/ instead.
Limitations
- Requires
delegate-skillswithreview-mainandreview-debatelanes and authenticatedgh/glab. - Docs-only import — executable helpers (
scripts/) not included; see upstream for full runtime. Posts a singleCOMMENTreview only.
Adapted from amElnagdy/review-skills (MIT) — docs-only, runtime not bundled.
अक्सर पूछे जाने वाले सवाल
क्या इसे इस्तेमाल करने के लिए कोडिंग आनी चाहिए?
नहीं, आपको बस समीक्षा मांगना आना चाहिए। तकनीकी काम टूल खुद संभालता है।
'PR' और 'MR' क्या हैं?
ये 'Pull Request' (GitHub/Azure DevOps) और 'Merge Request' (GitLab) के संक्षिप्त नाम हैं। ये तरीके हैं जिनसे आप किसी बड़े प्रोजेक्ट में अपने कोड बदलाव शामिल करने का अनुरोध करते हैं।
क्या AI मेरा कोड approve करेगा?
नहीं, AI कभी कोड approve नहीं करता और न ही बदलाव मांगता है। वह सिर्फ़ बताता है कि किस चीज़ को बेहतर बनाया जा सकता है।
जानकारी
लेखक का मूल विवरण
Two-model debate review of a GitHub PR, GitLab MR, Azure DevOps PR, or local working tree, posted as inline comments or printed. Use for any PR/MR review request, or a local review before a PR exists.
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #4350
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
00-andruia-consultant
48kआपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।
007
48kआपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।
10-andruia-skill-smith
48kआपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।
20-andruia-niche-intelligence
48kआपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।
मिलती-जुलती skills
test-driven-development
311kयह आपके एजेंट को किसी भी फ़ीचर या सुधार से पहले पहले असफल होने वाला टेस्ट लिखना, उसे असफल होते देखना, फिर पास करने वाला सबसे छोटा कोड लिखना सिखाती है।
verification-before-completion
311kयह आपके एजेंट को किसी काम, सुधार या build के पूरा या पास होने का दावा करने से पहले असली जांच चलाकर उसका आउटपुट पढ़ना सिखाती है।
migrate-to-shoehorn
310kआपकी टेस्ट फ़ाइलों में जोखिम भरे type casts की जगह shoehorn लाइब्रेरी लगाती है, ताकि टेस्ट अधूरे डेटा से भी type checks पास कर सकें।