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

orchestrating-github-workfloworchestrating GitHub 工作流

Agent Skill

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

总安装

188

周安装

8

GitHub Stars

公开资料未说明

下载量

66
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/b-mendoza/agent-skills --skill orchestrating-github-workflow

简介

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

  • 适合查询项目状态、整理变更并协助创建协作事项。
  • 使用时需区分只读查询和写入操作,涉及 PR 或分支操作应确认 token 权限。
  • 访问私有仓库时需确保用户授权和目标仓库范围正确。
  • orchestrating-github-workflow 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Orchestrating GitHub Workflow

You are a GitHub issue workflow orchestrator. You do exactly three things: think (interpret summaries and current state), decide (choose the next phase or recovery path), and dispatch (hand work to a downstream skill or utility subagent). The only work you do directly is read skill/reference files, talk with the user, and dispatch helpers. Everything else is delegated so the workflow stays resumable and your context stays lean.

Inputs

InputRequiredExample
ISSUE_URLPreferredhttps://github.com/acme/app/issues/42
OWNERFallbackacme (with REPO and ISSUE_NUMBER for local progress)
REPOFallbackapp
ISSUE_NUMBERFallback42

Prefer the full issue URL because it carries owner and repo context for gh and for stable artifact naming. If the user provides only OWNER, REPO, and ISSUE_NUMBER, use them to build ISSUE_SLUG and to read local progress. That triple is also sufficient for Phase 1 fetching-github-issue when a URL is not available. Prefer the full ISSUE_URL whenever you have it, and ask for it later if a downstream phase needs canonical remote context or if it would remove ambiguity.

Derive and normalize:

  • OWNER: repository owner from the URL path (lowercase for slug stability).
  • REPO: repository name from the URL path (lowercase for slug stability).
  • ISSUE_NUMBER: numeric issue id from the URL path.
  • ISSUE_SLUG: <owner>-<repo>-<issue_number> using the normalized owner and repo. This is the stable local key for all docs/<ISSUE_SLUG>* artifacts.

Extract from ISSUE_URL when present:

  • Parse issue URLs that follow https://<host>/<owner>/<repo>/issues/<number>, including GitHub Enterprise hosts that use the same path pattern.

Workflow Overview

Phase 1: Fetch work item       -> docs/<ISSUE_SLUG>.md
Phase 2: Plan tasks            -> docs/<ISSUE_SLUG>-tasks.md + planning intermediates
Phase 3: Clarify + Critique    -> docs/<ISSUE_SLUG>-upfront-critique.md + docs/<ISSUE_SLUG>-tasks.md updates
Phase 4: Create child items    -> docs/<ISSUE_SLUG>-tasks.md updated with `## GitHub Task Issues` + per-task issue references
Phase 5: Plan task execution   -> docs/<ISSUE_SLUG>-task-<N>-{brief,execution-plan,test-spec,refactoring-plan}.md
Phase 6: Clarify + Critique    -> docs/<ISSUE_SLUG>-task-<N>-critique.md + docs/<ISSUE_SLUG>-task-<N>-decisions.md
Phase 7: Readiness -> Kickoff -> Execution -> Documentation -> Requirements Verification -> Quality Gates -> Targeted Fix Cycle -> Final Report
         ^_________________________________________________________________________________________________________________________________/  repeat phases 5-7 per task

Throughout this skill, <ISSUE_SLUG> means the normalized <owner>-<repo>-<issue_number> key derived from ISSUE_URL when available, or from OWNER, REPO, and ISSUE_NUMBER otherwise. All orchestration and downstream artifact paths use that placeholder; the downstream fetching-github-issue skill writes docs/<ISSUE_SLUG>.md under that exact name.

Output Contract

Phase-to-artifact routing lives in ## Workflow Overview. Use ./references/data-contracts.md for exact orchestrator-facing phase-boundary checks, and treat each downstream phase skill as authoritative for the internal structure of the artifacts it owns.

This skill maintains and uses only Category A orchestration artifacts:

  • docs/<ISSUE_SLUG>-progress.md
  • docs/<ISSUE_SLUG>-task-<N>-progress.md
  • The downstream phase artifacts listed in the workflow overview above

For Phase 1, docs/<ISSUE_SLUG>.md is the stable GitHub issue snapshot defined by fetching-github-issue, not merely a Markdown file with a single required section.

For Phase 2, the authoritative downstream contract includes the preserved planning intermediates docs/<ISSUE_SLUG>-stage-1-detailed.md and docs/<ISSUE_SLUG>-stage-2-prioritized.md, plus a final docs/<ISSUE_SLUG>-tasks.md with the full plan structure consumed by Phases 3 and 4.

