Token导航 LogoToken导航TokenDH.com
待分类权限需确认github未标认证来源可访问许可证需确认审计未展示

github-issue-writingGitHub issue writing 问题管理

Agent Skill

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

总安装

214

周安装

9

GitHub Stars

28

下载量

75
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/laurigates/claude-plugins --skill github-issue-writing

简介

用于辅助撰写清晰规范的 GitHub Issue。

  • 提供语言优化、结构检查和示例参考。
  • 支持多轮迭代改进直至满意为止。github-issue-writing 属于待分类类 Skill,可作为该场景下的辅助能力补充。
  • 提升问题描述的准确性和完整性。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • 不直接提交 Issue,仅提供写作建议。

SKILL.md

created
2026-01-30
modified
2026-04-29
reviewed
2026-04-29
name
github-issue-writing
description
|
user-invocable
false
allowed-tools
Bash(gh issue *), Bash(gh label *), Bash(gh repo *), Read, Grep, Glob, TodoWrite

GitHub Issue Writing

Create well-structured, actionable GitHub issues.

When to Use This Skill

Use this skill when...Use the alternative when...
Filing a new bug, feature, or chore issue with clear title and acceptance criteriaUse git-issue to start working on existing issues end-to-end
Structuring an issue body with reproduction steps, scope, and definition of doneUse github-issue-autodetect to link existing issues from staged diffs
Choosing the [Type] Component: Description title formatUse github-pr-title to author the conventional title for the PR that fixes it
Designing a feature-request issue before implementation beginsUse git-issue-manage for transfer/pin/lock/develop-branch admin operations

Issue Title Format

[Type] Component: Brief description
TypeExample
Bug[Bug] Auth: Login fails with valid credentials
Feature[Feature] API: Add rate limiting support
Docs[Docs] README: Add installation instructions
Chore[Chore] CI: Update Node.js version

Guidelines:

  • Be specific (not "Bug" but "Login fails with OAuth")
  • Include component for triage
  • Keep under 72 characters

Bug Report Template

## Summary
Brief description of the bug.

## Steps to Reproduce
1. Go to '...'
2. Click on '...'
3. See error

## Expected Behavior
What should happen.

## Actual Behavior
What actually happens.

## Environment
- OS: macOS 14.0
- Browser: Chrome 120
- Version: 2.1.0

Feature Request Template

## Summary
What this feature does.

## Motivation
Why this is needed. What problem does it solve?

## Proposed Solution
Description of desired behavior.

## Acceptance Criteria
- [ ] Criterion 1
- [ ] Criterion 2
- [ ] Criterion 3

Issue Types

GitHub supports first-class issue types. Use --type when creating issues:

TypeUse For
BugSomething broken that needs fixing
FeatureNew functionality request
TaskGeneral work item

Note: Available types depend on repository/org configuration. Use gh issue create --type "Bug" to leverage them.

Body Content: Use --body-file

For any non-trivial body — anything containing backticks, code fences, or multi-line content — use --body-file <path>, never --body "<text>". This applies to all gh commands that accept a body: gh issue create, gh issue edit, gh issue comment, gh pr create, gh pr edit, gh pr comment.

When to use which

Body shapePattern
Trivially short, single line, no backticks--body "Short text" is fine
Contains backticks (inline code, code fences)--body-file /tmp/body.md — required
Multi-line--body-file /tmp/body.md — required
Contains shell metacharacters ($, ", ', \)--body-file /tmp/body.md — required

Why

Shell-quoted --body strings escape backticks (` ` becomes \ `), breaking inline code spans and triple-backtick code fences in the rendered issue. Bash heredocs interact unpredictably with the agent's argument escaping. Writing the markdown to a file with the Write` tool sidesteps shell quoting entirely — the file content is preserved byte-for-byte.

Pattern

1. Write tool → /tmp/issue-body.md   (markdown body, no shell escaping)
2. gh issue create --title "..." --body-file /tmp/issue-body.md

The same --body-file <path> form is supported by every gh command that accepts a body.

CLI Commands

# Create issue with a body file (preferred for any non-trivial body)
gh issue create --title "[Bug] Auth: Login fails" --body-file /tmp/issue-body.md

# Trivially short body — inline --body is acceptable
gh issue create --title "[Chore] Bump dep" --body "See renovate PR"

# With labels
gh issue create --title "..." --body-file /tmp/body.md --label "bug" --label "priority: high"

# With assignee
gh issue create --title "..." --body-file /tmp/body.md --assignee "@me"

# With issue type
gh issue create --title "..." --body-file /tmp/body.md --type "Bug"

# As sub-issue of a parent
gh issue create --title "..." --body-file /tmp/body.md
gh api repos/{owner}/{repo}/issues/{parent}/sub_issues -f sub_issue_id={new_id}

# Search before creating
gh issue list --search "login error" --state all

Linking Issues

Pick the mechanism that matches the relationship — GitHub surfaces each one differently and only the native APIs trigger "Blocked" badges on project boards.

RelationshipHow to recordWhy
Hard dependency (must happen before)Native dependencies/blocked_by API — see /git:issue-hierarchy --blocked-by NSidebar "Relationships" entry + Blocked badge on boards
Composition (part-of scope)Sub-issue API — see /git:issue-hierarchy --add NProgress bar on parent, tracked separately from dependencies
Soft reference ("related to")Plain markdown Related to #789 in the bodyCross-link only; no lifecycle coupling
Auto-close on mergeFixes #N / Closes #N footer in commit or PR bodyCloses issue when the PR merges

Do not write Blocks #123 or Blocked by #456 in issue bodies any more — those strings used to be GitHub's workaround for missing dependency APIs, but they are no longer parsed. Call /git:issue-hierarchy (or the REST endpoints at issues/{N}/dependencies/blocked_by) so the relationship shows up in the sidebar and on project boards.

Quick Reference

ActionCommand
Creategh issue create --title "..." --body-file /tmp/body.md
Create with typegh issue create --title "..." --body-file /tmp/body.md --type "Bug"
Searchgh issue list --search "keyword"
Viewgh issue view N
Edit bodygh issue edit N --body-file /tmp/body.md
Commentgh issue comment N --body-file /tmp/comment.md
Labelsgh label list

Agentic Optimizations

ContextCommand
Create issuegh issue create --title "..." --body-file /tmp/body.md
Create with typegh issue create --title "..." --type "Bug" --body-file /tmp/body.md
List labelsgh label list --json name
Search issuesgh issue list --search "keyword" --state all --json number,title
View issuegh issue view N --json title,body,labels

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

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

平台分布

Codex

36.93%
按下载量换算28

Claude

32.23%
按下载量换算24

Cursor

18.39%
按下载量换算14

Gemini CLI

10.26%
按下载量换算8

安全审计

暂无安全审计结果可展示。

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

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

来源信息

继续浏览同类 Skills