Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .devcontainer/bell.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
echo "タスクが完了しました"
printf "\a"
32 changes: 21 additions & 11 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,35 @@ Claude is configured to send notifications to the Slack workspace when tasks are

### Usage

When you complete a task, Claude will:
1. Send a notification to the configured Slack channel
2. Include details about the completed task
3. Provide a summary of what was accomplished

### Slack Channel Configuration

Notifications will be sent to the channel specified in your MCP Slack configuration. Make sure your MCP Slack integration is properly set up and authenticated.

## Task Completion Rules

When marking tasks as completed, Claude will:
1. Update the task status to "completed"
2. Send a Slack notification with task details
3. Continue with remaining tasks if any
2. Execute `.devcontainer/bell.sh` to play a notification sound
3. Send a Slack notification with task details (if configured)
4. Continue with remaining tasks if any

### Task Completion Notification

When a task is marked as completed, Claude will execute the bell notification script:
```bash
bash .devcontainer/bell.sh
```

This script will:
- Display a completion message
- Play a terminal bell sound (if supported by your terminal)

Note: The bell sound will only work if your terminal supports bell characters. Task completion is indicated through:
- Task status updates in the todo list
- Bell notification script execution
- Slack notifications (if configured)
- Console output messages

## Testing

To test the Slack notification functionality:
1. Create a simple task
2. Complete the task
3. Verify that a notification is sent to Slack
4. Verify that the completion sound is played