跳到主要内容
知仓学习社ZHICANG

openai-gh-address-comments

Help address review/issue comments on the open GitHub PR for the current branch using gh

执行命令严重 0 · 高危 1trailofbits/skills-curated

它会碰到什么

扫了多少2 个文本文件,7 KB
它会碰到什么执行命令
命中总数1 处
命中统计严重 0 · 高 1 · 中 0 · 低 0
逐条看命中(1 条严重或高危)
  • scripts/fetch_comments.py:96exec-spawn
    p = subprocess.run(cmd, input=stdin, capture_output=True, text=True)

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

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.

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.

When to Use

<!-- TODO: review -->

When NOT to Use

<!-- TODO: review -->

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

它属于哪个仓库

星标★ 503
本站分层T2
该仓技能数31
原文件路径plugins/openai-gh-address-comments/skills/openai-gh-address-comments/SKILL.md

同一个仓库里的其他技能

看这个仓库的全部 31 个技能