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

planning-github-issue-tasks规划 GitHub issue tasks

Agent Skill

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

总安装

225

周安装

9

GitHub Stars

公开资料未说明

下载量

73
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

用于围绕 GitHub 仓库、Issue、PR 和代码协作流程提供辅助能力。

  • 适合查询项目状态、整理变更、创建协作事项并生成可执行步骤。
  • 使用时需区分只读查询与写入操作,避免越权修改。
  • 涉及私有仓库或敏感操作时,应确认 token 权限和用户授权。
  • 建议先预览变更内容再执行,防止意外覆盖或数据丢失。

SKILL.md

Planning GitHub Issue Tasks

Plan a GitHub issue into a structured execution artifact at docs/<ISSUE_SLUG>-tasks.md. This skill is the Phase 2 orchestrator in the GitHub workflow: it dispatches specialist subagents, validates each artifact boundary, preserves planning artifacts for resume and critique, and returns only concise handoff summaries to the parent workflow. It does not decompose work, prioritize dependencies, or validate plan quality inline.

Compatibility:

  • Downstream phases use TICKET_KEY-oriented handoffs and paths.
  • In this workflow, TICKET_KEY and ISSUE_SLUG are the same string (for example acme-app-42).
  • For cross-workflow comparison only, treat <KEY> as shorthand for this skill's platform-native work-item identifier. Runtime dispatches and returned summaries still use ISSUE_SLUG.

All artifact paths in this skill use docs/<ISSUE_SLUG>….

Inputs

InputRequiredExample
ISSUE_SLUGYesacme-app-42
RE_PLANNotrue
DECISIONSNoSSO decision changes task dependencies

Phase 2 is file-driven, so ISSUE_SLUG is sufficient. ISSUE_URL is not required once the issue snapshot already exists on disk.

The issue snapshot must already exist at docs/<ISSUE_SLUG>.md with these sections, produced by fetching-github-issue:

Required sectionWhy it matters
## DescriptionPrimary source for identifying work items
## Acceptance CriteriaMaps to Definition of Done per task
## CommentsCaptures scope changes and clarifications
## Child IssuesPrevents duplicate planning
## Linked IssuesPreserves dependency awareness

Stable context sections (## Metadata, ## Retrieval Warnings, ## Labels, ## Assignees, ## Milestone, ## Projects, ## Attachments) are also required by the stage-validator preflight and are produced by fetching-github-issue even when empty.

If any are missing, treat Phase 1 as incomplete and stop with a preflight failure.

If RE_PLAN=true, reuse the same ISSUE_SLUG, load ./references/re-plan-cycle.md, and pass the supplied DECISIONS only to the stages that need plan revisions.

This skill is self-contained at runtime. Use this file plus the co-located references/ and subagents/ files as the full execution contract. Treat the documented upstream snapshot artifact and parent workflow handoff as inputs, not as external runtime specs.

Output Contract

Artifact contract

Final artifact path: docs/<ISSUE_SLUG>-tasks.md

The final plan must contain all of these sections for downstream phases:

SectionConsumed by
## Issue Summaryclarifying-assumptions
## Execution Order Summarycreating-github-child-issues
## Problem Framingclarifying-assumptions, critique paths
## Assumptions and Constraintsclarifying-assumptions
## Cross-Cutting Open Questionsclarifying-assumptions
## Tasks marker section plus separate ## Task N headingsclarifying-assumptions, creating-github-child-issues, task execution
## Dependency Graphtask execution and critique
## Validation Reportclarifying-assumptions

Each final task entry must include these eight subsections:

  • **Objective:**
  • **Relevant requirements and context:**
  • **Questions to answer before starting:**
  • **Implementation notes:**
  • **Definition of done:**
  • **Likely files / artifacts affected:**
  • **Dependencies / prerequisites:**
  • **Priority:**

Add **Dependency rationale:** immediately after **Dependencies / prerequisites:** when a dependency relationship needs a short explanation for downstream execution or review.

Phase 2 does not add ## Decisions Log; that artifact is appended later by Phase 3.

Return handoff

Return only the concise phase handoff below. Use PLANNING: PASS only when PLAN: PASS, PRIORITIZATION: PASS, TASK_VALIDATION: PASS, and every STAGE_VALIDATION gate returned PASS. If any stage-validator dispatch returns STAGE_VALIDATION: ERROR, stop at that gate and return PLANNING: FAIL with the existing stage-specific Failure category; the Reason must explicitly state that the validator errored.

PLANNING: PASS | FAIL
ISSUE_SLUG: <ISSUE_SLUG>
File: <final file path or "not written">
Tasks: <N>
Cross-cutting questions: <N>
Validation warnings: <N>
Failure category: PREFLIGHT | STAGE_1 | STAGE_2 | STAGE_3 | POSTPIPELINE | NONE
Reason: <one line>
Artifacts preserved: <comma-separated paths>

Workflow Overview

docs/<ISSUE_SLUG>.md (issue snapshot)
       │
       ▼
┌──────────────────────────┐
│  task-planner            │  -> Detailed tasks (what + how)
└────────┬─────────────────┘
         ▼
┌──────────────────────────┐
│  dependency-prioritizer  │  -> Dependencies + execution order
└────────┬─────────────────┘
         ▼
┌──────────────────────────┐
│  task-validator          │  -> Final validated plan + report
└──────────────────────────┘
         │
         ▼
docs/<ISSUE_SLUG>-tasks.md

Each stage writes a Category A orchestration artifact that stays on disk for Phase 3 critique, targeted retries, and workflow resume:

StageFileProduced by
1docs/<ISSUE_SLUG>-stage-1-detailed.mdtask-planner
2docs/<ISSUE_SLUG>-stage-2-prioritized.mddependency-prioritizer
3docs/<ISSUE_SLUG>-tasks.mdtask-validator

Preserve these planning artifacts on disk. They support resume and critique workflows, and they stay out of git history as orchestration artifacts.

Subagent Registry

SubagentPathPurpose
task-planner./subagents/task-planner.mdDecompose the issue and draft the stage 1 plan
dependency-prioritizer./subagents/dependency-prioritizer.mdAnnotate dependencies and determine execution order
task-validator./subagents/task-validator.mdValidate the prioritized plan and append QA findings
stage-validator./subagents/stage-validator.mdCheck preflight, inter-stage, and final output gates

Read a subagent definition only when you are about to dispatch that subagent. Do not read the stage artifacts inline unless a validator or subagent contract explicitly requires it.

How This Skill Works

This skill does exactly three things:

  • Dispatch the planning subagents in sequence.
  • Validate each artifact boundary with stage-validator.
  • Report only stage verdicts and summary counts to the parent workflow.

The orchestrator keeps only decision-relevant handoff data between stages:

  • The stage subagent status summary (PLAN, PRIORITIZATION, or TASK_VALIDATION)
  • The validator verdict
  • The output file path for the passing stage
  • The specific issues that failed the current gate
  • Retry count for the current gate

Do not carry raw plan content forward in the orchestrator context.

Phase Guide

Execution order lives in ## Execution Steps. Use this table as the gate and recovery map when deciding which stage to dispatch or retry next.

Phase / gateDispatchRequired outputOn failure
preflightstage-validatorPhase 1 snapshot document is present and completeStop on STAGE_VALIDATION: FAIL or STAGE_VALIDATION: ERROR with Failure category: PREFLIGHT
Stage 1task-plannerstage-validatorPLAN: PASS and docs/<ISSUE_SLUG>-stage-1-detailed.md passes Stage 1 checksStop on PLAN: FAIL, PLAN: BLOCKED, or PLAN: ERROR; retry Stage 1 only on STAGE_VALIDATION: FAIL; stop on STAGE_VALIDATION: ERROR with Failure category: STAGE_1
Stage 2dependency-prioritizerstage-validatorPRIORITIZATION: PASS and docs/<ISSUE_SLUG>-stage-2-prioritized.md passes Stage 2 checksStop on PRIORITIZATION: FAIL, PRIORITIZATION: BLOCKED, or PRIORITIZATION: ERROR; retry Stage 2 only on STAGE_VALIDATION: FAIL; stop on STAGE_VALIDATION: ERROR with Failure category: STAGE_2
Stage 3task-validatorstage-validatorTASK_VALIDATION: PASS and docs/<ISSUE_SLUG>-tasks.md passes Stage 3 checksStop on TASK_VALIDATION: FAIL, TASK_VALIDATION: BLOCKED, or TASK_VALIDATION: ERROR; retry Stage 3 only on STAGE_VALIDATION: FAIL; stop on STAGE_VALIDATION: ERROR with Failure category: STAGE_3
postpipelinestage-validatorFinal downstream contract is intactRe-dispatch Stage 3, then re-run STAGE=3 and STAGE=postpipeline only on STAGE_VALIDATION: FAIL; stop on STAGE_VALIDATION: ERROR with Failure category: POSTPIPELINE

Execution Paths

Use one of these paths:

  • Normal path: preflight → stage 1 → stage 2 → stage 3 → postpipeline
  • Re-plan path: read ./references/re-plan-cycle.md, identify the earliest affected stage, resume from that stage using the preserved on-disk artifacts, then rerun every downstream stage and finish with postpipeline

Use targeted fix loops only. When a gate fails, re-dispatch the stage that produced the failing artifact, pass only the validator's issues list, and re-run only the failing gate. Do not restart already-passing stages unless the re-plan rules require it.

Execution Steps

  1. Choose execution path

- If RE_PLAN is absent or false, run the normal path. - If RE_PLAN=true, read ./references/re-plan-cycle.md, determine the earliest affected stage, and resume from that point using the on-disk artifacts from the prior run. - Stop after 3 critique-driven re-plan iterations and escalate instead of looping indefinitely. - This re-plan cap is separate from the per-gate retry cap in Step 7. - Start at Stage 1 when the critique changes issue interpretation, scope, assumptions, or task decomposition. - Start at Stage 2 when the stage 1 task content is still valid but ordering, dependencies, or priority need to change. - Start at Stage 3 when only the final validated artifact or report needs correction. - After rerunning the earliest affected stage, rerun every downstream stage and finish with the post-pipeline gate. Skip preflight on a re-plan unless the issue snapshot itself changed or must be revalidated.

  1. Preflight Read the stage-validator definition and dispatch it with: If the validator returns STAGE_VALIDATION: FAIL, stop and return PLANNING: FAIL with Failure category: PREFLIGHT. If the validator returns STAGE_VALIDATION: ERROR, stop and return PLANNING: FAIL with Failure category: PREFLIGHT. The Reason must explicitly state that the validator errored.

- ISSUE_SLUG=<ISSUE_SLUG> - STAGE=preflight - FILE_PATH=docs/<ISSUE_SLUG>.md

  1. Stage 1 - Plan Read the task-planner definition and dispatch it with: If PLAN returns FAIL, BLOCKED, or ERROR, stop and return PLANNING: FAIL with Failure category: STAGE_1. Then validate stage 1 by reading the stage-validator definition and dispatching it with: If that validator returns STAGE_VALIDATION: FAIL, apply Step 7 before returning a phase failure. If that validator returns STAGE_VALIDATION: ERROR, stop and return PLANNING: FAIL with Failure category: STAGE_1. The Reason must explicitly state that the validator errored.

- ISSUE_SLUG=<ISSUE_SLUG> - INPUT_PATH=docs/<ISSUE_SLUG>.md - OUTPUT_PATH=docs/<ISSUE_SLUG>-stage-1-detailed.md - DECISIONS=<DECISIONS> only when Stage 1 is part of a re-plan - VALIDATION_ISSUES=<issues list> only when retrying Stage 1 after a failed validator gate - ISSUE_SLUG=<ISSUE_SLUG> - STAGE=1 - FILE_PATH=docs/<ISSUE_SLUG>-stage-1-detailed.md

  1. Stage 2 - Prioritize Read the dependency-prioritizer definition and dispatch it with: If PRIORITIZATION returns FAIL, BLOCKED, or ERROR, stop and return PLANNING: FAIL with Failure category: STAGE_2. Then validate stage 2 by reading the stage-validator definition and dispatching it with: If that validator returns STAGE_VALIDATION: FAIL, apply Step 7 before returning a phase failure. If that validator returns STAGE_VALIDATION: ERROR, stop and return PLANNING: FAIL with Failure category: STAGE_2. The Reason must explicitly state that the validator errored.

- ISSUE_SLUG=<ISSUE_SLUG> - INPUT_PATH=docs/<ISSUE_SLUG>-stage-1-detailed.md - OUTPUT_PATH=docs/<ISSUE_SLUG>-stage-2-prioritized.md - DECISIONS=<DECISIONS> only when Stage 2 is part of a re-plan - VALIDATION_ISSUES=<issues list> only when retrying Stage 2 after a failed validator gate - ISSUE_SLUG=<ISSUE_SLUG> - STAGE=2 - FILE_PATH=docs/<ISSUE_SLUG>-stage-2-prioritized.md

  1. Stage 3 - Validate Read the task-validator definition and dispatch it with: If TASK_VALIDATION returns FAIL, BLOCKED, or ERROR, stop and return PLANNING: FAIL with Failure category: STAGE_3. Then validate stage 3 by reading the stage-validator definition and dispatching it with: If that validator returns STAGE_VALIDATION: FAIL, apply Step 7 before returning a phase failure. If that validator returns STAGE_VALIDATION: ERROR, stop and return PLANNING: FAIL with Failure category: STAGE_3. The Reason must explicitly state that the validator errored.

- ISSUE_SLUG=<ISSUE_SLUG> - SNAPSHOT_PATH=docs/<ISSUE_SLUG>.md - PLAN_PATH=docs/<ISSUE_SLUG>-stage-2-prioritized.md - OUTPUT_PATH=docs/<ISSUE_SLUG>-tasks.md - VALIDATION_ISSUES=<issues list> only when retrying Stage 3 or repairing a failed post-pipeline gate - ISSUE_SLUG=<ISSUE_SLUG> - STAGE=3 - FILE_PATH=docs/<ISSUE_SLUG>-tasks.md

  1. Post-pipeline gate Read the stage-validator definition and dispatch it with: This confirms the full output contract for downstream phases. If that validator returns STAGE_VALIDATION: FAIL, apply Step 7. If that validator returns STAGE_VALIDATION: ERROR, stop and return PLANNING: FAIL with Failure category: POSTPIPELINE. The Reason must explicitly state that the validator errored.

- ISSUE_SLUG=<ISSUE_SLUG> - STAGE=postpipeline - FILE_PATH=docs/<ISSUE_SLUG>-tasks.md

  1. Targeted retry loop This loop applies only to STAGE_VALIDATION: FAIL results for Stage 1, Stage 2, Stage 3, and postpipeline. STAGE_VALIDATION: ERROR is terminal at the current gate and never enters this loop. Preflight failures are terminal per Step 2. If a stage subagent returns PLAN: FAIL | BLOCKED | ERROR, PRIORITIZATION: FAIL | BLOCKED | ERROR, or TASK_VALIDATION: FAIL | BLOCKED | ERROR, stop and return PLANNING: FAIL. Re-plan iterations and per-gate retry cycles are tracked separately. For any failing validator gate:

- Collect only the validator's issues list. - Re-dispatch only the stage that produced that artifact. - Pass the original inputs plus VALIDATION_ISSUES=<issues list>. - Re-run only the previously failing validator gate. - If the failed gate is postpipeline, re-dispatch Stage 3 with VALIDATION_ISSUES, then rerun STAGE=3 and STAGE=postpipeline. - Stop after 3 failed cycles for the same gate and return PLANNING: FAIL with the relevant failure category.

  1. Report On success, return the completion handoff from ## Output Contract. Include the final file path, task count, cross-cutting question count, warning count, and the preserved artifact paths. State explicitly that planning is complete and implementation has not started.

Example

  1. Dispatch stage-validator with STAGE=preflight, ISSUE_SLUG=acme-app-42, FILE_PATH=docs/acme-app-42.md -> PASS
  2. Dispatch task-planner with ISSUE_SLUG=acme-app-42, INPUT_PATH=docs/acme-app-42.md, OUTPUT_PATH=docs/acme-app-42-stage-1-detailed.md -> wrote stage 1 artifact
  3. Validate stage 1 -> PASS
  4. Dispatch dependency-prioritizer with ISSUE_SLUG=acme-app-42, INPUT_PATH=docs/acme-app-42-stage-1-detailed.md, OUTPUT_PATH=docs/acme-app-42-stage-2-prioritized.md -> wrote stage 2 artifact
  5. Validate stage 2 -> PASS
  6. Dispatch task-validator with ISSUE_SLUG=acme-app-42, SNAPSHOT_PATH=docs/acme-app-42.md, PLAN_PATH=docs/acme-app-42-stage-2-prioritized.md, OUTPUT_PATH=docs/acme-app-42-tasks.md -> wrote final plan
  7. Dispatch stage-validator with ISSUE_SLUG=acme-app-42, STAGE=3, FILE_PATH=docs/acme-app-42-tasks.md -> PASS
  8. Dispatch stage-validator with ISSUE_SLUG=acme-app-42, STAGE=postpipeline, FILE_PATH=docs/acme-app-42-tasks.md -> PASS
  9. Return: PLANNING: PASS ISSUE_SLUG: acme-app-42 File: docs/acme-app-42-tasks.md Tasks: 7 Cross-cutting questions: 3 Validation warnings: 1 Failure category: NONE Reason: Final plan validated and ready for Phase 3. Artifacts preserved: docs/acme-app-42-stage-1-detailed.md, docs/acme-app-42-stage-2-prioritized.md, docs/acme-app-42-tasks.md

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.97%
按下载量换算27

Claude

28.31%
按下载量换算21

Cursor

20.45%
按下载量换算15

Gemini CLI

9.54%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills