Goblin-mode linear-hoover-issues

{{ ๐›€๐›€๐›€ }} Find Linear issues addressed by this branch and inject into PR body

install
source ยท Clone the upstream repo
git clone https://github.com/JasonWarrenUK/goblin-mode
Claude Code ยท Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/JasonWarrenUK/goblin-mode "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/linear-hoover-issues" ~/.claude/skills/jasonwarrenuk-goblin-mode-linear-hoover-issues && rm -rf "$T"
manifest: skills/linear-hoover-issues/SKILL.md
source content

Identify any Linear issues that have been addressed by work on this branch, and inject them into the PR description.

Tools

Use the Linear MCP tools (

mcp__plugin_linear_linear__*
) for all Linear API interactions.

Analyse the branch

  1. Run
    git log main..HEAD --oneline
    to get all commits on this branch
  2. Run
    git diff main...HEAD --stat
    to understand the scope of changes
  3. Extract any Linear issue IDs explicitly mentioned in commit messages (e.g.
    FOU-123
    )

Search Linear

  1. Search across all active Linear issues (exclude completed, cancelled, duplicate) using
    mcp__plugin_linear_linear__list_issues
  2. For each commit message and changed file, check whether any Linear issue's title or description describes work that this branch has addressed
  3. Include issues that were:
    • Explicitly referenced in commits
    • Implicitly resolved by the changes (match issue descriptions against the actual diff)
  4. For each candidate, briefly justify why you think this branch covers it

Present findings

Show all candidate issues in a table:

  • Issue ID + title
  • How it was matched (explicit reference / implicit from changes)
  • Confidence (high / medium / low)

Wait for approval. The user may remove false positives.

Apply

Once approved, for each confirmed issue:

  1. Assign to
    me
    using
    mcp__plugin_linear_linear__save_issue
  2. Set status to
    In Review

Inject into PR

If a PR exists for the current branch, update its body. If not, output the snippet for manual inclusion.

Find the

## Overview
section in the PR body and insert the following immediately after the overview content, as a child heading:

<h3>Linear Issues</h3>

Followed by a list of links, one per line:

[<strong>${ISSUE_ID}:</strong> <i>${issue title}</i>](${linear_issue_url})

Example:

### Linear Issues
[<strong>FOU-123:</strong> <i>Add user authentication flow</i>](https://linear.app/foundry/issue/FOU-123)
[<strong>FOU-456:</strong> <i>Fix sidebar overflow on mobile</i>](https://linear.app/foundry/issue/FOU-456)