Slack Integration

Connect Codeteel to your Slack workspace.

Setup

1
Install Slack app
Go to Settings and click 'Install to Slack'. Authorize the app for your workspace.
2
Connect a channel
In Slack, type /codeteel connect owner/repo in the channel you want to use.
3
Start chatting
Send messages in the channel. Codeteel responds with plans, diffs, and Block Kit buttons.
i
The bot automatically joins the channel when you run /codeteel connect. Team members in the channel can all use the agent.

Commands

/codeteel connect owner/repo    # Connect channel to repo
/codeteel disconnect            # Unlink channel
/codeteel status                # Show connection info + branch
/codeteel branch feature/xyz    # Switch branch
/codeteel branch create feature/xyz  # Create and switch
/codeteel branches              # List all branches
/codeteel reset                 # Clear working branch
/codeteel clear                 # Clear conversation history
/codeteel security              # Full security scan
/codeteel security src/auth/    # Scoped scan
/codeteel security pr 5         # PR diff scan
/codeteel help                  # Show all commands

Usage example

U
Add error handling to the payment webhook
C
📋 Plan: Add error handling (2 steps) 1. MODIFY src/webhooks/payment.ts — Wrap handler in try/catch 2. MODIFY src/webhooks/payment.ts — Add error logging [✅ Approve] [❌ Reject]

Click the Approve button or type "yes" to execute the plan.

How approval works

Slack shows Block Kit buttons below plan messages. You can approve/reject with buttons or by typing "yes", "go ahead", "no", "reject", etc.

Branch selection: If no branch is set when you approve, Codeteel sends branch selection buttons. Pick an existing branch or create a new one.