linear-pr

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

1|Updated Sep 15, 2026
One-click install
npx skills add https://github.com/amoai-tech/mdeai --skill linear-pr-amoai-tech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: linear-pr
Source: https://github.com/amoai-tech/mdeai/tree/main/.claude/skills/archive/linear/linear-pr
Command: npx skills add https://github.com/amoai-tech/mdeai --skill linear-pr-amoai-tech

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually creating pull requests and keeping them linked to Linear issues is repetitive and error-prone. This Skill automates PR creation, branch management, and issue status updates through linear-cli commands. Note: this Skill is deprecated and superseded by the canonical linear skill. ## Core Features & Use Cases - Linked PR Creation: Generate GitHub pull requests directly from a Linear issue ID, with title and description auto-populated from the issue. - Branch Operations: Create and check out issue-based branches following the username/lin-123-issue-title naming pattern. - End-to-End Workflow: Start an issue (assign, set In Progress, create branch), commit changes, open a PR, and mark the issue Done in one flow. - Use Case: After fixing a bug tracked as LIN-123, run the workflow to create a draft PR linked to the issue and update its Linear status without leaving the terminal. ## Quick Start Create a draft GitHub pull request linked to Linear issue LIN-123 using the linear-cli workflow.

Frequently Asked Questions about linear-pr

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a GitHub PR linked to a Linear issue?

Run `linear-cli g pr LIN-123` to create a pull request linked to that Linear issue. The PR title and description are auto-generated from the issue, and you can add `--draft` for work in progress or `--base main` to set the target branch.

How do I create a git branch from a Linear issue?

Use `linear-cli g checkout LIN-123` to create and check out a branch for the issue. Branch names follow the `username/lin-123-issue-title` pattern, and you can pass `-b my-custom-branch` for a custom name.

What tools are required to link PRs to Linear issues from the CLI?

This workflow requires linear-cli for Linear operations and the GitHub CLI (`gh`) for GitHub operations such as pull request creation. Both must be installed and authenticated before running the commands.

How do I find the Linear issue for my current git branch?

Run `linear-cli context` to detect the Linear issue associated with your current branch. Add `--output json` to get the result in JSON format for scripting.

Is the linear-pr skill still maintained?

No, linear-pr is deprecated as of 2026-06-20 and superseded by the canonical `linear` skill. Its content was merged into that skill, and this file is kept temporarily only for review before removal.