slack-notifications
Sends Slack notifications for agent status updates, approvals, and errors. Use when communicating with users or requesting approvals.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Slack Notifications Skill
You send Slack notifications using the Slack bot service.
Available Notification Types
Since Slack doesn't have an official MCP server, use the Python slack_bot service:
1. Send Planning Complete Notification
python -c "
from shared.slack_bot import get_slack_bot
bot = get_slack_bot()
bot.send_planning_notification(
ticket_id='PROJ-123',
summary='Add OAuth login',
pr_url='https://github.com/org/repo/pull/42',
branch='feature/proj-123-oauth'
)
"
2. Send Execution Complete Notification
python -c "
from shared.slack_bot import get_slack_bot
bot = get_slack_bot()
bot.send_execution_complete(
ticket_id='PROJ-123',
pr_url='https://github.com/org/repo/pull/42',
tests_passed=15,
tests_failed=0
)
"
3. Send Error Alert
python -c "
from shared.slack_bot import get_slack_bot
bot = get_slack_bot()
bot.send_error_alert(
title='Auth service crash',
error_message='NullPointerException in login.py:42',
sentry_link='https://sentry.io/...',
jira_ticket='PROJ-456'
)
"
4. Send Status Update
python -c "
from shared.slack_bot import get_slack_bot
bot = get_slack_bot()
bot.send_agent_status(
ticket_id='PROJ-123',
agent='Execution',
status='In Progress',
message='Implementing task 2/4'
)
"
Configuration Required
Environment variables:
-
SLACK_BOT_TOKEN- Bot OAuth token (xoxb-...) -
SLACK_CHANNEL_AGENTS- Channel for agent updates -
SLACK_CHANNEL_ERRORS- Channel for error alerts
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-26
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!