Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

fetching-github-issuefetching GitHub issue 搜索

Agent Skill

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

总安装

210

周安装

9

GitHub Stars

公开资料未说明

下载量

73
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/b-mendoza/agent-skills --skill fetching-github-issue

简介

用于围绕 GitHub 仓库、Issue、Pull Request 和分支提交提供辅助。

  • 适合查询项目状态、整理变更或辅助创建协作事项。
  • 使用时需区分只读查询与写入操作,确保 token 权限和仓库范围正确。
  • 涉及创建 PR、修改 Issue 或推送分支时应先确认用户授权。
  • 安装方式:通过 GitHub 仓库安装,支持 Codex、Claude、Cursor、Gemini CLI。

SKILL.md

Fetching GitHub Issue

You are a Phase 1 coordinator. Your job is to turn a GitHub issue reference into a validated local snapshot by dispatching one retrieval specialist, keeping only its structured summary, and reporting the result in a form the orchestrator can carry forward.

Inputs

InputRequiredExample
ISSUE_URLPreferredhttps://github.com/acme/app/issues/42
OWNERWith REPO + ISSUE_NUMBER when URL absentacme
REPOWith OWNER + ISSUE_NUMBER when URL absentapp
ISSUE_NUMBERWith OWNER + REPO when URL absent42

Derive when needed (normalize owner and repo to lowercase for slug stability):

  • ISSUE_SLUG: <owner>-<repo>-<issue_number>
  • OWNER, REPO, ISSUE_NUMBER from ISSUE_URL when present

Prefer passing ISSUE_URL downstream when you have it; it removes ambiguity and matches the retriever's direct-issue read path. If only OWNER / REPO / ISSUE_NUMBER are provided, the subagent must still use explicit owner/repo repository scope for GitHub reads.

Workflow Overview

1. Read the retriever subagent definition
2. Dispatch the subagent with ISSUE_URL (or OWNER, REPO, ISSUE_NUMBER)
3. Interpret the structured summary it returns
4. Report the file path, counts, and warnings to the caller

Subagent Registry

Read a subagent definition only when you are about to dispatch it.

SubagentPathPurpose
issue-retriever./subagents/issue-retriever.mdUses the bundled GitHub read path to retrieve GitHub data, writes docs/<ISSUE_SLUG>.md, validates the artifact, and returns a concise fetch summary

Dispatch Contract

This stage dispatches exactly one bundled retriever subagent.

  • Read ./subagents/issue-retriever.md only when you are ready to dispatch it
  • Pass only the stage input contract values plus any directly derived identifiers
  • Treat the retriever as the only component allowed to read raw GitHub payloads, assemble the snapshot, validate the artifact, and decide whether the run is PASS, PARTIAL, FAIL, or ERROR
  • Keep only the retriever's structured summary in orchestrator context; do not inspect raw payloads or rewrite the artifact in this coordinator

How This Skill Works

This skill is intentionally narrow. It coordinates retrieval, not mutation, planning, or execution. Keep only:

  • ISSUE_SLUG and the URL or coordinates needed for the next phase
  • The file path written
  • Counts and warnings from the retriever summary
  • Any fatal reason that requires user action

This phase succeeds only when the retriever returns a structured result that matches the output contract and, when a file is written, reports validation status consistently.

This coordinator may do four things directly: read its bundled skill files, derive identifiers from the input contract (including fallback coordinates when no URL is provided), dispatch the retriever, and relay the retriever's structured summary. Everything else stays inside the subagent.

1. Dispatch the retriever

Read ./subagents/issue-retriever.md, then dispatch it with:

  • ISSUE_URL when available, otherwise OWNER, REPO, and ISSUE_NUMBER

The subagent owns input validation, GitHub read-path availability and auth checks, issue and relationship retrieval, document assembly, output validation, and cleanup.

2. Interpret the structured result

Reminder: branch on the structured result fields, not on prose. This coordinator dispatches, interprets, and relays summaries; it does not inspect raw GitHub payloads or rewrite the artifact.

The retriever returns the locked summary shape used by the paired tracker- fetching skills. Only the tracker-specific identity line, state line, and work-breakdown line differ:

  • FETCH: PASS -> retrieval and validation succeeded
  • FETCH: PARTIAL -> artifact was written and validated, but some comments or related items could not be retrieved, or discovery of related items or project membership could not be verified
  • Shared rule: parent comment retrieval and child issues / linked issues retrieval or discovery gaps use PARTIAL
  • GitHub-specific: ## Projects also uses PARTIAL when membership cannot be determined because the required capability was unavailable
  • FETCH: FAIL -> deterministic failure such as bad input, issue not found, missing auth, rate limits after retry, or no usable GitHub read capability
  • FETCH: ERROR -> unexpected tool or environment failure
  • Failure category -> machine-readable cause for FETCH: FAIL or FETCH: ERROR

Validation is reported separately:

  • Validation: PASS -> the written file satisfies the template contract
  • Validation: FAIL -> the file was written but still violates the contract
  • Validation: NOT_RUN -> retrieval failed before validation could happen

For count lines in the summary:

  • 0/0 (where that shape applies) means the retriever verified that no items exist in that section
  • <retrieved>/UNKNOWN means the parent issue was retrieved but discovery for that section could not be verified; the retriever records a warning and treats the run as FETCH: PARTIAL
  • N/A for Comments, Child issues, or Linked issues means the parent issue was not retrieved and those retrieval steps never ran (for example, Failure category: NOT_FOUND before any snapshot). Do not use 0/0 or <retrieved>/UNKNOWN in that case
  • Attachments: <N> is the number of attachment entries under ## Attachments; use Attachments: N/A when the parent issue was not retrieved (that section was not populated from a successful parent read)

Failure categories are:

  • NONE -> no fatal failure occurred
  • BAD_INPUT -> malformed URL, missing coordinates, or unusable slug
  • NOT_FOUND -> the parent issue could not be found before a valid artifact was produced
  • AUTH -> GitHub access was denied or not authenticated
  • TOOLS_MISSING -> no usable GitHub read capability was available for the required reads
  • RATE_LIMIT -> GitHub API rate-limited and retry budget was exhausted
  • UNEXPECTED -> tool or environment failure outside the expected categories

Handle them this way:

  • FETCH: PASS with Validation: PASS: report success and continue
  • FETCH: PARTIAL with Validation: PASS: report success with warnings and make the incompleteness visible, including any template unknown markers
  • Validation: FAIL: stop and relay contract failure (any FETCH)
  • FETCH: FAIL: stop and relay the failure category plus the reason
  • FETCH: ERROR: stop and relay the failure category plus the reason as an unexpected failure
  • Any inconsistent pairing, such as FETCH: PASS with Validation: NOT_RUN: treat it as FETCH: ERROR and stop

Do not infer fatal cause from prose when Failure category is present. Branch on the category, then use Reason only for user-facing detail.

Locked summary line order:

  1. FETCH
  2. Validation
  3. Failure category
  4. File written
  5. Tracker identity line (Issue:... on GitHub)
  6. Tracker state line (State:... on GitHub)
  7. Comments
  8. Work-breakdown line (Child issues:... on GitHub)
  9. Linked issues
  10. Attachments
  11. Warnings
  12. Reason

3. Report only the summary

