Skills

Explainer

Explain a GitHub issue or pull request at 100, 200, and 300 level.

Install

npx skills add agentic-community/mcp-gateway-registry --skill explainer -g -a claude-code -y
Category
Git and review
Updated
3d ago
License
Apache-2.0
Context cost
Mediumabout 3,000 tokens
Runs scripts
No, instructions only

What it does

Explain a GitHub issue or pull request at 100, 200, and 300 level. Verifies every claim against the code, then writes a markdown and a self-contained HTML version into .scratchpad/issue-NNNN/ or .scratchpad/pr-NNNN/ and opens it for preview. Starts no server; offers a command for anyone who wants one. Use when asked to explain, write up, or produce an explainer for an issue or PR.

Explainer Skill

Turn a GitHub issue or pull request into an explainer a colleague can read at whatever depth they need. Three levels, one document: 100 for anyone, 200 for how it works, 300 for the code.

Apply the writing skill to every word of prose. Invoke it, then run its revision pass before you write the file. No emojis and no em-dashes anywhere, per the repo rules.

Inputs

Accept any of these and resolve to a number plus a kind:

  • A full URL: https://github.com/agentic-community/mcp-gateway-registry/issues/1832
  • A PR URL: .../pull/1711
  • A bare reference: #1832, 1832, owner/repo#1832

A URL containing /pull/ is a PR. Everything else needs a check, because gh issue view succeeds on PRs too. Run gh pr view <n> --json number and treat a clean exit as a PR.

Write output to .scratchpad/issue-NNNN/ or .scratchpad/pr-NNNN/. Create it with mkdir -p. .scratchpad/ is gitignored, so nothing you write here can be committed.

Step 1: gather

For an issue:

gh issue view <n> --json number,title,state,labels,author,createdAt,body,comments

For a PR, get the discussion and the diff:

gh pr view <n> --json number,title,state,author,createdAt,body,comments,files,additions,deletions,baseRefName,headRefName
gh pr diff <n>

Record the commit you verified against, and use it to pin every code link:

git rev-parse --short HEAD

Step 2: verify before you explain

This step is what separates a useful explainer from a paraphrase. Do not restate the author's claims. Check them.

For every factual claim in the issue or PR body:

Read the whole SKILL.md on GitHub

More in Git and review