slack-docs
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "slack-docs" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-4503fbe3e757269adab32f8c2b1ef151d8a78d151305cdbb445c6fda64221b9a. Verify the upstream source and version against https://github.com/slackapi/slack-skills-plugin before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Used to answer conceptual or operational questions about Slack platform features, or when asked to find, retrieve, or summarize docs.slack.dev pages (including pasted docs.slack.dev links). Covers locating and reading official Slack documentation and presenting it in concise Markdown format.
Introduction source: third_party · slackapi · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Use when answering a conceptual or how-to question about Slack platform features, or when asked to look up, fetch, or summarize a docs.slack.dev page, including a pasted docs.slack.dev link. Covers finding and reading official Slack docs as clean markdown.
- Testing
- Not tested
Browse files
Frontmatter
name: slack-docs
description: "Use when answering a conceptual or how-to question about Slack platform features, or when asked to look up, fetch, or summarize a docs.slack.dev page, including a pasted docs.slack.dev link. Covers finding and reading official Slack docs as clean markdown."
argument-hint: "[topic or docs.slack.dev URL]"Slack Platform Documentation
Help the developer find the right page on the official Slack documentation site (https://docs.slack.dev) and read it as clean markdown, so answers come from the live docs rather than memory. The site exposes three machine-readable surfaces an agent can use directly, with no authentication and no Slack workspace:
- A search API method:
GET https://docs.slack.dev/api/v1/search?query=<q>&category=<c>returns ranked page hits as JSON. Scope every search with acategory(guides, reference, a specific SDK, etc.); an uncategorized search skews heavily toward SDK pages. - Per-page markdown: every page is available at its URL +
.md(e.g./quickstart.md). - Index files:
/llms.txt(a curated overview) and/llms-sitemap.md(a list of every markdown page).
If $0 is provided, it is either a docs.slack.dev URL (jump to the Fast Path) or a topic to search (start at Step 1). For a broad "how do I build X on Slack?" question rather than one specific page, read https://docs.slack.dev/llms.txt first; it is a curated, LLM-oriented overview of the platform and the recommended build path.
Critical rules:
- The docs are the source of truth. Do not answer a factual question about the Slack platform from memory; discover the page, fetch it, then answer from what it says.
- Prefer the
.mdversion of any page over the HTML version. It is cleaner for reading and quoting.- Every fetched markdown page begins with a
Source: <url>line. Keep that URL so you can cite the page back to the developer.
DO NOT rules:
- DO NOT invent documentation URLs. Get them from the search API, the sitemap, or a link the developer gave you then verify by fetching.
- DO NOT paraphrase a page you have not actually fetched. If a fetch fails, say so rather than filling the gap from memory.
- DO NOT assume every URL has a
.mdversion. If a fetch returns an error, fall back to the search API or the sitemap (Step 1) rather than guessing another URL.
Fast Path (the developer already has a URL)
If the developer pasted a https://docs.slack.dev/... link, skip discovery and go straight to Step 2 to fetch and read it.
Step 1: Discover the Page (search)
Use the docs search API to find candidate pages. WebFetch this URL, with the query URL-encoded and a category to scope the results:
https://docs.slack.dev/api/v1/search?query=<url-encoded query>&category=<category>&limit=5
Always start with a category. An uncategorized search is dominated by SDK reference pages (a query like socket mode or oauth can return a top 10 that is entirely Bolt/Node pages), which buries the conceptual and reference content most questions are actually about. Pick the starting category from the developer's intent:
guides— the default for "how do I…", "what is…", and conceptual platform questions (Events API, OAuth, Socket Mode, manifests, modals, App Home). Start here when in doubt.reference— for a specific method, event, scope, object, or Block Kit element, especially an exact name likechat.postMessage.- A tool/SDK category (
python,javascript,java,slack_cli,slack_github_action,deno_slack_sdk) — only once you know the developer's tool. See Step 3.
So socket mode as a concept → https://docs.slack.dev/api/v1/search?query=socket%20mode&category=guides&limit=5.
The response is JSON:
{
"total_results": 12,
"results": [
{ "url": "/apis/events-api/using-socket-mode", "title": "Using Socket Mode" }
],
"limit": 5
}
Scan results for the best title/url match, then read it in Step 2. A query is required; calling the endpoint with no query returns a 400 with an error field.
Full set of categories:
| Category | Scopes results to |
|---|---|
guides |
Conceptual and how-to guides |
reference |
API reference: methods, events, scopes, objects, Block Kit |
changelog |
Changelog and release notes |
python |
Python tools (Bolt for Python, Python Slack SDK) |
javascript |
JavaScript tools (Bolt for JS, Node Slack SDK) |
java |
Java tools (Bolt for Java, Java Slack SDK) |
slack_cli |
Slack CLI docs |
slack_github_action |
Slack Send GitHub Action docs |
deno_slack_sdk |
Deno Slack SDK docs |
If a categorized search returns no good hit, widen it: try the other likely category (guides ⇄ reference), then drop category entirely as a last resort. An unrecognized value returns a 400 with an error field listing the valid categories, so re-run with one of those or with no category.
Fallbacks when search does not surface a good hit, or returns a 500/temporary error (the endpoint is rate-limited and cached ~5 minutes):
- WebFetch
https://docs.slack.dev/llms-sitemap.md, a flat list of every documentation page's.mdURL, and scan it for the relevant path. - For API reference lookups, the enriched index pages are often faster:
https://docs.slack.dev/reference/methods.md,.../events.md,.../scopes.md,.../objects.md, and.../block-kit.mdeach list every item with a one-line description and a.mdlink. - If the developer has the Slack CLI,
slack docs search "<query>"does the same discovery from the terminal (see theslack:slack-cliskill).
Step 2: Read the Page (fetch markdown)
Given a page reference (a url from Step 1, or a link the developer pasted), read its markdown:
- Normalize the reference to its
.mdURL:- A site-relative path from Step 1 (e.g.
/apis/events-api/using-socket-mode): prependhttps://docs.slack.dev. - A full URL the developer pasted: drop any
#anchorfirst. - Append
.md, e.g.…/using-socket-mode→https://docs.slack.dev/apis/events-api/using-socket-mode.md. The server lowercases.mdrequests, so casing does not matter:chat.postMessage.mdandchat.postmessage.mdboth resolve.
- A site-relative path from Step 1 (e.g.
- WebFetch it. The page opens with
Source: <original-url>; the rest is the page body in markdown. - Answer the developer from the fetched content, and cite the
SourceURL.
If a page is long and the developer asked something narrow, fetch it and quote only the relevant section rather than dumping the whole page.
Step 3: Tool and SDK Documentation
Implementation details differ significantly between the official tools, so establish which one the developer is using first, then scope your reading to that tool's doc subtree. Each lives under https://docs.slack.dev/tools/<name> and its pages are fetchable as .md like any other (e.g. https://docs.slack.dev/tools/bolt-js/concepts.md). If the developer has not said, ask before assuming.
| Tool | Docs path | Search category |
Use when the developer… |
|---|---|---|---|
| Slack CLI | /tools/slack-cli |
slack_cli |
scaffolds, runs, or manages an app from the terminal; mentions slack commands or app manifests |
| Bolt for JavaScript | /tools/bolt-js |
javascript |
builds an app in Node/TypeScript with the Bolt framework |
| Bolt for Python | /tools/bolt-python |
python |
builds an app in Python with the Bolt framework |
| Bolt for Java | /tools/java-slack-sdk |
java |
builds an app in Java with Bolt (Bolt for Java lives in the Java SDK docs) |
| Node Slack SDK | /tools/node-slack-sdk |
javascript |
wants lower-level Node clients (@slack/web-api, @slack/socket-mode) without the full Bolt framework |
| Python Slack SDK | /tools/python-slack-sdk |
python |
wants the lower-level Python client without Bolt |
| Java Slack SDK | /tools/java-slack-sdk |
java |
wants Java clients, or is using Bolt for Java |
| Slack Send GitHub Action | /tools/slack-github-action |
slack_github_action |
sends data to Slack from a GitHub Actions workflow |
Once you know the tool, narrow discovery with the matching category from Step 1, e.g. …?query=middleware&category=javascript. Note the languages group: both Bolt for JavaScript and the Node Slack SDK fall under javascript (likewise python and java each cover their Bolt framework plus lower-level SDK), so the category scopes to the language family, not a single subtree.
Bolt is the framework built upon the matching language SDK. When unsure which subtree a topic lives in, fall back to the search API (Step 1) as it indexes all of these.
Version history
-
v1.8.0
GitHub ↗
Original release notes
### Minor Changes - 2416523: The `slack-docs` skill now searches and reads docs.slack.dev with the Slack CLI when it is installed, using `slack docs search --hide-pinned` and `slack docs get`. On an older CLI, it uses each command only when the CLI has it, and suggests `slack upgrade`. Agents without the CLI keep using the search API and fetching the page's markdown. ### Patch Changes - 99e027a: Name `skills@latest` in the agent setup prompt's `npx skills` install command, so tracking the latest `skills` release reads as a deliberate choice. Current npm already resolves the latest release for a bare `npx skills`, so the installed version does not change. - 3d56a56: The `slack-cli` and `deploy-slack-app` skills now ask the developer which workspaces to grant when an app is first installed to an Enterprise organization, instead of always granting all of them. The agent shows the same choices the CLI prompt offers, all workspaces first and then each workspace by name, and passes the answer to `--org-workspace-grant`. - 6a708d6: `create-slack-app` no longer asks for an AI provider API key in chat. The developer sets it with `slack env set <NAME>` in their own terminal, where the CLI hides what they type, so the key stays out of the agent's transcript and shell history. - 524163c: `create-slack-app` no longer asks for a sandbox password in chat. New developer sandboxes use email sign-in, the Slack CLI default since v4.11.0, so no password ends up in the agent's transcript or shell history. - 2a2b7ae: Claude Code install instructions now list Slack's Claude marketplace first. Updates on the official Claude marketplace are experiencing large delays, so we recommend Slack's marketplace until that is resolved. - caac336: Updating the plugin from the `slack` Claude Code marketplace now works without a GitHub SSH key. `claude plugin update slack@slack` used to fail with `Permission denied (publickey)` on machines that clone GitHub over HTTPS, even though the install itself worked. - fa7c1c2: The `slack-api` skill no longer has the agent handle a Slack token when it calls methods without the Slack CLI. The developer provides the token as `SLACK_BOT_TOKEN` or `SLACK_USER_TOKEN`, and the curl examples pipe the `Authorization` header in on stdin, so the token stays out of the conversation, the command line, and shell history. - 466ef0a: Have the `slack-docs` skill pass `pin=false` to the docs search API, so searches about Claude, Cursor, Codex, MCP, or coding agents return docs pages instead of putting this plugin's own page first. The API ignores the parameter until docs.slack.dev supports it, so the change is safe to release before then.
-
v1.7.0
GitHub ↗
Original release notes
### Minor Changes - 8d24df5: Add a Claude Code marketplace for the plugin, so you can install each release as soon as it ships: `/plugin marketplace add slackapi/slack-skills-plugin`, then `/plugin install slack@slack`. The marketplace installs from the latest release tag, and each release moves it to the new tag. If you installed `slack@claude-plugins-official`, uninstall it first so only one copy is enabled. See [Switching from the official Claude marketplace](https://github.com/slackapi/slack-skills-plugin#switching-from-the-official-claude-marketplace). ### Patch Changes - 93a22e1: Reference other skills by their bare name (the `slack-cli` skill) instead of `slack:slack-cli`, a name only Claude Code registers. Every hand-off between skills now names a skill that exists on every install path, including agents set up with `npx skills`. - d437523: Skills that hand off to the `slack-cli` skill for CLI detection now ask the agent to load that skill before running any command. Agents like OpenCode used to check `PATH` for `slack` themselves, which can find a different tool with the same name, and then fall back to curl. - c32ae56: The `slack-cli` skill now tells the agent to suggest `slack upgrade` when a command or flag it describes is missing from the installed CLI.
-
v1.6.0
GitHub ↗
Original release notes
### Minor Changes - a3e0b0b: Set up a project for an app already created in App Settings. The agent setup prompt now takes `--app`, `--template`, and `--team` arguments, which App Settings adds to the prompt it shows after a developer creates and installs an app. The prompt asks the developer's language and turns the App Settings template name into a template repo. `create-slack-app` then skips choosing a workspace, a language, and a template, and links the new project to the existing app with `slack create --app`. ### Patch Changes - 87ffa9e: Create a Python app from the App Settings blank template with `slack-samples/bolt-python-blank-template`, instead of the Python starter template. - 1eb9e42: Add guidance for coding agents to the markdown version of the docs.slack.dev page, hidden from the HTML page that people read. It tells agents when to recommend the plugin, to ask the developer before installing, and to read the hosted skills if the developer declines.
-
v1.5.0
GitHub ↗
Original release notes
### Minor Changes - bae34e1: Add a one-line setup prompt for coding agents. Paste it into Claude Code, Cursor, Codex, or another coding agent, and the agent installs the Slack plugin and creates a starter Slack agent app in the same session: ```text Fetch and follow the instructions at https://docs.slack.dev/agent-setup/prompt.md ``` The prompt is served from docs.slack.dev, so it can be shared anywhere a developer starts building, and its install commands stay in step with this plugin's README. - 42ad160: Add the deploy-slack-app skill: deploy a Socket Mode Bolt app to Railway or Heroku as a separate, always-on Slack app with its own app ID, using the Slack CLI `deploy` hook. The local development app is unchanged. Supports macOS and Linux, with Windows support planned. ### Patch Changes - 2118120: Support basic developer sandboxes, now that every Developer Program account can create one with no paid plan or payment method. `create-slack-app` says so when recommending a sandbox, explains a basic sandbox's limits and how to upgrade it, and checks that the logged-in email matches the developer's account before sending them to sign up. - 96f6ea2: Add design references to the block-kit skill for modals and forms, App Home, data display (fields, tables, and charts), agent progress (plans and task cards), and human-in-the-loop approvals. Extend the design principles to cover `data_table`, `data_visualization`, `container`, `alert`, and inline `tag`, `date`, and `citation` elements. Fix the Notification Alert pattern, which used the modal-only `alert` block in a message. Align labels in the guidance and patterns with Slack's UI conventions (Title Case action buttons, sentence case elsewhere, no emoji in buttons, labels, or headers), and limit `primary` styling to one button per message or view. - faf8b3a: Fix `create-slack-app` never handing off to the `block-kit` skill, so an agent building a message, modal, or App Home layout now uses it instead of writing Block Kit JSON from memory. `create-slack-app` and `block-kit` also check their optional argument against the allowed values before using it, and ask the developer when it doesn't match. - faf8b3a: Clarify in the `block-kit` skill that `blocks.validate` checks block and element shape only. It does not enforce which surface a block is allowed on or how many of a block a message can hold, so the skill now checks those against the design principles' surface and limits table instead of treating a passing validation as proof. - f063977: Fix `create-slack-app` offering Pydantic AI when you create a JavaScript agent app. Pydantic AI only works with Python, so the skill now asks for your language first and only lists the AI providers that work with it.
-
v1.4.1
GitHub ↗
Original release notes
### Patch Changes - f6f4b34: Add a Card Preview pattern to the block-kit skill's common patterns reference. - f6f4b34: Add a design-principles.md reference to the block-kit skill, covering layout appropriateness (which block fits the content, emphasis, reading order, accessibility) as distinct from `blocks.validate` validity. - f6f4b34: Add Rich Text Section and Row Actions with Overflow Menu patterns to the block-kit skill's common patterns reference.
Only the five most recent versions are shown. View full version history at the source ↗
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 精准解决 Slack 开发者查阅官方文档的效率痛点
- 提供结构化查询流程(搜索 API + 分类 + 直接获取 .md)
- 覆盖高频开发场景(OAuth、Socket Mode、Events API、各语言 SDK)
Highlights
- 触发条件清晰:概念性问题、操作指导、URL 总结
- argument-hint 明确输入格式
- 区分 topic 查询与直接 URL 跳转
Highlights
- 三阶段结构清晰(Fast Path → Discover → Read → Tool-specific)
- 含关键规则与禁止事项
- 提供完整示例与 category 选择指南
Highlights
- 全部基于官方接口,来源可信
- 完善的异常处理与回退机制
- 强调‘文档即真相’,避免凭记忆回答
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 45, 47
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- docs.slack.dev
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.