ai-assist-git-pr

审查 · 55
已收录

Adaptive GitHub PR lifecycle skill — create PRs, write/update descriptions, investigate review comments (Copilot + human) with research and batch approval, and check merge readiness. Triggers on: create PR, open PR, describe PR, update description, PR body, check comments, copilo

Verified installs0
Stars88
版本1.0.0
质量61/100 · 有潜力
信任55/100 · Do not auto-install
审计71/100 · 需审查

供给资产档案

研究与知识工作

Deep research, source comparison, literature review, RAG, knowledge search, and reports.

浏览赛道

场景

研究 Agent

I need my agent to research a topic, compare sources, and produce a concise report.

适配 Agent

Claude Code + CLI + Codex

适用于 Codex、Claude Code、Cursor、CLI 或自定义 Agent。

安装

就绪

npx skills add jparkerweb/ai-assist-skills --skill ai-assist-git-pr

维护状态

新鲜

距上次推送 2 天

风险

需审查

许可证不清晰

GitHub 质量

88

61/100 质量 · 63/100 信任

覆盖标签

研究研究 Agentagent-skill

审查说明

许可证不清晰 · Dependency or permission surface needs review

Agent 采用评分卡

一眼查看信任、审计与安装准备度

这些分数综合公开仓库元数据、OpenAgentSkill 审查信号、维护新鲜度与安装准备度。它用于候选筛选,不替代人工审查。

质量

有潜力
61

有用的候选项,但采用前应与替代方案比较。

信任

Do not auto-install
55

Trust Score v5 found insufficient evidence for agent installation. Treat this as discovery material, not an executable recommendation.

审计

需审查
71

对安装准备度、安全元数据、维护情况与采用风险的机器可读审查。

OpenAgentSkill 信任评分 v5

安装前需人工审查

Choose a stronger alternative or inspect the source manually before any install attempt.

CodexClaude CodeCursorOpenAgentSkill CLI

Stars

88 个 GitHub Stars

仓库活跃度

88 个 Star,12 个 Fork

维护状态

距上次推送 2 天

许可证

未知

安装

npx skills add jparkerweb/ai-assist-skills --skill ai-assist-git-pr

安装安全性

标准软件包或运行时安装路径

权限范围

secrets or environment access, shell or command execution

Agent 结果

暂未有 Agent 结果数据

文档

README/SKILL.md 上下文充分

风险摘要

生产前审查

  • Repository license is unknown; the skill lacks explicit licensing terms, which may hinder reuse and attribution.
  • 许可证不清晰
  • Quality score needs review
  • Permission surface needs review: secrets or environment access, shell or command execution

安装准备度

安装路径可用

  • 安装路径可用
  • 仓库证据可用
  • 许可证不清晰
  • 暂无 Agent 验证结果证据

Agent 可读元数据

这个 Skill 的机器可读决策数据。

使用此区块或内嵌 JSON 判断 Agent 是否应安装该 Skill、选择替代方案,或先请求人工审查。

打开 JSON

适用任务

  • 研究 Agent 工作流
  • Claude Code 团队
  • builders willing to evaluate younger projects
  • 检索来源

适用 Agent

CodexClaude CodeCursorOpenAgentSkill CLICLI

安装决策

命令
npx skills add jparkerweb/ai-assist-skills --skill ai-assist-git-pr
策略
阻止
人工审查

信任与风险

信任
55/100
审计
71/100
风险级别
需审查

结果闭环

端点
/api/agent/outcome
事件 ID
resolve
结果
5

安装命令

npx skills add jparkerweb/ai-assist-skills --skill ai-assist-git-pr

不适用场景

  • 需要厂商支持 SLA 的团队
  • production agents without a repository review
  • Repository license is unknown; the skill lacks explicit licensing terms, which may hinder reuse and attribution.
  • 高风险权限提示:Shell or command execution, Secrets or environment access
  • 许可证不清晰

Agent 安全 v2

27/100 · 避免自动安装

Blocked for auto-install阻止

This skill should not be selected by an agent without explicit human security review.

Do not auto-install. Inspect the source, dependencies, and permission surface first.

通过 API 解析

Shell 或命令执行

Skill 元数据引用了终端、CLI、Shell、子进程或命令执行工作流。

