case-packet
Drafts the return case packet - determination, recommendation, evidence list, fraud signals, customer response draft, manager exception request - from the governed contract payload using the packet template. Use to close every return case: "build the case packet", "write up the return", "draft the customer response", "draft the manager exception request", "close the return case". Do NOT use to start a case - use return-intake instead; not for eligibility or red flags - use eligibility-check; not for incident or safety write-ups.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 107
- Forks
- 120
01 前言 Front Matter
- name
- case-packet
- license
- MIT
- metadata
- { "icon": "DocumentEdit", "author": "Microsoft Retail & CPG Skills", "version": "1.0.4", "category": "writing" }
- description
- Drafts the return case packet - determination, recommendation, evidence list, fraud signals, customer response draft, manager exception request - from the governed contract payload using the packet template. Use to close every return case: "build the case packet", "write up the return", "draft the customer response", "draft the manager exception request", "close the return case". Do NOT use to start a case - use return-intake instead; not for eligibility or red flags - use eligibility-check; not for incident or safety write-ups.
02 资源文件 6
- 参考文档config/reason-taxonomy.json678 B
- 参考文档config/return-windows.json275 B
- 参考文档contracts/rtl.returns-refund-case.v1.json6.5 KB
- 许可证LICENSE1.1 KB
- 参考文档references/case-packet-template.md3.0 KB
- 参考文档references/returns-rules.md2.1 KB
03 SKILL.md 正文
Case Packet
Purpose
Terminal artifact: the complete case packet on first touch - the retail equivalent of the NCR.
When to use
- End of every return case, once
governed.jsonexists; or when asked for the customer response or manager exception draft.
When NOT to use
- A case that has not been through eligibility-check (no
eligibilityblock) - run the chain first; do not decide here. - Starting a case from raw desk facts - return-intake.
- Policy questions - policy-retrieve. Non-return write-ups (incidents, safety, HR) - other plugins.
Where the data comes from
This plugin ships no sample data. The packet template (references/case-packet-template.md) and policy text (references/returns-rules.md) are configuration inside this skill folder. The case is the user's own content:
governed.jsonwritten earlier in the session by eligibility-check, or a governed case file the user names, links or attaches in the chat.- Their OneDrive or SharePoint, found with Work IQ search (Microsoft 365 search) by case ID or file name when no location is given.
- The original service-desk note or customer email (for the customer's stated context in an exception request), found the same way.
Read each source with the file reader (ReadFileContent) and cite it by file name and row or line. Write the packet (CASE-<case_id>.md) to the session working folder, never into the plugin. If governed.json cannot be found, say so and ask the user where it is (or run the chain first). Never invent case facts or fall back to example values.
Inputs
Configuration ships inside this skill folder (synced from the plugin-root shared/ copy before packaging): config/, contracts/, references/ - paths below are relative to this skill folder.
governed.json (full payload, from eligibility-check in this session or the user's file - see Where the data comes from) + references/case-packet-template.md + references/returns-rules.md.
Steps
- Validate
governed.jsonagainst the contract; escalations and fraud-signal holds lead the packet. - Fill references/case-packet-template.md section by section: cited case facts, reason code (+ ambiguity note), determination + clause, recommendation, missing-evidence list, factual fraud signals, customer response draft in the template's tone, and the manager exception-request draft only when the customer asked for one (#5.1).
- Every
<slot>is filled from the payload, policy text or config, or written asnot on record. No angle-bracket or square-bracket placeholders remain. - Mark DRAFT with the sign-off block - a human authorises any refund, exchange or decline.
Example
User: "Build the case packet for RET-2000-00001; the customer asked for a goodwill exception."
-> read governed.json (ineligible RET-2.1, hold_for_review, 2 signals) + references/case-packet-template.md
-> fill sections 0-9; section 8 (manager exception request) included because the customer asked
-> customer draft: policy outcome + clause + next step; no mention of signals; no timings
Reply: "CASE-RET-2000-00001.md drafted (DRAFT). Routing: hold_for_review -> Asset Protection. Determination: ineligible, RET-2.1.
Customer response and manager exception request drafted; decision block left for the manager."
Output format
CASE-<case_id>.md following the template's numbered sections 0-9. In chat: routing line, determination + clause, recommendation, signal count, and the two drafts' status.
Grounding requirements
Every claim cites order, receipt, history, clause or config. Customer-facing text states only what policy text and the record support - no processing times, refund timings or goodwill promises unless quoted from policy text (#5.0).
Guardrails
- Never fabricate facts, timings, approvals or review outcomes; every claim cites the payload, policy text or config.
- Never authorise a refund, release funds, adjudicate fraud, dispose inventory, book a carrier, or send the response to the customer (plugin boundary).
- Signals appear as signals in the internal sections only; the customer response never mentions suspicion, fraud or asset protection.
- Never state that asset protection or a manager has reviewed or cleared anything unless the payload records it.
- Never fill the manager's decision block.
Escalation / uncertainty
If governed.json lacks an eligibility block, stop and route the case back through eligibility-check - never decide here. If a template slot has no source, write not on record; never fabricate a value to fill it.
hold_for_review packets route to asset protection with the signal citations attached; missing payload fields are written as not on record and listed under Missing evidence.
04 同仓库更多 Skills
work-iq-sphere
Build or refresh a personal "My Work IQ" visual from the signed-in user's own Microsoft 365 work (mail, calendar, Teams chats and the OneDrive and SharePoint files they worked on, with Week, Month and 3 months views from one read of their data, about all their work or one customer, programme or topic they name) as an interactive 3D sphere (self-contained HTML), a customer-safe copy and a matching Microsoft-style PowerPoint slide. Every build is a fresh, evidence-checked analysis of that one person's own data. Use when someone says "build my Work IQ sphere", "show my Work IQ", "refresh" or "update my Work IQ", "make my Work IQ slide", "visualise my work graph", "show me the Work IQ sphere demo", or wants to show customers what Work IQ (context, memory, skills) means using their own work. Do NOT use for generic decks, Work IQ product or licensing questions with no personal data, or anyone else's, team or org-wide analytics.
severity-recordability
Runs the deterministic local v2 draft classifier; reporting/deadlines remain undetermined. Use for "explain blocked reporting determination", "is this recordable", "classify this incident", "what severity is this", or "is this OSHA reportable". Do NOT use for source intake, history retrieval or routing — use incident-intake, ehs-knowledge-retrieve or routing-notify. No diagnosis or operational decision; EHS REVIEW REQUIRED.
routing-notify
Computes proposed investigators and unsent recipients from validated local classification, history and governance. Use for "propose unsent incident recipients", "who investigates this", "route this incident", "who do we notify", or "start the OSHA clock" (only to explain the blocked clock). Do NOT use for classification or terminal drafting — use severity-recordability or incident-writeup. Never sends, files or starts a clock; EHS REVIEW REQUIRED.
incident-writeup
Revalidates and recomputes every terminal v2 hop, then renders a null-aware local Markdown draft and blank RCA template. Use for "prepare an evidence-grounded incident draft", "draft the incident summary", "write up the incident", "give me the RCA template", or "prepare the OSHA writeup". Do NOT use for intake, classification or routing — use incident-intake, severity-recordability or routing-notify. No operational actions; EHS REVIEW REQUIRED.
incident-intake
Preserves cited authorized user-supplied incident files, including real incidents, as v2 inputs for human-reviewed drafts only. Use for "preserve conflicting incident accounts", "intake this incident", "process this safety report", "extract incident facts", or "intake this near miss". Do NOT use for classification, routing or terminal drafting — use severity-recordability, routing-notify or incident-writeup respectively. No live retrieval or official determinations; EHS REVIEW REQUIRED.
ehs-knowledge-retrieve
Attaches cited local OSHA, ISO summaries, JHA and policies and computes supplied-log history. Use for "find cited local safety evidence", "pull the OSHA criteria", "get the JHA", "attach local EHS evidence", or "have we had this incident before". Do NOT use for incident intake, recordability decisions or drafting — use incident-intake, severity-recordability or incident-writeup. No live retrieval; EHS REVIEW REQUIRED.