From 19e289a3230ccc6d52e9a301af4c3f3aac5f8afd Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 8 Oct 2026 03:21:59 +0000 Subject: [PATCH] merge-when-green: merge by default once CI passes Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01JVEkZofdPjQ4jtXFKipeUX --- .claude/skills/merge-when-green/SKILL.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.claude/skills/merge-when-green/SKILL.md b/.claude/skills/merge-when-green/SKILL.md index b4962a0..0a26497 100644 --- a/.claude/skills/merge-when-green/SKILL.md +++ b/.claude/skills/merge-when-green/SKILL.md @@ -1,10 +1,12 @@ --- name: merge-when-green -description: Open a pull request for the current branch if needed, wait for CI to pass, then merge it with a merge commit and reset the working branch to main. Use when the user says "merge", "pr and merge", "pr merge", or "merge when green". Never merges while CI is red or still running. +description: Open a pull request for the current branch if needed, wait for CI to pass, then merge it with a merge commit and reset the working branch to main. This is the default for finished work in this repo: once tests pass, merge without waiting to be asked. Also use when the user says "merge", "pr", "pr and merge", or "merge when green". Never merges while CI is red or still running. --- # Merge when green +**Default (the owner's standing instruction):** when a PR for this branch exists and every required check has passed, merge it. Do not wait for a separate "merge" message. Opening a PR for finished, committed work is likewise expected; do not leave work sitting on the branch. The "Never" rules below still apply: red or missing checks, conflicts, or unresolved human review requests mean stop and tell the user. + Repo: `robdevops/finbot`. Base branch: `main`. Work branch: the one named in the session instructions (`claude/...`). Use the GitHub MCP tools (`mcp__github__*`; load them with ToolSearch if they are not in the tool list). There is no `gh` CLI.