Skip to content

feat(pr-link-issue): add skill to link GitHub issues + Linear tickets on PRs#150

Merged
sl0thentr0py merged 2 commits into
mainfrom
feat/pr-link-issue
May 21, 2026
Merged

feat(pr-link-issue): add skill to link GitHub issues + Linear tickets on PRs#150
sl0thentr0py merged 2 commits into
mainfrom
feat/pr-link-issue

Conversation

@sentry-junior
Copy link
Copy Markdown
Contributor

@sentry-junior sentry-junior Bot commented May 21, 2026

Adds a new skill that appends a Sentry-style #### Issues block to a PR description, referencing both the GitHub issue and the Linear ticket resolved automatically from the issue's linear-code linkback comment.

What it does

When invoked with a GitHub issue URL (or bare #N), the skill:

  1. Resolves the current PR (or uses a supplied PR number)
  2. Fetches the Linear ticket key from the issue's linear-code bot comment
  3. Appends/replaces an #### Issues section on the PR body with both references

Changes

  • skills/pr-link-issue/SKILL.md — the skill itself
  • README.md — added to the Available Skills table
  • .claude/settings.json — added to the allowlist
  • skills/claude-settings-audit/SKILL.md — added to the audit allowlist

Notes

  • Minor fix applied: grep -oegrep -Eoe so + and | in the regex work correctly with extended regex.

Action taken on behalf of Neel Shah.


View Session in Sentry

… on PRs

Adds a new skill that appends a Sentry-style '#### Issues' block to a PR
description, referencing both the GitHub issue and the Linear ticket
resolved from the issue's linear-linkback comment.

Co-authored-by: Neel Shah <neel.shah@sentry.io>
@sl0thentr0py sl0thentr0py marked this pull request as ready for review May 21, 2026 13:50
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 9a63387. Configure here.

Comment thread skills/pr-link-issue/SKILL.md Outdated
Comment thread skills/pr-link-issue/SKILL.md Outdated
Linear keys are uppercase (PY-2357, JS-1234) but the grep regex only
matched lowercase. Add -i flag to grep so it matches both cases.

Co-authored-by: Neel Shah <neel.shah@sentry.io>
Comment thread skills/pr-link-issue/SKILL.md
@sl0thentr0py sl0thentr0py merged commit 10d8a76 into main May 21, 2026
14 checks passed
@sl0thentr0py sl0thentr0py deleted the feat/pr-link-issue branch May 21, 2026 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant