Loading...
Loading...
Create and submit Gitee pull requests with team convention enforcement. Use when the user asks to open/submit a Gitee PR on gitee.com and needs an automated flow that validates branch naming, commit prefixes, clean working tree, optional auto-commit, branch push, and PR creation.
npx skill4agent add bioshaun/tc-skills gitee-prscripts/create_gitee_pr.pygitee-pr-rules.mdgitee-pr-rules.mdGITEE_TOKEN--token--repo owner/repoheadbasemember/verb-description--auto-commitremote/base..headfeat:fix:docs:refactor:style:test:chore:## 改动了什么?## 为什么改动?## 测试结果?## 注意事项--no-pushexport GITEE_TOKEN="<token>"
python3 scripts/create_gitee_pr.py \
--base main \
--title "修复:优化过滤逻辑"# Auto-commit local changes before PR checks
python3 scripts/create_gitee_pr.py \
--auto-commit \
--commit-message "chore: prepare gitee pr changes" \
--base main# Validate checks and preview generated PR body without API call
python3 scripts/create_gitee_pr.py --base main --dry-run --no-push# Keep custom body (must follow required template sections)
python3 scripts/create_gitee_pr.py \
--base main \
--body "$(cat pr-body.md)"--body## 改动了什么?
- <commit summaries>
## 为什么改动?
- 请补充本次改动的业务背景和目标。
## 测试结果?
- 已检查提交前工作区为干净状态。
- 请补充本地测试命令与结果。
## 注意事项
- 无git branch -d <branch-name>
git push origin --delete <branch-name>