A Claude Code slash command for checking the status of your open PRs.
# Clone to your preferred location
git clone git@github.com:claude-commands/command-my-prs.git <clone-path>/command-my-prs
# Symlink (use full path to cloned repo)
ln -s <clone-path>/command-my-prs/my-prs.md ~/.claude/commands/my-prs.md
```text
## Usage
```text
/my-prs # All your open PRs
/my-prs --ready # PRs ready to merge
/my-prs --blocked # PRs needing attention
/my-prs --stale # PRs with no activity >7 days
/my-prs repo-name # PRs in specific repo
```text
## What it does
1. Fetches all your open PRs
2. Checks CI status for each
3. Checks review status and decisions
4. Identifies merge conflicts
5. Categorizes by actionability
6. Provides quick action commands
## Output Format
```markdown
# Your Open PRs
**Total**: 8 | **Ready**: 2 | **Blocked**: 3
## Ready to Merge
| PR | Title | Repo | Reviews |
|----|-------|------|---------|
| #234 | Caching | api | Approved |
## Needs Attention
### PR #456: Update dependencies
- Status: CI Failing
- Action: Fix failing tests
## Quick Actions
```bash
gh pr merge 234 --squash
```text
```text
## PR Categories
| Category | Description |
|----------|-------------|
| Ready | Approved, CI passing, no conflicts |
| Blocked | CI failing, changes requested, conflicts |
| Waiting | Pending reviews or CI |
| Draft | Work in progress |
| Stale | No activity >7 days |
## Requirements
- GitHub CLI (`gh`) authenticated
- Claude Code with Opus 4.5 model access
## Updates
```bash
cd <clone-path>/command-my-prs && git pull
```text