Using only the subagent's structured summary, tell the caller:

  • The file path written, when one exists
  • The issue identity (Issue: <owner>/<repo>#<N>: <Title>)
  • The issue state (State: OPEN | CLOSED)
  • Retrieved versus discovered counts for comments, or N/A when the parent issue was not retrieved
  • The attachment entry count (Attachments: <N>), or N/A when the parent issue was not retrieved
  • Retrieved versus discovered counts for child issues and linked issues, where the discovered total may be UNKNOWN when discovery could not be verified, or N/A when the parent issue was not retrieved and discovery never ran
  • Any warnings or fatal reason
  • Any failure category, when one exists
  • That this phase is retrieval only and does not mutate GitHub

Output Contract

Primary artifact:

docs/<ISSUE_SLUG>.md

Treat docs/<ISSUE_SLUG>.md as a preserved workflow artifact for resumability. Do not commit it as part of implementation history.

The document must contain every top-level heading from the fenced Markdown snapshot shape in ./subagents/issue-retriever-template.md. Repeated nested headings, such as comment entries or per-related-item subsections, appear only when their parent section has material to render. If a top-level section has verified empty data, the heading still appears and the section body is _None_. If the retriever could not verify whether a section is empty, the artifact must use the template's unknown marker instead. Downstream skills rely on stable headings rather than best-effort prose. If retrieval is partial, the artifact must record that explicitly in ## Retrieval Warnings and use the template's placeholder shapes for any child or linked issue that could not be hydrated, or the template's unknown marker when a section could not be verified as empty.

Treat ./subagents/issue-retriever-template.md as the authoritative snapshot shape bundled with this skill. The section tables below are the scan-friendly summary of that contract.

Locked-core sections (same names and relative order across the paired issue/ticket-fetching skills; the platform-slot heading—## Child Issues on GitHub and ## Subtasks on Jira—occupies the locked position between ## Retrieval Warnings and ## Linked Issues):

SectionWhy it exists
## MetadataCore tracker identity and context for planning and validation
## DescriptionPrimary source of requirements after normalization
## Acceptance CriteriaDefinition-of-done source, including extracted AC when present
## CommentsDecisions, clarifications, and implementation hints
## Retrieval WarningsStable disclosure for partial retrieval and capability limits
## Child Issues / ## SubtasksLocked platform slot for the tracker-specific work-breakdown section; see the platform-slot table below for the exact heading name
## Linked IssuesDependency and surrounding context

Locked platform-slot section (shared concept; the parallel ticket-fetching skill uses ## Subtasks):

SectionWhy it exists
## Child IssuesGitHub sub-issues / child work items when discoverable

Top-level snapshot order is ## Metadata, ## Description, ## Acceptance Criteria, ## Comments, ## Retrieval Warnings, ## Child Issues, ## Linked Issues, then the platform-extension sections below.

The retrieval preamble must include Retrieved on, Source: <ISSUE_URL> (or owner/repo#N when no URL is available), and Repository: <owner>/<repo> | Issue: #<N>. In ## Metadata, keep stable identity rows for ISSUE_SLUG, Repository, Issue number, and URL.

Platform-extension sections (GitHub-specific; expected to differ across tracker-fetching skills). All stay stably present, using _None_ only when their absence was verified:

SectionWhy it exists
## LabelsScoped classification
## AssigneesOwnership
## MilestoneRelease or iteration bucket when set
## ProjectsProject board / project fields when retrievable without excessive custom setup; when not determinable, render the template's unknown marker instead of _None_
## AttachmentsFile-like asset references when they can be identified from explicit linked uploads or binary URLs

Escalation

Branch on the retriever's structured status fields, not on prose:

Summary stateCoordinator action
FETCH: PASS with Validation: PASSReport success and continue
FETCH: PARTIAL with Validation: PASSReport success with warnings and keep the incompleteness visible
FETCH: FAILStop and surface the failure category plus reason
FETCH: ERROR or Validation: FAILStop and surface the unexpected failure or contract failure

Example

  1. Read ./subagents/issue-retriever.md
  2. Dispatch issue-retriever with ISSUE_URL
  3. Subagent returns: FETCH: PASS Validation: PASS Failure category: NONE File written: docs/acme-app-42.md Issue: acme/app#42: Implement dark mode toggle State: OPEN Comments: 4/4 Child issues: 0/0 Linked issues: 1/1 Attachments: 0 Warnings: None Reason: None
  4. Report: "Issue fetched to docs/acme-app-42.md. acme/app#42: Implement dark mode toggle is OPEN. Retrieved 4/4 comments, 0/0 child issues, 1/1 linked issues, 0 attachments. Retrieval only; GitHub was not modified."
  1. Read ./subagents/issue-retriever.md
  2. Dispatch issue-retriever with ISSUE_URL
  3. Subagent returns: FETCH: PARTIAL Validation: PASS Failure category: NONE File written: docs/acme-app-7001.md Issue: acme/app#7001: Audit webhook retries State: OPEN Comments: 2/2 Child issues: 1/2 Linked issues: 0/0 Attachments: 0 Warnings: Could not retrieve acme/app#7002 (404 Not Found) Reason: None
  4. Report: "Issue fetched to docs/acme-app-7001.md with retrieval warnings. acme/app#7001: Audit webhook retries is OPEN. Retrieved 2/2 comments, 1/2 child issues, 0/0 linked issues, 0 attachments. Warning: Could not retrieve acme/app#7002 (404 Not Found). Retrieval only; GitHub was not modified."

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.24%
按下载量换算24

Claude

29.63%
按下载量换算22

Cursor

20.09%
按下载量换算15

Gemini CLI

9.58%
按下载量换算7

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

可疑

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills