create-prlisted
Install: claude install-skill ImTaegan/claude-saas-flow
# Create Pull Request with Linear + Vercel
Automates PR creation with full integration between GitHub, Linear, and Vercel.
## Instructions for Claude
### Step 0: Load Project Configuration
```bash
PROJECT_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || pwd)
CONFIG_FILE="$PROJECT_ROOT/.claude/project.json"
if [ ! -f "$CONFIG_FILE" ]; then
echo "❌ No project configuration found"
echo "Run /setup-project to create one."
exit 1
fi
```
Read the config and extract:
- `projectName`
- `linear.teamId`, `linear.projectId`
- `github.owner`, `github.repo`, `github.defaultBranch`
- `vercel.teamId`, `vercel.projectId`, `vercel.teamSlug`, `vercel.projectName`
### Step 1: Get Current Branch and Extract Issue ID
```bash
git branch --show-current
```
Expected pattern: `feature/ABC-XXX-title` or `bugfix/ABC-XXX-title`
Extract the issue ID (e.g., `ABC-11` from `feature/ABC-11-stripe-integration`).
**If no issue ID found:**
```
❌ Current branch doesn't follow naming convention.
Branch: [branch-name]
Expected: feature/ABC-XXX-description or bugfix/ABC-XXX-description
The issue ID is needed to link to Linear. Please rename your branch:
`git branch -m feature/ABC-XXX-new-name`
```
### Step 2: Fetch Issue Details from Linear
```
Use mcp__linear__get_issue with the extracted issue ID
```
Collect: issue title, description, URL, sub-issues + statuses.
**If issue not found:**
```
❌ Linear issue [ID] not found.
Make sure:
1. The issue exists in Linear
2. The branch name has th