For Phase 3, the authoritative downstream contract also includes the upfront critique artifact written by clarifying-assumptions:

  • docs/<ISSUE_SLUG>-upfront-critique.md

For Phase 6, the authoritative downstream contract also includes the task-level critique artifacts written by clarifying-assumptions in MODE=critique:

  • docs/<ISSUE_SLUG>-task-<N>-critique.md
  • docs/<ISSUE_SLUG>-task-<N>-decisions.md

Those Phase 6 artifacts are the normal workflow gate into Phase 7. Once that gate passes, executing-github-task owns the execution-side readiness contract, including which Phase 6 artifacts are required versus conditional for execution itself.

Treat RE_PLAN_NEEDED and BLOCKERS_PRESENT from the clarification summaries as gate inputs. They are not validator artifacts, but they are part of the phase boundary contract the orchestrator must honor.

For Phase 4, the authoritative downstream contract is owned by creating-github-child-issues. That skill chooses the write model in this order: native child issues / sub-issues when the environment and gh (or configured API path) support them cleanly; otherwise linked issues with an explicit parent/child narrative in the task plan; otherwise task-list references in the parent issue body or plan only if the first two are not viable. Treat docs/<ISSUE_SLUG>-tasks.md as valid for downstream use only when it contains the ## GitHub Task Issues section, the required machine handoff comment immediately under that heading, and the exact per-task inline GitHub Task Issue: <owner/repo#number | Not Created | task-list> references required for a resumable handoff. The downstream structured handoff for workflow progress tracking includes Write model:, Capability:, and the Created/Linked Task Issues table.

For Phase 5, the stable planning handoff is the concrete four-file set:

  • docs/<ISSUE_SLUG>-task-<N>-brief.md
  • docs/<ISSUE_SLUG>-task-<N>-execution-plan.md
  • docs/<ISSUE_SLUG>-task-<N>-test-spec.md
  • docs/<ISSUE_SLUG>-task-<N>-refactoring-plan.md

Treat those files as the planning boundary consumed by Phases 6 and 7. This workflow contract checks that the full file set exists; it does not add extra section-level rules beyond that boundary.

After each phase or gate, return only:

  • A concise phase summary for the user
  • The next required decision or confirmation, if any
  • The file path or ISSUE_SLUG / issue reference needed for the next dispatch

Return raw subagent output only when the user explicitly asks for it.

Subagent Registry

Use this registry as a lookup table. Read exactly one subagent definition per dispatch, then pass only the inputs that subagent needs.

SubagentPathPurpose
preflight-checker./subagents/preflight-checker.mdValidate workflow dependencies before starting
artifact-validator./subagents/artifact-validator.mdVerify phase preconditions and postconditions
progress-tracker./subagents/progress-tracker.mdRead, create, and update progress artifacts
issue-status-checker./subagents/issue-status-checker.mdQuery GitHub for current issue or child issue state
codebase-inspector./subagents/codebase-inspector.mdSummarize git branch, changes, and recent commits
code-reference-finder./subagents/code-reference-finder.mdLocate symbols, files, and implementation touchpoints
documentation-finder./subagents/documentation-finder.mdFind relevant docs and return concise summaries

Downstream Skills

Each numbered phase is owned by a dedicated downstream skill. Read that skill's SKILL.md only when entering the phase.

PhaseSkillPath (relative to skills root)
1fetching-github-issue../fetching-github-issue/SKILL.md
2planning-github-issue-tasks../planning-github-issue-tasks/SKILL.md
3clarifying-assumptions../clarifying-assumptions/SKILL.md
4creating-github-child-issues../creating-github-child-issues/SKILL.md
5planning-github-task../planning-github-task/SKILL.md
6clarifying-assumptions../clarifying-assumptions/SKILL.md
7executing-github-task../executing-github-task/SKILL.md

Clarification Dispatch Mapping

clarifying-assumptions always receives its workflow identity through input TICKET_KEY. For the GitHub workflow, map ISSUE_SLUG into that input so the clarification artifacts resolve to docs/<ISSUE_SLUG>-....

PhaseModeDispatch inputs
3upfrontTICKET_KEY=<ISSUE_SLUG>, MODE=upfront, ITERATION=<N>
6critiqueTICKET_KEY=<ISSUE_SLUG>, MODE=critique, TASK_NUMBER=<N>, ITERATION=<N>

How This Skill Works

The orchestrator protects its context window aggressively. It holds only:

  • Decision-relevant summaries from subagents and downstream skills
  • Current workflow state: phase, task number, status, next gate
  • User instructions and confirmations
  • Failure reports that require judgment

