deploy-slack-app
БесплатноЗапускает вложенные скриптыНе проверенUse when a developer wants to deploy, host, or run a Slack app somewhere it keeps working after the local process stops, or mentions Railway, Heroku, `railway…
от slackapi★ 177 звёзд на GitHubОб этом скилле
Deploy Slack App
Take a Slack app that already works locally and deploy it to a hosting provider as a separate Slack app, with its own app ID, that keeps running without the developer's machine. The local development app is unchanged, and Step 5: Deploy explains how the two coexist. This is the step after the test-slack-app skill confirms the app responds.
A Deno Slack SDK app is the exception: it deploys to Slack's own managed hosting with plain slack deploy, and Step 1b: Check for a Deno Slack SDK App sends it to Deploy a Deno Slack SDK App instead of the provider flow.
For the provider flow, the mechanism is the Slack CLI's deploy hook. Adding a deploy key to the project's .slack/hooks.json replaces Slack's own hosted deployment with a script of your choosing, and the CLI runs that script after it has created and installed the deployed app. That ordering is the whole reason this approach is worth using: the app's bot and app-level tokens are already in the script's environment by the time it runs, so nothing here has to prompt for a secret or store one.
Two supported providers, both running the app as a long-lived worker process:
| Provider | Process type | Deploys from | Secrets | Current pricing |
|---|---|---|---|---|
| Railway | Service, no port binding required | The working directory | Passed on stdin | https://railway.com/pricing |
| Heroku | worker dyno |
A git push of committed code | Passed as arguments | https://www.heroku.com/pricing |
Railway is the better default, and the reasons are in Step 2a: Choose a Provider.
Step 1: Check Prerequisites
1a. Detect the Slack CLI
Load the slack-cli skill (with your skill tool, if you have one) before running any command, and follow its Step 1: Detect the Slack CLI to check whether the public Slack CLI is installed and resolve its command name. Don't check for the CLI yourself first: a slack on PATH isn't always the public CLI, and that step tells them apart. The fingerprint check, alias fallback, and install instructions all live there; do not duplicate them. Refer to the resolved command as SLACK_CMD throughout.
This matters more than it looks. Some machines have an unrelated internal tool named slack on the path, and running that instead produces confusing failures well into the deploy.
1b. Check for a Deno Slack SDK App
Before reading the manifest for Socket Mode, check whether this is a Deno Slack SDK app. Any one of these is a match:
.slack/hooks.jsonhas aget-hookscommand that runsdeno_slack_hooks.deno.jsonordeno.jsoncimportsdeno-slack-sdk.- The project has a
manifest.tsthat importsManifestfromdeno-slack-sdk, usually besidefunctions/,workflows/, andtriggers/folders.
A Deno Slack SDK app does not use this skill's provider flow. Its functions run on Slack's managed hosting, and its manifest sets socket_mode_enabled to false, so Step 1c: Confirm the App Uses Socket Mode would wrongly stop it as a Request URL app. Skip the rest of Steps 1 to 8 and follow Deploy a Deno Slack SDK App below. Do not add a deploy hook or a Railway or Heroku script to it.
If none of these match, continue with the next step.
1c. Confirm the App Uses Socket Mode
Read the app's manifest rather than asking. The project already declares which mode it uses, so a question here is redundant. Check manifest.json for settings.socket_mode_enabled. If .slack/config.json sets the manifest source to remote, there is no local file, so read it with SLACK_CMD manifest info instead.
- Socket Mode enabled: continue. The app opens an outbound websocket to Slack, needs no public URL, and binds no HTTP port.
- Socket Mode disabled, or the app uses a Request URL: stop here. This skill does not cover Request URL apps yet, because a hosted Request URL app also needs a public address captured after the deploy and written back into the app manifest. Tell the developer plainly that this is the gap, and that converting the app to Socket Mode is the supported path today. Support may have shipped in a newer version of the Slack Skills Plugin, so ask the developer to update the plugin and try again. If they are already on the latest version, point them to https://github.com/slackapi/slack-skills-plugin/issues/172 to add a reaction or comment.
If the manifest is ambiguous, read the app's entrypoint. A Bolt for JavaScript app constructed with socketMode: true and an appToken, or a Bolt for Python app started through SocketModeHandler, is a Socket Mode app.
1d. Confirm the Runtime Is Supported
This flow is verified on macOS and Linux. The deploy hook is a shell script, so a Windows developer needs a PowerShell equivalent that does not exist yet. On Windows, say so rather than letting the deploy fail partway through. WSL is a workable path in the meantime. Support may have shipped in a newer version of the Slack
Установить deploy-slack-app в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл deploy-slack-app?
Use when a developer wants to deploy, host, or run a Slack app somewhere it keeps working after the local process stops, or mentions Railway, Heroku, `railway up`, `git push heroku`, `slack deploy`, a `deploy` hook in `.slack/hooks.json`, hosting a Socket Mode or Request URL (HTTP) Bolt app, deploying a Deno Slack SDK app (workflows, functions, and triggers) to Slack's managed hosting, deploying from Windows, graduating an app out of a developer sandbox, or tearing down a deployed app. Not for conceptual questions about how Slack app hosting works, which the `slack-docs` skill answers.
Как установить скилл deploy-slack-app?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл deploy-slack-app запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This 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…
от Anthropic