Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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 (eve package) — 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:

  1. No package.json with eve and no agent/ directory → Treat as new, start Phase 1
  2. Has eve project but no agent/channels/slack.ts → Start Phase 2 (Slack connector + channel)
  3. Has Slack channel but no SLACK_CONNECTOR configured → Start Phase 3
  4. Configured but not deployed → Start Phase 5 (the Slack surface only works on a deployment)
  5. Deployed but no tests → Start Phase 6
  6. Otherwise → Provide general assistance using this skill's patterns

Project Detection

Detect an eve project by either signal:

  • package.json contains "eve" as a dependency
  • An agent/ directory with instructions.md and/or agent.ts exists

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 with npx eve@latest init
  • 1b-approve-plan.md - Present plan for user approval before scaffolding
  • 2-create-slack-app.md - Create the Slack connector with Vercel Connect and add the Slack channel
  • 3-configure-environment.md - Set up env vars (SLACK_CONNECTOR, model credentials)
  • 4-test-locally.md - Test agent logic locally with the eve dev TUI (Slack surface tests happen after deploy)
  • 5-deploy-production.md - Deploy with eve deploy, verify the Slack surface
  • 6-setup-testing.md - Vitest configuration

IMPORTANT: For new projects, you MUST:

  1. Read ./wizard/1-project-setup.md first
  2. Ask the user what kind of agent they want to build
  3. Generate a custom implementation plan using ./reference/agent-archetypes.md
  4. Present the plan for approval (Phase 1b) BEFORE scaffolding the project
  5. 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/connect for credentials
  • AI: model routed through Vercel AI Gateway by default (anthropic/claude-sonnet-5); tool schemas with zod
  • Durability: Workflow SDK under the hood (Vercel Workflows when deployed on Vercel)
  • Linting: Biome
  • Package Manager: pnpm (or npm — npx eve@latest init installs 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

Полный SKILL.md на GitHub

Установить slack-agent в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

.gitignoreLICENSEREADME.md

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), без исполняемых скриптов.

Похожие скиллы

Сравнить slack-agent с