tag-duplicate-prs-issues

Detect duplicate GitHub PRs and issues, group them in prtags, and sync duplicate annotations.

Updated Jun 19, 2026
One-click install
npx skills add https://github.com/AmirulAndalib/Vilvona-AI --skill tag-duplicate-prs-issues-amirulandalib
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tag-duplicate-prs-issues
Source: https://github.com/AmirulAndalib/Vilvona-AI/tree/main/.agents/skills/tag-duplicate-prs-issues
Command: npx skills add https://github.com/AmirulAndalib/Vilvona-AI --skill tag-duplicate-prs-issues-amirulandalib

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Maintainers of busy repositories waste time manually deciding whether incoming pull requests and issues duplicate existing work, and inconsistent duplicate labeling fragments related discussions across threads. ## Core Features & Use Cases - Candidate Discovery: Uses gitcrawl for local history search, neighbor lookup, and cluster inspection, falling back to live GitHub search when local data is stale or missing. - Duplicate Grouping: Creates or reuses exactly one prtags group per duplicate cluster, enforcing a one-group rule so items never belong to conflicting groups. - Judgment Persistence: Saves duplicate status, confidence, and rationale as prtags annotations on PRs, issues, and groups, with automatic GitHub comment sync. - Use Case: A maintainer triaging a new OpenClaw PR can run this workflow to gather evidence from at least two categories, decide between duplicate_confirmed, duplicate_needs_judgment, or not_duplicate, and record the verdict in prtags. ## Quick Start Use the tag-duplicate-prs-issues skill to decide whether PR #123 in openclaw/openclaw is a duplicate and record the judgment in prtags.

Frequently Asked Questions about tag-duplicate-prs-issues

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

FAQPage Schema
How do I find duplicate GitHub PRs and issues automatically?

Use gitcrawl to search local repository history, neighbors, and clusters for candidates, then verify each candidate against live GitHub state with gh pr view or gh issue view. Confirm duplicates only when evidence from at least two categories matches, such as the same problem statement and overlapping changed files.

What evidence is needed before marking a PR as a duplicate?

A duplicate decision requires evidence from at least two categories, such as the same problem statement, overlapping changed files, the same fix direction, or the same linked issue. Title or keyword similarity alone is never sufficient.

Does prtags need to be installed and authenticated before triage?

Read-only discovery with gitcrawl and gh works without prtags, but prtags must be installed and logged in via OAuth device flow before any group or annotation writes. If it is missing at the write step, the workflow stops and asks you to install or authenticate.

Can a pull request belong to multiple duplicate groups?

No. The one-group rule treats duplicate groups as exclusive, so a PR or issue belongs to at most one group. If a target appears to intersect two existing groups, the workflow stops and escalates to the maintainer instead of creating a second group.

Why does a prtags annotation write fail for a specific PR?

Writes fail when the prtags mirror has not yet caught up with the target object on GitHub. The workflow keeps any successful group state, reports the missing target, and defers the target-level annotation rather than forcing a fallback write.