Load Issues

NeoLabHQ/context-engineering-kit/antigravity/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位於antigravity/skills/load-issues提交23e2428

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架