explaingit

marrouchi/slack2pr

Analysis updated 2026-05-18

0TypeScriptAudience · developerSetup · hard

TLDR

A Slack bot that turns a plain English message into a working code change: it plans, codes, tests, and opens a GitHub pull request automatically.

Mindmap

mindmap
  root((Slack2PR))
    What it does
      Slack to pull request
      Plans and codes
      Tests changes
    Tech stack
      TypeScript
      Node.js
      Docker
      Hexabot
    Use cases
      Feature requests
      Bug fixes
      Code questions
    Audience
      Developers
      Small teams

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Ask for a new feature in Slack and get back an open pull request with the implementation

USE CASE 2

Report a bug in Slack and have the bot investigate before applying a fix

USE CASE 3

Ask a question about the codebase and get a quick answer without opening an editor

USE CASE 4

Automate small, well scoped development tasks for a team that already lives in Slack

What is it built with?

TypeScriptNode.jsDockerHexabot

How does it compare?

marrouchi/slack2pr0xkinno/astraea0xkinno/halcyon
Stars000
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyhardhardhard
Complexity4/54/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Needs Docker, a Slack app, a GitHub token, and an AI provider API key configured before first use.

In plain English

Slack2PR lets you mention a bot in Slack, describe a feature or a bug in plain English, and have it plan the work, write the code, test it, and open a pull request on GitHub, replying in the same Slack thread with the link. It is built as an app for a chatbot platform called Hexabot. When you mention the bot, it first figures out what you want: build a new feature, investigate and fix a bug, or just answer a question about the code. For a new feature it asks a short series of questions to understand the requirements, breaks the work into smaller pieces, and builds each piece one at a time. For a bug report it first looks at the code without changing anything, then lets you choose to dig deeper, fix it, or stop. For a question it just reads the code and replies with an answer. The actual coding work happens inside a temporary Docker container that holds a copy of your repository. Each Slack conversation gets its own container, which is reused across the whole conversation so the plan and progress are not lost between steps, and is removed once the conversation ends or goes quiet. You can choose which underlying AI coding tool does the work, including Claude Code, Codex, OpenCode, or Grok Build, and pick the model for each step. Git and GitHub access are set up automatically so the AI can create branches, commit, push, and open pull requests without ever seeing your raw access token directly. Built in rules block risky commands like sudo or deleting files, and control what files can be read or written. To run it you need Node.js, Docker, a Slack app connected to your workspace, a GitHub access token, and an API key for an AI model provider. After starting the app you create these credentials in an admin screen, import the included workflow, point it at your repository, and connect it to Slack. The README does not state a license.

Copy-paste prompts

Prompt 1
Walk me through setting up Slack2PR for my own GitHub repository step by step
Prompt 2
Explain how Slack2PR decides between the develop, bug, and question workflows
Prompt 3
Show me how to swap the default AI coding tool for a different one in the workflow settings
Prompt 4
Explain the guardrails that stop Slack2PR from running dangerous commands in the sandbox
Prompt 5
Help me write a Slack message that would trigger a well scoped feature request in Slack2PR

Frequently asked questions

What is slack2pr?

A Slack bot that turns a plain English message into a working code change: it plans, codes, tests, and opens a GitHub pull request automatically.

What language is slack2pr written in?

Mainly TypeScript. The stack also includes TypeScript, Node.js, Docker.

How hard is slack2pr to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is slack2pr for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.