К основному содержанию
скилл CX Codex

issues-deduplication — скилл для Claude Code

Скилл issues-deduplication находит повторные тикеты в YouTrack, объединяет их в одну задачу и переносит шаги воспроизведения.

MIT ★ 10 292 обновлён 2026-10-29

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add JetBrains/ideavim --skill issues-deduplication -a claude-code
Открыть на GitHub

Что делает issues-deduplication

Скилл наводит порядок в трекере YouTrack. Он группирует повторяющиеся баг-репорты вокруг одной главной задачи, связывая остальные по схеме «звезда» без длинных цепочек перенаправлений. По умолчанию открытой остаётся самая ранняя задача, но при высокой активности в свежем тикете скилл назначит главным его.

Перед закрытием дубликата агент переносит в основной тикет ценные сведения: логи, детали окружения или шаги воспроизведения. После этого он выставляет статус «Duplicate» и оставляет в закрытой ветке вежливый комментарий со ссылкой на главное обсуждение.

Для реальных действий в трекере требуются подключённые MCP-инструменты YouTrack (mcp__YouTrack__link_issues, mcp__YouTrack__add_issue_comment). Без них агент лишь составит план слияния. Правила строго запрещают трогать тикеты с клиентскими тегами вроде Customer:XXX или названиями компаний.

Какие задачи решает

  • найти повторяющиеся баг-репорты в YouTrack
  • выбрать главный тикет с учётом голосов и активности обсуждения
  • перенести логи и шаги воспроизведения в открытую ветку
  • связать закрытые дубликаты ссылкой на базовую задачу

Примеры запросов агенту

  • Проверь последние тикеты по сбоям при вводе текста и объедини дубликаты
  • Посмотри тикеты VIM-1020 и VIM-1045, перенеси шаги воспроизведения и свяжи их через YouTrack
  • Разбери пачку багов по навигации, сохранив отчёты с тегами клиентов отдельными

Как установить issues-deduplication

1Через Skills CLI (Vercel)

npx skills add JetBrains/ideavim --skill issues-deduplication -a claude-code

2Вручную: положить файлы

~/.claude/skills/issues-deduplication/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/issues-deduplication/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы об issues-deduplication

Как установить issues-deduplication в Claude Code?

Выполните в терминале команду npx skills add JetBrains/ideavim --skill issues-deduplication -a claude-code.

Какую задачу скилл оставляет открытой при слиянии?

Обычно приоритет отдаётся более старому тикету. Исключение делается тогда, когда в новой ветке накопилось ощутимо больше голосов, наблюдателей и подробных комментариев.

Почему скилл отказывается объединять тикеты с тегами клиентов?

Задачи с метками вроде Customer:Acme, Google или Meta требуют изолированного учёта для клиентской поддержки. Инструкции запрещают помечать их дубликатами.

Исходный текст

SKILL.md · MIT
---
name: issues-deduplication
description: Handles deduplication of YouTrack issues. Use when cleaning up duplicate issues, consolidating related bug reports, or organizing issue tracker.
---

# 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:
1. Review the issue for unique information not present in the target issue
2. 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
3. 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 issue
- `targetIssueId`: The primary issue to duplicate into
- `linkName`: "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 |

© JetBrains · MIT · JetBrains/ideavim

Похожие скиллы

Все скиллы по теме «Заметки, задачи и проекты» →
sync-linear-to-issues davila7 Команда sync-linear-to-issues переносит задачи из Linear в задачи GitHub с сохранением статусов, приоритетов и вложений. Пригодится при переезде команды разработки на единый трекер в GitHub. CX Codex +1 123установок writing-issues riekelt Скилл writing-issues задаёт структуру задач, баг-репортов и спайков в трекере. Помогает превратить обсуждение или сырые заметки в понятный тикет с проверяемыми критериями приёмки. CX Codex +1 26 500установок github-issues официальный github Управляет GitHub issues через MCP-инструменты и gh api: создаёт баг-репорты, задачи и feature requests, меняет поля и связи между задачами. CX Codex +1 17 431установок qa-to-issues sammcj Скилл qa-to-issues превращает баг-репорты в готовые задачи на GitHub через диалог. Скилл опрашивает вас, изучает репозиторий и сам публикует тикеты без лишних деталей реализации. CX Codex +1 ★ 173звёзд репо om-close-fixed-issues open-mercato Скилл om-close-fixed-issues для Claude Code сверяет закрывающие ссылки в недавно объединённых PR с задачами трекера. Он также оставляет комментарии к задачам, если связанный PR закрыли без слияния или слили не в базовую ветку. CX Codex +1 3 500установок Jira Automation Claude Office Skills Скилл Jira Automation автоматизирует трекинг задач и планирование спринтов в Jira. Помогает настраивать правила переходов и собирать метрики прямо в диалоге. CX Codex +1 4 900установок

Из того же набора2

Спонсоры проекта

Компании, которые помогают держать аналитику открытой