arh-pr-workflow for Openclaw

A comprehensive automation skill for managing the lifecycle of feature branches and stacked pull requests using Uber's arh CLI tool.

ajitsingh25
v1.0.0
Mar 22, 2026
0
334
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install arh-pr-workflow

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install arh-pr-workflow using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is arh-pr-workflow?

The arh-pr-workflow skill provides expert-level guidance and automation for developers working within complex monorepos, specifically optimized for Uber's internal engineering environment. It streamlines the process of creating feature branches, publishing stacked pull requests, and maintaining a clean git history through advanced rebasing and tidying operations.

By leveraging this skill within the Openclaw Skills ecosystem, developers can automate repetitive git tasks, ensure compliance with Uber's commit templates, and manage multi-layered PR dependencies without manual overhead. It bridges the gap between local development and remote repository state, providing a unified interface for quality checks, merges, and branch navigation.

arh-pr-workflow Use Cases

  • Creating and managing stacked pull requests where multiple features depend on one another.
  • Automating the publishing process with auto-apply fixes for linting errors.
  • Synchronizing local feature stacks with the remote main branch in large monorepos like go-code.
  • Cleaning up merged or closed branches to keep the local feature tree organized.
  • Rapidly navigating between parent and child features in a complex development stack.

How arh-pr-workflow Works

  1. The skill parses the user's request to identify the specific arh operation required (e.g., feature creation, publishing, or rebasing).
  2. It verifies the environment to ensure commands are executed within a supported Uber production repository.
  3. It initializes a Claude task list to track the lifecycle of the operation from execution to verification.
  4. Commands are executed via the arh CLI, handling interactive prompts or applying specific flags like --no-interactive as needed.
  5. The skill verifies the outcome, such as checking branch status or PR visibility, and reports the final result to the user.

arh-pr-workflow Setup

To initialize the tool and authorize your GitHub account (ensuring your username ends with the _UBER suffix), run:

arh auth

For users in the go-code monorepo, ensure you have the git-bzl helper installed to refresh build files after pulls:

git-bzl refresh

arh-pr-workflow Data Schema & Taxonomy

The arh-pr-workflow skill manages data through the arh CLI metadata and specific file templates:

Data Type Description
Branch Metadata Internal tracking of parent-child relationships for stacked PRs.
Commit Templates Located in references/uber-commit-template.md for standardized PR descriptions.
Feature Tree Visualized via arh log -p, representing the hierarchy of local branches.
Marker Files Temporary files like /tmp/.skip-coverage-$(id -u) used to bypass pre-push hooks.

arh-pr-workflow Advanced Features

  • Full-Stack Publishing: Use arh publish --full-stack to push an entire chain of dependent PRs simultaneously.
  • Automated Quality Gates: Integration with arh lint and arh test to validate changes before they reach code review.
  • Smart Tidy: The arh tidy command automatically updates upstream tracking for dependent branches when a middle-stack branch is merged.
  • Headless Mode: Support for --no-interactive flags to facilitate use in automated scripts or CI environments.
  • Custom Coverage Control: Toggle pre-push coverage checks using the --no-coverage flag or environment variables.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*