跳到正文
Skillpedia
通用编程48k · #4976

issues

它能做什么

这个工具可以帮你管理 GitHub 项目中的 “issues”(即任务或问题)。你可以新建 issue、列出已有的 issue,或查看某个 issue 的详细信息。

适用场景

  • ✓当你想报告项目中的 bug 时。
  • ✓当你想提出新功能建议时。
  • ✓当你需要查看项目中有哪些未完成的任务时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/issues/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/issues/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我想新建一个 issue,用来报告一个 bug。”

每周 5 个新技能,1 分钟读完。

工作原理

AI 会先问你想做什么(新建、列出还是查看 issue)。如果是新建,它会询问一个简短的标题、详细描述,以及这是 bug 还是新功能,收集完必要信息后,就会把这条任务记录到 GitHub 上。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Interact with GitHub issues - create, list, and view issues.

When to Use

  • The user wants to create, list, inspect, or otherwise work with GitHub issues.
  • The task involves issue intake or repository issue management through the GitHub CLI workflow.
  • You need a guided issue flow that gathers titles, descriptions, and action selection before running commands.

Instructions

This command helps you work with GitHub issues using the gh CLI.

Step 1: Determine Action

Use AskUserQuestion to ask what the user wants to do:

Question:

  • question: "What would you like to do with GitHub issues?"
  • header: "Action"
  • multiSelect: false
  • options:
    • label: "Create new issue" description: "Open a new issue with title, body, and optional labels"
    • label: "List issues" description: "View open issues in the current repository"
    • label: "View issue" description: "See details of a specific issue by number"

If "Create new issue" selected:

Step 2a: Get Issue Title

Use AskUserQuestion to get the issue title:

Question:

  • question: "What's a short, scannable title for this issue? Keep it brief (5-10 words max) - details go in the body. (Use 'Other' to type your title)"
  • header: "Title"
  • multiSelect: false
  • options:
    • label: "I'll type a title" description: "Enter a concise title like 'Login button unresponsive' or 'Add dark mode support'"

Title guidelines:

  • Keep titles SHORT and scannable (5-10 words max)
  • Good: "Fix broken password reset flow"
  • Bad: "When I try to reset my password and click the button nothing happens and I get an error"
  • The description/body is where details belong, not the title

If the user provides a long title, help them shorten it and move the details to the body.

Step 3a: Get Issue Body

Use AskUserQuestion to gather the issue body content:

Question 1 - Issue type context:

  • question: "What type of issue is this?"
  • header: "Type"
  • multiSelect: false
  • options:
    • label: "Bug" description: "Something broken that needs fixing"
    • label: "Enhancement" description: "Improvement to existing functionality"
    • label: "New feature" description: "Brand new functionality"
    • label: "Task" description: "General work item or chore"

Question 2 - Description:

  • question: "Now provide the full details. This is where you explain context, background, and specifics that didn't fit in the title. (Use 'Other' to type your description)"
  • header: "Description"
  • multiSelect: false
  • options:
    • label: "I'll describe it in detail" description: "Provide context, steps, examples, and any relevant information"

The user will select "Other" here to provide their full description.

Description guidelines:

  • This is where ALL the detail goes - be thorough
  • Include context: what were you doing, what's the background?
  • Include specifics: error messages, URLs, versions, etc.
  • The more detail here, the better - unlike the title which should be brief

Question 3 - For bugs, ask about reproduction: If issue type is "Bug", use AskUserQuestion:

  • question: "Can you provide steps to reproduce this bug? (Use 'Other' to type steps)"
  • header: "Repro steps"
  • multiSelect: false
  • options:
    • label: "Provide steps" description: "I'll describe how to reproduce the issue"
    • label: "Not reproducible" description: "The bug is intermittent or hard to reproduce"

Question 4 - Expected vs actual behavior (for bugs): If issue type is "Bug", use AskUserQuestion:

  • question: "What did you expect to happen vs what actually happened? (Use 'Other' to describe)"
  • header: "Behavior"
  • multiSelect: false
  • options:
    • label: "Describe behavior" description: "I'll explain expected vs actual behavior"

Step 4a: Get Labels (Optional)

Use AskUserQuestion to select labels:

  • question: "Which labels should we add? (if any)"
  • header: "Labels"
  • multiSelect: true
  • options:
    • label: "bug" description: "Something isn't working"
    • label: "enhancement" description: "New feature or request"
    • label: "documentation" description: "Improvements to docs"
    • label: "good first issue" description: "Good for newcomers"

Step 5a: Create the Issue

Construct the issue body based on the type:

For Bug reports:

## Description
[User's description]

## Steps to Reproduce
[User's reproduction steps or "Not easily reproducible"]

## Expected Behavior
[What should happen]

## Actual Behavior

…
常见问题

GitHub 上的 “issue” 是什么?

“issue” 就像工单或任务卡片,开发者用它来跟踪软件项目中的问题、bug、功能建议或其他相关任务。

issue 的标题和描述有什么区别?

标题应该是对问题或建议的简短概括(5 到 10 个词)。描述则用来放所有细节、背景信息、bug 的复现步骤等内容。

可以给 issue 添加标签吗?

可以,你可以添加 “bug”、“enhancement”、“documentation” 等标签,方便整理和分类 issue。

详情

作者的原始描述

Interact with GitHub issues - create, list, and view issues.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#4976
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能