Browser automation

Skill may drive a browser or interact with web pages.

网络访问

Skill 可能访问远程页面、API、仓库或外部服务。

文件系统访问

Skill 可能读取或写入项目文件、文档、生成产物或本地工作区状态。

  • 高风险权限提示:Shell or command execution, Secrets or environment access
  • 许可证不清晰

安装目标

在你的 Agent 工作流中安装此 Skill

通过公开安装端点获取命令、安全清单、目标提示词和该 Skill 的规范链接。

skill install

OpenAgentSkill CLI

Resolve policy, run the source installer safely, and report a verified install receipt.

$ npx --yes https://github.com/Leon-Drq/openagentskill/releases/download/cli-v0.2.1/openagentskill-0.2.1.tgz install jparkerweb-ai-assist-git-pr

Agent 解析计划

让 Agent 在安装前验证匹配度。

Resolve API 返回首选 Skill、替代方案、安全策略、审计说明、安装目标和可直接执行的提示词,无需抓取此页面。

打开文本计划

Agent 应检查

  • 从 Resolve API 检查任务匹配与替代方案。
  • 检查审计评分、信任评分和安全策略警告。
  • 检查 Codex、Claude Code、Cursor 或 CLI 的安装目标兼容性。

复制提示词

Task: Use ai-assist-git-pr in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20ai-assist-git-pr%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/jparkerweb-ai-assist-git-pr/install
Install command: npx skills add jparkerweb/ai-assist-skills --skill ai-assist-git-pr
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.

Agent 交接

把安装路径交给 Agent,而不是再给一个目录页。

通过公开安装端点获取命令、安全清单、目标提示词和该 Skill 的规范链接。

打开安装 API

Agent 提示词

Use ai-assist-git-pr for this task. Review https://www.openagentskill.com/api/skills/jparkerweb-ai-assist-git-pr/install, then install with: npx skills add jparkerweb/ai-assist-skills --skill ai-assist-git-pr

Registry 元数据

用于自动选择 Skill 的 Agent 可读档案。

本页通过 Registry API 提供相同的决策、信任、审计、场景和安装信号,让 Agent 无需抓取界面即可排序。

打开 Manifest

适配 Agent

63/100

研究 Agent

平台

Claude Code

审计报告

需审查 · 71/100

对安装准备度、安全元数据、维护情况与采用风险的机器可读审查。

查看审计报告查看评估报告

Agent 决策面板

Fallback candidate for Research agents

先用此 Skill 做原型验证,并保留备选方案。

63
就绪度
原型验证
阶段

栈中角色

备选候选

主要匹配

研究 Agent

信任标签

先做原型验证

安装路径

命令已就绪

适用场景

  • 研究 Agent 工作流
  • Claude Code 团队
  • builders willing to evaluate younger projects

证据

  • 仓库近期活跃
  • 已提供安装命令或 GitHub 仓库
  • 61/100 质量档案
  • 7 个 OpenAgentSkill 交互事件

先审查

  • Repository license is unknown; the skill lacks explicit licensing terms, which may hinder reuse and attribution.

实施路径

  1. 1在沙盒 Agent 中安装它,并端到端完成一次研究 Agent任务。
  2. 2Compare output quality, latency, and failure behavior against at least one alternative.
  3. 3Promote it into production only after reviewing repository permissions, license, and maintenance signals.

信任档案

Do not auto-install

Trust Score v5 found insufficient evidence for agent installation. Treat this as discovery material, not an executable recommendation.

55
OpenAgentSkill 信任评分

GitHub 采用度

检查

88 个 GitHub Stars

Star/Fork 活跃度

检查

88 个 Star,12 个 Fork; 当前元数据中没有议题活跃度信息

近期维护

通过

距上次推送 2 天

许可证清晰度

检查

未知

积极信号

  • AI 审查已通过
  • 安装路径可用
  • 仓库证据可用
  • 近期维护的仓库
  • 安装命令未发现明显高风险模式
  • 结果闭环已就绪,但需要首次真实 Agent 运行

