Agent skill

Gitcode Merge Flow

by ascend-ai-coding in ascend-ai-coding/awesome-ascend-skills

Automates GitCode open-source repo merge workflow: commit → push → issue → PR → pipeline → review → /lgtm & /approve → merge.

No licenceAuto-check passedDevelopment

Install Gitcode Merge Flow

skills CLI
$ npx skills add ascend-ai-coding/awesome-ascend-skills --skill gitcode-merge-flow -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ascend-ai-coding/awesome-ascend-skills gitcode-merge-flow --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ascend-ai-coding/awesome-ascend-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/agent-tools/gitcode-merge-flow .claude/skills/gitcode-merge-flow && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
gitcode-merge-flow
GitHub stars
174
Token cost
~1.4k tokens
SKILL.md length
432 words
Files
12 (incl. scripts, references)
Skills in repo
69
Repo updated
First seen
Licence
None found

At a glance

Automates GitCode open-source repo merge workflow: commit → push → issue → PR → pipeline → review → /lgtm & /approve → merge.

  • Works in 4 steps: GITCODE_ACCESS_TOKEN: GitCode API… → 个人仓: 用户 fork 的个人仓库(格式:owner/repo,如… → 开源仓: 上游开源仓库(格式:owner/repo,如 lyzin/111) → …
  • Wants to submit code to a GitCode open-source repository
  • SKILL.md covers 配置要求, 完整流程, 执行步骤 and 挂起与恢复机制, plus 2 more sections
  • Runs Python scripts from its folder; calls git and pip; reaches gitcode.com and api.gitcode.com; needs GITCODE_ACCESS_TOKEN

What it does

Gitcode Merge Flow is an agent skill from ascend-ai-coding/awesome-ascend-skills. Automates GitCode open-source repo merge workflow: commit → push → issue → PR → pipeline → review → /lgtm & /approve → merge. Invoke when user wants to submit code to a GitCode open-source repository.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 13 other files, including scripts and reference files (for example `references/api.md`, `references/issue-templates.md` and `references/pr-template.md`).

It sits in Development. It works with Git. The repository describes itself as: A comprehensive knowledge base for Huawei Ascend NPU development, structured as distributed Agent Skills. https://ascend-ai-coding.github.io/awesome-ascend-skills/.

When your agent uses it

  • Wants to submit code to a GitCode open-source repository

Example prompts

  • “Use the gitcode-merge-flow skill to automate GitCode open-source repo merge workflow: commit → push → issue → PR → pipeline → review → /lgtm &…”
  • “/gitcode-merge-flow”

Requirements

  • Python 3
  • A credential in GITCODE_ACCESS_TOKEN

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. GITCODE_ACCESS_TOKEN: GitCode API 访问令牌,从项目根目录的 token 文件读取,或由用户提供
  2. 个人仓: 用户 fork 的个人仓库(格式:owner/repo,如 skywang2/skill-test)
  3. 开源仓: 上游开源仓库(格式:owner/repo,如 lyzin/111)
  4. GITCODE_API_BASE: API 基础地址,默认 https://api.gitcode.com/api/v5

What it can do on your machine

Read from SKILL.md and the folder at commit 62a4ecb. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 8 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • git
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • gitcode.com
    • api.gitcode.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • GITCODE_ACCESS_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Gitcode Merge Flow loads about 1.4k tokens when it runs, and up to ~2.9k if it reads all its reference files. Until then it costs about 55 tokens; SKILL.md has 432 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~55
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 432 words (~1,408 tokens).

name
gitcode-merge-flow

Read the full SKILL.md on GitHub

Files

SKILL.md and 11 other files (scripts, references) in skills/agent-tools/gitcode-merge-flow of ascend-ai-coding/awesome-ascend-skills.

  • SKILL.md
  • references/api.md
  • references/issue-templates.md
  • references/pr-template.md
  • scripts/check_pipeline_status.py
  • scripts/create_issue.py
  • scripts/create_pr.py
  • scripts/get_pr_comments.py
  • scripts/get_pr_details.py
  • scripts/link_pr_issue.py
  • scripts/merge_pr.py
  • scripts/usage.md

Open the folder on GitHubat commit 62a4ecb

Compare with similar skills

Gitcode Merge Flow next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Gitcode Merge Flow compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Gitcode Merge Flow this skillascend-ai-coding/awesome-ascend-skills174—~1.4kAutomated safety check: PassNone
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT
Codebase Knowledge Graph Q&AEgonex-AI/Understand-Anything85k1 repos~1.2kAutomated safety check: PassMIT
Code Design Rationale Investigatorcursor/plugins10k9 repos~2.6kAutomated safety check: PassNone
Understand Diff AnalysisEgonex-AI/Understand-Anything85k1 repos~1.4kAutomated safety check: PassMIT

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Codebase Knowledge Graph Q&A

    Egonex-AI/Understand-Anything

    Answers questions about a codebase by searching a prebuilt knowledge graph of its files, functions, classes and dependencies, not by rereading every source file.

    85k GitHub starsUsed in 1 repo~1.2k tokens
    DevelopmentAuto-check passed
  • Official

    Digs into why code is shaped the way it is by checking git history, pull requests and connected tools in parallel, then reporting a cited read on the tradeoffs.

    10k GitHub starsUsed in 9 repos~2.6k tokens
    DevelopmentAuto-check passed
  • Understand Diff Analysis

    Egonex-AI/Understand-Anything

    Reads your git changes or a pull request against a prebuilt knowledge graph of the project to explain what changed, which components are affected and what is risky.

    85k GitHub starsUsed in 1 repo~1.4k tokens
    DevelopmentAuto-check passed
  • Understand Explain

    Egonex-AI/Understand-Anything

    Gives an in-depth explanation of one file, function or module by reading the project's knowledge graph and checking that the graph is still fresh.

    85k GitHub starsUsed in 1 repo~1.3k tokens
    DevelopmentAuto-check passed

More from ascend-ai-coding/awesome-ascend-skills

All 69 skills in this repo
  • Ascend Dmi

    ascend-ai-coding/awesome-ascend-skills

    当用户需要对华为昇腾 NPU 进行硬件层面的管理、测试或诊断时使用此 skill。典型场景: - 查看 NPU 卡的状态、温度、利用率 - 测试内存带宽(h2d/d2h/d2d/p2p) - 跑算力/功耗基准测试(TFLOPS、TOPS) - 诊断 NPU 硬件故障或做健康检查 - 对 NPU 卡做压力测试(aicore、内存) - 复位/恢复卡住或异常的 NPU 卡 典型用户问题(即使不提…

    174 GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Ascendc

    ascend-ai-coding/awesome-ascend-skills

    End-to-end AscendC custom operator development for Ascend NPU in an ascend-kernel (csrc/ops + build.sh + torchnpu PyTorch custom op) project.

    174 GitHub stars~3.5k tokensUpdated today
    Auto-check passed
  • Atc Model Converter

    ascend-ai-coding/awesome-ascend-skills

    Complete toolkit for Huawei Ascend NPU model conversion and end-to-end inference adaptation.

    174 GitHub stars~4.6k tokensUpdated today
    Auto-check passed
  • External Cannbot Ops Pypto Op Develop

    ascend-ai-coding/awesome-ascend-skills

    当需要编写 PyPTO 算子实现时使用此 skill。基于需求规格、设计方案和参考实现,生成完整可运行的 PyPTO 算子实现与配套测试、文档。Triggers: 实现算子、写 kernel、编写实现、写 impl、算子编码、开始编码、code the op、写 test、生成测试、写实现代码、op develop、kernel 实现。

    174 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • External Gitcode Ascend Megatron Change Analyzer

    ascend-ai-coding/awesome-ascend-skills

    Analyze official Megatron-LM commits, PRs, and branch change sets to identify feature evolution, candidate breaking changes, and migration-relevant events.

    174 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • External Gitcode Ascend Megatron Commit Tracker

    ascend-ai-coding/awesome-ascend-skills

    Track and normalize change requests against the official Megatron-LM repository by branch, PR, commit, commit range, or time window.

    174 GitHub stars~1.1k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Gitcode Merge Flow

What does Gitcode Merge Flow do?

Automates GitCode open-source repo merge workflow: commit → push → issue → PR → pipeline → review → /lgtm & /approve → merge. Gitcode Merge Flow is an agent skill from ascend-ai-coding/awesome-ascend-skills. Automates GitCode open-source repo merge workflow: commit → push → issue → PR → pipeline → review → /lgtm & /approve → merge.

When should I use Gitcode Merge Flow?

Gitcode Merge Flow fits situations like: wants to submit code to a GitCode open-source repository.

How do I install Gitcode Merge Flow in Claude Code?

Run `npx skills add ascend-ai-coding/awesome-ascend-skills --skill gitcode-merge-flow -a claude-code`. Or copy the skill folder (skills/agent-tools/gitcode-merge-flow in ascend-ai-coding/awesome-ascend-skills) into .claude/skills/gitcode-merge-flow in your project. Claude Code loads it when a task matches its description.

How do I install Gitcode Merge Flow in Codex?

Run `npx skills add ascend-ai-coding/awesome-ascend-skills --skill gitcode-merge-flow -a codex`. Or copy the skill folder (skills/agent-tools/gitcode-merge-flow in ascend-ai-coding/awesome-ascend-skills) into .agents/skills/gitcode-merge-flow in your project. Codex loads it when a task matches its description.

Can I use Gitcode Merge Flow in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ascend-ai-coding/awesome-ascend-skills --skill gitcode-merge-flow -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gitcode-merge-flow, .gemini/skills/gitcode-merge-flow, .github/skills/gitcode-merge-flow and .opencode/skills/gitcode-merge-flow in your project.

What does Gitcode Merge Flow need to run?

Going by SKILL.md and its folder, Gitcode Merge Flow needs Python for the scripts in its folder, the command-line tools its instructions call (git and pip) and credentials named GITCODE_ACCESS_TOKEN. Our summary lists: Python 3; A credential in GITCODE_ACCESS_TOKEN.

Does Gitcode Merge Flow access the network?

SKILL.md names 2 domains. In commands or code: gitcode.com and api.gitcode.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Gitcode Merge Flow safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Gitcode Merge Flow use?

No licence was found for Gitcode Merge Flow or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Gitcode Merge Flow use?

About 1.4k tokens (SKILL.md is roughly 5.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.5k tokens, read only when the agent opens those files.

What are the alternatives to Gitcode Merge Flow?

Skills that share tags, products or a category with Gitcode Merge Flow: Finishing a Development Branch (obra/superpowers, 296k stars), Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), Codebase Knowledge Graph Q&A (Egonex-AI/Understand-Anything, 85k stars) and Code Design Rationale Investigator (cursor/plugins, 10k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Gitcode Merge Flow?

ascend-ai-coding (a GitHub organization) maintains it in ascend-ai-coding/awesome-ascend-skills, which has 174 GitHub stars. The repository holds 69 skills in this directory. The repository was last updated on October 7, 2026.

Source: ascend-ai-coding/awesome-ascend-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.