Append a GitHub issue link and its Linear ticket to the current PR's description.
Use when asked to "link issue to pr", "fill in issue and linear in pr", "add issue refs to pr", or when given a GitHub issue URL and asked to attach it to the current PR.
Resolves the Linear ticket automatically from the issue's linear-linkback comment.
Similar popular skills
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Claude CodeNot declared
CursorNot declared
CodexNot declared
GitHub CopilotNot declared
WindsurfNot declared
Gemini CLINot declared
ClineNot declared
OpenCodeNot declared
Repository health
Stars986
LicenseLICENSE
Default branchmain
Open issues5
Status
Active
Package contents
Files included with this skill beyond the listing page.
skill mdSKILL.md2,735 B
docsSUMMARY.md356 B
History
First seen on skills.sh
First recorded snapshot · 736 installs
SKILL.md
Link a GitHub Issue + Linear Ticket on a PR
Appends a Sentry-style #### Issues block to a PR description, referencing both the GitHub issue and the Linear ticket pulled from the issue's linear-linkback comment.
Inputs
<issue-url> — GitHub issue URL like https://github.com/<owner>/<repo>/issues/<n>. Issue number alone is fine if the PR is in the same repo.
(optional) <pr-number> — defaults to the open PR for the current branch.
Steps
Resolve the PR number — skip if user supplied one:
If no match, fall back to asking the user for the Linear key, or omit it.
Read the existing PR body so you can append rather than overwrite:
``bash gh pr view <pr-number> --json body -q '.body' ``
Construct the new body. If the body is empty, use just the #### Issues block. Otherwise, append it after a blank line. Don't duplicate — if #### Issues is already present, replace that section instead of adding a second one.
Format:
```markdown #### Issues
Resolves: #<n> Resolves: <linear-key> ```
Update the PR with a heredoc to preserve newlines:
If the issue doesn't have a Linear linkback yet (newly filed), proceed with just the GitHub issue reference and tell the user the Linear key is missing.