安装前审查

  • Repository license is unknown; the skill lacks explicit licensing terms, which may hinder reuse and attribution.
  • 许可证不清晰
  • Quality score needs review
  • Permission surface needs review: secrets or environment access, shell or command execution
  • GitHub adoption: 88 GitHub stars
  • Stars/forks activity: 88 stars, 12 forks; issue activity unavailable in current metadata
  • License clarity: Unknown
  • Dependency/runtime risk: command execution surface, credential or environment access
  • Permission surface: secrets or environment access, shell or command execution
  • 暂未有真实 Agent 结果报告
  • 无人值守安装前需要人工审查

建议操作

Choose a stronger alternative or inspect the source manually before any install attempt.

质量档案

有潜力 适用于 Agent 工作流的候选

有用的候选项,但采用前应与替代方案比较。

61
GitHub Stars
88
新鲜度
2 天前
安装就绪
许可证
未知
安装前审查: Repository license is unknown; the skill lacks explicit licensing terms, which may hinder reuse and attribution.

工作流匹配

在这些场景使用此 Skill

工作流匹配

加入完整工作流

替代方案短名单

安装前对比

可能适合该任务的相近 Skill。

对比全部

概览

--- name: ai-assist-git-pr description: "Adaptive GitHub PR lifecycle skill — create PRs, write/update descriptions, investigate review comments (Copilot + human) with research and batch approval, and check merge readiness. Triggers on: create PR, open PR, describe PR, update description, PR body, check comments, copilot feedback, review comments, address feedback, PR status, merge ready, check CI, is this ready." argument-hint: "[action or PR number] — e.g. 'create', 'describe', 'comments', 'status', 'describe #42', 'address copilot feedback'" ---

# GITHUB PR

**Objective:** Manage the full PR lifecycle (create → describe → comment investigation → merge readiness) via `gh` CLI. Analyze deeply, communicate concisely, treat GitHub as production — every write gated and verified.

**When to use:** create a PR · write/update a description · investigate & address review comments (Copilot/human) · check merge readiness. Modes detailed in Step 1.

Start all responses with `📋 [PR <Mode> Step X: Name]` for multi-step flows or `📋 [PR <Mode>]` for single actions.

## Role

Senior engineer writing for senior engineers. Read every change deeply, communicate concisely, back claims with evidence. PR descriptions so clear the review feels like a formality; comment investigations verify claims and research unknowns so the user can approve or adjust in one pass.

## Context

> **Shell portability (read before running ANY command in this skill, starting with the gh CLI check and branch detection below):** run every `git`/`gh` command as its own separate tool call, each fully self-contained. **Never** `&&`/`;`-chain commands and **never** prefix with `cd <path> &&` — PowerShell (pre-7) rejects `&&` with `The token '&&' is not a valid statement separator`, and bash-style paths like `/c/Code/...` are invalid on Windows. **Do not rely on a persistent shell session or a prior `cd`** — on some setups (observed on Windows) a shell session does NOT survive between tool calls, so reusing a shell id or building on an earlier `cd` fails with `This shell may not be functional`. Instead target the repo explicitly on each command: pass `--cwd "C:\abs\repo"` to the `scripts/` (see §Scripts), `git -C "C:\abs\repo"` for git, and run `gh` from a fresh call (or with `-R owner/repo`). Use native paths (`C:\Code\...`). Full rule: §Scripts Portability rule below.

**AGENTS.md check:** if `./AGENTS.md` or `.agents-docs/` exists, read it for conventions, architecture, and team context — informs framing and naming.

**gh CLI check (BLOCKING — before any gh command):** run `gh --version 2>/dev/null` first (as a standalone command — do not chain it with `git branch`/`git status`); don't run other `gh` commands in parallel until it returns.

- **Not installed** → `references/github-cli-setup.md` (guided setup); no `gh` until verified. - **Not authenticated** → detect protocol (`gh config get git_protocol`, default `https`), then `gh auth login --web --hostname github.com --git-protocol <detected>` (fallback `! gh auth login`); verify `gh auth status`.

**Input:** `$ARGUMENTS` — an action keyword, PR number, branch name, or natural language. If ambiguous, detect from git context.

**Source-of-truth:** code diff + commit history are authoritative; AGENTS.md/docs second; ticket context is a starting point only. Full table + rationale: `references/github-pr-operations.md` §Source-of-Truth Hierarchy.

