format-slack-message

Convert Markdown to HTML for Slack message composition with AI-disclosure footers.

2|Updated Jun 2, 2024
One-click install
npx skills add https://github.com/magnusrodseth/dotfiles --skill format-slack-message
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: format-slack-message
Source: https://github.com/magnusrodseth/dotfiles/tree/main/.claude/skills/format-slack-message
Command: npx skills add https://github.com/magnusrodseth/dotfiles --skill format-slack-message

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandoc, osascript, and includes scripts (resource) components.

What problem does it solve?

This Skill solves the issue of pasting formatted messages into Slack, ensuring rich text (bold, italic, code, lists, links, blockquotes) is rendered correctly.

Core Features & Use Cases

  • Rich Text Formatting: Converts Markdown to HTML, enabling Slack's rich text editor to render formatted text.
  • AI Voice Integration: Allows the message to be written in the user's voice using the write-in-my-voice skill.
  • AI-Disclosure Footer: Automatically appends a disclosure footer indicating the message was written by AI.

Quick Start

Use the format-slack-message skill to draft and format a message for Slack.

Frequently Asked Questions about format-slack-message

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I paste rich text formatted messages into Slack without losing formatting?

To paste rich text into Slack, you can convert Markdown to HTML so Slack's editor renders bold, italic, code, and lists properly. This approach ensures your message formatting is preserved during composition.

Does Slack Markdown support HTML tags for rich text rendering?

Slack does not directly render HTML tags in standard messages, but converting Markdown to HTML allows the desktop rich text editor to parse and render formatting correctly when pasting from the clipboard.

Do I need pandoc and osascript to convert Markdown to HTML for Slack?

Yes, you need pandoc to convert Markdown to HTML and osascript to copy the formatted HTML to your clipboard. These dependencies are required to automate the rich text paste workflow on macOS.

How do I automatically add an AI disclosure footer to a Slack message?

You can automatically append an AI disclosure footer to your Slack message by converting Markdown to HTML with a tool that integrates AI voice. This indicates the message was written by AI.

What is the best way to draft Slack messages in my own voice using AI?

The best way to draft Slack messages in your voice is to use an AI voice integration tool that converts Markdown to HTML. This allows the message to match your style while formatting rich text for Slack.

Why does my Markdown formatting disappear when I paste it into Slack?

Markdown formatting disappears in Slack because the input expects rich text rather than plain Markdown syntax. Converting Markdown to HTML before pasting allows the rich text editor to render the formatting correctly.