skills/linear-pr/SKILL.md
Create GitHub PRs linked to Linear issues. Use when creating pull requests, pushing code for review, or linking PRs to Linear issues.
npx skillsauth add finesssee/linear-cli linear-prInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create GitHub pull requests linked to Linear issues using linear-cli.
# Create PR linked to Linear issue
linear-cli g pr LIN-123
# Draft PR
linear-cli g pr LIN-123 --draft
# Specify base branch
linear-cli g pr LIN-123 --base main
# Open in browser after creation
linear-cli g pr LIN-123 --web
# Create and checkout branch for issue
linear-cli g checkout LIN-123
# Custom branch name
linear-cli g checkout LIN-123 -b my-custom-branch
# Just show branch name (don't create)
linear-cli g branch LIN-123
# Create branch without checkout
linear-cli g create LIN-123
# 1. Start work (assigns, sets In Progress, creates branch)
linear-cli i start LIN-123 --checkout
# 2. Make changes and commit
git add . && git commit -m "Fix the bug"
# 3. Create PR
linear-cli g pr LIN-123
# 4. Mark done
linear-cli i update LIN-123 -s Done
# Get issue from current git branch
linear-cli context
linear-cli context --output json
--draft for work-in-progressusername/lin-123-issue-titlegh CLI for GitHub operationstools
Start/stop work on Linear issues. Use when beginning work, creating branches, or getting current issue context.
development
Manage webhooks - create, listen for events, rotate secrets. Use when setting up integrations or event listeners.
tools
Watch Linear issues for changes. Use for monitoring updates.
tools
Manage custom views - create, list, apply saved views. Use when working with saved issue filters.