**Branch detection:**

1. Branch: `git branch --show-current`; ticket ID from `prefix/TICKET-ID-description`. 2. Base branch: `gh repo view --json defaultBranchRef` → cache `$base`; `git fetch origin $base`. 3. PR state: `node "<SKILL_ROOT>/scripts/pr-context.cjs"` (add `--cwd "C:\abs\repo"` when the tool's working directory isn't the target repo — e.g. multi-repo workspaces) → `pr` is OPEN (`active`) / MERGED or CLOSED (`completed`) / `null` (`none`). If completed, assess new commits + behind status (templates in `github-pr-operations.md`).

## Scripts

Mechanical `gh`/`git` operations run through Node scripts in `scripts/`, never as hand-written shell. Each takes an argument array to `execFileSync`, so **there is no shell** to interpret `&&`, heredocs (`<<'EOF'`), or the `gh api graphql -f key:value` literal-parsing quirk — the same command runs identically under bash, PowerShell, cmd, git-bash, WSL, and CI. **No shell detection, no per-OS branching.** Keep *judgment* (severity, validity, fix-vs-dismiss, report writing, approval gates) in prose; scripts only do the deterministic plumbing.

| Script | Access | Purpose | |--------|--------|---------| | `pr-context.cjs` | read | Resolve owner/repo, PR number+state, branch, base, `ticketId` in one call | | `fetch-comments.cjs --number <N>` | read | Both comment streams normalized: `{ inline, issue }` | | `list-threads.cjs --number <N> [--all]` | read | Review threads (unresolved by default) with `threadId` + `rootCommentId` + `path` | | `reply-resolve.cjs --file <payload.json> [--dry-run]` | **write / gated** | Post reply batch + resolve threads; run ONLY after the batch-reply approval gate |

> **`<SKILL_ROOT>`** = the directory containing this `SKILL.md` (its install location). Use the absolute path you loaded it from; if unknown, locate `ai-assist-git-pr/scripts/` once and reuse it. Never run a literal `<SKILL_ROOT>`. Scripts print JSON to stdout and exit non-zero with a diagnostic on failure. Full arg/payload reference: `scripts/README.md`.

> **Targeting a repo (`--cwd`):** every script reads the *current* repo/branch, so it must run against the target repo's directory. Rather than `cd`-ing first (unreliable when shell sessions don't persist — see the Portability rule), pass **`--cwd "C:\abs\repo"`** and the script runs entirely there in one self-contained call. Omit it only when the tool's working directory already IS the target repo. Example: `node "<SKILL_ROOT>/scripts/pr-context.cjs" --cwd "C:\Code\tap-ct"`.

**Portability rule (applies to EVERY `git`/`gh` command you run — scripted or ad-hoc, including pre-flight, Status, and branch detection):** run each command as its own separate, self-contained tool call. **Never** chain with `&&` or `;` (PowerShell pre-7 rejects `&&` with `The token '&&' is not a valid statement separator`), **never** prepend `cd <path> &&`, **never** use bash-style paths like `/c/Code/...` (use native `C:\Code\...` on Windows), never use heredocs, and always pass `gh api graphql` / `gh api` dynamic values as typed `-F`/`-f` variables — never inline literals.

**Do not depend on a persistent shell session.** On some environments (observed on Windows) the shell session does NOT survive between tool calls: the first command in a shell succeeds, then any reuse of that shell id — or any command that relied on a prior `cd` — fails with `This shell may not be functional. Please try again using a new shell id`. This is an environment/tooling limitation, not a fault in the command or the `scripts/`. Because of it, never `cd` in one call and run in the next; instead point each command at its repo directly: > - **`scripts/`:** pass `--cwd "C:\abs\repo"` (the script `process.chdir`s once; every gh/git inside inherits it). > - **git:** use `git -C "C:\abs\repo" <args>`. > - **gh:** run from a fresh call (or with `-R owner/repo`); it does not need a working directory when the repo is otherwise resolvable.

Prefer one portable command; only branch on shell if no portable form exists (in this skill, none do).

## Reference Loading

Load references per Step within Mode. Rows are **cumulative**: `+` means add to what previous rows of the same mode already loaded. Paths relative to `references/`.

| Mode | Step | Load (cumulative) | |------|------|-------------------| | Create | Pre-flight | `github-pr-create.md` §Pre-flight | | Create | Context+Analysis | `+ github-pr-describe.md` §Change Analysis Framework | | Create | Draft | `+ github-pr-templates.md` §Create PR Template | | Create | Write+Verify | `+ github-pr-operations.md` §Write Verification | | Describe | Body fetch | `github-pr-describe.md` §Step 0–1 | | Describe | Mode select | 3-way choice: surgical-merge (default) / append / replace | | Describe | Surgical | `+ github-pr-templates.md` §Surgical Edit Patterns | | Describe | Write+Verify | `+ github-pr-operations.md` §Write Verification | | Comments | Fetch+Investigate | `github-comment-review.md` §Fetch–Investigate | | Comments | Implement | `+ github-comment-review.md` §Implement | | Comments | Commit | `Skill(skill: "ai-assist-git-commit", args: "<concise description>")` | | Comments | Reply+Resolve | `github-comment-review.md` §Reply–Resolve | | Status | (single) | `github-pr-create.md` §Status | | Post-create check | (auto on re-invocation) | `github-pr-create.md` §Post-Create Follow-Up |

**Per-step rule:** load a row's references before executing that step — the reference `> Preconditions:` blocks fail loud otherwise.

## Rules

### Safety Hierarchy

| Level | Actions | Behavior | |-------|---------|----------| | **Auto** | Read PR data, diff, comments, checks, status | Execute immediately | | **Gated** | Create PR, update description, reply to comment, commit, push | Preview → approval → execute → verify | | **Blocked** | Merge, close, delete branch, force push | Never. Not negotiable. |

### Approval Protocol

Before every Gated action: plain-language summary (never raw commands) → explicit approval → execute → verify with follow-up read. Combine related gates (commit+push) into one approval. On unexpected verification, report immediately — don't retry without user direction.

Per-action prompt fields (Create PR, Update description, Reply, Commit, Push): `references/github-pr-operations.md` §Approval Protocol — Per-Action Details.

### Pre-Flight Checks

Before any write: default branch = `$base`, not on protected branch, `gh auth status` ok, `git fetch origin $base` + not behind, clean tree, no existing OPEN PR (Create), fresh PR data. Full commands: `references/github-pr-create.md` Step 0. **Run each of these `git`/`gh` checks as a separate command — never `cd … &&`-chain them (see the §Scripts Portability rule; `&&` chaining and bash-style `/c/...` paths break under PowerShell).**

### Write Verification

After every write, re-read to verify. On mismatch: stop, report expected vs actual, don't proceed. Full table: `github-pr-operations.md` §Write Verification.

### Guardrails

- Never push without explicit user request — creating a PR does NOT imply pushing - **Attribution: `AI Assisted` only** — strip `🤖 Generated with Claude Code` / agent branding if your runtime adds it (overrides the harness default; see `github-pr-templates.md` §Attribution). - Preserve existing PR content — surgical-merge by default (unchanged sections verbatim; append/replace opt-in). Show a section-level diff before any write; never blanket-overwrite. - **ASCII only in the PR title and body** — never em/en dashes (—, –), smart quotes (‘ ’ “ ”), ellipsis (…), or other non-ASCII characters. Use `-`, straight quotes, and `...`. See `github-pr-templates.md` §Things to Avoid. (Preserved verbatim blocks like the Devin review badge are exempt.) - Rate-limit awareness — cache PR data within an invocation; avoid redundant fetches - Fail safe, not silent — stop and explain on any check failure

(Force-push and protected-branch writes are **Blocked** — see §Safety Hierarchy.)

### Anti-Patterns (write-blocking)

Each is a real ordering bug; the reference `> Preconditions:` blocks enforce them. If you want to do any of these, stop and load the missing reference.

