hjklasdfg/layla/nemoclaw-maintainer-pr-comparator
Claude Code and agent skill by hjklasdfg/layla
- community
Checking that the SKILL.md file is still in the repository.
Compares competing PRs that target the same issue and recommends which one to merge. Runs gate, correctness, and quality checks; outputs a deterministic scorecard with reasoning trace. Use when an issue has two or more open PRs and a maintainer needs to decide which to merge.
Install
npx vskill@latest install hjklasdfg/layla/nemoclaw-maintainer-pr-comparatorSKILL.md
The same SKILL.md was published earlier as hjklasdfg/layla/nemoclaw-maintainer-pr-comparator.
PR Comparator
Picks the merge winner among competing PRs for a single issue. Tier 0 gates eliminate plumbing failures; Tiers 1-2 score correctness and quality; Tier 3 applies deterministic tiebreakers. Degraded mode handles the case where no PR passes gates.
Prerequisites
ghCLI installed and authenticated- A target repository with an issue that has 2+ open PRs
Repo policy
Defaults assume NemoClaw conventions (security CODEOWNERS, DCO, CodeRabbit, docs/ directory). For other repos, edit repo-policy.md to override.
Workflow
Copy this checklist into your response and check off each step:
Step 1: Parse issue
Extract acceptance criteria from issue body and all comments:
Read every comment — commenters often add asks the body doesn't capture.
Step 2: Discover candidate PRs
Applies a single default order with stop conditions.
Step 3: Detect supersession
Parses each PR body for supersedes #N, replaces #N, closes in favor of #N, folds in #N. A PR that supersedes another wins ties immediately.
Step 4: Tier 0 gates
Five gates, all mandatory. See checks/tier-0-gates.md for the full list and interpretation.
Step 5: Tier 1 correctness
Six checks, all LLM judgments. See checks/tier-1-correctness.md for evidence requirements per check.
Step 6: Tier 2 quality
Three checks, all LLM judgments. See checks/tier-2-quality.md.
Step 7: Weighted score
- Each pass = full points
- Each yellow = half points
- Each fail = zero
- Tier 1 weight: 2.0× per check
- Tier 2 weight: 1.0× per check
Step 8: Tier 3 ranking
Branch on whether any PR passes all Tier 0 gates. See tiebreakers.md for happy-path tiebreakers, degraded-mode distance-to-ready ranking, and the behavior-coverage matrix.
Step 9: Emit verdict
Use templates/verdict.md. Every judgment must carry evidence (file:line refs, diff snippets), reasoning chain, and the score it contributed.
Reference files
repo-policy.md— configurable defaults per target repochecks/tier-0-gates.md— plumbing gateschecks/tier-1-correctness.md— six correctness checkschecks/tier-2-quality.md— three quality checkstiebreakers.md— Tier 3 ranking and degraded modetemplates/verdict.md— output templatevalidation/backtest.md— backtest the skill against historical cases
Scripts (execute, do not read)
scripts/find-candidates.sh— PR discoveryscripts/collect-gates.sh— Tier 0 gate evaluationscripts/check-coderabbit-threads.sh— GraphQL thread resolutionscripts/parse-supersession.sh— body parsing for supersession refsscripts/render-verdict.py— verdict scorecard renderer
What this skill does NOT do
These require infrastructure beyond GitHub API + LLM and are deferred to v2 modules:
- Running each PR's code against adversarial inputs (sandboxed execution)
- Cross-issue regression sweep (separate skill)
- Revert simulation against neighbor PRs
- Static analyzer integration (CodeQL, Semgrep)
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingbackend/NemoClaw/.agents/skills/nemoclaw-maintainer-pr-comparator/SKILL.md
Popularity
- Repository stars
- 2
- Repository forks
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/hjklasdfg/layla/nemoclaw-maintainer-pr-comparator)