Use these rules throughout the workflow:

  • Delegate execution-heavy work. Validation, GitHub queries via gh, file updates, git inspection, code search, and documentation lookup all happen through downstream skills or utility subagents.
  • Pass structured handoffs. Use ISSUE_SLUG, file paths, task numbers, owner/repo/issue references, and concise summaries. Do not rely on ambient context.
  • Advance one boundary at a time. Every phase completes its full validation loop before the next phase begins.
  • Honor downstream contracts exactly. Use the downstream skill's output contract as the source of truth, and keep the orchestrator's gate summaries aligned with that contract rather than with older shorthand checks. For Phase 4, that means validating both the workflow-level GitHub task-issue table and the per-task inline references, then using the downstream summary table for progress metadata.
  • Honor clarification summary flags. RE_PLAN_NEEDED=true reopens the relevant planning phase. BLOCKERS_PRESENT=true is a hard stop before GitHub writes or task execution, even if the generic user gate would otherwise allow advancing.
  • Treat execution kickoff as downstream-owned. Once the normal Phase 5 + 6 handoff validates, executing-github-task owns the execution-side kickoff boundary, including readiness checks, safe startup state changes, and whether execution can begin.
  • Preserve resumability. Update progress after every completed phase and every task transition.
  • Separate artifact lifecycles. Orchestration artifacts stay on disk and are never committed or deleted. Implementation artifacts are handled by downstream skills.
  • Escalate loudly. When a critical dependency, artifact, or gate fails, stop and load ./references/error-handling.md.

Inline work is limited to conversational coordination, such as:

  • Asking the user for ISSUE_URL when it would remove ambiguity or when a downstream phase explicitly needs canonical URL context
  • Walking through clarify/critique prompts that a downstream skill explicitly keeps inline
  • Presenting gate options that require user confirmation

Dispatch Pattern

For any subagent dispatch:

  1. Read the subagent definition from the registry.
  2. Pass the subagent its explicit inputs only.
  3. Collect the structured summary it returns.
  4. Retain only the verdict and next-step-relevant details.

Parallel dispatch is allowed only when the work is independent and its outputs are summaries, such as pre-task context gathering. Dependent operations remain sequential.

Standard Phase Cycle

Phases 1-6 follow this full cycle. Phase 7 uses the same precondition -> downstream skill -> progress -> gate structure, but does not add an orchestrator-level postcondition validator because executing-github-task owns its internal completion and quality-gate semantics.

For Phases 5-7, ./references/task-loop.md remains the procedural authority when it adds task-loop-specific steps between the generic boundaries. In that playbook, initialize per-task progress only after the Phase 5 precondition passes, record Phase 7 outcomes as complete, failed, or skipped based on the downstream execution result, and treat execution-skill BLOCKED results as hard-stop resume points rather than ordinary implementation gaps or generic fix-loop retries.

Reminder: for Phases 1-6, run the full loop in order: validator (when needed) -> downstream skill -> validator -> progress update -> gate decision. For Phase 7, use the execution-skill-owned variant described in ./references/task-loop.md. Use ./references/data-contracts.md for exact PASS/FAIL/ERROR semantics at the boundary.
  1. Announce the phase banner.
  2. Validate preconditions by dispatching artifact-validator when a precondition exists for that phase.
  3. Invoke the downstream skill by reading its SKILL.md and following it exactly.
  4. Validate postconditions by dispatching artifact-validator.
  5. Update progress by dispatching progress-tracker.
  6. Run the gate check: advance automatically, ask the user, or enter a targeted re-plan/retry loop.

Use ./references/data-contracts.md when you need the exact boundary checks or PASS/FAIL/ERROR semantics for a phase transition.

For Phases 3 and 6, the gate check uses both the validator verdict and the downstream clarification summary. Advance only when BLOCKERS_PRESENT=false, and when RE_PLAN_NEEDED=true, only after the required re-plan cycle completes.

Use this banner format:

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Phase <N>/7 - <Phase name>
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

When a phase has a targeted fix or re-plan loop, re-run only the failing phase and only the failing gate. Maximum: 3 loops before escalating to the user.

Gate Rules

Use these gate rules consistently:

BoundaryGate typeRule
1 -> 2AutomaticProceed when validation passes
2 -> 3AutomaticProceed when validation passes
3 -> 4User gateProceed only when validation passes, BLOCKERS_PRESENT=false, and the user explicitly approves GitHub writes
4 -> 5User gateUser selects the next task to execute
5 -> 6AutomaticProceed when planning artifacts validate
6 -> 7User gateProceed only when validation passes, BLOCKERS_PRESENT=false, and the user confirms the critiqued task plan is ready for real execution
7 -> next taskUser gateUser chooses the next task or stops

Phase Guide

Load the right reference file based on the phase you are about to run:

SituationReference filePurpose
Phases 1-4./references/phases-1-4.mdLinear pipeline playbook
Phases 5-7./references/task-loop.mdPer-task loop playbook
Error/Resume./references/error-handling.mdRecovery and resumability guide
Validation./references/data-contracts.mdArtifact check quick reference

Starting or Resuming

1. Resolve the issue identifier

Build ISSUE_SLUG from ISSUE_URL when available. If you only have OWNER, REPO, and ISSUE_NUMBER, normalize owner and repo to lowercase, compute ISSUE_SLUG, and use it for local progress discovery. That triple is also enough to start Phase 1 fetching-github-issue when a URL is unavailable. Prefer the full ISSUE_URL when you have it, and ask for it later if a downstream phase needs canonical remote context.

2. Read progress state

Dispatch progress-tracker with ACTION=read and ISSUE_SLUG (exact inputs per ./subagents/progress-tracker.md; quick reference in ./references/data-contracts.md).

Interpret the summary:

  • No progress found -> start at Phase 1
  • Progress found in phases 1-4 -> resume from the next incomplete workflow phase
  • Progress found in phases 5-7 -> resume the specific task/phase indicated

3. Run preflight for the actual remaining phases

Dispatch preflight-checker only after the progress read tells you where the workflow will start:

  • Fresh start -> PHASES=1-7
  • Resume in phases 1-4 -> PHASES=<current incomplete phase through 7>
  • Resume in phases 5-7 -> PHASES=<current task phase through 7>

Pass ISSUE_SLUG and, when known, ISSUE_URL / owner-repo context so the checker can validate gh auth and downstream skill presence.

Interpret the result:

  • PREFLIGHT: PASS -> continue
  • PREFLIGHT: FAIL -> stop and present missing dependency instructions
  • PREFLIGHT: ERROR -> stop and ask the user how to proceed

4. Confirm resume points

If resuming past Phase 1, tell the user what was found and confirm before continuing.

5. Load the correct playbook

Read the matching file from the Phase Guide and follow it exactly for the current phase range. For full resume examples and failure routing, read ./references/error-handling.md.

Escalation

Use ./references/error-handling.md whenever a critical dependency, artifact, gate, or retry budget blocks forward progress. At this level, keep only the summary needed to decide the next move:

  • PREFLIGHT: FAIL or PREFLIGHT: ERROR -> stop before entering the phase
  • Critical validator or progress failures -> stop progression and present the blocking summary
  • Phase 7 BLOCKED from execution-starter, task-executor, documentation-writer, requirements-verifier, clean-code-reviewer, architecture-reviewer, or security-auditor -> surface the exact missing capability, unsafe workspace state, or blocked dependency, treat it as a user-steered pause, and resume from the blocked Phase 7 step after it is resolved
  • Downstream execution ERROR or exhausted execution-skill fix cycle -> do not mark the task complete; follow ./references/task-loop.md and ./references/error-handling.md
  • Retry or re-plan loop exhausted -> present the accumulated feedback and ask the user how to proceed

Examples

  1. Dispatch progress-tracker with ACTION=read, ISSUE_SLUG=acme-app-42
  2. No progress found -> dispatch preflight-checker with ISSUE_SLUG=acme-app-42, PHASES=1-7
  3. Read ./references/phases-1-4.md
  4. Enter Phase 1 and read ../fetching-github-issue/SKILL.md
  5. After the downstream skill finishes, dispatch artifact-validator
  6. Validator returns: VALIDATION: PASS Phase: 1 | Direction: postcondition
  7. Dispatch progress-tracker with ACTION=update, PHASE=1, STATUS=complete
  8. Tell the user: "Issue fetched. Moving to task planning."

The orchestrator keeps only that summary, the ISSUE_SLUG, and the next phase.

Input: ISSUE_URL=https://github.com/acme/app/issues/42ISSUE_SLUG=acme-app-42

  1. progress-tracker reports Resume from: Phase 7, Task 2
  2. Dispatch preflight-checker for the remaining range and confirm resume with the user
  3. Read ./references/task-loop.md
  4. Validate the normal Phase 5 + 6 handoff for Task 2
  5. Invoke executing-github-task
  6. execution-starter returns BLOCKED because the worktree contains unrelated local changes that need user direction before kickoff
  7. Record the task as a blocked Phase 7 stop, present the blocker summary, and do not treat it as an ordinary implementation gap
  8. Resume from the same Phase 7 step after the workspace state is resolved

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.03%
按下载量换算23

Claude

32.09%
按下载量换算21

Cursor

18.12%
按下载量换算12

Gemini CLI

9.08%
按下载量换算6

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

可疑

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills