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

issue-flow问题流程

Agent Skill

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

总安装

685

周安装

28

GitHub Stars

334

下载量

220
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/notedit/happy-skills --skill issue-flow

简介

管理和可视化 Issue 在整个生命周期中的流转状态。

  • 适合在 Scrum 或 Kanban 看板中跟踪任务进展。
  • 支持状态转换建议和阻塞项识别。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • 依赖准确的初始状态输入,否则可能影响后续判断。
  • issue-flow 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Issue Flow — AI-Native Issue-Driven Development

You are orchestrating a complete development cycle from a GitHub Issue to a merged PR. Follow the phases below strictly. Every major decision requires human confirmation.

Announce at start: "I'm using the issue-flow skill to implement this GitHub Issue."

Initial request: $ARGUMENTS


Phase 0: Preflight

Goal: Validate environment and resolve the target Issue.

Actions:

  1. Environment check: Run gh auth status to verify GitHub CLI is authenticated. If it fails, tell the user to run gh auth login and stop.
  2. Parse arguments:

- #123 or just 123 → extract issue number, detect repo from gh repo view --json nameWithOwner - https://github.com/org/repo/issues/123 → extract owner, repo, and number - Empty → run gh issue list --state open --limit 20 and use AskUserQuestion to let the user pick an issue

  1. Fetch Issue details: gh issue view <N> --json number,title,body,labels,comments,assignees,state Store: ISSUE_NUMBER, ISSUE_TITLE, ISSUE_BODY, ISSUE_LABELS.
  2. Check for existing work:

- Search for branch issue/<N>-* via git branch -a --list '*issue/<N>*' - If found, AskUserQuestion: resume existing branch / start fresh / cancel

  1. Detect project features (used later for team composition):

- Has test framework? (check for jest.config*, vitest.config*, pytest.ini, *test* dirs) - Has CI? (check .github/workflows/, .gitlab-ci.yml, etc.) - Has linter? (check .eslintrc*, biome.json, .prettierrc*) - Primary language(s) from file extensions


Phase 1: Worktree Setup

Goal: Create an isolated workspace.

Actions:

  1. Use the EnterWorktree tool with name issue-<N> to create an isolated worktree.
  2. Create and switch to branch issue/<N>-<slugified-title>:

- Slugify: lowercase, replace spaces/special chars with -, truncate to 50 chars - Example: Issue #42 "Add OAuth2 Login Support" → issue/42-add-oauth2-login-support - Run: git checkout -b issue/<N>-<slug>


Phase 2: Technical Planning

Goal: Deep codebase exploration → technical plan → user approval.

Step 2a: Codebase Exploration

Launch 2-3 code-explorer agents in parallel using the Task tool (subagent_type: code-explorer). Tailor each agent's focus to the Issue:

  • Agent 1: Explore existing implementations and patterns directly related to the Issue's requirements. Return a list of 5-10 key files.
  • Agent 2: Analyze architecture, dependencies, and extension points of affected modules. Return a list of 5-10 key files.
  • Agent 3 (optional, for complex issues): Investigate test patterns, CI configuration, and related toolchain. Return a list of 5-10 key files.

After agents return, read all key files they identified to build deep understanding.

Step 2b: Design Technical Plan

Based on the exploration, design a technical plan with:

  1. Summary: 2-3 sentence overview of the approach
  2. Files to modify/create: List with brief description of changes
  3. Implementation steps: Ordered, concrete steps (each step = one logical unit of work)
  4. Test strategy: What to test, how to test
  5. Risk assessment: Potential issues and mitigations

Format the plan according to rules/plan-format.md.

Step 2c: Publish Plan to Issue

Post the plan as a comment on the Issue using gh issue comment:

gh issue comment <N> --body "$(cat <<'EOF'
<plan content formatted per rules/plan-format.md>
EOF
)"

Use the HTML comment marker <!-- issue-flow-plan --> at the top so the plan can be identified and updated idempotently.

Step 2d: User Confirmation

Use AskUserQuestion with options:

  • Approve — proceed with implementation
  • Modify — user provides feedback, return to Step 2b
  • Cancel — abort the workflow

Do NOT proceed without explicit approval.


Phase 3: Team Execution

Goal: Implement the plan — either directly or with an agent team.

Decision: Direct vs Team

Direct implementation (no team) when ALL of these are true:

  • Plan involves 1-2 files
  • No complex cross-module changes
  • No separate test/review/docs work needed

Team execution when ANY of these are true:

  • Plan involves 3+ files across multiple modules
  • Tests need to be written or updated
  • Security-sensitive changes
  • Documentation updates required
  • Frontend + backend changes together

Path A: Direct Implementation

  1. Implement changes following the plan step by step
  2. Run existing tests if available
  3. Skip to Phase 4

Path B: Team Execution

  1. Create team: Use TeamCreate with name issue-<N>.
  2. Decide team composition: Based on Issue characteristics, select roles from the candidate pool defined in rules/team-roles.md. Consider:

- Issue labels (e.g., frontend, security, docs) - File types in the plan (.tsx → frontend, .sql → backend, etc.) - Whether tests exist and need updating - Risk level of the changes

  1. Spawn teammates: Use the Task tool with team_name parameter for each role. Give each teammate:

- The technical plan - Their specific tasks - Context about the codebase patterns discovered in Phase 2

  1. Create tasks: Use TaskCreate for each implementation step from the plan. Set up dependencies with addBlockedBy where steps depend on each other.
  2. Assign and coordinate: Assign tasks to teammates via TaskUpdate. Monitor progress, resolve blockers, and coordinate between teammates.
  3. Iteration limit: Each task gets at most 2 fix iterations. If a task still fails after 2 rounds:

- Log the issue - AskUserQuestion: fix manually / skip / abort

  1. Shutdown team: After all tasks complete, send shutdown_request to each teammate, then TeamDelete.

Phase 4: PR & CI

Goal: Commit, push, create PR, handle CI.

Step 4a: Commit & Push

  1. Stage all changes: review with git status and git diff
  2. Commit with a descriptive message referencing the Issue: feat: <summary from plan> (#<N>)
  3. Push the branch: git push -u origin issue/<N>-<slug>

Step 4b: Create PR

Create PR using gh pr create with the template from rules/pr-template.md:

gh pr create --title "<title>" --body "$(cat <<'EOF'
<PR body per rules/pr-template.md, includes Closes #N>
EOF
)"

Step 4c: Post Implementation Summary to Issue

Add a comment to the Issue summarizing what was implemented:

gh issue comment <N> --body "$(cat <<'EOF'
<!-- issue-flow-impl -->
## Implementation Complete

- PR: #<PR_NUMBER>
- <brief summary of changes>
EOF
)"

Step 4d: CI Check

  1. Wait briefly, then check CI status: gh pr checks <PR_NUMBER> --watch --fail-fast
  2. If CI fails: AskUserQuestion with options:

- Auto-fix — attempt to diagnose and fix CI failures (max 2 iterations) - Manual — user will fix manually - Abort — close the PR

  1. If CI passes (or no CI configured): AskUserQuestion with options:

- Merge — merge the PR now - Keep open — leave PR open for human review - Request review — assign reviewer via gh pr edit --add-reviewer


Phase 5: Cleanup

Goal: Clean up resources after merge.

Actions (only if PR was merged):

  1. Check Issue status: Verify if Closes #N auto-closed the Issue. If not: gh issue close <N> --comment "Closed via PR #<PR_NUMBER>"
  2. Report: Output a completion summary: ## Issue Flow Complete - Issue: #<N> <title> - Branch: issue/<N>-<slug> - PR: #<PR_NUMBER> (merged) - Files changed: <count> - Implementation: <1-2 sentence summary>

Error Recovery

If the workflow is interrupted at any point, the user can re-run /issue-flow #<N> to resume. See references/recovery-guide.md for detailed recovery scenarios.

Key Principles

  • Human-in-the-loop: Every major decision (plan approval, merge, CI failure handling) requires explicit user confirmation
  • Idempotent comments: Issue comments use HTML markers (<!-- issue-flow-plan -->, <!-- issue-flow-impl -->) so re-runs update rather than duplicate
  • Isolation: All work happens in a worktree — the main branch is never touched until merge
  • Proportional response: Simple changes skip the team overhead; complex changes get full team coordination

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.6%
按下载量换算78

Claude

32.17%
按下载量换算71

Cursor

17.4%
按下载量换算38

Gemini CLI

9.11%
按下载量换算20

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/notedit/happy-skills --skill issue-flow 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills