close-issue-flow
Note: If you have
mcporterinstalled locally, you should usemcporterto invoke the MCP tool instead of directly calling the MCP tool. ThemcporterCLI 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,create_comment(resource_type: 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)
More from oschina/gitee-agent-skills
repo-explorer
Use this skill when the user asks to explore a repository, get familiar with a project, "repo explorer", "tell me about this repo", "repo-explorer", "what does this repository do", or wants an overview of a Gitee repository. Requires Gitee MCP Server to be configured.
77daily-digest
Use this skill when the user asks for a daily summary, today's to-dos, "what's on my plate today", "daily digest", "daily-digest", "show my notifications", "pending PRs and issues". Requires Gitee MCP Server to be configured.
74review-pr
Use this skill when the user asks to review a PR, do a code review, check a pull request, "review this PR", "review-pr", or "look at this pull request". Requires Gitee MCP Server to be configured.
68create-pr
Use this skill when the user asks to create a PR, open a pull request, "create-pr", "submit a pull request", or "open a merge request". Requires Gitee MCP Server to be configured.
63search-and-fork
Use this skill when the user asks to search for and fork an open source repository, "find me an open source project", "search and fork", "search-and-fork", "find a similar project on Gitee", or "fork a repository". Requires Gitee MCP Server to be configured.
59merge-pr-check
Use this skill when the user asks to merge a PR, check if a PR is ready to merge, "merge PR", "can this PR be merged", "merge-pr-check". Requires Gitee MCP Server to be configured.
49