Support both Trae China and International versions

- Output skills to both .trae-cn/ and .trae/ directories
- Update README with installation instructions for both versions
- Update DEVELOP.md with dual-variant documentation
This commit is contained in:
shog86
2026-03-19 11:32:09 +08:00
parent a093f8e830
commit 3f05d8b6a7
4 changed files with 67 additions and 40 deletions
+4 -2
View File
@@ -151,7 +151,8 @@ function assembleUniversal(distDir, suffix = '') {
{ provider: 'kiro', configDir: '.kiro' },
{ provider: 'opencode', configDir: '.opencode' },
{ provider: 'pi', configDir: '.pi' },
{ provider: 'trae', configDir: '.trae-cn' }
{ provider: 'trae', configDir: '.trae-cn' },
{ provider: 'trae', configDir: '.trae' }
];
for (const { provider, configDir } of providerMappings) {
@@ -179,7 +180,8 @@ This folder contains skills for all supported tools:
.kiro/ → Kiro
.opencode/ → OpenCode
.pi/ → Pi
.trae-cn/ → Trae
.trae-cn/ → Trae China
.trae/ → Trae International
To install, copy the relevant folder(s) into your project root.
These are hidden folders (dotfiles) — press Cmd+Shift+. in Finder to see them.