Developer Builds Slack Bot That Autonomously Writes Code and Opens GitHub Pull Requests
A software engineer created Slack2PR, an AI-powered bot that integrates directly into Slack to automate the process of turning ideas or bug reports into GitHub pull requests. Users simply mention the bot in a Slack channel, describe their request, and the agent handles requirements gathering, planning, implementation, testing, and PR creation. The system classifies requests into three categories — features, bugs, and questions — each triggering a distinct workflow with appropriate approval steps. Built on Hexabot, it uses Google Gemini for AI tasks, OpenCode as the coding engine, and TanStack AI Sandboxes to run each job in an isolated Docker environment. The project was developed as part of the DEV Weekend Challenge to demonstrate how AI agents can be embedded into everyday development workflows rather than used as standalone chat tools.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in