# PR link issue

> PR link issue is an open-source agent skill. Append a GitHub issue link and its Linear ticket to the current PR's description. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/getsentry/skills/tree/main/skills/pr-link-issue
- **Repository:** https://github.com/getsentry/skills
- **GitHub stars:** 1,174
- **License:** Apache-2.0
- **Skill name:** pr-link-issue
- **Collection:** https://github.com/getsentry/skills
- **Listing updated:** 2026-11-17

## About

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.

## When your agent uses it

> 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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/getsentry/skills/tree/HEAD/skills/pr-link-issue)
- [License: Apache-2.0](https://github.com/getsentry/skills/tree/HEAD/skills/pr-link-issue)

## Install

### Claude Code

This skill ships in the `sentry-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add getsentry/skills
/plugin install sentry-skills@sentry-skills
```

Or copy only this skill to `~/.claude/skills/pr-link-issue`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/getsentry/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/pr-link-issue &&
cp -R "$tmp/skills/pr-link-issue" ~/.claude/skills/pr-link-issue &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/pr-link-issue` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/pr-link-issue` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/getsentry/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/pr-link-issue &&
cp -R "$tmp/skills/pr-link-issue" ~/.agents/skills/pr-link-issue &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/pr-link-issue` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/pr-link-issue` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/getsentry/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/pr-link-issue &&
cp -R "$tmp/skills/pr-link-issue" ~/.cursor/skills/pr-link-issue &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/pr-link-issue` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/getsentry/skills.git --path skills/pr-link-issue
```

Or copy the folder to `~/.gemini/skills/pr-link-issue` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/pr-link-issue`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/getsentry/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/pr-link-issue &&
cp -R "$tmp/skills/pr-link-issue" ~/.copilot/skills/pr-link-issue &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/pr-link-issue` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/getsentry/skills.git
```

Then copy `skills/skills/pr-link-issue` into your agent's skills folder as `pr-link-issue`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How do I install PR link issue in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/pr-link-issue to use it in all your projects, or to .claude/skills/pr-link-issue in one project. Or install the sentry-skills plugin, which includes it: /plugin marketplace add getsentry/skills, then /plugin install sentry-skills@sentry-skills.

### Does PR link issue run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use PR link issue?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

---
Source: https://ai-powered.com/skills/pr-link-issue
