slack-agent
БесплатноБез исполняемых скриптовНе проверенUse when building Slack agents/bots with eve (Vercel's filesystem-first agent framework), @vercel/connect, or eve/channels/slack. Covers…
от vercel-labs★ 24 звезды на GitHubОб этом скилле
Slack Agent Development Skill
This skill builds Slack agents with eve — Vercel's filesystem-first framework for durable backend agents — using Vercel Connect for Slack credentials:
- eve (
evepackage) — agent runtime, tools, channels, durability - @vercel/connect — brokered short-lived Slack tokens; no bot tokens or signing secrets to manage
Skill Invocation Handling
When this skill is invoked via /slack-agent, check for arguments and route accordingly:
Command Arguments
| Argument | Action |
|---|---|
new |
Run the setup wizard from Phase 1. Read ./wizard/1-project-setup.md and guide the user through creating a new Slack agent. |
configure |
Start wizard at Phase 2 or 3 for existing projects |
deploy |
Start wizard at Phase 5 for production deployment |
test |
Start wizard at Phase 6 to set up testing |
| (no argument) | Auto-detect based on project state (see below) |
Auto-Detection (No Argument)
If invoked without arguments, detect the project state and route appropriately:
- No
package.jsonwitheveand noagent/directory → Treat asnew, start Phase 1 - Has eve project but no
agent/channels/slack.ts→ Start Phase 2 (Slack connector + channel) - Has Slack channel but no
SLACK_CONNECTORconfigured → Start Phase 3 - Configured but not deployed → Start Phase 5 (the Slack surface only works on a deployment)
- Deployed but no tests → Start Phase 6
- Otherwise → Provide general assistance using this skill's patterns
Project Detection
Detect an eve project by either signal:
package.jsoncontains"eve"as a dependency- An
agent/directory withinstructions.mdand/oragent.tsexists
If neither is present, this is a new project: scaffold with npx eve@latest init (Node 24+ required).
Wizard Phases
The wizard is located in ./wizard/ with these phases:
1-project-setup.md- Understand purpose, generate custom implementation plan, scaffold withnpx eve@latest init1b-approve-plan.md- Present plan for user approval before scaffolding2-create-slack-app.md- Create the Slack connector with Vercel Connect and add the Slack channel3-configure-environment.md- Set up env vars (SLACK_CONNECTOR, model credentials)4-test-locally.md- Test agent logic locally with theeve devTUI (Slack surface tests happen after deploy)5-deploy-production.md- Deploy witheve deploy, verify the Slack surface6-setup-testing.md- Vitest configuration
IMPORTANT: For new projects, you MUST:
- Read
./wizard/1-project-setup.mdfirst - Ask the user what kind of agent they want to build
- Generate a custom implementation plan using
./reference/agent-archetypes.md - Present the plan for approval (Phase 1b) BEFORE scaffolding the project
- Only proceed to scaffold after the plan is approved
General Development Guidance
You are working on a Slack agent project built with eve. Follow these mandatory practices for all code changes.
Project Stack
- Framework: eve (filesystem-first agent framework; Node 24+)
- Slack channel:
eve/channels/slack+@vercel/connectfor credentials - AI: model routed through Vercel AI Gateway by default (
anthropic/claude-sonnet-5); tool schemas withzod - Durability: Workflow SDK under the hood (Vercel Workflows when deployed on Vercel)
- Linting: Biome
- Package Manager: pnpm (or npm —
npx eve@latest initinstalls with npm)
{
"engines": { "node": "24.x" },
"dependencies": {
"eve": "latest",
"ai": "latest",
"zod": "^3.x",
"@vercel/connect": "latest"
}
}
Filesystem-First Layout
In eve, a file's location says what it does, and its path usually gives it its name. The whole agent lives under agent/:
agent/
├── instructions.md # Always-on system prompt
├── agent.ts # Runtime config (defineAgent): model, reasoning, compaction
├── tools/ # Tools — filename (snake_case ASCII) = tool name the model sees
│ ├── get_weather.ts
│ └── search_docs.ts
├── skills/ # Load-on-demand instructions (*.md with description frontmatter)
│ └── incident-triage.md
├── channels/
│ └── slack.ts # Slack channel — filename registers it at /eve/v1/slack
├── connections/ # MCP / OpenAPI connections (optional)
└── hooks/ # Subscribe to runtime stream events (optional)
Even a two-file agent (instructions.md + agent.ts) gets file, shell, web, and delegation tools out of the box from the default harness. Full docs are bundled at node_modules/eve/docs/ once eve is installed — read them when a detail isn't covered here.
// agent/agent.ts
import { defineAgent } from "eve";
export default defineAgent({
model: "anthropic/claude-sonnet-5", // routed via Vercel AI Gateway
});
Quality Standards (MANDATORY)
These quality requirements MUST be
Установить slack-agent в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл slack-agent?
Use when building Slack agents/bots with eve (Vercel's filesystem-first agent framework), @vercel/connect, or eve/channels/slack. Covers defineAgent/defineTool patterns, Vercel Connect credential brokering, Slack channel setup, testing requirements, and quality standards.
Как установить скилл slack-agent?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл slack-agent запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic