Install
$ agentstack add skill-getsentry-skills-pr-link-issue ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
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
- `
— GitHub issue URL likehttps://github.com///issues/`. Issue number alone is fine if the PR is in the same repo. - (optional) `` — defaults to the open PR for the current branch.
Steps
- Resolve the PR number — skip if user supplied one:
``bash gh pr view --json number,body -q '.number' ``
If no PR exists on the branch, stop and tell the user.
- Extract issue number + repo from the input URL, or accept a bare
#1234for current repo.
- Fetch the Linear ticket from the issue's linear-linkback comment:
``bash gh issue view --repo / --json comments \ -q '.comments[] | select(.author.login=="linear-code") | .body' \ | grep -Eioe '[a-z]+-[0-9]+' | head -1 ``
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 --json body -q '.body' ``
- Construct the new body. If the body is empty, use just the
#### Issuesblock. Otherwise, append it after a blank line. Don't duplicate — if#### Issuesis already present, replace that section instead of adding a second one.
Format:
```markdown #### Issues
- Resolves: #
- Resolves:
```
- Update the PR with a heredoc to preserve newlines:
``bash gh pr edit --body "$(cat EOF )" ``
- Confirm by echoing the resulting PR URL:
``bash gh pr view --json url -q '.url' ``
Notes
- Linear linkback comments are posted by the GitHub user
linear-code. The body contains a markdown link whose text is the Linear key, e.g.PY-2357. - Project keys vary per repo (
PY-…for sentry-python,JS-…for sentry-javascript, etc.) — the regex[a-z]+-[0-9]+covers them. - Don't strip existing PR content. Always read first, append/replace second.
- 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.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: getsentry
- Source: getsentry/skills
- License: Apache-2.0
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.