ticket-duplicate-detection
Detects similar/duplicate tickets before creating new ones.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Detects similar/duplicate tickets before creating new ones.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Patterns for generating Gamma.app-compatible slide deck markdown from GitHub data for customer-facing account management presentations
Patterns for generating Gamma.app-compatible slide deck markdown from Linear data for customer-facing account management presentations
Patterns and templates for creating sprint/project retrospective reports from Jira data with time tracking and blocker analysis.
Multi-platform Electron build configuration - esbuild bundling, electron-builder setup, and distribution
Integrate external CLI tools (Claude, Node, npx) in Electron apps with proper PATH handling
Handle native Node.js modules in Electron - better-sqlite3, sharp, keytar packaging patterns
| name | ticket-duplicate-detection |
| description | Detects similar/duplicate tickets before creating new ones. |
| user-invocable | false |
Patterns for checking Linear for similar/duplicate tickets before creating new ones.
Avoid creating duplicate tickets by:
From the user's issue description, extract:
Use mcp__linear__list_issues with multiple queries:
# Search 1: Primary keywords
mcp__linear__list_issues with query="drawer z-index", updatedAt="-P30D", limit=20
# Search 2: Error messages (if applicable)
mcp__linear__list_issues with query="handleTabChange undefined", limit=10
# Search 3: Component/file names
mcp__linear__list_issues with query="AppDrawer", limit=10
Time range: Search issues updated in last 30 days (updatedAt: "-P30D")
Check results for:
If potential duplicates found:
## Potential Duplicate Tickets Found
I found these similar tickets before creating a new one:
1. **PROJ-123**: "Fix drawer z-index issue" (Open)
- Similar: Both about drawer layering
2. **PROJ-100**: "Modal appears behind sidebar" (Done - 2 weeks ago)
- Similar: Same UI area
**Options:**
A) Link to existing ticket (add as related)
B) Create as sub-issue of existing ticket
C) Proceed with new ticket (different issue)
Which option?
Based on user choice:
| Issue Type | Primary Search | Secondary Search |
|---|---|---|
| UI Bug | Component name + symptom | "modal", "dialog", "overlay" |
| Error | Error message | Function/file name |
| Feature | Feature name | Related features |
| Performance | "slow", "performance" | Component name |
| Styling | "z-index", "css", "style" | Component name |
| Term | Also search for |
|---|---|
| drawer | sidebar, nav, navigation |
| modal | dialog, popup, overlay |
| button | btn, click, action |
| form | input, field, validation |
| error | bug, crash, fail |
Used by:
linear-ticket-creator agent (required first step)/ticket-create command (via agent)