"Gitee operations via `gitee` CLI: issues, PRs, repos, code review. Use when: (1) checking PR status, (2) creating/commenting on issues, (3) listing/filtering PRs or issues, (4) managing repos. NOT for: GitHub operations (use github skill), local git operations (use git directly), or when token is not configured."
Resources
5Install
npx skillscat add nigtunt/gitee-cli Install via the SkillsCat registry.
SKILL.md
Gitee CLI Skill
Use the gitee CLI to interact with Gitee repositories, issues, PRs, and repos.
Requirements
- The
giteeCLI tool must be installed and available in the system PATH. - Run
gitee auth statusto verify login before performing actions.
When to Use
✅ USE this skill when:
- Checking PR status, reviews, or merge readiness
- Creating, closing, or commenting on issues
- Creating or merging pull requests
- Managing repositories (view, clone, fork)
- Viewing PR diffs for code review
When NOT to Use
❌ DON'T use this skill when:
- GitHub operations → use
githubskill withghCLI - Local git operations (commit, push, pull, branch) → use
gitdirectly - Non-Gitee repos (GitHub, GitLab) → different CLIs
- Cloning repositories → use
git clone
Setup
# Verify
gitee auth statusCommon Commands
Authentication
# Login
gitee auth login -t=<token>
# Logout
gitee auth logout
# Check status
gitee auth statusPull Requests
# List PRs
gitee pr list --repo owner/repo
# View PR details
gitee pr view 55 --repo owner/repo
# View PR diff (for code review)
gitee pr diff 55 --repo owner/repo
# Create PR
gitee pr create -t "feat: add feature" -H head-branch -B main --repo owner/repo
# Merge PR
gitee pr merge 55 --repo owner/repo
# Close/Reopen PR
gitee pr close 55 --repo owner/repo
gitee pr reopen 55 --repo owner/repoIssues
# List issues
gitee issue list --repo owner/repo --state open
# Create issue
gitee issue create -t "Bug: something broken" -b "Details..." --repo owner/repo
# View issue
gitee issue view 42 --repo owner/repo
# Comment on issue
gitee issue comment 42 -b "Comment text" --repo owner/repo
# Close issue
gitee issue close 42 --repo owner/repoRepositories
# View repo info
gitee repo view --repo owner/repo
# Clone repo
gitee repo clone --repo owner/repo
# Fork repo
gitee repo fork --repo owner/repoGlobal Options
--debug- Enable debug mode--json- JSON output-R, --repo=<repo>- Specify repository (format: OWNER/REPO)-h, --help- Help-V, --version- Version
JSON Output
Most commands support JSON output:
gitee issue list --repo owner/repo --json
gitee pr list --repo owner/repo --jsonNotes
- Always specify
--repo owner/repowhen not in a git directory - Use
--jsonfor structured output parsing - Token can also be set via
gitee config set token <token>