Zendesk evidence collector

From lightspeedwp/.github · View interactive version

Zendesk evidence collector is an AI agent skill from the GitHub repository lightspeedwp/.github. zendesk-first evidence collection and embedded investigation for lightspeed support cases. use when a support request starts from a zendesk ticket id, ticket url, pasted thread, customer/account name, or issue summary and the agent must collect minimum reliable zendesk evidence before triage, reply

How to use this skill

Skill file

Zendesk Evidence Collector

Use this skill to build a compact, evidence-first support context pack or to investigate one Zendesk-centred support case when triage is not enough.

This skill has two modes:

  1. Evidence pack mode for minimum reliable Zendesk context before another support workflow.
  2. Investigation mode for single-case RCA, proof, lookup, timeline reconstruction, reproduction context, or diagnostic investigation.

Do not route to case-investigation. Treat that name as deprecated context only; the canonical Zendesk-first skill for evidence collection and embedded single-case investigation is zendesk-evidence-collector.

Shared-agent compatibility

When this skill runs inside a shared workspace agent, treat the skill package as the stable source of workflow truth and the logged-in user's connector permissions as variable runtime context.

Consult references/shared-agent-compatibility.md whenever connector availability, user-specific access, workspace sharing, durable memory, bundled examples, or team-safe defaults could affect the result.

When a shared agent needs stable team defaults for routing language, readiness labels, uncertainty wording, customer-safe boundaries, or memory boundaries, consult references/shared-agent-defaults.md.

Output templates

Use the inline output contracts below for normal operation. When formatting consistency matters, when the user asks for a reusable pack, or when another workflow will consume the output, consult templates/evidence-pack.md for evidence pack mode or templates/investigation-report.md for investigation mode. Do not load both templates unless the case genuinely needs both modes.

Structured schemas

Use the markdown output contracts for normal human-readable responses. When the user asks for structured data, a machine-readable export, downstream automation, QA validation, or a handoff that may be consumed by another system, consult schemas/evidence-pack.schema.json for evidence pack mode or schemas/investigation.schema.json for investigation mode. Do not expose schema fields that are unsupported by the evidence.

Synthetic examples

Use the inline examples at the end of this file for trigger recognition only. When a teammate needs a concrete behavioural pattern, especially during onboarding, edge-case handling, or shared-agent QA, consult the fictional examples in examples/. Never treat bundled example names, ticket numbers, domains, timestamps, or symptoms as real evidence.

Source-precedence examples

Use the source precedence rules below for normal operation. When sources disagree, evidence depends on event-time truth, or a teammate needs examples of safe contradiction handling, consult references/source-precedence-examples.md.

Routing boundaries

This skill is not the Zendesk skill-network router. It owns minimum reliable Zendesk evidence collection before downstream triage, reply drafting, escalation, duplicate review, knowledge review, backlog analysis, readiness checks, or handoff prep. When selecting a next step, use only this skill's boundaries and common handoffs. If the route is unclear, multi-path, or outside evidence collection and single-case investigation, return to zendesk-router-skill. Consult references/routing-boundaries.md when handoff scope could affect the result.

Primary source

Treat Zendesk as the primary source for case state, customer wording, ticket history, status, priority, owner, group, tags, requester, organisation, attachments, side conversations, SLA or ageing signals, linked tickets, and support commitments.

Use pasted evidence only as a fallback or supplement when Zendesk is unavailable or incomplete.

Use secondary systems only when Zendesk leaves a material gap for the selected mode, when the user explicitly asks for cross-system context, or when a branch cannot be resolved from Zendesk alone.

Secondary evidence can include Help Centre articles, internal notes, macros, Slack, Gmail, Google Drive, GitHub, Asana, BugHerd, runtime logs, exports, screenshots, or supplied artefacts.

Mode selection

Use Evidence pack mode when:

Use Investigation mode when:

Do not use this skill for:

Evidence pack mode workflow

  1. Identify the strongest starting identifier.
  1. Collect the minimum Zendesk evidence.
  1. Normalise the case.
  1. Build a compact chronology.
  1. Separate certainty levels.
  1. Decide readiness.
  1. Recommend the next support move without becoming a router.

Investigation mode workflow

  1. Choose exactly one investigation goal before concluding.
  1. Normalise the case.
  1. Build a branch ledger before broad searching.
  1. Gather evidence in source order.
  1. Resolve or narrow each critical branch.
  1. Check known-issue or reusable-pattern coverage.
  1. Separate current-state from event-time truth.
  1. Form the disposition.
  1. Hand off cleanly without becoming a router.

Branch ledger format

Use this compact table in investigation mode:

| branch | question | source category | status | evidence |
| --- | --- | --- | --- | --- |
| <branch> | <question> | <Zendesk / logs / GitHub / Help Centre / supplied evidence> | <verified / disproven / blocked / unknown> | <evidence or blocker> |

Source precedence

When sources disagree:

  1. confirm they refer to the same customer, issue, and time window;
  2. prefer the most authoritative source for that branch;
  3. prefer the freshest source when the branch is time-sensitive;
  4. call out the contradiction directly instead of smoothing it over.

Examples:

Output contract: evidence pack mode

Return this structure when the request is about one case and the task is evidence collection rather than investigation:

# Zendesk Evidence Pack

## Case

- Ticket: <ticket id or best available identifier>
- Customer / account: <name if known>
- Current state: <status, owner, priority, urgency, or "unknown">
- Likely workflow: <plain-language intent or canonical `zendesk-` workflow when recommending a route>
- Deliverable: <requested or inferred deliverable>

## Confirmed facts

- <fact>

## Key chronology

- <short timeline bullet>

## Informed inferences

- <inference, clearly labelled as inference>

## Missing or uncertain evidence

- <gap or uncertainty>

## Readiness

- <ready | partially ready | not ready>
- Reason: <short reason>

## Best next move

- Primary workflow: <canonical `zendesk-` workflow, continue in this skill, or return to `zendesk-router-skill`>
- Supporting workflow: <canonical `zendesk-` workflow or "none">
- Immediate next action: <one concrete next action>

If the request is a customer or account search rather than one confirmed ticket, replace ## Key chronology with ## Most relevant tickets and list only the top candidates with one-line reasons.

Output contract: investigation mode

Return this structure when the request needs diagnosis, proof, lookup, or timeline reconstruction:

# Zendesk Case Investigation

## Case

- Ticket: <ticket id or best available identifier>
- Customer / account: <name if known>
- Investigation goal: <RCA | Proof | Lookup>
- Current disposition: <Confirmed root cause | Likely cause | Proven | Disproven | Inconclusive | Blocked | Lookup answered>

## Issue being investigated

<short summary of the active issue, expected behaviour, and actual behaviour>

## Confirmed facts

- <fact>

## Branch ledger

| branch | question | source category | status | evidence |
| --- | --- | --- | --- | --- |
| <branch> | <question> | <source category> | <status> | <evidence or blocker> |

## Conclusion

<best-supported answer. Use cautious language when evidence is partial.>

## Missing or uncertain evidence

- <gap or uncertainty>

## Recommended next action

- <one concrete support next step>

## Sources checked

- <source category and what it was used for>

Handoff rules

Do not make this skill a second Zendesk router. zendesk-router-skill owns the full Zendesk skill network. This specialist only knows its own boundaries, common handoffs, and when to return to the router.

Consult references/routing-boundaries.md when the next step is unclear, contested, multi-path, or at risk of becoming network-level routing.

Common direct handoffs are allowed only when the evidence clearly supports them. Use these canonical companion names exactly when naming a route away from this skill:

Return to zendesk-router-skill when the user asks which specialist should handle the work, when more than one route is plausible, when the request spans multiple deliverables, or when the case is no longer mainly evidence collection or single-case investigation.

Do not route to Linear, GitHub, Asana, product planning, roadmap, or project workflows by default.

Replacement note

In the LightSpeed Support Desk agent, do not route to case-investigation. That name is retained only as deprecated context and must not be presented as an active skill route. zendesk-evidence-collector owns embedded single-case support investigation for RCA, proof, lookup, reproduction context, timeline reconstruction, branch-ledger analysis, known-issue checking, and evidence-backed diagnostic conclusions.

Quality bar

Example triggers

Evidence pack mode:

Investigation mode:

Have questions? Ping us on GitHub! 🐙 Made with 💚 by LightSpeedWP

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.