AGENT SKILL

leaving-pr-comments

Format and check comments an agent posts on GitHub for the user, including PR comments, review replies, and reasons for dismissing feedback. Use whenever posting such a comment; not for PR descriptions or commit messages.

License 许可
MIT
最近更新
2026-11-14
Stars
★ 0
Forks
0

01 前言 Front Matter

name
leaving-pr-comments
description
Format and check comments an agent posts on GitHub for the user, including PR comments, review replies, and reasons for dismissing feedback. Use whenever posting such a comment; not for PR descriptions or commit messages.

02 资源文件 1

03 SKILL.md 正文

Leaving PR Comments

Post a comment only when the user asked for it or the current task already authorizes it.

Prefix every agent-authored comment left on the user's behalf with this GitHub note callout:

> [!NOTE]
> 🤖 **<model> responding on behalf of <user>**

Actual comment starts here.

Use the verified public name of the model that wrote the comment, and the user's name or GitHub login.

If the harness does not expose a model name, use the harness name. Do not guess.

Before posting, check the entire comment, including quoted text and attachments, for secrets and private details.

Keep the attribution inside the note and the actual reply outside it. The context line must start with the robot emoji. Do not add a horizontal rule, Setext underline, heading, signature footer, or a second attribution.

Apply this format to top-level PR comments, inline review comments, replies to bots or reviewers, and written explanations used before resolving or dismissing feedback. Do not add it to PR descriptions, commit messages, or text the user explicitly asked to post verbatim without attribution.

Write the comment itself in a direct style:

  • Lead with the conclusion.
  • Cite the relevant code, behavior, check, or reproduction.
  • Keep it concise and avoid filler, canned thanks, or status narration.
  • Distinguish verified facts from judgment.

Preview the final Markdown before posting so quoting and blank lines render as shown. After posting, verify that GitHub returned the comment or review URL. Resolve a review thread only after its response was posted successfully.

Source

Adapted from Theo Browne's tstack leaving-pr-comments skill. The instruction body is unchanged except for the opening authorization sentence. The description was rewritten to name what the skill covers and excludes. Upstream's Codex-only agents/openai.yaml was not copied, and this source note was added. The upstream MIT notice is retained in LICENSE.

04 同仓库更多 Skills

scruffydan
scruffydan/AI-Agents

writing-for-agents

Author or revise agent instruction artifacts such as AGENTS.md, skill instructions, and agent prompts. Use for their triggers, structure, constraints, and completion criteria, not ordinary coding answers or general prose editing.

★ 0
scruffydan
scruffydan/AI-Agents

why

Investigate why a design or architectural choice was made, using code history and decision records. Use for rationale questions like why X was built this way or chosen over Y, not how code works today (use teach), debugging failures, or Five Whys process analysis.

★ 0
scruffydan
scruffydan/AI-Agents

unslop

Edit prose to remove AI writing patterns such as stock vocabulary, filler, hedging, and mannered phrasing. Use when asked to unslop or de-AI text, or to polish a substantial prose draft; not for code, short routine replies, or deciding the content and structure of documentation or agent instructions.

★ 0
scruffydan
scruffydan/AI-Agents

to-tickets

Turn an established plan into independently verifiable vertical implementation slices with acceptance criteria, verification, and true dependencies. Use when breaking planned work into tickets; small changes can stay as one task.

★ 0
scruffydan
scruffydan/AI-Agents

technical-writing

Write or revise technical documentation, tutorials, how-to guides, reference material, and explanations so readers can understand and complete their task.

★ 0
scruffydan
scruffydan/AI-Agents

teach

Explain what a concept means or how code works today, from the current code and docs. Use for how-it-works questions, including why code behaves as it does, not why a design was chosen or introduced (use why) or diagnosing failures.

★ 0