AGENT SKILL

GitHub PR 评论处理

gh-address-comments

使用 gh CLI 处理当前分支上开放的 GitHub PR 的审查/问题评论;先验证 gh auth,若未登录则提示用户进行认证。

License 许可
Apache-2.0
最近更新
2026-11-15
Stars
★ 221
Forks
22

01 前言 Front Matter

name
gh-address-comments
metadata
{ "short-description": "Address comments in a GitHub PR review" }
description
Help address review/issue comments on the open GitHub PR for the current branch using gh CLI; verify gh auth first and prompt the user to authenticate if not logged in.

02 资源文件 5

03 SKILL.md 正文

PR Comment Handler

Guide to find the open PR for the current branch and address its comments with gh CLI. Run all gh commands with elevated network access.

Prereq: ensure gh is authenticated (for example, run gh auth login once), then run gh auth status with escalated permissions (include workflow/repo scopes) so gh commands succeed. If sandboxing blocks gh auth status, rerun it with sandbox_permissions=require_escalated.

1) Inspect comments needing attention

  • Run scripts/fetch_comments.py which will print out all the comments and review threads on the PR

2) Ask the user for clarification

  • Number all the review threads and comments and provide a short summary of what would be required to apply a fix for it
  • Ask the user which numbered comments should be addressed

3) If user chooses comments

  • Apply fixes for the selected comments

Notes:

  • If gh hits auth/rate issues mid-run, prompt the user to re-authenticate with gh auth login, then retry.

04 同仓库更多 Skills

colonelpanic8
colonelpanic8/dotfiles

claude-design

Produce thoughtful, high-fidelity design artifacts in HTML — landing pages, slide decks, interactive prototypes, animated videos, posters, wireframes, and visual explorations. Use whenever the user asks to design, mock up, prototype, visualize, storyboard, or explore UI options — including phrases like "make a deck", "design a landing page", "prototype this flow", "animate this concept", "build a pitch deck", "create a poster", "visualize this idea", or "design something for a brand". Enforces fact verification (WebSearch before assuming a product exists or its version), the Core Asset Protocol for branded work (logo, product shots, and UI screenshots are first-class, not just colors and fonts), a Design Direction Advisor fallback that offers 3 differentiated directions from 10 design philosophies when the brief is too vague, commits to a visual system up front, presents multiple variations, and avoids AI-design tropes (aggressive gradients, emoji bullets, generic templates).

★ 221
colonelpanic8
colonelpanic8/dotfiles

ADHD 友好输出适配

i-have-adhd

为 ADHD 读者调整输出:先给出下一步行动,多步骤工作进行编号,跨轮次重申当前状态,抑制枝节话题,给出具体的时间估计,让成果清晰可见。使用 /i-have-adhd 调用;持续生效,直到用户说 "stop adhd mode"。

知识工作者回复风格与输出控制
★ 221
colonelpanic8
colonelpanic8/dotfiles

Linux 桌面自动化控制

computer-use-linux

通过 computer-use-linux MCP 服务器实现 Linux 桌面观察与控制:无障碍树、截图、窗口定位以及输入合成(点击、输入、滚动)。可与任何 MCP 宿主配合使用。

普通用户桌面自动化与界面操作
★ 221