Token导航 LogoToken导航TokenDH.com
前端设计external-servicegithub未标认证来源可访问许可证需确认审计提醒

close-issue-flow关闭问题流程

Agent Skill

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

总安装

1,296

周安装

54

GitHub Stars

2

下载量

432
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/oschina/gitee-agent-skills --skill close-issue-flow

简介

Gitee Issue 关闭全流程助手,验证合并后自动评论并更新状态。

  • 适用于代码合入后需同步关闭关联问题的标准化协作场景。
  • 依赖 Gitee MCP Server 的 get_repo_issue_detail 等工具链完成端到端操作。
  • 执行前必须确认 PR 已 merge 到目标分支,避免误关未经验证的 Issue。
  • close-issue-flow 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Note: If you have mcporter installed locally, you should use mcporter to invoke the MCP tool instead of directly calling the MCP tool. The mcporter CLI provides a more convenient interface and better error handling.

Close Issue Flow via Gitee MCP

Execute the complete Issue closing workflow: verify the fix is merged → post a closing comment → update the Issue status.

Prerequisites

  • Gitee MCP Server configured (tools: get_repo_issue_detail, list_repo_pulls, comment_issue, update_issue)
  • User must provide: repository owner, repository name, Issue number
  • Typically run after the related PR has been merged or the problem has been resolved

Steps

Step 1: Fetch Issue Details

Use get_repo_issue_detail to retrieve Issue information:

  • Title, description, labels
  • Current state (check if it's already closed)
  • Existing comments (to understand how it was resolved)

If the Issue is already closed, notify the user and stop.

Step 2: Confirm Linked PR Status

Use list_repo_pulls to query the repository's PRs, filtering for:

  • State: merged
  • Description containing closes #[issue number] or fixes #[issue number]

Based on the results:

  • If a merged linked PR is found → confirm the fix is live
  • If the related PR is still open → notify the user that the PR has not been merged yet
  • If no linked PR exists → ask the user how the Issue was resolved

Step 3: Post Closing Comment

Use comment_issue to post a closing note. Choose the appropriate template:

When a linked PR was merged:

This issue has been fixed and merged via PR #[number].

**Fix summary**: [brief description of the fix]

Thanks for the report! If the problem persists, feel free to reopen this issue or submit a new one.

When resolved directly (no PR):

This issue has been resolved.

**Solution**: [description of how it was resolved]

If the problem persists, feel free to reopen this issue or submit a new one.

When unable to reproduce or request was declined:

[Explanation, e.g., "Unable to reproduce this issue" or "After discussion, we've decided not to implement this feature at this time."]

If you have new information, feel free to reopen the issue with additional details.

Step 4: Close the Issue

Use update_issue to update the Issue state:

  • state: closed

Optionally:

  • Update labels (e.g., add fixed or resolved)
  • Assign to a milestone (add to a completed milestone)

Step 5: Output Summary

## Issue Closed

- Issue: #[number] [title]
- Reason: [Fixed / Cannot reproduce / Declined]
- Linked PR: #[number] (if any)
- Closing comment posted ✅
- Issue status updated to closed ✅

Notes

  • Always confirm the issue is genuinely resolved before closing, to avoid premature closure
  • When closing a bug reported by a user, thank them for the report
  • When declining a feature request, explain the reason and close politely
  • Using closes #N in a PR description will auto-close the Issue on merge — this skill is for cases where manual closure or an explanatory comment is needed

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.64%
按下载量换算145

Claude

29.41%
按下载量换算127

Cursor

18.13%
按下载量换算78

Gemini CLI

10.31%
按下载量换算45

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

来源信息

继续浏览同类 Skills