teams-message-formatting
Installation
SKILL.md
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.
| Surface | Text format | Mention metadata |
|---|---|---|
Bot activity text |
Bot Markdown or textFormat: "xml" subset |
Activity entities |
Adaptive Card TextBlock / facts |
Limited Markdown, no HTML | Root msteams.entities |
Graph chatMessage.body |
text or Teams-restricted html |
Body <at id="N"> plus matching mentions entry |
Hero/thumbnail card text |
XML/HTML subset | Surface-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.