arh-pr-workflow
Expert guidance for managing Pull Requests and feature branches using Uber's arh CLI tool. Use when creating features, publishing PRs, managing stacked PRs, merging PRs, rebasing branches, running lint/tests, or navigating feature branches in Uber's web-code monorepo.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/ajitsingh25/arh-pr-workflowarh-pr-workflow Skill
Expert guidance for arh CLI — Uber's PR and feature branch management tool.
Create Claude task list using TaskCreate for all items below. Mark tasks complete via TaskUpdate as you go.
- Parse user request (which arh operation?)
- Detect environment (Uber production repo?)
- Execute requested operation
- Verify result
- Report outcome
Branch Naming & Commit Templates
See references/uber-commit-template.md for branch naming convention, commit template format, and PR metadata gathering.
Initial Setup
arh auth
Opens browser for GitHub authorization. Select all needed orgs (e.g., uber-code, uber-objectconfig). GitHub username must end with _UBER suffix.
Core Capabilities
1. Creating Feature Branches
Create a new feature branch from main:
arh feature <feature-name>
Create a stacked feature (branch off current feature):
arh feature next <feature-name>
Create feature with specific parent:
arh feature <feature-name> --parent <parent-branch>
2. Publishing Pull Requests
Publish PR for current feature:
arh publish
Publish entire feature stack (root to leaf):
arh publish --full-stack
Publish without interactive prompts (auto-apply lint fixes):
arh publish --no-interactive
Publish as draft PR:
arh publish --changes-planned
Publish with auto-merge enabled:
arh publish --auto-merge
Publish with combined flags:
arh publish --no-interactive --apply-fixes
arh publish --full-stack --changes-planned
3. Viewing PR Status
View feature tree:
arh log -p
View feature tree with PR status:
arh log -s
# or
arh -s
View with commit history (ahead/behind status):
arh log -c
# or
arh -c
4. Merging Pull Requests
Merge current feature and all ancestors:
arh merge
How it works:
- If on branch A (main -> C -> B -> A), merges A, B, and C
- If on branch B, merges B and C
- Requires all checks to pass (Builds, Required Approvers)
- Merges ancestors first, then current branch
5. Navigating Features
Checkout existing feature:
arh checkout <feature-name>
# or
arh co <feature-name>
Checkout PR from URL (v0.0.38+):
arh checkout https://github.com/uber-code/go-code/pull/11960
# or
arh checkout uber-code/go-code/pull/11960
# or
arh checkout 11960
# or
arh checkout username/feature-name
This fetches the PR branch from remote and sets up upstream tracking.
Navigate feature stack:
arh checkout next # Next feature in tree
arh checkout prev # Previous feature in tree
arh checkout first # First feature in tree
arh checkout last # Last feature in tree
6. Rebasing Features
Rebase current feature tree to latest parent:
arh rebase
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-ajitsingh25-arh-pr-workflow": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
claude-code-statusline
Install and configure a custom Claude Code status line showing real-time token usage, context window percentage, git branch, and color-coded warnings. Use when the user asks to "install statusline", "setup statusline", "configure statusline", "setup status line", "install status bar", "show token usage", "context window display", "statusline colors", "statusline thresholds", or wants to customize their Claude Code status bar display.
India NRI Legal & Tax Advisor
Expert guidance on Indian tax, NRI legal affairs, and Netherlands-India cross-border matters. Use when: asking about NRI tax filing, DTAA India-Netherlands, FEMA compliance, Indian income tax (ITR), Exidian Pvt Ltd director obligations, Box 3 wealth tax on Indian assets, 30% ruling, NRE/NRO accounts, Indian property/inheritance, or any India-Netherlands legal/tax question.
apply-learnings
Analyze Claude Code session history to extract learnings that would have been helpful if provided earlier, then persist them for future sessions. Use when the user asks to "apply learnings", "extract learnings", "what did we learn", "save session learnings", or "analyze session".
placed-career-tools
This skill should be used when the user wants to "match resume to job", "generate cover letter", "optimize resume for job", "get interview questions for company", "generate LinkedIn profile", "check application status", "get salary insights", "negotiate salary", "research company", "analyze resume gaps", or wants to use AI career tools from the Placed platform at placed.exidian.tech.
check-deployment-status
Check deployment status of PRs and commits using continuous-deployment MCP and UCS deployer MCP. Use when user asks "is this deployed", "check deployment", "deployment status", "is PR merged and deployed", "check UP status", "introduced to production", or provides a GitHub PR URL and wants deployment info.