Token导航 LogoToken导航TokenDH.com
开发需要联网github未标认证来源可访问许可证需确认审计通过

cmd-gh-issuecmd gh 问题

Agent Skill

用于围绕 GitHub 仓库、Issue、Pull Request、分支、提交和代码协作流程提供辅助能力。它适合让 Agent 查询项目状态、整理变更、辅助创建或检查协作事项,并把仓库中的信息转成可执行的下一步。使用时需要区分只读查询和写入操作;涉及创建 PR、修改 Issue、推送分支或访问私有仓库时,应确认 token 权限、目标仓库范围和用户授权。

总安装

288

周安装

12

GitHub Stars

7

下载量

96
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/olshansk/agent-skills --skill cmd-gh-issue

简介

将对话内容转化为结构化 GitHub Issue。

  • 自动提取仓库信息并填充标题与正文,支持自定义字段。
  • 遵循标准模板组织内容,便于后续跟踪与管理。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • 需确保已登录 gh CLI 并有目标仓库的 issue 创建权限。
  • cmd-gh-issue 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Create GitHub Issue from Conversation

Create a well-structured GitHub issue using gh CLI, populated with context from the current conversation.

Instructions

  1. Determine the repo -- confirm you're inside a git repo with a GitHub remote: gh repo view --json nameWithOwner -q '.nameWithOwner' If this fails, ask the user which repo to file against.
  2. Synthesize the conversation into a GitHub issue body following the structure below.
  3. Create the issue using gh: gh issue create --title "<concise title>" --body "$(cat <<'ISSUE_EOF' <issue body here> ISSUE_EOF)"
  4. Report back with the issue URL.

Issue Body Structure

Build the issue body in this exact order:

Section 1: What & Why

Open with a short (2-4 bullet) summary answering:

  • What needs to happen?
  • Why does it matter? (user pain, system constraint, business goal)

This section should stand alone -- a reader who stops here should understand the ask.

Section 2: Context & Discussion

This is the bulk of the issue. Capture everything relevant from our conversation:

  • Background -- what led to this discussion
  • Current behavior -- how things work today (or don't)
  • Desired behavior -- what success looks like
  • Constraints & decisions -- trade-offs we discussed, options we rejected and why
  • Technical details -- relevant code paths, configs, schemas, API shapes, error messages
  • Related work -- links to PRs, issues, docs, or external references mentioned

Formatting rules for this section:

  • Use ## Headings and ### Subheadings to organize by topic
  • Use bullet points over paragraphs
  • Use markdown tables for comparisons, option matrices, or structured data
  • Embed images/screenshots if any were shared (use ![alt](url) syntax)
  • Wrap code snippets, commands, file paths, and config in fenced code blocks with language tags
  • Use <details><summary>...</summary>...</details> to collapse verbose content (logs, full configs, large code blocks) so the issue stays scannable
  • Do NOT strip context -- preserve the substance of our discussion, but reorganize it logically

Section 3: Implementation Plan

End with the plan we've aligned on (even if rough). Frame it for a future agent or developer picking this up cold:

  • Number the steps
  • Call out key files to create or modify
  • Note any open questions or decisions still TBD (prefix with [])
  • If there are dependencies between steps, make the order explicit
  • If we haven't aligned on a plan yet, write ## Implementation Plan\n\n_TBD -- no plan agreed on yet._

Labels & Assignment (optional)

  • If the conversation implies a category (bug, feature, enhancement, tech-debt), add --label flags
  • Do NOT assign unless the user explicitly asks

Style Rules

  • Title: imperative mood, under 70 chars (e.g., "Add retry logic to webhook delivery")
  • No fluff: skip filler phrases like "It would be great if..." -- be direct
  • Bias to structure: headers > paragraphs, bullets > prose, tables > lists-of-pairs
  • Preserve signal: don't summarize away details that a future implementer would need
  • Mark uncertainty: if something was discussed but not decided, say so explicitly with "TBD" or an open checkbox []

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.79%
按下载量换算35

Claude

31.24%
按下载量换算30

Cursor

19.19%
按下载量换算18

Gemini CLI

10.23%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills