jnmetacode avatar

Chinese Git Workflow

If you're working with Chinese Git platforms like Gitee, Coding.net, or JihuLab instead of GitHub, this walks you through the specific SSH configs, credential setup, and CI/CD differences that actually matter. It includes platform comparison tables, mirror sync commands for pushing to multiple remotes, and proper Chinese commit message conventions based on Conventional Commits. The CI examples are practical, covering Gitee Go's YAML format, Coding's Jenkinsfile syntax, GitLab CI, and CNB's branch-first Docker pipeline structure. It also lays out three workflow models (trunk-based, Git Flow, and a simplified dev/main pattern common in Chinese teams) so you can pick what fits your team size. Only triggers when you explicitly call it with /chinese-git-workflow.

skills.sh installs
979
GitHub stars
8.5K
last updated
Aug 21, 2026

Install

$ npx -y skills add jnmetacode/superpowers-zh --skill chinese-git-workflow --agent claude-code

Installs into .claude/skills of the current project.

Files

国内 Git 工作流规范

概述

国内团队用 Git 经常踩的坑:GitHub 访问不稳定、CI/CD 方案照搬国外水土不服、commit message 中英混杂没有规范。本技能提供一套完整适配国内平台和团队习惯的 Git 工作流。

核心原则: 工作流服务于团队效率,不是为了流程而流程。选适合团队规模的,别硬套大厂方案。

国内 Git 平台适配

平台对比

特性GiteeCoding.net极狐 GitLabCNBGitHub
国内访问快快快快不稳定
免费私有仓库有有有有有
CI/CDGitee GoCoding CI内置 GitLab CI内置(.cnb.yml)GitHub Actions
代码审查PRMRMRMRPR
制品库有限完整完整完整Packages
适合场景开源/小团队中大型团队企业私有化云原生 / Docker 流水线国际项目

Gitee 特有配置

# 设置 Gitee 远程仓库
git remote add origin https://gitee.com/<org>/<repo>.git

# Gitee 的 SSH 配置
# ~/.ssh/config
Host gitee.com
    HostName gitee.com
    User git
    IdentityFile ~/.ssh/gitee_rsa
    PreferredAuthentications publickey

# 同时推送到 Gitee 和 GitHub(镜像同步)
git remote set-url --add --push origin https://gitee.com/<org>/<repo>.git
git remote set-url --add --push origin https://github.com/<org>/<repo>.git

Coding.net 特有配置

# Coding 的仓库地址格式
git remote add origin https://e.coding.net/<team>/<project>/<repo>.git

Sponsors

Details

Repository
github.com/jnmetacode/superpowers-zh
Categories
DevOps & CI/CD, Git & Pull Requests, Automation & Workflows
First seen
Jun 3, 2026

More from jnmetacode/superpowers-zh

All 20
1samuraigpt avatarmuapi-workflowsamuraigpt/generative-media-skillsBuild, run, and visualize multi-step AI generation workflows. The AI architect translates natural language descriptions into connected node graphs — chain image955skills.sh installs
2harbor-framework avatarcreate-taskharbor-framework/harborCreate a new Harbor task for evaluating agents. Use when the user wants to scaffold, build, or design a new task, benchmark problem, or eval. Guides through ins920skills.sh installs
3pulumi avatarpulumi-cdk-to-pulumipulumi/agent-skillsLoad this skill when a user wants to migrate, convert, port, translate, or move an AWS CDK application (including CDK stacks, constructs, or CloudFormation-synt912skills.sh installs
4pluginagentmarketplace avatarexpress-rest-apipluginagentmarketplace/custom-plugin-nodejsBuild production-ready RESTful APIs with Express.js including routing, middleware, validation, and error handling for scalable backend services902skills.sh installs
5buildgreatproducts avatarplaidbuildgreatproducts/plaidProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea a873skills.sh installs
6pulumi avatarpackage-usagepulumi/agent-skillsTrack which stacks across a Pulumi organization use a specific package and at what versions. Use for cross-stack audits, identifying outdated or unmaintained pa860skills.sh installs