Files
nodnarbnitram__claude-code-…/.env.example
Brandon Martin de50fb9d0f feat: add Slack notification hook for Claude Code events
Add comprehensive Slack integration that sends direct messages for Claude Code lifecycle events including notifications, task completions, and subagent completions.

Features:
- Universal event support (Notification, Stop, SubagentStop, etc.)
- Intelligent message formatting based on event type
- Custom emoji support via --event-emoji flag
- Comprehensive error handling and logging
- Dry-run mode for testing

Implementation:
- slack_notification.py: Main hook using slack_sdk
- docs/slack-notifications.md: Complete setup and usage guide
- .env.example: Environment variable template
- Updated settings.json with Slack hooks for key events
- Updated .gitignore to exclude .env files
- Updated README.md to document new hook

Requires SLACK_BOT_TOKEN and SLACK_USER_ID environment variables.
2025-10-07 23:57:34 -05:00

3 lines
52 B
Bash

ENGINEER_NAME=""
SLACK_BOT_TOKEN=""
SLACK_USER_ID=""