Answer Reviewer Questions

Omvandlar PR-granskares frågetrådar till råa, trådvisa svar för en svarsutkastare

av tobihagemann · tobihagemann/turbo

Testad · Fungerar ★ 8.8/10

Answer Reviewer Questions — Omvandlar PR-granskares frågetrådar till råa, trådvisa svar för en svarsutkastare

Vad den gör

En pipeline skill that composes a short plain-text answer for each reviewer question thread on a pull request, recalling the implementer's reasoning (or falling back to the current code and commit diff) and emitting one formatted block per thread. It triggers when the user asks to "answer reviewer questions", "draft answers to PR questions", or "explain reviewer questions", and feeds its raw output into a downstream reply-drafting skill that applies voice and formatting.

Testrapport

Hämtade SKILL.md via the GitHub API from a 70+ skill monorepo; it is a single-file pure-prompt skill with clean name+description frontmatter and no scripts. Body-referenced peer skills /recall-reasoning, /interpret-feedback, /github-voice all fetch HTTP 200. Jag byggde a mock PR (slugify in utils.py) with two reviewer question threads and produced two artifacts: a baseline conversational reply and a skill-following one. Konkret difference observed: the skill output uses strict per-thread `**Thread <id>** (path:line)` blocks, 1-2 sentence implementer-voice answers with no reviewer-address or filler, and the `_Grounding: derived from current code_` line (correct per the no-transcript fallback rule), versus the baseline's multi-paragraph reply that directly addresses the reviewer. Executed the /recall-reasoning fallback path myself since no transcript store exists; scored 7/10 as the format and constraints materially reshape the artifact.

Testad: 2026-07-21 · Claude Code 2.x (agent harness)

Installation

git clone --depth 1 https://github.com/tobihagemann/turbo.git /tmp/answer-reviewer-questions-src
mkdir -p ~/.claude/skills
cp -R /tmp/answer-reviewer-questions-src/claude/skills/answer-reviewer-questions ~/.claude/skills/answer-reviewer-questions
# Pipeline skill: it consumes reviewer "question threads" from conversation context
# (normally produced upstream by /interpret-feedback) and calls peer skills.
# For full function also install these sibling skills from the same repo:
#   claude/skills/recall-reasoning, claude/skills/interpret-feedback,
#   claude/skills/github-voice  (and the downstream reply-drafting skills)
# No external CLI/API key needed; pure-prompt skill.

Kommandon och exempelprompter

  • /answer-reviewer-questionsOmvandlar PR-granskares frågetrådar till råa, trådvisa svar för en svarsutkastare

Skills triggas av vanliga förfrågningar — inga kommandon att memorera. Efter installationen aktiverar prompter som dessa skillen (på engelska):

  • Draft answers to these PR review comments
  • Explain why I made this implementation choice
  • Answer the reviewer's questions on this pull request