Weekly GitHub pull request digest in Slack, written by Claude

Every Monday, one Slack post with last week's merged pull requests and the ones waiting on review for too long.

Using Corsair, every Monday at 9am New York time list the pull requests in acme/web that were merged last week and the ones that have been open for more than three days. Post them in #engineering in Slack, grouped as "Shipped" and "Waiting on review", with links and authors.

Runs on its own: every Monday at 9:00 New York time

How to run it

  1. 1

    Connect GitHub and Slack in Corsair

    Sign in to each app once. Corsair keeps the credentials and makes the calls, so your agent never sees a password or key.

  2. 2

    Add Corsair's MCP server to your agent

    Claude, ChatGPT, Cursor and Claude Code use the same address:

    https://mcp.corsair.dev/mcp

    Steps for each client

    ChatGPT personal plans get read tools only, and this prompt sets up a routine. On those plans, use Claude, Cursor or Claude Code instead.

  3. 3

    Paste the prompt

    Your agent hands it to Corsair as a routine. Corsair builds and tests it, then runs it on its own: every Monday at 9:00 New York time. Change the names in it (channels, repos, teams, time zone) to your own.

Why the prompt is written this way

Two groups

"Shipped" is for the team's morale; "Waiting on review" is the part that gets things moving.

A threshold

"Open for more than three days" keeps the waiting list to the ones that need a nudge.

One channel

Post where the team already talks about code, not in a new channel nobody reads.

Tools it calls

The Corsair tools your agent uses for this job. Writes follow your link's mode: on a Strict link, each one waits for your approval.

AppToolUsed toAccess
GitHubListpullRequests.listLists merged and open pull requestsRead-only
GitHubList ReviewspullRequests.listReviewsChecks which ones have reviewsRead-only
SlackPostmessages.postPosts the digestWrite

Good to know

  • One repo per line works best. For several repos, name each one.
  • It reads repos the GitHub account you connected can see.

More use cases

Slack, Google CalendarEvery weekday at 9:00 New York time

Slack reminders with your meetings

Have your agent post a Slack reminder every morning with the day's meetings, who's attending and what to prepare. Set it once in plain words.

GitHub, LinearWhen a GitHub issue is opened

New GitHub issues into Linear

When someone opens an issue in your GitHub repo, a Linear issue is created in the right team with a summary, and each issue links to the other.

Questions

No. When a prompt says when to run, your agent hands it to Corsair as a routine. Corsair builds and tests it, then runs it on its own. Ask your agent to list your routines, to pause or remove one, or whether one ran ("did the Slack summary run this morning?").

The one you name. Put your city or time zone in the prompt, as these prompts do with New York, and Corsair runs the routine at that local time, daylight saving time included. If you leave it out, your agent asks once. To check, ask your agent to list your routines: each one shows its time and time zone.

Yes. Ask it to message each author in Slack about their pull requests waiting on review. The agent matches GitHub authors to Slack users by name, so check the first run.