upgrade-hpplisted
Install: claude install-skill valasubramanian-kr/wallet-web-developer
# `/upgrade-hpp` — Automate HPP Version Upgrade to Esperanto
## Purpose
Automates the workflow of upgrading a Hosted Payment Page (HPP) review version in the Esperanto repository. When an HPP PR with label 'qa:required' is created, a review version is published (e.g., "3.0.96-3287898"). This skill extracts that version from the PR comments and creates an upgrade PR in Esperanto automatically.
**What it does**:
1. Auto-detects current repo (HPP or Esperanto)
2. Gets HPP PR number (from current branch or user argument)
3. Fetches HPP PR details (branch name and title)
4. Fetches HPP PR comments and extracts review version
5. Creates upgrade branch in Esperanto repo **using HPP PR's branch name**
6. Runs `update_whpp_version.sh` script to update package.json files
7. Commits, pushes, and creates Esperanto PR with **HPP PR title + " | QA Reviewer App"**
8. Uses Esperanto's predefined PR template (no custom body)
**Type**: Standalone coordinator (spawns general-purpose sub-agent)
---
## Usage
### From HPP Repo (Auto-detect PR)
```bash
# On HPP PR branch with review version comment
cd /Users/thw6774/Documents/repos/hosted-payment-page
git checkout <HPP-PR-branch>
/upgrade-hpp
```
### From HPP Repo (Explicit PR Number)
```bash
cd /Users/thw6774/Documents/repos/hosted-payment-page
/upgrade-hpp 296
```
### From Esperanto Repo (Requires PR Number)
```bash
cd /Users/thw6774/Documents/repos/esperanto
/upgrade-hpp 296
```
---
## Prerequisites
**Required**:
- GitHub MCP serv