skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
ccheney/robust-skills48 installs

teams-message-formatting

Format or debug Microsoft Teams bot text, Adaptive Card text, and Graph chatMessage bodies. Use for markup, mentions, links, escaping, or client rendering issues; not card layout/actions or ordinary Teams conversation retrieval.

How do I install this agent skill?

npx skills add https://github.com/ccheney/robust-skills --skill teams-message-formatting
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    This skill is a purely informational and educational guide for developers to correctly format messages for Microsoft Teams. It provides detailed documentation on different markup systems (Markdown, HTML, XML, Adaptive Cards) and includes safety best practices such as escaping user content to prevent rendering issues. No security risks were detected.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

What does this agent skill do?

Teams Message Formatting

Format supplied text for the Teams surface that receives it. The user's explicit instructions take precedence over this skill's guidelines.

Identify the text system

Use the content, destination field, and existing payload or SDK as input. Infer the text system from that context; ask for the destination when the missing choice changes syntax or mention metadata.

SurfaceText formatMention metadata
Bot activity textBot Markdown or textFormat: "xml" subsetActivity entities
Adaptive Card TextBlock / factsLimited Markdown, no HTMLRoot msteams.entities
Graph chatMessage.bodytext or Teams-restricted htmlBody <at id="N"> plus matching mentions entry
Hero/thumbnail card textXML/HTML subsetSurface-specific; titles/subtitles are unformatted

Slack mrkdwn is not Teams markup. Adaptive Card Markdown does not support headings, tables, images, code fences, or blockquotes; use supported card elements when those structures are requested. Text-only content does not require a card.

Preserve text and identity

  • Escape for the receiving syntax, then serialize JSON. Do not concatenate unescaped user text into HTML/XML or mention markup.
  • Keep visible mention text and its metadata synchronized. Use supplied or resolved IDs; display names are not identity evidence.
  • Respect client differences, such as bot-list support on mobile. Do not change a transport just to fix punctuation.
  • For a Graph payload, distinguish ordinary delegated sends from migration permissions. An app-only notification requires a supported delivery path; explain a missing capability without pretending the payload creates it.

Return the requested text, corrected string/object, or integration patch, preserving meaning and the known surface. Identify any missing runtime IDs or unverified client behavior. Posting is separate from formatting and requires the user's request or existing authorization.

References

Load the relevant format or metadata details only.

TaskReference
Bot Markdown/XML, card Markdown, hero cards, legacy textMARKDOWN-HTML.md
Bot/card/Graph mentions; users, tags, teams, channelsMENTIONS.md
Graph HTML, code/emoji tags, attachments, permissionsGRAPH-CHATMESSAGE.md
Compact surface and syntax lookupCHEATSHEET.md

For card layout/actions, use teams-adaptive-cards if installed or the Teams card documentation. This text-formatting workflow does not depend on another skill being installed.

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/ccheney/robust-skills/teams-message-formatting">View teams-message-formatting on skillZs</a>