Token导航 LogoToken导航TokenDH.com
前端设计敏感数据github未标认证来源可访问许可证需确认审计提醒

gh-create-prgh 创建公关

Agent Skill

gh-create-pr 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,569

周安装

106

GitHub Stars

163

下载量

840
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:gh-create-pr(gh 创建公关)
来源仓库:https://github.com/flora131/atomic
仓库路径:skills/gh-create-pr
安装命令:
npx skills add https://github.com/flora131/atomic --skill gh-create-pr
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/flora131/atomic --skill gh-create-pr

简介

gh-create-pr 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态进行协作整理。
  • 通过 npx skills add 命令从指定仓库安装并使用。
  • 需确认权限范围和维护状态,注意是否触发联网或文件读写。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Create Pull Request

Commit changes, push to remote, and create a pull request with a conventional commit-style title and comprehensive description: $ARGUMENTS

Current Repository State

  • Git status:!git status --porcelain
  • Current branch:!git branch --show-current
  • Default branch:!git rev-parse --abbrev-ref origin/HEAD 2>/dev/null | sed 's|origin/||' || echo main
  • Staged changes:!git diff --cached --stat
  • Unstaged changes:!git diff --stat
  • Recent commits on this branch:!git log --oneline -10
  • Existing PR for branch:!gh pr view --json number,title,body 2>/dev/null || echo "No existing PR"

What This Command Does

  1. Stage and commit changes using conventional commit format (follow the gh-commit skill conventions)

- If there are unstaged changes, stage and commit them with appropriate conventional commit messages - If multiple distinct logical changes exist, create separate commits for each - ALWAYS attribute AI-assisted code authorship in commits

  1. Push the branch to the remote repository

- If the current branch is the default branch (main/master), create a new feature branch first - Use git push -u origin <branch> to set upstream tracking

  1. Analyze all changes in the branch relative to the base branch

- Run git diff origin/<default-branch>...HEAD to review the full scope of changes - Read relevant modified files to understand the context and impact of changes

  1. Generate a PR title following Conventional Commits format:

- Format: <type>[optional scope]: <description> - Types: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert - Use ! after type/scope for breaking changes: feat(api)!: change response format - Keep the title concise (under 72 characters) - For multi-commit PRs, synthesize a higher-level title that captures the overall theme

  1. Generate a PR description with the structure defined in the PR Description Template below
  2. Create or update the pull request

- If no PR exists for this branch: gh pr create --title "TITLE" --body "DESCRIPTION" - If a PR already exists: gh pr edit <number> --title "TITLE" --body "DESCRIPTION"

PR Title Examples

feat(auth): add JWT token refresh endpoint
fix(ui): resolve layout shift on mobile navigation
docs: update API reference for v2 endpoints
refactor(db): migrate from raw SQL to query builder
feat(api)!: change pagination response format
chore(deps): bump TypeScript to 5.x

PR Description Template

Use this structure for the PR body. Omit sections that are not applicable.

## Summary

[1-2 sentence overview of what this PR does and why]

## Changes

- [Key change 1]
- [Key change 2]
- [Key change 3]

## Breaking Changes

[Describe what breaks and required migration steps]

## Notes

[Additional context, testing instructions, or deployment considerations]

Guidelines

  • Respect existing content: If the PR title already follows conventional commit format, keep it unless it's inaccurate. If a PR already has a meaningful description, enhance it rather than replace it entirely.
  • Issue references: If the branch name contains an issue number (e.g., feat/123-add-auth), reference it in the description with Closes #123 or Refs #123.
  • Holistic analysis: The PR title should capture the overall intent of the changes, not just list individual commits.
  • Single-commit PRs: The PR title can mirror the commit message.
  • Multi-commit PRs: Synthesize a higher-level title that captures the full scope.
  • Use markdown formatting in the description for readability.

Important Notes

  • By default, pre-commit checks (defined in .pre-commit-config.yaml) will run to ensure code quality

- IMPORTANT: DO NOT SKIP pre-commit checks

  • ALWAYS attribute AI-Assisted Code Authorship in commit messages
  • Always review the diff before generating the title and description to ensure accuracy
  • If gh CLI is not authenticated, prompt the user to run gh auth login first

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.53%
按下载量换算282

Claude

32.45%
按下载量换算273

Cursor

18.15%
按下载量换算152

Gemini CLI

9.8%
按下载量换算82

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills