test-slack-app

Use when a developer wants to test, try out, smoke-test, validate, or confirm that a Slack app built with the Slack CLI (or a regular Bolt app) actually works. Testing should be done in a developer sandbox or free team and not run in workspaces with real users. Includes running the app with `slack run` and manually exercising all features (slash commands, shortcuts, events, actions, modals, app home, and assistant UI), and performing health checks such as `slack doctor` and `slack manifest validate` before hands-on testing.

Last repository push
GitHub Stars
176
Forks
47
Issues / PRs
60

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 "test-slack-app" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-ba6a9db17273c207b03c7ddd4cbca213c10307a6770237c2e64a0f4e3147727a. 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

Use when a developer wants to test, try out, smoke-test, validate, or confirm that a Slack app built with the Slack CLI (or a regular Bolt app) actually works. Testing should be done in a developer sandbox or free team and not run in workspaces with real users. Includes running the app with `slack run` and manually exercising all features (slash commands, shortcuts, events, actions, modals, app home, and assistant UI), and performing health checks such as `slack doctor` and `slack manifest validate` before hands-on testing.

0 Downloads

Introduction source: third_party · slackapi · 0.0.1 Reference

SkillPi interpretation

Tasks
Use when a developer wants to test, try out, smoke-test, verify, or confirm that a Slack app built with the Slack CLI (or a plain Bolt app) actually works, by running it in a developer sandbox or a Free Team, never a workspace with real users, with `slack run` and exercising its real slash commands, shortcuts, events, actions, modals, App Home, and assistant surfaces. Also covers `slack doctor` and `slack manifest validate` health checks before hands-on testing.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: test-slack-app
description: Use when a developer wants to test, try out, smoke-test, verify, or confirm that a Slack app built with the Slack CLI (or a plain Bolt app) actually works, by running it in a developer sandbox or a Free Team, never a workspace with real users, with `slack run` and exercising its real slash commands, shortcuts, events, actions, modals, App Home, and assistant surfaces. Also covers `slack doctor` and `slack manifest validate` health checks before hands-on testing.

Test Slack App

Help a developer confirm that a Slack app they already built actually works. This is the last step of the build loop, after the slack:create-slack-app skill scaffolds an app and the slack:slack-cli skill runs it.

The approach is simple and safe:

  1. Run the app in a developer sandbox or a Free Team: a sandbox for preference, or a Free Team the developer created for this. Never a workspace with real coworkers in it.
  2. Read the app's source to learn what it actually listens for.
  3. Hand the developer concrete steps to perform in Slack, then help them confirm the app responds.

This is guided manual checking, not an automated test suite: you drive the setup and tell the developer what to type or click, and they confirm what they see. It works best for apps managed by the Slack CLI; there is a best-effort path for plain Bolt apps in Step 2.


Step 1: Set Up a Safe Place to Test

1a. Detect the Slack CLI

Use the slack:slack-cli skill (Step 1: Detect the Slack CLI) to check whether the public Slack CLI is installed and resolve its command name. The fingerprint check, alias fallback, and install instructions all live there; do not duplicate them here. Refer to the resolved command as SLACK_CMD throughout. If the CLI is not installed, guide the developer through that same step to install it, since running the app needs it.

1b. Make sure there is a safe workspace to test in

Testing belongs in a workspace nobody is working in: a developer sandbox for preference, or a Free Team the developer created for this. Never a workspace with real coworkers in it.

  • Explain it from the live docs, not from here. Use the slack:slack-docs skill to fetch and summarize https://docs.slack.dev/tools/developer-sandboxes.md, so the recommendation always reflects the current docs rather than a copy that drifts out of date. Tell the developer that Slack recommends a sandbox for building and testing apps.
  • Find the current target. Run SLACK_CMD auth list for the authenticated workspaces and their team IDs, and, from the project directory, SLACK_CMD app list for the apps already installed and their IDs.
  • Confirm the target is safe. The CLI cannot tell a sandbox, a Free Team, and a workspace full of real users apart, so ask the developer which one they are pointed at. A sandbox or a Free Team they created for this is fine. A workspace with coworkers in it is not: stop and get them onto one of the other two.
  • If there is no safe target yet, set one up with the slack:create-slack-app skill (Step 3: Choose Where to Install the App), which owns the ranked targets, the sandbox list / sandbox create flow, and the Developer Program links. Either path finishes in the browser, so have the developer come back here once the workspace exists and they have logged into it.

1c. Quick health check

Catch obvious setup problems with the CLI's own validation before the slower hands-on checks:

  • SLACK_CMD doctor: checks the CLI, language runtime, and authentication.
  • SLACK_CMD manifest validate: run from the project directory if the app has a manifest, to confirm the app configuration is well-formed.

Surface anything these flag before moving on.


Step 2: Run the App

Whichever path you use below, first turn the app's log level up to debug so you have the most context while testing. Prefer a way that leaves the developer's code untouched: read the logger setup to see whether it reads a log-level environment variable (some templates wire one such as SLACK_LOG_LEVEL or LOG_LEVEL). If it does, set that variable instead of editing source. For a CLI-managed app, SLACK_CMD env set <LOG_LEVEL_VAR> debug stores it in the project .env that slack run reads; for a plain Bolt app, set it in the environment or .env the app already reads. Only when the logger reads no such variable should you edit the source, finding where the log level is set and switching it to debug for this run.

