Agent skill · Audited from source
Chinese Git Workflow
skill · jnMetaCode/superpowers-zhMIT licenceAudited 7 Oct 2026 · source 61f7309eda3e
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 61f7309eda3e and found no filesystem, network or shell access and no hard-coded secrets. What it does: 国内 Git 平台配置参考——Gitee、Coding.net、极狐 GitLab、CNB 的 SSH/HTTPS/凭据/CI 接入差异与镜像同步配置。仅在用户显式 /chinese-git-workflow 时调用,不要根据上下文自动触发。
Cite
Cite this page
ModelsAtlas. “Chinese Git Workflow (jnMetaCode/superpowers-zh)”. Retrieved 7 Oct 2026. https://modelsatlas.com/skills/jnmetacode/chinese-git-workflow
Trust audit
Audit 0.4.1 · source read 7 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 1 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (1)
LOWInventory / provenanceinv.symlink · AGENTS.md
AGENTS.md
- Why
- link not followed
- Fix
- —
Audit 0.4.1 · source sha 61f7309eda3e · 7 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- PublisherjnMetaCode GitHub userOwner of the repository this skill is read from
- Source folderjnMetaCode/superpowers-zh/skills/chinese-git-workflowThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdict61f7309eda3eA new audit runs when the source changes
- Repository statusNot archivedLast push 2 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: 国内 Git 平台配置参考——Gitee、Coding.net、极狐 GitLab、CNB 的 SSH/HTTPS/凭据/CI 接入差异与镜像同步配置。仅在用户显式 /chinese-git-workflow 时调用,不要根据上下文自动触发。
---
name: chinese-git-workflow
description: 国内 Git 平台配置参考——Gitee、Coding.net、极狐 GitLab、CNB 的 SSH/HTTPS/凭据/CI 接入差异与镜像同步配置。仅在用户显式 /chinese-git-workflow 时调用,不要根据上下文自动触发。
version: "1.0.0"
license: MIT
metadata:
hermes:
tags: [git, chinese]
---
# 国内 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 [email protected]:<team>/<project>/<repo>.git
```
### 极狐 GitLab 特有配置
```bash
# 极狐 GitLab 私有化部署常见地址格式
git remote add origin https://jihulab.com/<group>/<repo>.git
# 或者企业内部部署
git remote add origin https://gitlab.yourcompany.com/<group>/<repo>.git
```
### CNB(Cloud Native Build)特有配置
```bash
# CNB 仓库地址(仅支持 HTTPS,不提供 SSH 协议)
git remote add origin https://cnb.cool/<org>/<repo>.git
# HTTPS 认证:用户名固定为 cnb,密码为个人访问令牌(Access Token)
# 在 CNB 平台 → 个人设置 → 访问令牌 中生成
git config credential.helper store
```
## 工作流选择
### 方案一:主干开发(Trunk-Based Development)
**适合:** 小团队(2-8 人)、迭代速度快、有完善的自动化测试。
```
main ──●──●──●──●──●──●──●──●──●──
\ / \ / \ /
feat/x ●─● ●─● fix/y ●─●
(短命分支,1-2 天内合回)
```
**规则:**
- 主干(main)始终保持可发布状态
- 功能分支生命周期不超过 2 天
- 每天至少合并一次到主干
- 用 Feature Flag 控制未完成功能的可见性
```bash
# 从 main 拉分支
git checkout -b feat/user-login main
# 开发完成后,rebase 到最新 main
git fetch origin
git rebase origin/main
# 提交 PR/MR,合并后删除分支
```
### 方案二:Git Flow(经典分支模型)
**适合:** 中大团队、版本发布节奏固定(如双周迭代)、需要维护多个版本。
```
main ──●────────────────●────────────── 生产环境
\ / \
release ●──●──●──●──● ●──●──●──●── 发布分支
\ /
develop ──●──●──●──●──●──●──●──●──●──●── 开发主线
\ / \ /
feat/x ●─● ●─────● 功能分支
\ /
fix/y ●─● 修复分支
```
**分支说明:**
- `main` — 生产环境代码,只接受 release 和 hotfix 的合并
- `develop` — 开发主线,功能分支从这里拉出,合回这里
- `release/*` — 发布分支,从 develop 拉出,只修 bug 不加功能
- `feat/*` — 功能分支
- `hotfix/*` — 紧急修复,从 main 拉出,同时合回 main 和 develop
### 方案三:国内团队常用简化流程
**适合:** 大多数国内中小团队的实际情况。
```
main ──●──────●──────●──── 生产环境(受保护)
\ / \ /
dev ──●──●─●──●──●─●──── 开发/测试环境
\ / \ /
feat/x ●● ●● 功能分支
```
**规则:**
- `main` 分支受保护,只能通过 PR/MR 合并
- `dev` 分支对应测试环境,自动部署
- 功能分支从 `dev` 拉出,合回 `dev`
- `dev` 测试通过后,合并到 `main` 进行发布
## 分支命名规范
### 国内团队常用命名
```bash
# 功能分支
feat/user-login # 新功能
feat/JIRA-1234-order-refund # 关联任务编号
# 修复分支
fix/payment-callback # Bug 修复
fix/JIRA-5678-null-pointer # 关联 Bug 编号
# 发布分支
release/v2.1.0 # 版本发布
release/2024-03-sprint # 按迭代命名
# 紧急修复
hotfix/v2.0.1 # 线上紧急修复
hotfix/fix-login-crash # 描述性命名
# 个人分支(部分团队使用)
dev/zhangsan/feat-login # 个人开发分支
```
### 命名规则
1. 全部小写,用 `-` 连接单词(不用下划线或驼峰)
2. 前缀明确分支类型:`feat/`、`fix/`、`hotfix/`、`release/`
3. 关联任务管理平台的编号(如有):`feat/TAPD-12345-description`
4. 长度适中,能看出分支目的即可
## 中文 Commit Message 规范
### 约定式提交(Conventional Commits)中文版
```
<类型>(<范围>): <简要描述>
← 空行
<正文(可选)>
← 空行
<脚注(可选)>
```
### 类型清单
| 类型 | 说明 | emoji(可选) |
|------|------|--------------|
| feat | 新增功能 | ✨ |
| fix | 修复 Bug | 🐛 |
| docs | 文档更新 | 📝 |
| style | 代码格式(不影响逻辑) | 💄 |
| refactor | 重构(不是新功能也不是修 Bug) | ♻️ |
| perf | 性能优化 | ⚡ |
| test | 测试相关 | ✅ |
| build | 构建系统或外部依赖 | 📦 |
| ci | CI/CD 配置 | 👷 |
| chore | 其他杂项 | 🔧 |
| revert | 回滚 | ⏪ |
### 好的 commit message
```
feat(购物车): 支持批量删除商品
- 新增全选/反选功能
- 删除操作增加二次确认弹窗
- 批量删除接口使用 POST /cart/batch-delete
关联需求:TAPD-12345
```
```
fix(支付): 修复微信支付在 iOS 16 上无法唤起的问题
原因:微信 SDK 8.0.33 版本在 iOS 16 上 Universal Links 校验逻辑变更,
导致 openURL 回调失败。
方案:升级 SDK 至 8.0.38,并更新 Associated Domains 配置。
Closes #567
```
### 不好的 commit message
```
# 太笼统
update code
fix bug
修改了一些东西
# 没有上下文
fix: 修复问题
feat: 新增功能
# 中英混杂无规范
fix:修复了一个bug,因为user login的时候会crash
```
## CI/CD 平台适配
### Gitee Go
```yaml
# .gitee/pipelines/pipeline.yml
name: 构建与测试
displayName: '构建与测试流水线'
triggers:
push:
branches:
include:
- main
- dev
stages:
- name: 测试
jobs:
- name: 单元测试
steps:
- step: npmbuild@1
name: install_and_test
displayName: '安装依赖并执行测试'
inputs:
nodeVersion: 20
commands:
- npm ci
- npm test
```
### Coding CI
```groovy
// Jenkinsfile(Coding CI 支持 Jenkinsfile 语法)
pipeline {
agent any
stages {
stage('安装依赖') {
steps {
sh 'npm ci'
}
}
stage('单元测试') {
steps {
sh 'npm test'
}
}
stage('构建') {
steps {
sh 'npm run build'
}
}
stage('部署到测试环境') {
when {
branch 'dev'
}
steps {
sh './scripts/deploy-staging.sh'
}
}
stage('部署到生产环境') {
Excerpt, first 6,006 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 61f7309
git clone https://github.com/jnMetaCode/superpowers-zh git -C superpowers-zh checkout 61f7309eda3e
The author documents no install command, so this uses the repository directly. Our verdict covers commit 61f7309eda3e only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
61f7309eda3e
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/jnmetacode/chinese-git-workflow/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All coding & review skills →jnMetaCode/superpowers-zh
中文 review 沟通参考——话术模板、分级标注(必须修复/建议修改/仅供参考)、国内团队常见反模式应对。仅在用户显式 /chinese-code-review 时调用,不要根据上下文自动触发。
jnMetaCode/superpowers-zh
中文 commit 与 changelog 配置参考——Conventional Commits 中文适配、commitlint/husky/commitizen 中文模板、conventional-changelog 中文配置。仅在用户显式 /chinese-commit-conventions 时调用,不要根据上下文自动触发。
jnMetaCode/superpowers-zh
中文文档排版参考——中英文空格、全半角标点、术语保留、链接格式、中文文案排版指北约定。仅在用户显式 /chinese-documentation 时调用,不要根据上下文自动触发。
jnMetaCode/superpowers-zh
当面对 2 个以上可以独立进行、无共享状态或顺序依赖的任务时使用
jnMetaCode/superpowers-zh
当你要在当前会话里亲自担任实现者执行一份实现计划时使用——你的人类伙伴选择了内联执行,或者没有可用的子智能体工具
jnMetaCode/superpowers-zh
当实现完成、所有测试通过、需要决定如何集成这份工作时使用
Add this badge to your README
[](https://modelsatlas.com/skills/jnmetacode/chinese-git-workflow/)
<a href="https://modelsatlas.com/skills/jnmetacode/chinese-git-workflow/"><img src="https://modelsatlas.com/skills/jnmetacode/chinese-git-workflow/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Chinese Git Workflow
What does the Chinese Git Workflow skill do?
Is Chinese Git Workflow safe to install?
What can Chinese Git Workflow access on my machine?
How current is this page?
Sources
- github.com/jnMetaCode/superpowers-zh/tree/main/skills/chinese-gi — the audited source at commit 61f7309eda3e and every finding aboveObserved · 7 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Chinese Git Workflow skill do?
- Is Chinese Git Workflow safe to install?
- What can Chinese Git Workflow access on my machine?