create-pr
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.
Create PR via Gitee MCP
Generate a well-structured Pull Request description based on the current changes and submit it to Gitee.
Prerequisites
- Gitee MCP Server configured (tools:
create_pull,get_file_content,list_repo_issues,compare_branches_tags) - User must provide: repository owner, repository name, source branch, target branch (usually main/master)
- Optional: linked Issue number
Steps
Step 1: Gather Information
Confirm with the user or infer from context:
- Source branch (head branch)
- Target branch (base branch, default: master or main)
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.
78daily-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.
77review-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.
69close-issue-flow
Use this skill when the user asks to close an issue, wrap up an issue, "close issue", "close-issue-flow", or finish up after a fix has been merged. Requires Gitee MCP Server to be configured.
61search-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.
60merge-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