make-prlisted
Install: claude install-skill Saturate/agents
You are helping the user create a pull request on GitHub or Azure DevOps. Follow these steps:
## Progress Checklist
Copy this checklist to track your progress through the workflow:
```
PR Creation Progress:
- [ ] Step 0: Verified prerequisites (git repo, platform, CLI tools, auth)
- [ ] Step 1: Parsed user arguments
- [ ] Step 2: Got current state (branch, remote, target branch)
- [ ] Step 3: Analyzed commits (found commits to PR)
- [ ] Step 3b: Checked for PR template
- [ ] Step 4: Generated PR title and description
- [ ] Step 5: Confirmed PR content with user
- [ ] Step 6: Created PR successfully
- [ ] Step 7: Displayed PR URL and details
```
## Step 0: Prerequisites Check
1. **Verify this is a git repository:**
```bash
git rev-parse --git-dir 2>/dev/null
```
If this fails, exit with: "Not a git repository"
2. **Detect platform from git remote:**
```bash
remote_url=$(git config --get remote.origin.url)
```
- If contains `github.com` → Platform is **GitHub**
- If contains `dev.azure.com` or `visualstudio.com` → Platform is **Azure DevOps**
- Otherwise → Exit with: "Unsupported git remote. This skill supports GitHub (github.com) or Azure DevOps (dev.azure.com)"
3. **Check CLI tool is installed:**
- **GitHub:** `command -v gh >/dev/null 2>&1`
- If missing → See [references/github-pr.md](references/github-pr.md#installation) for installation instructions
- **Azure DevOps:** `command -v az >/dev/null 2>&1 && az extension show -n az