/worklog:merge-greenfrom worklog
Merges PRs only when all quality gates pass. Arms GitHub auto-merge and polls until green, never merging with failures or admin bypass.
Ships in worklog. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The default, always: a PR merges only when every check is green. Pending means wait; failing means fix. There is no third option.
plugin/scripts/merge-when-green.sh <pr> [interval] [max]
(defaults: 60 s × 120). The script arms gh pr merge --auto --merge up
front so GitHub merges server-side the moment required checks pass; the
poll loop is the fallback reporter, not the merge mechanism. Run it in
the background so work continues. In this repo the script lives at
plugin/scripts/; in plugin-installed sessions use
"${CLAUDE_PLUGIN_ROOT}/scripts/merge-when-green.sh".glab mr merge --when-pipeline-succeeds, ADO auto-complete).worklog sync --report run in
worklog-post-merge, which lands its output through a bot PR (ADR-0011);
do not wait on them locally. Ticket-sync on closed items can still run
locally if the post-merge report is not enough.--admin, never skip a gate, never retry-until-flaky-passes without
understanding the failure, never squash (ADR-0008).features.auto_merge_on_green in .work/config.yml
(default true). False = advisory mode: the script polls, reports
green, does NOT merge — a human runs gh pr merge <pr> --merge.
Overrides, strongest first: --auto/--advisory as the script's first
argument (one run), then WORKLOG_AUTO_MERGE=1|0, then the config.
Red/pending/timeout behavior is unchanged either way.--auto to actually queue, the host repo must allow auto-merge and
require status checks on the base branch (ADR-0010). Without those,
GitHub rejects the arm and the poll loop merges once green.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub spillwavesolutions/wiki_ticket_sdd --plugin worklog13 skills in this plugin
/classifyPropose work items from recent conversation (flag-gated classifier). Use when the Stop hook requests classification or when asked to sweep a conversation for untracked work. Propose-only: writes .work/suggestions.jsonl, never the event log./design-docsGenerate or sync the design document or code walkthrough. Live current pair regenerated from the actual code; a release freeze is a short tag+hash+delta note, not a full dated copy. Uses document-specialist v3.2.2, design-doc-mermaid v1.1.1, plantuml v1.2.2. Use when asked for a design doc, architecture doc, code walkthrough, or requirements doc, and automatically (background agents) at every release./integration-guideLook up how wiki_ticket_sdd integrates with a specific SDD tool or ticket/wiki system — Superpowers, GSD, SpecKit, OpenSpec, Jira, Confluence, GitHub, GitLab, Azure DevOps (ADO), AWS CodeCatalyst, or Google Cloud DevOps (GCP). Use when asked how to set up, configure, or use one of these, or when ticket-sync/wiki-publish need runtime guidance for a system with no shipped adapter./issue-descriptionWrite rich, durable issue/ticket descriptions. Use when creating or updating tickets by hand, when composing bodies for ticket-sync, or when a work item needs a description a future reader (human or agent) can act on without archaeology./plan-captureCapture an approved plan as tracked work items. Use when exiting plan mode, when the user approves a plan, or says "capture this plan". Writes docs/plans/<date>-<slug>.md and appends the plan's tasks to .work/todo.jsonl via bin/wiki-ticket/worklog./plan-nextDecide what to work on next — use when asked "what should we do next", "what's most important", or when planning a new work session.Other plugins' skills for the same job