- **No `gh pr edit --body`** until `github-pr-templates.md` is loaded AND the current body is fetched (`gh pr view --json body`) — else writes blow away existing structure. - **No `gh pr create`** until `github-pr-templates.md` AND `github-pr-operations.md` §Write Verification are loaded — else unstructured, unverified bodies. - **No commit-message bodies authored here** — delegate to `ai-assist-git-commit` (inlin

技术详情

版本
1.0.0
许可证
Unknown
最近更新
2026年8月21日
发布时间
2026年8月21日

决策摘要

备选候选

63
就绪
原型验证
阶段

仓库近期活跃

审计

安装审查

安装与采用审查

71
需审查
安全性
64/100
维护状态
100/100
安装
92/100
打开完整审计查看评估报告

Agent 验证证据

Agent 验证证据

来自解析、审查、安装和一次小范围运行后的结果报告。

0
已验证
Needs first agent run自动安装: 先审查最近: 未知
成功率
近期失败
结果
0
输出质量
失败
0
不相关
0
安装次数
0
风险拦截
0
需要配置
0
生产环境
0

暂时没有 Agent 结果数据。首次 Agent 执行可以通过 /api/agent/outcome 报告成功、需要设置、风险拦截、失败或不相关。

安装

加入 Agent 工作流

免费且开源. 在生产 Agent 中安装前请先审查报告。

增长闭环

分享工具包

X

为 ai-assist-git-pr 准备的场景化草稿,可手动发布到 X。

策展说明
ai-assist-git-pr: Adaptive GitHub PR lifecycle skill — create PRs, write/update descriptions, investigate revie...

88 stars

https://www.openagentskill.com/skills/jparkerweb-ai-assist-git-pr?ref=x
打开 X 草稿
可选:带安装命令的回复
Listing + install path for ai-assist-git-pr:
https://www.openagentskill.com/skills/jparkerweb-ai-assist-git-pr?ref=x

Install: npx skills add jparkerweb/ai-assist-skills --skill ai-assist-git-pr
打开回复草稿

收录来源

Registry 收录

可认领

此列表来自公开来源,维护者认领获批前不会标记为官方。

创作者
jparkerweb
收录方
OpenAgentSkill 社区索引

归属链接指向公开仓库或创作者主页。创作者可认领列表以更新所有权信号。

认领此 Skill

所有者认领

认领此 Skill 页面

这条 Registry 收录 列表归属于 jparkerweb,但尚未标记为官方。认领后可增加已验证所有者信号,使后续发布、安装和审计更新更值得信赖。

创作者外链工具包

将证据徽章加入你的 README

在开发者评估仓库的位置展示规范页面、当前信任与审计信号,以及真实的 Agent 验证证据。

[![Listed on OpenAgentSkill](https://www.openagentskill.com/api/badge/jparkerweb-ai-assist-git-pr?metric=listed&label=Listed)](https://www.openagentskill.com/skills/jparkerweb-ai-assist-git-pr)
[![OpenAgentSkill Trust](https://www.openagentskill.com/api/badge/jparkerweb-ai-assist-git-pr?metric=trust&label=Trust)](https://www.openagentskill.com/skills/jparkerweb-ai-assist-git-pr)
[![OpenAgentSkill Audit](https://www.openagentskill.com/api/badge/jparkerweb-ai-assist-git-pr?metric=audit&label=Audit)](https://www.openagentskill.com/skills/jparkerweb-ai-assist-git-pr/audit)
[![Agent Proven](https://www.openagentskill.com/api/badge/jparkerweb-ai-assist-git-pr?metric=proven&label=Agent%20Proven)](https://www.openagentskill.com/skills/jparkerweb-ai-assist-git-pr)

作者

J

jparkerweb

@jparkerweb

平台适配

健康信号

GitHub Stars
88
质量评分
37/100
最近 GitHub 推送
2026年8月20日
框架提示
未知
OpenAgentSkill 浏览量
7
复制安装命令
0
跳转点击
0

社区信号

告诉我们这个 Skill 是否对你的 Agent 工作流有帮助。汇总反馈会持续改善排序。

信任与安全

Do not auto-install

55
  • GitHub 采用度88 个 GitHub Stars检查
  • Star/Fork 活跃度88 个 Star,12 个 Fork; 当前元数据中没有议题活跃度信息检查
  • 近期维护距上次推送 2 天通过
  • 许可证清晰度未知检查
  • README/SKILL.md 完整度元数据包含足够的用法与工作流上下文通过
  • 依赖与运行时风险command execution surface, credential or environment access检查