chinese-git-workflow
Skill18 starsChanged 7 months agoMITView on GitHub
Configure Git for domestic platforms and manage branching strategies suitable for Chinese teams. Use when the user asks to configure remotes, set up SSH, or manage Git workflows for Gitee, Coding, Jihu GitLab, or CNB, including requests like "配置国内 Git", "设置 Gitee 远程仓库", "推荐适合小团队的 Git 流程".
3 other projects use a version of this.
Adopted by
Most recently taken up by
- jnMetaCode/superpowers-zhtheir own version, first seen Sep 26, 2026
- rzx007/Vykortheir own version, first seen Sep 23, 2026
- shibit-net/xuanji-communitytheir own version, first seen Jun 2, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- jnMetaCode/superpowers-zh★ 8.3ksame name
- shibit-net/xuanji-community★ 93same name
- rzx007/Vykor★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository37 other files it gives its agents.
- a11y-debuggingSkill
- agent-blueprint-architectSkill
- brainstormingSkill
- chart-visualizationSkill
- chinese-copywritingSkill
- chrome-devtoolsSkill
- creating-trae-rulesSkill
- debug-optimize-lcpSkill
- discovering-subagent-capabilitiesSkill
- dispatching-parallel-agentsSkill
- everything-searchSkill
- executing-plansSkill
- find-docsSkill
- finishing-a-development-branchSkill
- frontend-designSkill
- gh-cliSkill
- git-commitSkill
- image-manipulation-python-magickSkill
- memory-kernelSkill
- memory-leak-debuggingSkill
- mineru-to-mdSkill
- model-config-lookupSkill
- receiving-code-reviewSkill
- requesting-code-reviewSkill
- self-improvementSkill
- skill-creatorSkill
- skill-language-policySkill
- skill-stability-reviewSkill
- subagent-driven-developmentSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- troubleshootingSkill
- using-git-worktreesSkill
- verification-before-completionSkill
- visual-brainstormingSkill
- workflow-runnerSkill
- writing-plansSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 10 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
When configuring remotes for Gitee, Coding.net, Jihu GitLab, or CNB.
- Distinctive: line 11
When setting up SSH keys for these platforms.
- Distinctive: line 12
When configuring mirror synchronization (e.g., push to both Gitee and GitHub).
- Distinctive: line 13
When a user asks for a recommended Git branching strategy suitable for their team size in China.
- Distinctive: line 17
When the user is only asking for general Git commands (e.g., git add, git commit) unrelated to platform configuration or branching strategy.
- Distinctive: line 18
When the user is exclusively using GitHub without needing domestic mirrors.
- Distinctive: line 54
When the user asks for configuration:
- Distinctive: line 58
When the user asks for workflow advice:
- Distinctive: line 59
Ask clarifying questions about team size and release frequency if not provided.
- Distinctive: line 63
If the requested platform is unknown, default to standard Git configuration but ask the user for the platform's specific URL format.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Chinese Git Workflow
Use This Skill
- When configuring remotes for Gitee, Coding.net, Jihu GitLab, or CNB.
- When setting up SSH keys for these platforms.
- When configuring mirror synchronization (e.g., push to both Gitee and GitHub).
- When a user asks for a recommended Git branching strategy suitable for their team size in China.
Do Not Use
- When the user is only asking for general Git commands (e.g.,
git add,git commit) unrelated to platform configuration or branching strategy. - When the user is exclusively using GitHub without needing domestic mirrors.
Platform Configurations
1. Gitee
- HTTPS:
https://gitee.com/<org>/<repo>.git - SSH:
git@gitee.com:<org>/<repo>.git - Mirror Sync (Push to both):
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
2. Coding.net
- HTTPS:
https://e.coding.net/<team>/<project>/<repo>.git - SSH:
git@e.coding.net:<team>/<project>/<repo>.git
3. Jihu GitLab / Private GitLab
- Common Format:
https://jihulab.com/<group>/<repo>.git - Internal Deployment:
https://gitlab.yourcompany.com/<group>/<repo>.git
4. CNB (Cloud Native Build)
- HTTPS (Only):
https://cnb.cool/<org>/<repo>.git - Authentication: Username is
cnb, password is a Personal Access Token.git config credential.helper store
Recommended Branching Workflows
When advising teams:
- Trunk-Based Development (主干开发): Recommended for small, fast-iterating teams (2-8 people) with solid automated testing. Uses short-lived feature branches merged into
main. - Simplified GitHub/GitLab Flow: Recommended for most standard projects. Use
mainas the stable release branch, createfeat/*orfix/*branches, and merge via PR/MR. Avoid over-complicated GitFlow unless explicitly required by enterprise compliance.
Output Contract
When the user asks for configuration:
- Provide the exact commands needed to set up the requested platform.
- Explain any platform-specific authentication details (like CNB's HTTPS-only requirement).
When the user asks for workflow advice:
- Ask clarifying questions about team size and release frequency if not provided.
- Recommend a specific branching strategy and explain why it fits.
Failure Handling
- If the requested platform is unknown, default to standard Git configuration but ask the user for the platform's specific URL format.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

