Weekly engineering retrospective from Linear and GitHub
Every Friday at 5pm, get a structured engineering retro in Notion covering what shipped, what slipped, and themes, plus a tight TL;DR in Slack.
Every Friday at 5pm, run an agent that drafts an internal engineering retrospective for my team. Trigger is cron, weekly on Friday at 5pm.
Step one: pull the last seven days of work. From Linear, use List Issues to get every issue that was completed, started, or moved into a blocked state in that window. From GitHub, use List Pull Requests and Search Issues and Pull Requests to pull every PR merged into the main branches of our key repos this week, plus PRs that opened in the window and are still in review.
Step two: use AI Generation (chat-completion) to synthesize a structured retro with four sections: what shipped (grouped by team or project), what slipped (Linear issues that opened but did not close in the window, plus PRs sitting in review longer than 3 days), recurring themes or blockers across issue descriptions and PR titles, and two or three suggestions for the next cycle.
Step three: file the full retro as a new page in our Notion engineering retros database using Notion Create a Page. Title it with the week ending date. Inside the page, include direct links back to the source Linear issues and pull requests so anyone reading can click through.
Step four: send a tight five-bullet TL;DR with the Notion page link to our #engineering Slack channel using Slack Send a Message.
Tone is factual, no marketing fluff. Do not use em dashes anywhere in the output. Use periods or commas instead.
Additional information
What does this prompt do?
- Pulls this week's Linear issues that were completed, started, or moved into blocked alongside the pull requests merged into your main branches
- Drafts a structured retro covering what shipped, what slipped, recurring themes, and two or three suggestions for next cycle
- Files the full retro as a new page in your Notion engineering retros database with direct links back to every source issue and PR
- Sends a tight five-bullet TL;DR with the Notion link to your engineering Slack channel so the whole team sees it
What do I need to use this?
- A Linear workspace where your team tracks issues
- A GitHub account with access to your main repos
- A Notion workspace with a database set up for engineering retros
- A Slack workspace where the agent can post in your engineering channel
How can I customize it?
- Move the run time. Friday at 5pm is the default, but Thursday end of day or Monday morning work too
- Choose which GitHub repos count as your main repos and which Linear teams or projects to scope the retro to
- Tune what counts as slipped. The default flags PRs sitting in review longer than 3 days, and you can raise or lower that threshold
- Swap the Slack channel, or fan the TL;DR out to multiple channels
Frequently asked questions
Does this work with any Linear plan?
What if my team uses GitHub Enterprise or private repos?
How does it decide what slipped?
Can it post the TL;DR to more than one Slack channel?
Will it expose sensitive details from issues or PRs?
Stop hand-writing Friday retros.
Connect Linear, GitHub, Notion, and Slack once, and Geni drafts your engineering retro every Friday at 5pm.