PlugMyPlugin
← Browse

pr-task-link-guard

dimokol ★ 1

This hook intercepts `gh pr create` commands and blocks them unless the PR body contains a link matching a configurable task-board pattern (e.g., Linear issues or GitHub issues). It validates links in inline bodies, heredocs, or files passed via `--body-file`, and can be bypassed only with explicit permission via an environment variable.

Project Management DevOps No API key detected runs shell

Install

> /plugin marketplace add dimokol/agent-workbench/tree/HEAD/plugins/pr-task-link-guard
> /plugin install pr-task-link-guard

Source: https://github.com/dimokol/agent-workbench/tree/HEAD/plugins/pr-task-link-guard

What it's made of

1 hook

Commands
0
Agents
0
Skills
0
MCP servers
0
Hooks
1 · PreToolUse

What it needs & plugs into

API keys
none
Paid services
none detected
External tools
pr-task-link-guard.sh
Talks to
nothing external detected

Analyzed . Facts extracted from the plugin's files. Prose generated by claude-haiku-4-5-20251001.

Is this your plugin?

Claim it to keep the card accurate and enter the weekly contest. Requires signing in as the GitHub owner (dimokol).