Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
finesssee avatar

Linear Pr

  • 132 installs
  • 128 repo stars
  • Updated July 24, 2026
  • finesssee/linear-cli

Create GitHub pull requests linked to a Linear issue from the CLI, with draft and base-branch options.

About

Creates GitHub pull requests linked to a Linear issue via linear-cli. A developer uses it to push code for review and tie the PR to its Linear issue from the terminal.

  • g pr LIN-123 opens a linked GitHub PR
  • --draft and --base flags for PR options

Linear Pr by the numbers

  • 132 all-time installs (skills.sh)
  • Ranked #200 of 733 Git & Pull Requests skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/finesssee/linear-cli --skill linear-pr

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs132
repo stars128
Last updatedJuly 24, 2026
Repositoryfinesssee/linear-cli

What it does

Create GitHub pull requests linked to a Linear issue from the CLI, with draft and base-branch options.

Files

SKILL.mdMarkdownGitHub ↗

Linear PR Creation

Create GitHub pull requests linked to Linear issues using linear-cli.

Create PR

# 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

Git Branch Operations

# 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

Complete Workflow

# 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 Current Issue

# Get issue from current git branch
linear-cli context
linear-cli context --output json

Tips

  • PR title/description auto-generated from issue
  • Use --draft for work-in-progress
  • Branch pattern: username/lin-123-issue-title
  • Requires gh CLI for GitHub operations

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.