LucaDominici

Drain — Git skill for Claude Code

Git community

Drain the open backlog at maximum throughput — batch issues into waves, one wave PR merged GREEN per cycle (skill: wave-drain).

How to install Drain

Installs to ~/.claude/commands/lucadominici-arbiter-drain.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/LucaDominici/arbiter/HEAD/.claude/commands/drain.md -o ~/.claude/commands/lucadominici-arbiter-drain.md

Restart Claude Code, or start a new session, for it to be picked up.

What Drain does


description: Drain the open backlog at maximum throughput — batch issues into waves, one wave PR merged GREEN per cycle (skill: wave-drain) argument-hint: '[--wave-size N] [--max-parallel N]' title: '/drain' doc_version: '2.0.0' status: active last_review: '2026-07-10' owner: '' canonical_id: '' tags: ['audience/agent', 'audience/dev', 'kind/internal', 'kind/orchestration'] related: ['ship', 'wt-open']

/drain

`/drain` is the **wave orchestration entrypoint**. It drains the open backl

Alternatives in Git

  • Clean Worktrees (Automatic) — Automatically remove all worktrees for branches merged into master 25.5k ★
  • Triage Issues — Triage open GitHub issues — split into bugs vs features, rank by severity/opportunity, and flag under-specifie 12.6k ★
  • Triage Open Pull Requests — Review, label, and act on all open PRs for a repository using parallel review agents 10.8k ★

Full documentation available on GitHub

View Source Repository