Load Issues

NeoLabHQ/context-engineering-kit/skills/load-issues

作者 NeoLabHQ23e2428e809d77717f8acc9659c374a3a1fcb93e无许可证收录于 2026年10月9日更新于 2026年10月9日

Load all open issues from GitHub and save them as markdown files

AI 生成的概览

获取当前仓库中所有打开的 GitHub issue,并将每个 issue 保存为格式化的 markdown 文件。

功能
该技能使用 gh CLI 列出当前 GitHub 仓库中所有打开的 issue,然后获取每个 issue 的详细元数据,包括编号、标题、正文、状态、日期、作者、标签、负责人和 URL。它会创建 specs/issues 目录,并为每个 issue 写入一个 markdown 文件,文件名由补零的 issue 编号和 kebab-case 标题组成。最后会汇总已加载的 issue 总数和创建的文件。
适用场景
当你希望以 markdown 文件形式获得仓库打开 issue 的本地可读快照时使用。它适合将 issue 待办列表导出到 specs 或文档目录,以便审阅或离线参考。
运行要求
需要安装 gh CLI 并完成身份验证,且有权访问目标 GitHub 仓库,同时需要访问 GitHub 的网络连接。该技能不包含脚本,仅为说明文档。

Load all open issues from the current GitHub repository and save them as markdown files in the ./specs/issues/ directory.

Follow these steps:

  1. Use the gh CLI to list all open issues in the current repository:

    • Run gh issue list --limit 100 to get all open issues
  2. For each open issue, fetch detailed information:

    • Run gh issue view <number> --json number,title,body,state,createdAt,updatedAt,author,labels,assignees,url
    • Extract all relevant metadata
  3. Create the issues directory:

    • Run mkdir -p ./specs/issues to ensure the directory exists
  4. Save each issue as a separate markdown file:

    • File naming pattern: <number-padded-to-3-digits>-<kebab-case-title>.md
    • Example: 007-make-code-review-trigger-on-sql-sh-changes.md
  5. Use the following markdown template for each issue file:

markdown
# Issue #<number>: <title>
**Status:** <state>**Created:** <createdAt>**Updated:** <updatedAt>**Author:** <author.name> (@<author.login>)**URL:** <url>
## Description
<body>
## Labels
<labels or "None">
## Assignees
<assignees or "None">
  1. After all issues are saved, provide a summary of:
    • Total number of issues loaded
    • List of created files with their issue numbers and titles

IMPORTANT: Execute all steps in the correct order and ensure all issue data is properly formatted in the markdown files.

来源与署名

来源:NeoLabHQ/context-engineering-kit位于skills/load-issues提交23e2428

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架