Assets

From pnp/script-samples · View interactive version

Assets is an AI agent skill from the GitHub repository pnp/script-samples. Reports important information or incidents to your line manager via email or Teams. Use when user says: "report this to my manager", "escalate this", "escalate to [manager name]", "flag this to my boss", "notify my line manager", "tell my manager about [issue]", "urgent update for my manager", "let

How to use this skill

Skill file

Report Important Information to my Line Manager

Quickly notify your line manager of an issue, incident, or important update —

delivered as an email or Teams message, with an optional coordination chat.

When NOT to Use

Workflow

  1. Resolve the manager. Call GetManagerDetails to get name and email. If

no manager is configured, stop and tell the user.

  1. Gather context with one combined question. Use AskUserQuestion to ask:
  1. If referencing existing content, retrieve it first: GetMessage for an

email, GetChatMessage for a Teams message. Quote the relevant excerpt in

the body.

  1. Draft the message using this template:

(only Critical and Important get a bracketed prefix; Notify uses plain subject)

  1. Preview and confirm before sending. Show the full drafted subject and

body. Ask: "Send this now, or change anything?" Do NOT send Critical or

Important messages without explicit confirmation. Notify-level may send

directly if the user has already approved the draft.

  1. Send:
  1. Optional coordination chat — only for Important or Critical, and only

if the user said yes in step 2: CreateChat (group if extras included)

with topic = <criticality> — <short topic> (e.g. Critical — Prod outage 02 May).

Guardrails

getting explicit confirmation.

skip-level without asking.

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.