CLI-managed apps (recommended)

Follow Step 6: Running an App Locally (slack run) in the slack:slack-cli skill to start the local dev server in the background. This also installs the app into the target workspace, which matters for a fresh sandbox or Free Team where nothing is installed yet. Once it is running, file changes auto-reload.

Plain Bolt apps without the CLI (best-effort)

If the app is a plain Bolt app started with node or python rather than the Slack CLI, this skill can still help, but the run path is best-effort and not the primary flow:

  • Point the app at the test workspace: set its bot and app-level tokens (from that workspace's app settings) in the environment or the .env file the app reads.
  • Prefer socket mode so the app needs no public URL. This works only if the app is coded for socket mode and the app-level token has connections:write; adding tokens to an app scaffolded for HTTP will not deliver events.
  • Start the app with its own command (for example npm start or python app.py) and watch its logs.

Say plainly that this path is best-effort, and that the smoothest experience comes from a CLI-managed app.


Step 3: Try It Out in Slack and Confirm It Works

This is the heart of the skill. Do not hand the developer a generic checklist. Ground every step in what this app actually registers.

3a. Read the source to find what the app listens for

Read the app's listener code and list the interactions it registers. Depending on the framework these look like:

  • Slash commands: a registered command name such as /ship.
  • Shortcuts: global or message shortcuts with a callback ID.
  • Events: subscribed events such as app_mention, message, or reaction_added.
  • Actions: interactive components (buttons, selects) with an action ID.
  • View submissions: modal submit handlers (view_submission).
  • App Home: an app_home_opened handler or a published Home tab.
  • Assistant / agent: an assistant or assistant_thread_started handler, common in the agent templates.

Name the concrete identifiers you find (the actual command and callback names), not placeholders.

3b. Turn each into a "do this, expect that" step

For every registered interaction, give the developer a concrete step and what a working app should do in response. A few spots are non-obvious, so spell them out:

  • Slash command → type the command (for example /ship) in a channel or DM in the test workspace → expect the response the handler sends.
  • Global shortcut → open the shortcuts menu (the lightning-bolt or + button in the message composer, depending on your client) and pick it → expect the modal or message it opens.
  • Message shortcut → hover a message, open More actions (the ⋯ menu), pick the shortcut → expect its response.
  • Event such as app_mention → @-mention the app in a channel it belongs to → expect its reply.
  • Button or select → click the component in a message or modal the app posted → expect what the action handler does.
  • Modal submit (view_submission) → submit the modal → expect the confirmation or side effect.
  • App Home → click the app in the left sidebar to open its Home tab → expect the published view.

3c. Confirm and report

While the developer interacts, help them confirm it is working:

  • If the app runs under slack run, watch its logs (ask "show me the output from slack run") to confirm events arrive and to read any errors.
  • If a response looks wrong (a malformed message or Block Kit view, or an API error), use the slack:block-kit and slack:slack-api skills to dig into the payload or method.

Close with a short summary: what you and the developer confirmed working, and what they should eyeball themselves. Remember this is manual checking: you are helping the developer watch the app respond, not producing an automated pass or fail.


Notes

  • SLACK_CMD is a placeholder: always substitute the actual command name resolved in Step 1a.
  • Scope: this skill tests an app that already exists. To create or scaffold one, use the slack:create-slack-app skill; for raw CLI mechanics, use the slack:slack-cli skill; for message or Block Kit formatting, use the slack:slack-messaging and slack:block-kit skills.
  • Out of scope for now: automated test frameworks for Bolt, programmatically simulating user interactions, and driving the Slack UI with a browser. Today the developer performs the interactions; this skill makes sure they know exactly what to do and what to expect.

Version history

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value95/100

Highlights

  • 针对开发者测试 Slack 应用的明确高频需求,提供完整闭环的手动测试指导
  • 涵盖 CLI 检测、沙盒环境设置、健康检查、日志调试、具体交互验证等关键环节
  • 显著提升开发效率,属于高价值刚需场景
Trigger Precision95/100

Highlights

  • 触发词精准覆盖多种变体(test/try out/smoke-test/verify/confirm)
  • 边界清晰,明确限定于 Slack CLI 或 Bolt 应用的测试场景
  • 无歧义或与其他 Skill 重叠风险
Structure and Standards95/100

Highlights

  • Phase/步骤清晰(Step 1-3),每步有明确子任务和出口条件
  • 包含端到端具体示例(如命令 `/ship`、操作路径)
  • frontmatter 完整,文档结构规范易读
Execution Reliability95/100

Highlights

  • 工具来源明确(Slack CLI),参数正确
  • 覆盖主要异常场景(CLI 未安装、workspace 不安全、manifest 验证失败)
  • 不可逆操作有确认机制,日志调试建议合理
Evidence Verifiability (mean of the first four)95/100

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.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

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

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

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.