01
It starts by itself
weekly CI health. Runs in Claude Code routine.
- ↻ weekly CI health
0 9 * * 1
CI long pole named weekly.
Install the Diagnosing CI and Merge Bottlenecks skill and make it a habit: follow https://gethabit.dev/skills/posthog/diagnosing-ci-and-merge-bottlenecks.md
2 installs40K starsMIT licenceSource on GitHub ↗

Diagnosing CI and Merge Bottlenecks
by PostHog · 2 installs
The skill
The diagnosing ci and merge bottlenecks skill helps engineering teams use PostHog engineering analytics tools to find slow or flaky workflows, time to merge and stuck pull requests.
Only when you ask.
The habit
CI long pole named weekly.
↻ Runs by itselfweekly CI health
When does it start? How does it check its work? What does it remember?
Stops after one repo per run.
Call engineering-analytics-sources and pass source_id and repo on.
Call workflow-health for two adjacent windows and compare p50 and p95.
Use pull-requests to list failing, pending and longest-open PRs.
Walk a stuck PR with pr-lifecycle and name the largest gap.
Lead with a one-line verdict, then a short table with caveats.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the Diagnosing CI and Merge Bottlenecks skill helps.
No. It mixes draft and ready time; ready_to_merge_seconds is the precise figure.
No. Per-author numbers are cohort context, not a leaderboard.
Copy the prompt at the top into your agent. It installs the skill from PostHog/skills and sets up the habit. Or run npx skills add PostHog/skills --skill diagnosing-ci-and-merge-bottlenecks.
Yes. It is published under MIT. Habit is free too.
Install the Diagnosing CI and Merge Bottlenecks skill and make it a habit: follow https://gethabit.dev/skills/posthog/diagnosing-ci-and-merge-bottlenecks.md
All PostHog skills →More code skills →
Works in
Made by PostHog, published under MIT. Habit links to the original and never changes it. Is this your skill?