pr-link-issue
Skill1k starsChanged 4 months agoApache-2.0View on GitHub
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.
Trending
Quiet since April.thin dataabout the whole repository
Who's talking about getsentry/skills
- getsentry/cli“Bundled Skill”GitHub · Jan 23, 2026 · 3 reactions
- creep1ng/arte-chatbot“fix(CI): corrige instalación de Kilo CLI en workflow update-agents-md”GitHub · Apr 22, 2026 · 2 reactions
- johnsaigle/skill-issues“Compare with Skill Scanner from Sentry”GitHub · Mar 24, 2026 · 2 reactions
- getsentry/dotagents“feat(cli): Support GitHub URLs in `dotagents add`”GitHub · Feb 19, 2026 · 1 reactions
- getsentry/sentry-python“chore(agents): add sentry skills to be used by warden in CI reviews”GitHub · Feb 19, 2026 · 1 reactions
The biggest 5 of 8 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 8
Talked about on GitHub and Hacker News (8 times).
On GitHub · 7
- Jan 23, 2026Bundled Skill — getsentry/cli3 reactions
- Apr 22, 2026fix(CI): corrige instalación de Kilo CLI en workflow update-agents-md — creep1ng/arte-chatbot2 reactions · 1 comment
- Mar 24, 2026Compare with Skill Scanner from Sentry — johnsaigle/skill-issues2 reactions · 12 comments
- Feb 19, 2026feat(cli): Support GitHub URLs in `dotagents add` — getsentry/dotagents1 reaction · 1 comment
- Feb 19, 2026chore(agents): add sentry skills to be used by warden in CI reviews — getsentry/sentry-python1 reaction · 2 comments
2 more on GitHub
- Feb 10, 2026fix(cli): Detect default branch from remote tracking refs in shallow clones — getsentry/warden1 reaction · 1 comment
- Jan 13, 2026ai(skills): add database migration skill — getsentry/sentry1 reaction
On Hacker News · 1
- Feb 13, 2026code-simplifier.md1 point · 1 comment
In this repository29 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agents-mdSkill
- blog-writing-guideSkill
- brand-guidelinesSkill
- claude-settings-auditSkill
- code-reviewSkill
- code-simplifierSkill
- commitSkill
- create-branchSkill
- django-access-reviewSkill
- django-perf-reviewSkill
- doc-coauthoringSkill
- document-api-endpointSkill
- find-bugsSkill
- gha-security-reviewSkill
- gh-review-requestsSkill
- iterate-prSkill
- presentation-creatorSkill
- prompt-optimizerSkill
- pr-writerSkill
- secret-serializationSkill
- security-reviewSkill
- skill-scannerSkill
- skill-writerSkill
- sred-project-organizerSkill
- sred-work-summarySkill
- triage-frontend-issuesSkill
- typing-exclusion-workerSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
If no PR exists on the branch, stop and tell the user.
- Distinctive: line 35
If no match, fall back to asking the user for the Linear key, or omit it.
- Distinctive: line 37
Read the existing PR body so you can append rather than overwrite:
- Distinctive: line 54
Update the PR with a heredoc to preserve newlines:
- Distinctive: line 73
Don't strip existing PR content.
- Distinctive: line 74
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 …
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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 likehttps://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:
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:
gh issue view <n> --repo <owner>/<repo> --json comments \ -q '.comments[] | select(.author.login=="linear-code") | .body' \ | grep -Eioe '[a-z]+-[0-9]+' | head -1If 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:
gh pr view <pr-number> --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:
#### Issues * Resolves: #<n> * Resolves: <linear-key>Update the PR with a heredoc to preserve newlines:
gh pr edit <pr-number> --body "$(cat <<'EOF' <new body> EOF )"Confirm by echoing the resulting PR URL:
gh pr view <pr-number> --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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

