chinese-git-workflow
国内 Git 平台配置参考——Gitee、Coding.net、极狐 GitLab、CNB 的 SSH/HTTPS/凭据/CI 接入差异与镜像同步配置。仅在用户显式 /chinese-git-workflow 时调用,不要根据上下文自动触发。
npx skills add jnMetaCode/superpowers-zh --skill chinese-git-workflow --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 国内 Git 工作流规范 ## 概述 国内团队用 Git 经常踩的坑:GitHub 访问不稳定、CI/CD 方案照搬国外水土不服、commit message 中英混杂没有规范。本技能提供一套**完整适配国内平台和团队习惯的 Git 工作流**。 **核心原则:** 工作流服务于团队效率,不是为了流程而流程。选适合团队规模的,别硬套大厂方案。 ## 国内 Git 平台适配 ### 平台对比 | 特性 | Gitee | Coding.net | 极狐 GitLab | CNB | GitHub | |------|-------|------------|-------------|-----|--------| | 国内访问 | 快 | 快 | 快 | 快 | 不稳定 | | 免费私有仓库 | 有 | 有 | 有 | 有 | 有 | | CI/CD | Gitee Go | Coding CI | 内置 GitLab CI | 内置(.cnb.yml) | GitHub Actions | | 代码审查 | PR | MR | MR | MR | PR | | 制品库 | 有限 | 完整 | 完整 | 完整 | Packages | | 适合场景 | 开源/小团队 | 中大型团队 | 企业私有化 | 云原生 / Docker 流水线 | 国际项目 | ### Gitee 特有配置 ```bash # 设置 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 特有配置 ```bash # Coding 的仓库地址格式 git remote add origin https://e.coding.net/<team>/<project>/<repo>.git # Coding 支持的 SSH 地址 git remote add origin git@e.coding.net:<team>/<project>/<
- 概述
- 国内 Git 平台适配
- 平台对比
- Gitee 特有配置
- Coding.net 特有配置
- 极狐 GitLab 特有配置
- CNB(Cloud Native Build)特有配置
- 工作流选择
- 方案一:主干开发(Trunk-Based Development)
- 方案二:Git Flow(经典分支模型)
- 方案三:国内团队常用简化流程
- 分支命名规范
- 国内团队常用命名
- 命名规则
git remote add origin https://gitee.com/<org>/<repo>.git Gitee 的 SSH 配置 Host gitee.com HostName gitee.com User git IdentityFile ~/.ssh/gitee_rsa PreferredAuthentications publickey 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 的仓库地址格式
What does the chinese-git-workflow skill do?
国内 Git 平台配置参考——Gitee、Coding.net、极狐 GitLab、CNB 的 SSH/HTTPS/凭据/CI 接入差异与镜像同步配置。仅在用户显式 /chinese-git-workflow 时调用,不要根据上下文自动触发。
How do I install it?
Run `npx skills add jnMetaCode/superpowers-zh --skill chinese-git-workflow --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From jnMetaCode/superpowers-zh, a repository with 7,457 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
