Skip to main content

AI-assisted development

Developers using an AI coding assistant, IDE, or a chat-based LLM to assist in their Slack app building journey have several ways to give their tools better context about the Slack platform.


Install the Slack MCP server

The Slack MCP server gives your AI tool direct access to your Slack workspace data. Once connected, your AI assistant can search channels, read messages, and use real conversation context to help you build.

Set up instructions are available for Claude and Cursor, among other MCP-compatible clients.


Point your AI tool to llms.txt

Add a rule to your AI tool's project instructions (for example, a CLAUDE.md or .cursorrules file) telling it to start with our documentation index:

For Slack platform documentation, start with https://docs.slack.dev/llms.txt

This file provides a structured overview of the platform, designed for LLM consumption. A full index of every documentation page is available at docs.slack.dev/llms-sitemap.md.


Access pages as markdown

Every documentation page on this site is available as raw markdown by appending .md to the URL. For example:

https://docs.slack.dev/quickstart → https://docs.slack.dev/quickstart.md

This is useful for:

  • Copying page content into a prompt for context
  • Agents that fetch URLs dynamically (MCP fetch tool, Claude Code's WebFetch, etc.)
  • Building up a local reference for your project

You can also use the Copy as Markdown button at the top of any page to copy its contents to your clipboard.


Use the "Open in..." feature

Each documentation page has an "Open in..." feature within the "Copy as markdown" button drop-down that lets you send the page directly to ChatGPT, Claude, or Perplexity as context for a conversation.


Use the Slack CLI

AI tools and agents can run Slack CLI commands directly in a terminal. The Slack CLI supports app scaffolding and local development.

The slack docs command searches Slack API documentation from the command line, which is useful for agents that can execute shell commands.


Tips for better results

When prompting an AI tool about Slack development:

  • Specify your framework or SDK. Mention whether you're using the Bolt framework (and which language) or one of the SDKs, since implementation details differ significantly.
  • Reference specific API methods. Instead of "send a message," say "use chat.postMessage" to get more accurate guidance.
  • Provide your app's manifest or scopes. Sharing your current app configuration helps the LLM suggest relevant next steps without guessing.
  • Link to the relevant docs page. Paste the .md URL of the page you're working from so the AI tool can fetch it for full context.