Token导航 LogoToken导航

Agent Skill · 研究检索

run-issue-tree(运行问题树)

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

run-issue-tree 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 64,557。

总安装 297周安装 12GitHub Stars 5下载 93核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/yigitkonur/skills-by-yigitkonur --skill run-issue-tree

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于围绕 GitHub 仓库、Issue、Pull Request、分支、提交和代码协作流程提供辅助能力。适合让 Agent 查询项目状态、整理变更、辅助创建或检查协作事项,并把仓库中的信息转成可执行的下一步。

使用时需要区分只读查询和写入操作;涉及创建 PR、修改 Issue、推送分支或访问私有仓库时,应确认 token 权限、目标仓库范围和用户授权。通过 npx skills add 命令从指定 GitHub 仓库安装使用。run-issue-tree 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/run-issue-tree

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/yigitkonur/skills-by-yigitkonur --skill run-is…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

run-issue-tree 怎么安装?

在终端执行 npx skills add https://github.com/yigitkonur/skills-by-yigitkonur --skill run-issue-tree。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

run-issue-tree 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

run-issue-tree 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

run-issue-tree 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

run-issue-tree 用的人多吗?

公开数据是累计安装 297 次,近一周安装 12 次,下载 93 次,GitHub 5 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

run-issue-tree 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
run-issue-tree

运行问题树 · 本页

2975只读未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Run Issue Tree

Plan and execute wave-based project plans as GitHub Issue trees with sub-issue nesting (up to 8 levels), labels, and agent-ready issue bodies that follow the subagent prompt protocol.

Trigger boundary

Use when planning any project, feature, or complex task using GitHub Issues with sub-issues and wave labels, OR executing an existing issue tree with subagent dispatches.

Do NOT use when:

  • Reviewing a PR (use do-review)
  • General planning without GitHub Issues

Mode routing

This skill has two modes. Auto-detect based on context:

ConditionMode
No issue tree exists yetPlan Mode (P1-P6)
Issue tree exists with open wavesExecute Mode (E1-E5)
User says "plan" explicitlyPlan Mode
User says "run" or "execute" explicitlyExecute Mode

If Execute Mode detects no epics and the user did not provide a root issue number, switch to Plan Mode automatically.

Prerequisites

gh auth status
command -v jq >/dev/null
REPO=$(gh repo view --json nameWithOwner -q .nameWithOwner)
SKILL_DIR="/absolute/path/to/run-issue-tree"  # directory containing this SKILL.md
[ -d "$SKILL_DIR/scripts" ] || {
  echo "Set SKILL_DIR to the absolute path of this skill directory before using helper scripts." >&2
  exit 1
}

SKILL_DIR must be the absolute path of the directory that contains this SKILL.md. Do not assume the target repository also contains the skill. After REPO is set, pass --repo "$REPO" to every later gh command so reads and mutations always target the planned repository.

For Execute Mode, verify the tree exists:

bash "$SKILL_DIR/scripts/read-tree.sh" "$REPO" ROOT_NUMBER

If this returns no epics and the user did not provide ROOT_NUMBER, switch to Plan Mode.


Plan Mode

P1: Context discovery

  1. Detect repo: gh repo view --json nameWithOwner -q.nameWithOwner
  2. Scan existing issues: gh issue list --repo "$REPO" --state open --limit 10 --json number,title,labels
  3. Brief codebase scan (README, package.json, entry points)

P2: Brainstorming questions

Ask the 5 required core questions from references/question-bank.md (Q1-Q5). Add 0-2 optional follow-up questions only when the task type demands more detail. Users answer in compact form: 1b,2d,3g,4a,5c.

Required coverage is non-negotiable:

  • Project scope and type
  • Decomposition depth
  • Wave count
  • Success criteria (for BSV Definition of Done)
  • Agent execution preference

Format each question as:

**Q1: What are you building?**
  a) Greenfield project from scratch
  b) Major new feature for existing project
  ...

**Answer format:** `1b,2c,3d,4a,5e` (one letter per question)

If the user answers in prose instead of compact codes, map each response back to Q1-Q5 explicitly before planning and ask follow-ups only for unanswered slots.

If the user does not answer the questions:

  • stop after presenting the unanswered question set
  • do not design the final tree or create issues
  • tell the user you are blocked on planning inputs

If the user explicitly says to proceed with assumptions:

  • create a draft-only tree with an Assumptions section up front
  • tag every guessed answer explicitly
  • still require explicit approval before any label mutation or issue creation

P3: Plan design

Based on answers, design the full issue tree:

  1. Map waves — group work into sequential waves. Wave 0 is always foundation. Q3 counts the waves after Wave 0.
  2. Decompose maximally — every feature gets tasks, every task gets subtasks.
  3. Map dependencies — which issues block others? These become sub-issue relationships.
  4. Assign labels — wave, type, priority per issue. See references/label-schema.md.

Present the plan as an indented tree before creating issues:

Wave 0: Foundation
  Epic: Project Setup
    Task: Initialize repo structure
      Subtask: Create directory layout
      Subtask: Add configuration files
    Task: Set up CI/CD
      Subtask: Configure build pipeline

Wave 1: Core Features
  Epic: Feature A
    Task: Implement X
      Subtask: ...

Maximalism targets: 3-8 subtasks per task, 2-5 tasks per feature, 2-4 features per wave. Minimum totals: 20 issues (small), 50+ (medium), 100+ (large).

Wait for user approval before creating issues or mutating labels.

P4: Issue creation

Create issues bottom-up (leaves first) so child IDs exist when wiring parents.

If wave/type/priority labels are missing, ask for explicit approval to create them. Then run:

MAX_WAVE="${MAX_WAVE:-5}" bash "$SKILL_DIR/scripts/setup-labels.sh" "$REPO"

Before every gh issue create, validate the body:

  1. Character count must be under 60,000 (GitHub limit: 65,536; buffer for post-creation edits)
  2. All four required sections present (Context & Rationale, Strategic Intent, Definition of Done, Wave & Dependencies)
  3. Ownership line and DoD closing text match the subagent prompt protocol verbatim
  4. No vague DoD criteria ("tests pass", "works correctly", "code is clean")
  5. DoD stays tool-agnostic — describe outcomes, not specific editors, test runners, or build tools
  6. All cross-referenced issue numbers exist

Read references/body-size-validation.md for the full validation sequence. If a body exceeds 60,000 characters, split into parent-stub + child-detail pattern.

BODY="$(cat <<'BODY'
[body following subagent protocol]
BODY
)"

BODY_LENGTH=$(echo -n "$BODY" | wc -c)
if [ "$BODY_LENGTH" -gt 60000 ]; then
  echo "SPLIT REQUIRED: $BODY_LENGTH chars exceeds threshold"
  exit 1
fi

ISSUE_URL=$(gh issue create \
  --repo "$REPO" \
  -t "Issue title" \
  -l "wave:1" \
  -l "type:task" \
  -l "priority:high" \
  -b "$BODY")
ISSUE_NUM=${ISSUE_URL##*/}

Read references/issue-body-template.md for the body format. Every body contains:

  • Context & Rationale — what, why, what it unlocks
  • Strategic Intent — end-state, constraints, risks, ownership grant
  • Definition of Done — BSV checklist (Binary, Specific, Verifiable)
  • Protocol wording — ownership line and DoD closing sentence copied exactly
  • Wave & Dependencies — wave number, blocks/blocked-by

Keep issue bodies tool-agnostic. Put file paths and architecture hints in Technical Notes; do not hard-code editor, test-runner, or build-tool commands into the body.

P5: Sub-issue wiring and cross-linking

After creating all issues, wire relationships in two passes:

Pass 1 — Sub-issue hierarchy (bottom-up):

bash "$SKILL_DIR/scripts/link-sub-issue.sh" "$REPO" PARENT_NUMBER CHILD_NUMBER

Pass 2 — Bidirectional cross-references:

gh issue view "$ISSUE_NUM" --repo "$REPO" --json body -q .body | \
  sed "s/PLACEHOLDER_AUTH/#$AUTH_ISSUE_NUM/g" | \
  gh issue edit "$ISSUE_NUM" --repo "$REPO" --body-file -

Verify bidirectional linking — every "Blocks: #X" must have a corresponding "Blocked by: #Y" in issue #X. Read references/cross-linking-patterns.md for the full wiring protocol.

P6: Verification

bash "$SKILL_DIR/scripts/read-tree.sh" "$REPO" ROOT_ISSUE_NUMBER

Verify all links, labels, and DoD sections. Present the final tree to the user.


Execute Mode

E1: Read the plan

FULL=1 bash "$SKILL_DIR/scripts/read-tree.sh" "$REPO" ROOT_NUMBER

Present the tree with open/closed counts per wave.

E2: Identify current wave

Read references/wave-execution.md for detailed wave management.

for wave in "wave:0-foundation" "wave:1" "wave:2" "wave:3" "wave:4" "wave:5"; do
  count=$(gh issue list --repo "$REPO" -l "$wave" --state open --json number --jq 'length')
  total=$(gh issue list --repo "$REPO" -l "$wave" --state all --json number --jq 'length')
  [ "$total" -gt 0 ] && echo "$wave: $((total - count))/$total closed ($count open)"
done

List ready leaf issues — open type:task or type:subtask issues with no open children, all blockers closed, and no status:in-progress, status:blocked, status:failed, or status:needs-review label. Track parent issues separately: when all children close, verify the parent's own DoD and close it.

Present to user:

**Current Wave: wave:1** (3/8 complete)

Ready:
- [ ] #12: Setup authentication (3 subtasks)
- [ ] #15: Create database schema

Blocked:
- [ ] #20: Integration tests — blocked by #12, #15

Completed:
- [x] #18: Configure CI/CD

E3: Dispatch subagents

Read references/subagent-dispatch.md for the prompt template. Read references/generic-prompt-patterns.md for tool-agnostic prompt writing rules.

For each ready issue:

  1. Read the issue fully: gh issue view NUMBER --repo "$REPO" --json title,body,labels,assignees,comments
  2. Read sub-issues: gh api "repos/$REPO/issues/NUMBER/sub_issues" \ --jq '.[] | "- #\(.number): \(.title) [\(.state)]"'
  3. Read recent comments: gh issue view NUMBER --repo "$REPO" --json comments \ --jq '.comments[-3:] |.[] | "[\(.author.login)]: \(.body)"'
  4. Pre-dispatch validation:

- Body contains all 4 protocol sections (Context & Rationale, Strategic Intent, Definition of Done, Wave & Dependencies) - DoD criteria are BSV (Binary, Specific, Verifiable) — no vague language - DoD is tool-agnostic — no specific editors, test runners, or build tools - Body is under 60,000 characters - All cross-references (#numbers) point to existing issues

  1. Mark in-progress: gh issue edit NUMBER --repo "$REPO" --add-label "status:in-progress" --remove-label "status:ready"
  2. Generate the subagent prompt from the issue body — extract Context & Rationale, Strategic Intent, and Definition of Done sections verbatim, then carry Wave & Dependencies as execution context. The prompt must remain tool-agnostic. See references/generic-prompt-patterns.md.
  3. Dispatch the assembled prompt through the current runtime's native subagent/task tool. Use:

- description/title: Execute #NUMBER: SHORT_TITLE - prompt/body: the assembled prompt - autonomous worker mode if the runtime exposes mode selection

  1. For independent issues in the same wave, dispatch multiple subagents in parallel.

If subagent dispatch is unavailable, stop and return the ready issue list, generated prompts, and label changes for manual execution.

E4: Completion verification

After each subagent returns:

  1. Check every BSV criterion from the issue's Definition of Done
  2. If ALL met — close the issue with evidence: gh issue edit NUMBER --repo "$REPO" --remove-label "status:in-progress" --remove-label "status:needs-review" --remove-label "status:blocked" --remove-label "status:failed" --remove-label "status:ready" gh issue close NUMBER --repo "$REPO" --comment "Completed. All DoD verified: [evidence per criterion]."
  3. If NOT met — comment and keep open: gh issue edit NUMBER --repo "$REPO" --remove-label "status:in-progress" --add-label "status:failed" gh issue comment NUMBER --repo "$REPO" --body "Incomplete. Unmet: [list]. Needs: [guidance]." Do NOT retry without user input.

E5: Wave transition

When all wave issues are closed:

  1. Announce completion with summary
  2. Read tree again: bash "$SKILL_DIR/scripts/read-tree.sh" "$REPO" ROOT_NUMBER
  3. Show next wave's ready leaf issues plus any parent issues now eligible for closure
  4. Ask user for confirmation before proceeding
  5. Repeat from E2

If the wave has partial failures, read references/partial-wave-handling.md for recovery patterns:

  • Single failure with no downstream blocks — offer to advance while re-dispatching in parallel
  • Single failure blocking next wave — present options (fix, re-dispatch with context, manual investigation)
  • Multiple failures — present failure summary table, let user choose strategy
  • Never auto-advance past a failed wave without user confirmation

State recovery: If the orchestrator session is interrupted, all state is recoverable from GitHub labels and issue states. Re-read the tree and reconstruct from wave:* and status:* labels.


Decision rules

Planning

  • If a task description exceeds 3 sentences, decompose it into subtasks
  • If two tasks have no dependency, they belong in the same wave
  • If a subtask would take more than one focused session, split further
  • Use priority:critical sparingly — only for true blockers within a wave

Execution

  • Dispatch only ready leaf issues (type:task or type:subtask); parent issues close after their children close and their own DoD is verified
  • If an issue has sub-issues, dispatch the child issues separately
  • If a subagent fails, comment on the issue and ask the user — do not auto-retry
  • Independent issues within a wave dispatch in parallel
  • Never modify issue bodies — only add comments
  • Verify DoD with evidence before closing

Reference routing

FileWhen to read
references/question-bank.mdPlan Mode P2 — before asking brainstorming questions
references/issue-body-template.mdPlan Mode P4 — before writing any issue body
references/label-schema.mdPlan Mode P3/P4 — when setting up or applying labels
references/body-size-validation.mdPlan Mode P4 — before every gh issue create
references/cross-linking-patterns.mdPlan Mode P5 — bidirectional linking and verification
references/wave-execution.mdExecute Mode E2 — detecting ready issues, managing wave transitions
references/subagent-dispatch.mdExecute Mode E3 — subagent prompt template
references/generic-prompt-patterns.mdExecute Mode E3 — tool-agnostic prompt writing
references/partial-wave-handling.mdExecute Mode E5 — recovery patterns for partial failures

Guardrails

Planning

  • Do NOT create issues without user approval of the plan tree
  • Do NOT skip the brainstorming questions phase
  • Do NOT create issues with empty or vague bodies
  • Do NOT forget sub-issue wiring after issue creation
  • Do NOT create fewer than 3 nesting levels for non-trivial projects
  • Every issue body MUST have a Definition of Done with BSV criteria
  • Always create issues bottom-up (leaves first)
  • Use GraphQL for sub-issue linking via link-sub-issue.sh

Execution

  • Do NOT execute without showing the plan tree first
  • Do NOT skip wave order — waves are sequential, issues within waves can be parallel
  • Do NOT close an issue unless ALL BSV criteria are verifiably met
  • Do NOT proceed to next wave without user confirmation
  • Do NOT modify issue bodies — only add comments
  • Do NOT retry failed issues without user input
  • Always read full issue body, sub-issues, and comments before dispatching
  • Use gh CLI for all GitHub operations, always with --repo "$REPO"

平台分布

Codex

34.86%
按下载量换算32

Claude

29.13%
按下载量换算27

Cursor

20.34%
按下载量换算19

Gemini CLI

10.55%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills