merge-pr-check
Installation
SKILL.md
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.
Merge PR Check via Gitee MCP
Check whether a Pull Request meets the criteria for merging, then execute the merge after confirmation.
Prerequisites
- Gitee MCP Server configured (tools:
get_pull_detail,list_comments(resource_type: pull),get_diff_files,merge_pull) - User must provide: repository owner, repository name, PR number
Steps
Step 1: Fetch PR Status
Use get_pull_detail to retrieve PR details and check: