TraeSkill: Skill for Claude Code

.trae/Skills/05_DevOps_GiteeWorkflow/SKILL.md

Gitee Workflow Automation is a skill for Claude Code, Codex from boshi-xixixi/TraeSkill. It costs 70 tokens per session (920 once invoked), scanned B, original, MIT.

An automation guide for Gitee, a code-hosting platform similar to GitHub. It covers issues, pull requests, code reviews, repository searches, and releases through Gitee integrations.

In plain words
What is it for?
Use it to create and manage issues, submit and update pull requests, summarise reviews, search repositories, and manage releases on Gitee.
Why use it?
It reduces manual work in common Gitee collaboration tasks and checks account access before making changes. It can also help avoid duplicate issues and prepare pull requests from existing commits.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is boshi-xixixi/TraeSkill's own configuration. It tells Claude Code and Codex how to work on TraeSkill itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything TraeSkill configures →

Reuse

Borrowing it

Nothing to install: this file belongs to boshi-xixixi/TraeSkill. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/boshi-xixixi/TraeSkill/main/.trae/Skills/05_DevOps_GiteeWorkflow/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/boshi-xixixi/TraeSkill

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Gitee Workflow Automation

README.md
[![agentmods](https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/05_devops_giteeworkflow/github.svg)](https://agentmods.dev/skills/boshi-xixixi/traeskill/05_devops_giteeworkflow)
Your own site
<a href="https://agentmods.dev/skills/boshi-xixixi/traeskill/05_devops_giteeworkflow"><img src="https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/05_devops_giteeworkflow/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Gitee Workflow Automation

Your own site · 80×15
<a href="https://agentmods.dev/skills/boshi-xixixi/traeskill/05_devops_giteeworkflow"><img src="https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/05_devops_giteeworkflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 920 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00070 $0.00920
Opus 5.5 $0.00028 $0.00368
Sonnet 5.5 $0.00014 $0.00184
Haiku 4.5 $0.00007 $0.00092

Measured 8d ago against content hash 2e0cfe0c9a93, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

Gitee Workflow Automation scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads MCP configurationmediumAgent snooping

mcp.json carries server URLs and auth tokens; reading it lets a mod discover and abuse other integrations.

* *失败*: 停止并提示用户:“未检测到 Gitee MCP 服务。请检查您的 `mcp.json` 配置,确保 `gitee` 服务已启用且 Token 正确。”
.trae/Skills/05_DevOps_GiteeWorkflow/SKILL.md · 66 lines

What it actually says

Gitee Workflow Automation

Description: 深度集成 Gitee MCP,实现 Issue 管理、PR 自动化提交、代码审查和版本发布的全流程自动化。

Details:

Gitee Workflow Automation 指南

角色设定

你是一个 Gitee 平台专家和 DevOps 工程师。你的目标是利用 mcp-gitee 工具集,帮助用户自动化完成日常的代码协作任务,减少手动操作。

前置检查 (Pre-flight Check)

在执行任何操作前,必须先验证环境:

  1. 检查工具可用性: 尝试调用 mcp_gitee_get_user_info。
    • 成功: 继续执行。
    • 失败: 停止并提示用户:“未检测到 Gitee MCP 服务。请检查您的 mcp.json 配置,确保 gitee 服务已启用且 Token 正确。”
  2. 澄清需求: 如果用户指令模糊(如“提个 Issue”但未提供内容),优先使用 mcp-feedback-enhanced (e.g., ask_followup_question) 询问细节。

核心能力与工作流

1. 智能 Issue 管理

User: "帮我给这个项目提个 Bug,标题是X,内容是Y。" Workflow:

  1. Check: 调用 mcp_gitee_get_user_info 确认身份。
  2. Search: 调用 mcp_gitee_search_files_by_content 或 mcp_gitee_list_repo_issues 确认是否重复。
  3. Create: 调用 mcp_gitee_create_issue。
  4. Report: 返回 Issue 链接给用户。

2. 自动化 PR (Pull Request)

User: "把当前修改提交并创建一个 PR。" Workflow:

  1. Git Push (本地操作): 指导用户或使用 RunCommand 推送代码到新分支。
  2. Create PR: 调用 mcp_gitee_create_pull。
    • 自动填充: 根据 git commit log 自动生成 PR 的 Title 和 Body。
  3. Assign: 调用 mcp_gitee_update_pull 自动指派给相关负责人(如果知道的话)。

3. 代码审查辅助

User: "列出最近的 PR 并帮我总结一下。" Workflow:

  1. List: 调用 mcp_gitee_list_repo_pulls 获取列表。
  2. Detail: 针对每个 PR,调用 mcp_gitee_get_pull_detail 和 mcp_gitee_get_diff_files。
  3. Analyze: 总结变更点,判断风险。

常用工具映射 (Tool Mapping)

用户意图 对应 MCP 工具
"谁在登录?" mcp_gitee_get_user_info
"列出 Issue" mcp_gitee_list_repo_issues
"创建 Issue" mcp_gitee_create_issue
"创建 PR" mcp_gitee_create_pull
"合并 PR" mcp_gitee_merge_pull
"看代码" mcp_gitee_get_file_content

示例

User: "帮我创建一个 Gitee 仓库 my-new-project。" Skill:

  1. 检查 MCP 状态。
  2. 调用 mcp_gitee_create_user_repo(name='my-new-project', private=true, auto_init=true)。
  3. 返回:"仓库已创建:https://gitee.com/username/my-new-project"
Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 66 lines · 70 tokens per session scan B 2e0cfe0c9a93

Subscribe to this mod's changes

Gitee Workflow Automation is a skill published in the GitHub repository boshi-xixixi/TraeSkill (288 stars, last pushed 9d ago), licensed MIT. It adds 70 tokens to every session and 920 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads mcp configuration). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-22.

Related

Gitee Workflow Automation compared with skills from other repositories

Gitee Workflow Automation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Gitee Workflow Automationboshi-xixixi/TraeSkillSkill2889d agoMITB70Claude Code, Codex
fix-pr-review-looprichkuo/rk-skillsSkill50todayMITA90Claude Code
pr-reviewrichkuo/rk-skillsSkill50todayMITA40Claude Code
request-reviewsentimony/skillsSkill8todayMITA37Claude Code
azure-reposMicrosoftDocs/Agent-SkillsSkill82421d agoCC-BY-4.0A113Claude Code
pr-workflowandreaswasita/copilot-agents-dojoSkill562mo agoMITA17Claude Code, Codex
address-github-commentsranbot-ai/awesome-skillsSkill15yesterdaynoneA27Claude Code, Codex