Tooluck logoTooluck
SKILL.md

chinese-git-workflow

Agent skill fromjnMetaCode/superpowers-zh

国内 Git 平台配置参考——Gitee、Coding.net、极狐 GitLab、CNB 的 SSH/HTTPS/凭据/CI 接入差异与镜像同步配置。仅在用户显式 /chinese-git-workflow 时调用,不要根据上下文自动触发。

How to install chinese-git-workflow

install chinese-git-workflow
# install the superpowers-zh pack with the skills CLI
npx skills add jnMetaCode/superpowers-zh

# or add only this skill to Claude Code: copy the folder

skills/chinese-git-workflow/

# into

~/.claude/skills/chinese-git-workflow/ (all projects)

.claude/skills/chinese-git-workflow/ (one project)

skills/chinese-git-workflow/SKILL.md

MITFull file
1# 国内 Git 工作流规范
2
3## 概述
4
5国内团队用 Git 经常踩的坑:GitHub 访问不稳定、CI/CD 方案照搬国外水土不服、commit message 中英混杂没有规范。本技能提供一套**完整适配国内平台和团队习惯的 Git 工作流**。
6
7**核心原则:** 工作流服务于团队效率,不是为了流程而流程。选适合团队规模的,别硬套大厂方案。
8
9## 国内 Git 平台适配
10
11### 平台对比
12
13| 特性 | Gitee | Coding.net | 极狐 GitLab | CNB | GitHub |
14|------|-------|------------|-------------|-----|--------|
15| 国内访问 | 快 | 快 | 快 | 快 | 不稳定 |
16| 免费私有仓库 | 有 | 有 | 有 | 有 | 有 |
17| CI/CD | Gitee Go | Coding CI | 内置 GitLab CI | 内置(.cnb.yml) | GitHub Actions |
18| 代码审查 | PR | MR | MR | MR | PR |
19| 制品库 | 有限 | 完整 | 完整 | 完整 | Packages |
20| 适合场景 | 开源/小团队 | 中大型团队 | 企业私有化 | 云原生 / Docker 流水线 | 国际项目 |
21
22### Gitee 特有配置
23
24```bash
25# 设置 Gitee 远程仓库
26git remote add origin https://gitee.com/<org>/<repo>.git
27
28# Gitee 的 SSH 配置
29# ~/.ssh/config
30Host gitee.com
31 HostName gitee.com
32 User git
33 IdentityFile ~/.ssh/gitee_rsa
34 PreferredAuthentications publickey
35
36# 同时推送到 Gitee 和 GitHub(镜像同步)
37git remote set-url --add --push origin https://gitee.com/<org>/<repo>.git
38git remote set-url --add --push origin https://github.com/<org>/<repo>.git
39```
40
41### Coding.net 特有配置
42
43```bash
44# Coding 的仓库地址格式
45git remote add origin https://e.coding.net/<team>/<project>/<repo>.git
46
47# Coding 支持的 SSH 地址
48git remote add origin git@e.coding.net:<team>/<project>/<repo>.git
49```
50
51### 极狐 GitLab 特有配置
52
53```bash
54# 极狐 GitLab 私有化部署常见地址格式
55git remote add origin https://jihulab.com/<group>/<repo>.git
56
57# 或者企业内部部署
58git remote add origin https://gitlab.yourcompany.com/<group>/<repo>.git
59```
60
61### CNB(Cloud Native Build)特有配置
62
63```bash
64…

Excerpt shown under the repository's MIT license.

More skills in superpowers-zh

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates