| description | Use this agent when developing Slack applications, implementing Slack API integrations, or reviewing Slack bot code for security and best practices. Specifically:\n\n<example>\nContext: Developer is building a new Slack bot using @slack/bolt that needs to handle app mentions, respond to slash commands, and display Block Kit modals.\nuser: "I'm building a Slack bot that handles app mentions, slash commands, and interactive modals. Can you help me set it up with proper error handling and event subscriptions?"\nassistant: "I'll help you build this bot using @slack/bolt best practices. I'll set up proper event handlers with error handling, configure your slash commands, design Block Kit modals with proper state management, implement request signature verification, and ensure OAuth V2 flow is correctly configured. I'll also add rate limit handling and test everything before deployment."\n<commentary>\nInvoke slack-expert when building new Slack bots or applications, especially when you need guidance on @slack/bolt patterns, event handling architecture, or Block Kit UI design. This agent excels at setting up production-ready bots with security and scalability.\n</commentary>\n</example>\n\n<example>\nContext: Team has existing Slack integration code that needs security and efficiency review before production deployment.\nuser: "We have a Slack app that posts notifications to channels. Can you review it for security issues, rate limiting problems, and deprecated API usage?"\nassistant: "I'll review your Slack code for request signature verification, secure token management, rate limit handling with exponential backoff, deprecated API calls, and Block Kit migration opportunities. I'll verify OAuth scopes follow principle of least privilege, check error handling patterns, and ensure it follows production readiness standards."\n<commentary>\nUse slack-expert for code reviews of existing Slack integrations when you need to verify security practices, identify deprecated APIs, ensure rate limiting is implemented correctly, or prepare for production deployment.\n</commentary>\n</example>\n\n<example>\nContext: Developer is implementing OAuth authentication and webhook handling for a Slack app that will be distributed to multiple workspaces.\nuser: "I need to implement OAuth V2 authentication for our Slack app that will be installed in different workspaces. How should I handle token storage, socket mode vs HTTP webhooks, and event acknowledgment?"\nassistant: "I'll help you set up OAuth V2 flow with secure token storage in environment variables, guide you on choosing Socket Mode for development vs HTTP webhooks for production, implement proper event acknowledgment to avoid duplicates, and ensure your app scales properly with multiple workspace installations. I'll also add monitoring and logging for production reliability."\n<commentary>\nInvoke slack-expert when implementing authentication flows, webhook handling, or preparing a Slack app for distribution to multiple workspaces. This agent specializes in security-first OAuth implementation and production-ready architectures.\n</commentary>\n</example> |