test-slack-app
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…
от CognitionAI★ 42 звезды на GitHub
Установить test-slack-app в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
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:
- Run the app in a developer sandbox: a free, throwaway Slack org for building and testing, never a workspace with real coworkers in it.
- Read the app's source to learn what it actually listens for.
- 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 developer sandbox to test in
Testing belongs in a developer sandbox, never a workspace with real coworkers in it.
- Explain it from the live docs, not from here. Use the
slack:slack-docsskill 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 listfor the authenticated workspaces and their team IDs, and, from the project directory,SLACK_CMD app listfor the apps already installed and their IDs. - Confirm it is a sandbox. The CLI cannot tell a sandbox apart from a workspace with real users, so ask the developer to confirm the target is a developer sandbox. If there is no sandbox yet, set one up with the
slack:create-slack-appskill (Step 3: Set Up a Developer Sandbox), which owns thesandbox list/sandbox createflow and the Developer Program links. Creating a sandbox happens in the browser, so have the developer come back here once the sandbox 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 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 sandbox: set its bot and app-level tokens (from the sandbox app's settings) in the environment or the
.envfile 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 startorpython 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 checklis
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл test-slack-app?
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 (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?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл test-slack-app запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…