Zendesk duplicate pattern review

From lightspeedwp/.github · View interactive version

Zendesk duplicate pattern review is an AI agent skill from the GitHub repository lightspeedwp/.github. zendesk-first duplicate and pattern review for lightspeed support cases. use when zendesk tickets, customer threads, related cases, repeated complaints, similar symptoms, suspected duplicates, recurring customer pain, or possible incident patterns need support-operational classification. determines

How to use this skill

Skill file

Zendesk Duplicate Pattern Review

What this skill does

Use this skill to decide how similar Zendesk-centred support cases relate to each other.

This skill:

This skill separates duplicate logic from broader pattern logic. A repeated complaint, recurring workflow pain, or cluster of similar customer language is not automatically a duplicate.

Do not use this skill for

Do not use this skill for work outside Zendesk-first duplicate and pattern review.

Route away instead:

Default frame

Use this default frame for every review:

The goal is not to prove product root cause. The goal is to decide how support should handle the relationship between cases using available support evidence.

Shared-agent portability

When this skill runs inside a shared workspace agent, follow references/shared-agent-usage.md before making access-dependent claims or recommendations.

Also consult references/shared-agent-connector-matrix.md whenever:

Do not assume the logged-in user is the ticket owner, assignee, original support agent, or Ash. Do not rely on private Memory or user-specific connector access for core behaviour. If Zendesk access is unavailable or partial, classify from supplied evidence, lower confidence where appropriate, and name the smallest missing Zendesk detail needed before merging, escalating, or reporting.

For shared-agent use, include an Access context line in the review when access is limited, unclear, or materially affects confidence.

Primary source order

Use sources in this order:

  1. Zendesk ticket search and conversation evidence: ticket history, requester, organisation, public replies, internal notes, side conversations, related tickets, linked problem tickets, ticket events, attachments, macros used, prior resolutions, and search results for similar tickets.
  2. Ticket themes and visible metadata: tags, form, fields, product area, component, status, priority, group, assignee, customer segment, affected site/account, timestamps, SLA state, and known issue indicators.
  3. User-provided pasted ticket comparisons: copied ticket text, screenshots, summaries, exports, customer messages, internal notes, or manually grouped ticket lists.
  4. Secondary systems only if they materially clarify the pattern: Slack, Gmail, Google Drive, GitHub, Linear, Asana, Bugherd, logs, analytics, repo notes, incident notes, or other systems.

Use secondary systems only when Zendesk and supplied evidence cannot distinguish the relationship, when the user explicitly asks for cross-system context, or when the final deliverable explicitly requires downstream confirmation.

If Zendesk is unavailable, classify from supplied evidence and name the smallest Zendesk search, ticket field, or conversation detail that would improve confidence.

Evidence checklist

Before recommending merge, escalation, incident handling, or reporting, consult references/zendesk-evidence-checklist.md when the available ticket evidence is thin, the review is high risk, or the relationship classification depends on timing, scope, customer context, likely cause, or prior resolution path.

Use the checklist to identify evidence gaps and to name the smallest missing Zendesk detail. Do not block useful low-risk classification just because every checklist item is unavailable.

Routing boundaries

Use references/routing-boundaries.md before recommending a downstream workflow when the next step is not an obvious local handoff from the duplicate/pattern classification. zendesk-router-skill owns the Zendesk skill network; this skill owns only duplicate/pattern classification, local boundaries, common handoffs, and when to return to the router.

Do not independently choose across the full zendesk- prefixed skill catalogue. If the next workflow choice is broader than this review, route back through zendesk-router-skill.

Interoperability note

Clear duplicate or pattern review requests may invoke this skill directly. Unclear support intake should route through zendesk-router-skill before selecting a specialist workflow. Product, Linear, GitHub, roadmap, or canonical issue deduplication must not be assumed unless the user explicitly requests that downstream artefact.

Workflow

Follow this workflow in order:

  1. Define the comparison set.
  1. Determine access context.
  1. Compare symptoms, scope, timing, customers, and likely cause.
  1. Decide the relationship classification.
  1. Explain the reasoning.
  1. Recommend the support handling next step.

Decision rules

Likely duplicate

Classify as likely duplicate when the compared tickets show the same symptom, same root problem, and same resolution path.

Use this when:

Recommended handling:

Related but distinct

Classify as related but distinct when symptoms are similar but customer context, conditions, impact, expected behaviour, or likely cause differs.

Use this when:

Recommended handling:

Repeated pain pattern

Classify as repeated pain pattern when multiple tickets reveal recurring customer friction, confusion, failed expectations, unclear documentation, UX pain, onboarding gaps, policy confusion, or support burden without proving one shared root defect.

Use this when:

Recommended handling:

Broader incident pattern

Classify as broader incident pattern when there is widespread or concurrent impact that may require coordinated operational response.

Use this when:

Recommended handling:

Inconclusive

Classify as inconclusive when evidence is too thin to responsibly label the relationship.

Use this when:

Recommended handling:

Classification calibration examples

When a review is borderline, when a teammate is using this skill for the first time, or when the distinction between duplicate, related, repeated pain, broader incident, and inconclusive is unclear, consult examples/anonymised-ticket-comparisons.md.

Use those examples only as calibration patterns. They are synthetic and must not be treated as real Zendesk evidence, customer history, incident records, or source-of-truth data. Actual Zendesk evidence and supplied ticket details always override the examples.

Structured handoff schema

When the user asks for JSON, a machine-readable result, an automation-friendly handoff, or output that will be pasted into another system, use schemas/duplicate-pattern-review.schema.json.

Use the schema to keep classification, confidence, access context, evidence, handling recommendations, missing evidence, limitations, and next workflow consistent across shared agents. Do not use structured JSON as the default customer-facing response unless the user asks for it or a downstream workflow clearly needs it.

Keep schema values support-operational. Do not invent ticket IDs, hidden Zendesk history, customer details, or connector evidence to satisfy required fields. If a required detail is unavailable, use the visible reference, unknown, or a plain limitation instead of guessing.

Output format

Use this structure by default:

## Duplicate / pattern review

- Relationship classification: `[likely duplicate | related but distinct | repeated pain pattern | broader incident pattern | inconclusive]`
- Confidence: `[high | medium | low]`
- Access context: `[full Zendesk access | partial Zendesk access | supplied evidence only | secondary connector evidence | unknown]` only when relevant

## Evidence used

- [Zendesk ticket, conversation, metadata, or supplied comparison evidence]
- [Evidence point]

## Reasoning

[Briefly explain how symptoms, scope, timing, customers, and likely cause support the classification. Name uncertainty directly. If access is limited, say what could not be confirmed.]

## Support handling next step

- Link tickets: `[yes | no | maybe]` - [reason]
- Treat separately: `[yes | no]` - [reason]
- Escalate: `[yes | no | not yet]` - [reason]
- Include in reporting: `[yes | no | maybe]` - [reason]
- Next workflow: `[zendesk-triage-router | zendesk-evidence-collector | zendesk-backlog-trend-analysis | zendesk-customer-escalation | zendesk-case-readiness-check | zendesk-draft-response | zendesk-knowledge-candidate-review | zendesk-create-knowledge | zendesk-handoff-prep | zendesk-router-skill | none]`

For quick reviews, compress the response but still include relationship classification, confidence, evidence used, and what should happen next.

For high-risk or low-confidence reviews, add:

## Smallest missing evidence

[The one comparison detail needed before merging, linking, escalating, or reporting.]

Handoff rules

Use these as local exit ramps after the relationship classification. Consult references/routing-boundaries.md when the next step is not obvious.

If the next workflow choice is broader than these local outcomes, return to zendesk-router-skill instead of trying to route across the full Zendesk skill network. Do not route to Linear, GitHub, Asana, product planning, project planning, or canonical product issue management by default. Use downstream artefact workflows only when the user explicitly asks for that artefact or after a support-first handoff confirms it is needed.

Quality bar / guardrails

A good duplicate and pattern review is:

Avoid:

Practical examples

Owned by this skill:

Routed away by this skill:

Replacement and demotion note

This skill should replace or reduce reliance on these Linear-oriented skills for Zendesk-centred duplicate and pattern decisions:

Use Linear-oriented duplicate or product-planning workflows only when the user explicitly asks for a Linear-centred artefact or after Zendesk-first support review confirms that a downstream product issue should be prepared.

Recommended parent-agent routing note

For Zendesk-centred tickets that appear similar, repeated, or connected, use zendesk-duplicate-pattern-review before merging, linking, escalating, reporting, or preparing downstream product artefacts. Treat duplicate, related issue, repeated pain, and incident pattern as separate classifications. Do not route to Linear duplicate handling by default.

_Built by 🧱 LightSpeedWP with ☕, 🚀, and open-source spirit!_

Contributors

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.