From github-pr
The GitHub pull request of the current branch above the prompt, through gh
6 events · 10 calls
Ships in github-pr. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
tool.callprocess.runfs.readenv.getprompt.submitEach event it registers a hook on, with the matcher when it sets one
session.startcommand.run{command=gh-pr}classic.CwdChangedprompt.submittool.call{tool=Bash}ui.render{component=AbovePrompt}Every mods API method its source calls, by namespace
everynowregistergetreadruncwdgetsetresolveAPPDATAGH_CONFIG_DIRGH_HOSTHOMEUSERPROFILEXDG_CONFIG_HOMEWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.tsx (written ./register.tsx)Read from the source, never run. Claude Code checks a mod again when it loads it and can refuse code this reading accepts; claude plugin validate shows its own list.
npx claudepluginhub nikiforovall/claude-code-rules --plugin handbook-github-pr