issues-deduplication
Manages issue deduplication in YouTrack based on engagement and customer status.
Install
mkdir -p .claude/skills/issues-deduplication && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/8344" && unzip -o skill.zip -d .claude/skills/issues-deduplication && rm skill.zipInstalls to .claude/skills/issues-deduplication
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Handles deduplication of YouTrack issues. Use when cleaning up duplicate issues, consolidating related bug reports, or organizing issue tracker.Key capabilities
- →Identify duplicate issues by comparing engagement metrics
- →Preserve issues tagged with customer-related markers
- →Validate if closed issues are actually fixed before duplicating
- →Consolidate duplicate reports into a star topology
- →Prevent chaining of duplicate references
How it works
It applies a logic checklist based on issue engagement metrics (comments/votes) and tag priority to determine the primary ticket.
Inputs & outputs
When to use issues-deduplication
- →Consolidating duplicate bug reports
- →Merging related feature requests
- →Organizing large issue backlogs
About this skill
Issues Deduplication
You are an issue tracker specialist for the IdeaVim project. Your job is to identify and properly handle duplicate issues in YouTrack.
Core Principles
1. Choosing Which Issue to Keep Open
Default rule: The older issue is typically kept open, and newer issues are marked as duplicates.
Exception - Activity trumps age: If a newer issue has significantly more engagement (comments, votes, watchers), keep the newer one open and mark the older one as duplicate. Consider:
- Number of comments
- Number of votes/thumbs-up
- Number of watchers
- Quality of discussion and information
2. Never Duplicate Issues with Customer Tags
IMPORTANT: Do not mark an issue as duplicate if it has a customer-related tag:
- Tags like
Customer:XXX - Company name tags like
Uber,Google,Meta, etc. - Any tag indicating a specific customer reported or is affected by the issue
These issues need individual tracking for customer relationship purposes.
3. Closed Issue Warning
CRITICAL: Be very careful about duplicating into a closed issue!
Before marking issues as duplicates of a closed issue, verify:
- Is the closed issue actually fixed?
- Does the fix apply to all the duplicate reports?
- Are the newer reports potentially about a regression or different manifestation?
If the problem is still occurring (based on recent reports), do NOT duplicate into a closed issue. Instead:
- Reopen the closed issue, OR
- Keep one of the open issues as the primary and duplicate into that
Duplicating active issues into a wrongly-closed issue will mark all related issues as "resolved" and lose track of an unresolved problem.
4. Consolidate to a Single Issue
When multiple issues are duplicates of each other (e.g., issues 1, 2, 3, 4, 5):
- DO: Mark 2, 3, 4, 5 as duplicates of 1 (star topology)
- DON'T: Create chains like 2→1, 3→2, 4→3, 5→4
This makes it easier to track all related reports from a single issue.
5. Preserve Unique Information
Before marking an issue as duplicate:
- Review the issue for unique information not present in the target issue
- If valuable info exists (reproduction steps, logs, environment details, workarounds):
- Add a comment to the target issue summarizing the unique info
- Or update the target issue's description if the info is significant
- Then mark as duplicate
Process
Step 1: Gather Issue Details
For each candidate issue, collect:
- Issue ID and summary
- Creation date
- Number of comments
- Number of votes
- Tags (especially customer tags)
- Current state (Open, Closed, etc.)
- Key details from description
Step 2: Group Duplicates
Identify which issues are truly duplicates vs. related-but-different issues.
Step 3: Select Primary Issue
Based on the rules above, select which issue should be the primary (kept open).
Step 4: Check for Unique Information
Review each duplicate for information not in the primary issue.
Step 5: Transfer Information
Add comments or update the primary issue with any unique valuable information.
Step 6: Mark Duplicates
Use YouTrack to link issues as duplicates:
- Add "duplicates" link from duplicate → primary
- Update the issue state to "Duplicate"
Step 7: Leave a Courteous Comment
After marking an issue as duplicate, leave a comment on the duplicated issue to:
- Inform the reporter about the merge
- Direct them to the primary issue for updates
- Thank them for their contribution
Example comment:
This issue has been merged into VIM-XXXX for easier tracking. Please follow that issue for updates. Thank you for your contribution!
This maintains good relationships with reporters and ensures they stay informed.
YouTrack Operations
Link as Duplicate
Use mcp__YouTrack__link_issues with:
issueId: The duplicate issuetargetIssueId: The primary issue to duplicate intolinkName: "duplicates"
Add Comment
Use mcp__YouTrack__add_issue_comment to transfer unique information.
Update Issue
Use mcp__YouTrack__update_issue to update description if needed.
Example Decision Matrix
| Scenario | Action |
|---|---|
| Old issue (2022), new issue (2024) with same problem, similar activity | Duplicate new → old |
| Old issue (2022) with 2 comments, new issue (2024) with 15 comments and 10 votes | Duplicate old → new |
Issue has Customer:Acme tag | Never mark as duplicate |
| Old issue closed as "Fixed", new reports say problem still exists | Keep new issue open, investigate if regression |
| 5 issues about same bug | Pick best one as primary, duplicate all 4 others → primary |
When not to use it
- →Non-YouTrack issue systems
- →Merging issues without cross-referencing activity levels
Limitations
- →Dependent on human review of the issue's content quality
- →Restricted to YouTrack-specific workflow rules
How it compares
It prioritizes customer relationship and actual bug resolution status over simple chronological order.
Compared to similar skills
issues-deduplication side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| issues-deduplication (this skill) | 0 | 6mo | No flags | Beginner |
| archon | 9 | 9mo | Review | Intermediate |
| linear | 10 | 2mo | No flags | Beginner |
| zapier-workflows | 11 | 8mo | Review | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by JetBrains
View all by JetBrains →You might also like
archon
coleam00
Interactive Archon integration for knowledge base and project management via REST API. On first use, asks for Archon host URL. Use when searching documentation, managing projects/tasks, or querying indexed knowledge. Provides RAG-powered semantic search, website crawling, document upload, hierarchical project/task management, and document versioning. Always try Archon first for external documentation and knowledge retrieval before using other sources.
linear
lobehub
Linear issue management guide. Use when working with Linear issues, creating issues, updating status, or adding comments. Triggers on Linear issue references (LOBE-xxx), issue tracking, or project management tasks. Requires Linear MCP tools to be available.
zapier-workflows
davila7
Manage and trigger pre-built Zapier workflows and MCP tool orchestration. Use when user mentions workflows, Zaps, automations, daily digest, research, search, lead tracking, expenses, or asks to "run" any process. Also handles Perplexity-based research and Google Sheets data tracking.
attio-skill-generator
kesslerio
Generate use-case-specific Attio workflow skills from templates. Use when creating new skills for lead qualification, deal management, customer onboarding, or custom Attio workflows.
github-manage
matteocervelli
Manage operations concerning GitHub on behalf of user
cto-engineering-metrics
rinaldofesta
Expert methodology for defining, tracking, and interpreting engineering performance metrics including DORA, team health, productivity, and executive reporting.