Skip to content

Commit 2aeae2a

Browse files
committed
feat: 新增华为云码道 CodeArts 支持(skills-only,关 #20
华为云 CodeArts Doer 的 skills 目录为 .codeartsdoer/skills/(用户在 #20 确认)。 本次做 skills-only 适配:检测 .codeartsdoer/ 或 --tool codearts 安装, 靠 CodeArts 自身 skill 发现加载。其 bootstrap/指令文件约定未证实, 故不生成 bootstrap(docs 已说明,若不自动触发可手动点名 skill)。 - bin: TARGET(.codeartsdoer/skills,检测 .codeartsdoer)+ 别名 (codearts/codeartsdoer/huawei) - 工具数 19 → 20:README/站点/package/FAQ/stats 同步 - docs/README.codearts.md(含自动触发的诚实说明 + 求证请求) - audit TOOLS 加 codearts 测试:audit 124 PASS/0 FAIL(含 codearts 装/幂等/卸载)、全局套件 50/50 回归、站点重建工具数 20。
1 parent cd651cd commit 2aeae2a

6 files changed

Lines changed: 80 additions & 20 deletions

File tree

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
🌐 **简体中文** | [English (upstream)](https://github.com/obra/superpowers)
44

5-
> 🦸 **superpowers(250k+ ⭐)完整汉化 + 4 个中国原创 skills** — 让 Claude Code / Copilot CLI / Hermes Agent / Cursor / Windsurf / Kiro / Gemini CLI / Qoder 等 **19 款 AI 编程工具**真正会干活。从头脑风暴到代码审查,从 TDD 到调试,每个 skill 都是经过实战验证的工作方法论。
5+
> 🦸 **superpowers(250k+ ⭐)完整汉化 + 4 个中国原创 skills** — 让 Claude Code / Copilot CLI / Hermes Agent / Cursor / Windsurf / Kiro / Gemini CLI / Qoder 等 **20 款 AI 编程工具**真正会干活。从头脑风暴到代码审查,从 TDD 到调试,每个 skill 都是经过实战验证的工作方法论。
66
7-
Chinese community edition of [superpowers](https://github.com/obra/superpowers) — 20 skills across 19 AI coding tools, including full translations and China-specific development skills.
7+
Chinese community edition of [superpowers](https://github.com/obra/superpowers) — 20 skills across 20 AI coding tools, including full translations and China-specific development skills.
88

99
[![官网 sp.aiolaola.com](https://img.shields.io/badge/🌐_官网-sp.aiolaola.com-F59E0B)](https://sp.aiolaola.com)
1010
[![GitHub stars](https://img.shields.io/github/stars/jnMetaCode/superpowers-zh?style=social)](https://github.com/jnMetaCode/superpowers-zh)
@@ -64,7 +64,7 @@ AI:在开始实现之前,我需要了解几个关键问题:
6464
| ⭐ Star 数 | 250k+ ||
6565
| 📦 Skills 总数 | 14 | **20**(14 翻译 + 4 国产原创 + 2 上游历史保留) |
6666
| 🌐 语言 | 英文 | 中文(技术术语保留英文) |
67-
| 🤖 **支持工具** | **6 款**:Claude Code / Cursor / Codex / OpenCode / Copilot CLI / Gemini CLI | **19**:上述 6 款 + Hermes Agent / Trae / Kiro / Qwen Code(通义灵码)/ OpenClaw / Claw Code / Antigravity / DeerFlow / VS Code / Windsurf / Aider / Qoder / CodeBuddy(腾讯) |
67+
| 🤖 **支持工具** | **6 款**:Claude Code / Cursor / Codex / OpenCode / Copilot CLI / Gemini CLI | **20**:上述 6 款 + Hermes Agent / Trae / Kiro / Qwen Code(通义灵码)/ OpenClaw / Claw Code / Antigravity / DeerFlow / VS Code / Windsurf / Aider / Qoder / CodeBuddy(腾讯) / CodeArts(华为云码道|
6868
|**安装方式** | 按工具分别装(每款一条不同的 plugin marketplace 命令) | **`npx superpowers-zh` 一条命令自动识别项目里的工具并安装**;识别不出可 `--tool <name>` 显式指定 |
6969
| 🇨🇳 Git 平台 | GitHub 为主 | GitHub + Gitee + Coding + 极狐 GitLab + **CNB(腾讯云原生构建)** |
7070
| 🇨🇳 CI/CD 示例 | GitHub Actions | GitHub Actions + Gitee Go + Coding CI + 极狐 CI + `.cnb.yml` |
@@ -78,9 +78,9 @@ AI:在开始实现之前,我需要了解几个关键问题:
7878
| 💬 社区 | Discord | 微信公众号「AI不止语」+ 微信群 + QQ 群 |
7979
| 📜 License | MIT | MIT |
8080

81-
**一句话总结:** 英文上游 = 方法论内核;中文增强版 = 方法论内核 **+** 19 款工具一键适配 **+** 国内 Git/CI 生态 **+** 中文化表达习惯。
81+
**一句话总结:** 英文上游 = 方法论内核;中文增强版 = 方法论内核 **+** 20 款工具一键适配 **+** 国内 Git/CI 生态 **+** 中文化表达习惯。
8282

83-
### 🤖 支持 19 款主流 AI 编程工具
83+
### 🤖 支持 20 款主流 AI 编程工具
8484

8585
| 工具 | 类型 | 一键安装 | 手动安装 |
8686
|------|------|:---:|:---:|
@@ -103,6 +103,7 @@ AI:在开始实现之前,我需要了解几个关键问题:
103103
| [Claw Code](https://github.com/ultraworkers/claw-code) | CLI (Rust) | `npx superpowers-zh` | `.claw/skills/` |
104104
| [Qoder](https://qoder.com) (阿里 AI IDE) | IDE | `npx superpowers-zh` | `.qoder/skills/` + `.qoder/rules/` |
105105
| [CodeBuddy](https://copilot.tencent.com) (腾讯 AI IDE) | IDE | `npx superpowers-zh` | `.codebuddy/skills/` + `CODEBUDDY.md` |
106+
| [华为云码道 CodeArts](https://www.huaweicloud.com/product/codeartsdoer.html) | IDE | `npx superpowers-zh` | `.codeartsdoer/skills/` |
106107

107108
> 运行 `npx superpowers-zh` 会自动检测你项目中使用的工具,将 20 个 skills 安装到正确位置。
108109
@@ -231,7 +232,7 @@ cp -r superpowers-zh/skills /your/project/.qoder/skills # Qoder(阿里 AI
231232
| Claw Code | `.claw/skills/*/SKILL.md` | Rust 版 CLI agent,兼容 Claude Code 的 SKILL.md 格式 |
232233
| Qoder | `.qoder/skills/*/SKILL.md` + `.qoder/rules/superpowers-zh.md` | 阿里 AI IDE,自动生成 `trigger: always_on` 的 bootstrap rule |
233234

234-
> **详细安装指南**[Kiro](docs/README.kiro.md) · [DeerFlow](docs/README.deerflow.md) · [Trae](docs/README.trae.md) · [Antigravity](docs/README.antigravity.md) · [VS Code](docs/README.vscode.md) · [Codex](docs/README.codex.md) · [OpenCode](docs/README.opencode.md) · [OpenClaw](docs/README.openclaw.md) · [Windsurf](docs/README.windsurf.md) · [Gemini CLI](docs/README.gemini-cli.md) · [Aider](docs/README.aider.md) · [Qwen Code](docs/README.qwen.md) · [Hermes Agent](docs/README.hermes.md) · [Qoder](docs/README.qoder.md) · [CodeBuddy](docs/README.codebuddy.md) · [Kimi Code](docs/README.kimi.md) · [Pi](docs/README.pi.md)
235+
> **详细安装指南**[Kiro](docs/README.kiro.md) · [DeerFlow](docs/README.deerflow.md) · [Trae](docs/README.trae.md) · [Antigravity](docs/README.antigravity.md) · [VS Code](docs/README.vscode.md) · [Codex](docs/README.codex.md) · [OpenCode](docs/README.opencode.md) · [OpenClaw](docs/README.openclaw.md) · [Windsurf](docs/README.windsurf.md) · [Gemini CLI](docs/README.gemini-cli.md) · [Aider](docs/README.aider.md) · [Qwen Code](docs/README.qwen.md) · [Hermes Agent](docs/README.hermes.md) · [Qoder](docs/README.qoder.md) · [CodeBuddy](docs/README.codebuddy.md) · [华为云码道](docs/README.codearts.md) · [Kimi Code](docs/README.kimi.md) · [Pi](docs/README.pi.md)
235236
236237
### 卸载 / 误装清理(v1.2.1+)
237238

@@ -345,7 +346,7 @@ MIT License — 自由使用,商业或个人均可。
345346

346347
<div align="center">
347348

348-
**🦸 AI 编程超能力:让 Claude Code / Hermes Agent / Cursor / Claw Code / Qoder 等 19 款工具真正会干活**
349+
**🦸 AI 编程超能力:让 Claude Code / Hermes Agent / Cursor / Claw Code / Qoder 等 20 款工具真正会干活**
349350

350351
[Star 本项目](https://github.com/jnMetaCode/superpowers-zh) · [提交 Issue](https://github.com/jnMetaCode/superpowers-zh/issues) · [贡献代码](https://github.com/jnMetaCode/superpowers-zh/pulls)
351352

bin/superpowers-zh.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ const TARGETS = [
7878
{ name: 'Claw Code', dir: '.claw/skills', detect: ['.claw', 'CLAW.md'] },
7979
{ name: 'Qoder', dir: '.qoder/skills', detect: '.qoder', global: { dir: '.qoder/skills', detect: '.qoder' } },
8080
{ name: 'CodeBuddy', dir: '.codebuddy/skills', detect: ['.codebuddy', 'CODEBUDDY.md'] },
81+
// 华为云码道(CodeArts Doer):skills 放 .codeartsdoer/skills/(用户在 #20 确认)。
82+
// 仅 skills-only —— 其 bootstrap/指令文件约定未证实,靠 CodeArts 自身 skill 发现;
83+
// 若不自动触发需在对话里手动点名 skill(docs 已说明)。
84+
{ name: 'CodeArts', dir: '.codeartsdoer/skills', detect: '.codeartsdoer' },
8185
];
8286

8387
function countDirs(dir) {
@@ -503,6 +507,10 @@ const TOOL_ALIASES = {
503507
'codebuddy-code': 'CodeBuddy',
504508
'codebuddycode': 'CodeBuddy',
505509
'codebuddy-cn': 'CodeBuddy',
510+
'codearts': 'CodeArts',
511+
'codeartsdoer': 'CodeArts',
512+
'codearts-doer': 'CodeArts',
513+
'huawei': 'CodeArts',
506514
};
507515

508516
function showHelp() {

docs/README.codearts.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# 华为云码道 CodeArts 使用指南
2+
3+
[华为云码道 CodeArts(CodeArts Doer / Snap)](https://www.huaweicloud.com/product/codeartsdoer.html)是华为云出品的 AI 编程助手,支持 CLI、客户端以及 IntelliJ IDEA / VS Code 插件形态。skills 存放在项目的 `.codeartsdoer/skills/` 目录下。
4+
5+
## 一键安装(推荐)
6+
7+
在你的项目根目录运行:
8+
9+
```bash
10+
npx superpowers-zh
11+
```
12+
13+
自动检测到 `.codeartsdoer/` 时会安装到 CodeArts。检测不到时显式指定:
14+
15+
```bash
16+
npx superpowers-zh --tool codearts
17+
```
18+
19+
安装内容:
20+
21+
- `.codeartsdoer/skills/` — 20 个 skill(每个含 `SKILL.md` 及其 `scripts/` 等附属文件)
22+
23+
## Skill 加载优先级
24+
25+
| 位置 | 说明 |
26+
|------|------|
27+
| `.codeartsdoer/skills/` | 项目级,仅当前项目 |
28+
29+
## ⚠️ 关于自动触发
30+
31+
本适配为 **skills-only**:把 skills 放到 `.codeartsdoer/skills/`,依赖 CodeArts 自身的 skill 发现机制加载。
32+
33+
- 如果 CodeArts 会自动扫描并按需触发 `.codeartsdoer/skills/` 下的 skill,则装完重启即可生效。
34+
- 如果发现**不会自动触发**,可以在对话里**手动点名** skill(例如「用 brainstorming skill 做需求分析」),skill 内容依然可用。
35+
36+
> CodeArts 的 bootstrap / 指令文件约定(类似 `CLAUDE.md` 的自动引导文件)我们尚未验证。如果你是 CodeArts 用户、了解它读取哪个指令文件来自动加载规则,欢迎在 [issue #20](https://github.com/jnMetaCode/superpowers-zh/issues/20) 反馈,我们会补上自动触发的 bootstrap 生成。
37+
38+
## 卸载
39+
40+
```bash
41+
npx superpowers-zh --uninstall
42+
```
43+
44+
移除 `.codeartsdoer/skills/` 下由 superpowers-zh 安装的 skill 目录。
45+
46+
## 反馈
47+
48+
- 提交 Issue:https://github.com/jnMetaCode/superpowers-zh/issues
49+
- 项目主页:https://github.com/jnMetaCode/superpowers-zh

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"engines": {
55
"node": ">=20.0.0"
66
},
7-
"description": "AI 编程超能力中文增强版 — superpowers(250k+ ⭐)完整汉化 + 4 个中国原创 skills,支持 Claude Code / Copilot CLI / Hermes Agent / Cursor / Claw Code / Windsurf / Kiro / Gemini CLI / Qoder 等 19 款工具",
7+
"description": "AI 编程超能力中文增强版 — superpowers(250k+ ⭐)完整汉化 + 4 个中国原创 skills,支持 Claude Code / Copilot CLI / Hermes Agent / Cursor / Claw Code / Windsurf / Kiro / Gemini CLI / Qoder 等 20 款工具",
88
"type": "module",
99
"main": ".opencode/plugins/superpowers.js",
1010
"bin": {
@@ -58,6 +58,7 @@
5858
"claw-code",
5959
"qoder",
6060
"codebuddy",
61+
"codearts",
6162
"ai-coding",
6263
"skills",
6364
"chinese",

scripts/audit.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ if [ "$QUICK" != "1" ]; then
9595
hdr "Category 2: Installer 功能测试(18 款工具)"
9696
#==============================================================================
9797

98-
declare -a TOOLS=(claude cursor codex kiro deerflow trae antigravity vscode openclaw windsurf gemini aider opencode qwen hermes claw copilot qoder codebuddy)
98+
declare -a TOOLS=(claude cursor codex kiro deerflow trae antigravity vscode openclaw windsurf gemini aider opencode qwen hermes claw copilot qoder codebuddy codearts)
9999

100100
for tool in "${TOOLS[@]}"; do
101101
TMP=$(mktemp -d)

0 commit comments

Comments
 (0)