format-teams-messagelisted
Install: claude install-skill magnusrodseth/dotfiles
# Format Teams Message
Draft a message in Magnus's voice, format it as Markdown for Microsoft Teams, and copy it to the macOS clipboard as HTML.
Teams does **not** parse Markdown on paste. Pasting plain Markdown leaves the raw characters (`**`, `>`, `` ` ``, etc.) visible. To get real formatting, HTML must be placed on the macOS clipboard under the `public.html` flavor. Teams reads that flavor on paste and renders it.
## Workflow
1. **Draft the message in Magnus's voice.** Run the content through the `write-in-my-voice` skill so it reads like he wrote it, not like an AI drafted it (see "Composing the message" below). Skip only if the user pasted final text they want verbatim.
2. **Append the AI-disclosure footer** (see "AI-disclosure footer" below) as the last line.
3. Ensure the result is valid Markdown. Adjust if the input has obvious mistakes that would break the HTML conversion.
4. Convert Markdown → HTML using `pandoc`.
5. Place the HTML on the clipboard using `osascript` with the AppKit framework.
6. Confirm the copy and remind the user to paste into Teams.
## Composing the message
Teams messages are outward-facing first-person text, so they go through `write-in-my-voice` (Norwegian or English, register auto-selected). On top of that skill's rules, lean into these for Teams specifically:
- **Smooth, connected sentences.** Favour flowing prose over choppy fragments. Let clauses join with commas, colons, and semicolons (never em dashes) so the message reads natural