superpowers-zh 1.1.7 → 1.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "superpowers-zh",
3
- "description": "AI 编程超能力中文增强版:20 个 skills,支持 Claude Code / Hermes Agent / Cursor 等 16 款工具",
3
+ "description": "AI 编程超能力中文增强版:20 个 skills,支持 Claude Code / Hermes Agent / Cursor / Claw Code 17 款工具",
4
4
  "owner": {
5
5
  "name": "jnMetaCode",
6
6
  "url": "https://github.com/jnMetaCode"
@@ -8,8 +8,8 @@
8
8
  "plugins": [
9
9
  {
10
10
  "name": "superpowers-zh",
11
- "description": "AI 编程超能力中文增强版:20 个 skills(14 翻译 + 6 中国原创),支持 Claude Code / Hermes Agent / Cursor 等 16 款工具",
12
- "version": "1.1.7",
11
+ "description": "AI 编程超能力中文增强版:20 个 skills(14 翻译 + 6 中国原创),支持 Claude Code / Hermes Agent / Cursor / Claw Code 17 款工具",
12
+ "version": "1.1.8",
13
13
  "source": "./",
14
14
  "author": {
15
15
  "name": "jnMetaCode",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "superpowers-zh",
3
- "description": "AI 编程超能力中文增强版:20 个 skills(14 翻译 + 6 中国原创),支持 Claude Code / Hermes Agent / Cursor 等 16 款工具",
4
- "version": "1.1.7",
3
+ "description": "AI 编程超能力中文增强版:20 个 skills(14 翻译 + 6 中国原创),支持 Claude Code / Hermes Agent / Cursor / Claw Code 17 款工具",
4
+ "version": "1.1.8",
5
5
  "author": {
6
6
  "name": "jnMetaCode",
7
7
  "url": "https://github.com/jnMetaCode"
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "superpowers-zh",
3
3
  "displayName": "Superpowers 中文版",
4
- "description": "AI 编程超能力中文增强版:20 个 skills(14 翻译 + 6 中国原创),支持 Cursor / Claude Code / Hermes Agent 等 16 款工具",
5
- "version": "1.1.7",
4
+ "description": "AI 编程超能力中文增强版:20 个 skills(14 翻译 + 6 中国原创),支持 Cursor / Claude Code / Hermes Agent / Claw Code 17 款工具",
5
+ "version": "1.1.8",
6
6
  "author": {
7
7
  "name": "jnMetaCode",
8
8
  "url": "https://github.com/jnMetaCode"
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  🌐 **简体中文** | [English (upstream)](https://github.com/obra/superpowers)
4
4
 
5
- > 🦸 **superpowers(116k+ ⭐)完整汉化 + 6 个中国原创 skills** — 让 Claude Code / Copilot CLI / Hermes Agent / Cursor / Windsurf / Kiro / Gemini CLI 等 **16 款 AI 编程工具**真正会干活。从头脑风暴到代码审查,从 TDD 到调试,每个 skill 都是经过实战验证的工作方法论。
5
+ > 🦸 **superpowers(116k+ ⭐)完整汉化 + 6 个中国原创 skills** — 让 Claude Code / Copilot CLI / Hermes Agent / Cursor / Windsurf / Kiro / Gemini CLI 等 **17 款 AI 编程工具**真正会干活。从头脑风暴到代码审查,从 TDD 到调试,每个 skill 都是经过实战验证的工作方法论。
6
6
 
7
7
  Chinese community edition of [superpowers](https://github.com/obra/superpowers) — 20 skills across 16 AI coding tools, including full translations and China-specific development skills.
8
8
 
@@ -43,7 +43,7 @@ AI:在开始实现之前,我需要了解几个关键问题:
43
43
 
44
44
  | 📦 翻译 Skills | 🇨🇳 中国特色 Skills | 🤖 支持工具 |
45
45
  |:---:|:---:|:---:|
46
- | **14** | **6** | **Claude Code / Copilot CLI / Hermes Agent / Cursor / Windsurf / Kiro / Gemini CLI / Codex / Aider / Trae / VS Code (Copilot) / DeerFlow / OpenCode / OpenClaw / Qwen Code / Antigravity** |
46
+ | **14** | **6** | **Claude Code / Copilot CLI / Hermes Agent / Cursor / Windsurf / Kiro / Gemini CLI / Codex / Aider / Trae / VS Code (Copilot) / DeerFlow / OpenCode / OpenClaw / Qwen Code / Antigravity / Claw Code** |
47
47
 
48
48
  ---
49
49
 
@@ -53,7 +53,7 @@ AI:在开始实现之前,我需要了解几个关键问题:
53
53
 
54
54
  **superpowers-zh** 在完整翻译的基础上,新增了面向中国开发者的特色 skills。
55
55
 
56
- ### 🤖 支持 16 款主流 AI 编程工具
56
+ ### 🤖 支持 17 款主流 AI 编程工具
57
57
 
58
58
  | 工具 | 类型 | 一键安装 | 手动安装 |
59
59
  |------|------|:---:|:---:|
@@ -73,6 +73,7 @@ AI:在开始实现之前,我需要了解几个关键问题:
73
73
  | [OpenClaw](https://github.com/anthropics/openclaw) | CLI | `npx superpowers-zh` | `skills/` |
74
74
  | [Qwen Code](https://tongyi.aliyun.com/lingma) (通义灵码) | IDE 插件 | `npx superpowers-zh` | `.qwen/skills/` |
75
75
  | [Antigravity](https://github.com/anthropics/antigravity) | CLI | `npx superpowers-zh` | `.antigravity/skills/` |
76
+ | [Claw Code](https://github.com/ultraworkers/claw-code) | CLI (Rust) | `npx superpowers-zh` | `.claw/skills/` |
76
77
 
77
78
  > 运行 `npx superpowers-zh` 会自动检测你项目中使用的工具,将 20 个 skills 安装到正确位置。
78
79
 
@@ -139,6 +140,7 @@ cp -r superpowers-zh/skills /your/project/.gemini/skills # Gemini CLI
139
140
  cp -r superpowers-zh/skills /your/project/.aider/skills # Aider
140
141
  cp -r superpowers-zh/skills /your/project/.opencode/skills # OpenCode
141
142
  cp -r superpowers-zh/skills /your/project/.qwen/skills # Qwen Code
143
+ cp -r superpowers-zh/skills /your/project/.claw/skills # Claw Code(Rust 版)
142
144
  ```
143
145
 
144
146
  ### 方式三:在配置文件中引用
@@ -163,6 +165,7 @@ cp -r superpowers-zh/skills /your/project/.qwen/skills # Qwen Code
163
165
  | OpenCode | `.opencode/skills/*/SKILL.md` | 项目级 skills 目录 |
164
166
  | Hermes Agent | `.hermes/skills/*/SKILL.md` | 项目级 skills 目录 |
165
167
  | Qwen Code | `.qwen/skills/*/SKILL.md` | 项目级 skills 目录 |
168
+ | Claw Code | `.claw/skills/*/SKILL.md` | Rust 版 CLI agent,兼容 Claude Code 的 SKILL.md 格式 |
166
169
 
167
170
  > **详细安装指南**:[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)
168
171
 
@@ -230,7 +233,7 @@ MIT License — 自由使用,商业或个人均可。
230
233
 
231
234
  <div align="center">
232
235
 
233
- **🦸 AI 编程超能力:让 Claude Code / Hermes Agent / Cursor 等 16 款工具真正会干活**
236
+ **🦸 AI 编程超能力:让 Claude Code / Hermes Agent / Cursor / Claw Code 17 款工具真正会干活**
234
237
 
235
238
  [Star 本项目](https://github.com/jnMetaCode/superpowers-zh) · [提交 Issue](https://github.com/jnMetaCode/superpowers-zh/issues) · [贡献代码](https://github.com/jnMetaCode/superpowers-zh/pulls)
236
239
 
@@ -56,6 +56,7 @@ const TARGETS = [
56
56
  { name: 'OpenCode', dir: '.opencode/skills', detect: '.opencode' },
57
57
  { name: 'Qwen Code', dir: '.qwen/skills', detect: '.qwen' },
58
58
  { name: 'Hermes Agent', dir: '.hermes/skills', detect: ['.hermes', 'HERMES.md', '.hermes.md'] },
59
+ { name: 'Claw Code', dir: '.claw/skills', detect: ['.claw', 'CLAW.md'] },
59
60
  ];
60
61
 
61
62
  function countDirs(dir) {
@@ -323,6 +324,9 @@ const TOOL_ALIASES = {
323
324
  'qwen-code': 'Qwen Code',
324
325
  'hermes': 'Hermes Agent',
325
326
  'hermes-agent': 'Hermes Agent',
327
+ 'claw': 'Claw Code',
328
+ 'claw-code': 'Claw Code',
329
+ 'clawcode': 'Claw Code',
326
330
  };
327
331
 
328
332
  function showHelp() {
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "superpowers-zh",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "engines": {
5
5
  "node": ">=14.0.0"
6
6
  },
7
- "description": "AI 编程超能力中文增强版 — superpowers(99k+ ⭐)完整汉化 + 6 个中国原创 skills,支持 Claude Code / Copilot CLI / Hermes Agent / Cursor / Windsurf / Kiro / Gemini CLI 等 16 款工具",
7
+ "description": "AI 编程超能力中文增强版 — superpowers(99k+ ⭐)完整汉化 + 6 个中国原创 skills,支持 Claude Code / Copilot CLI / Hermes Agent / Cursor / Claw Code / Windsurf / Kiro / Gemini CLI 等 17 款工具",
8
8
  "type": "module",
9
9
  "main": ".opencode/plugins/superpowers.js",
10
10
  "bin": {
@@ -46,6 +46,7 @@
46
46
  "copilot",
47
47
  "hermes",
48
48
  "hermes-agent",
49
+ "claw-code",
49
50
  "ai-coding",
50
51
  "skills",
51
52
  "chinese",
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: chinese-git-workflow
3
- description: 适配国内 Git 平台和团队习惯的工作流规范——Gitee、Coding、极狐 GitLab 全覆盖
3
+ description: 适配国内 Git 平台和团队习惯的工作流规范——Gitee、Coding、极狐 GitLab、CNB 全覆盖
4
4
  ---
5
5
 
6
6
  # 国内 Git 工作流规范
@@ -15,14 +15,14 @@ description: 适配国内 Git 平台和团队习惯的工作流规范——Gitee
15
15
 
16
16
  ### 平台对比
17
17
 
18
- | 特性 | Gitee | Coding.net | 极狐 GitLab | GitHub |
19
- |------|-------|------------|-------------|--------|
20
- | 国内访问 | 快 | 快 | 快 | 不稳定 |
21
- | 免费私有仓库 | 有 | 有 | 有 | 有 |
22
- | CI/CD | Gitee Go | Coding CI | 内置 GitLab CI | GitHub Actions |
23
- | 代码审查 | PR | MR | MR | PR |
24
- | 制品库 | 有限 | 完整 | 完整 | Packages |
25
- | 适合场景 | 开源/小团队 | 中大型团队 | 企业私有化 | 国际项目 |
18
+ | 特性 | Gitee | Coding.net | 极狐 GitLab | CNB | GitHub |
19
+ |------|-------|------------|-------------|-----|--------|
20
+ | 国内访问 | 快 | 快 | 快 | 快 | 不稳定 |
21
+ | 免费私有仓库 | 有 | 有 | 有 | 有 | 有 |
22
+ | CI/CD | Gitee Go | Coding CI | 内置 GitLab CI | 内置(.cnb.yml) | GitHub Actions |
23
+ | 代码审查 | PR | MR | MR | MR | PR |
24
+ | 制品库 | 有限 | 完整 | 完整 | 完整 | Packages |
25
+ | 适合场景 | 开源/小团队 | 中大型团队 | 企业私有化 | 云原生 / Docker 流水线 | 国际项目 |
26
26
 
27
27
  ### Gitee 特有配置
28
28
 
@@ -63,6 +63,17 @@ git remote add origin https://jihulab.com/<group>/<repo>.git
63
63
  git remote add origin https://gitlab.yourcompany.com/<group>/<repo>.git
64
64
  ```
65
65
 
66
+ ### CNB(Cloud Native Build)特有配置
67
+
68
+ ```bash
69
+ # CNB 仓库地址(仅支持 HTTPS,不提供 SSH 协议)
70
+ git remote add origin https://cnb.cool/<org>/<repo>.git
71
+
72
+ # HTTPS 认证:用户名固定为 cnb,密码为个人访问令牌(Access Token)
73
+ # 在 CNB 平台 → 个人设置 → 访问令牌 中生成
74
+ git config credential.helper store
75
+ ```
76
+
66
77
  ## 工作流选择
67
78
 
68
79
  ### 方案一:主干开发(Trunk-Based Development)
@@ -372,16 +383,42 @@ variables:
372
383
  when: manual # 生产环境手动触发
373
384
  ```
374
385
 
386
+ ### CNB(Cloud Native Build)
387
+
388
+ ```yaml
389
+ # .cnb.yml — branch-first 结构,直接指定 Docker 镜像跑流水线
390
+ main:
391
+ push:
392
+ - docker:
393
+ image: node:20
394
+ stages:
395
+ - npm ci
396
+ - npm test
397
+ - npm run build
398
+ pull_request:
399
+ - docker:
400
+ image: node:20
401
+ stages:
402
+ - npm run lint
403
+ - npm test
404
+ ```
405
+
406
+ **特点:**
407
+ - 每个流水线独立指定 Docker 镜像,天然云原生
408
+ - 支持 `push` / `pull_request` 触发
409
+ - 同一事件可并行多条流水线
410
+ - `stages` 也支持 `- name: xxx` + `script:` 的展开形式,复杂场景见官方文档
411
+
375
412
  ### GitHub Actions 国内替代方案对照
376
413
 
377
- | GitHub Actions 功能 | Gitee Go | Coding CI | 极狐 GitLab CI |
378
- |---------------------|----------|-----------|----------------|
379
- | 触发条件 | triggers | Jenkinsfile triggers | only/rules |
380
- | 缓存依赖 | cache step | stash/unstash | cache |
381
- | 制品存储 | artifacts | 制品库 | artifacts |
382
- | 环境变量 | env | environment | variables |
383
- | 密钥管理 | 环境变量配置 | 凭据管理 | CI/CD Variables |
384
- | 手动触发 | 手动运行 | 手动触发 | when: manual |
414
+ | GitHub Actions 功能 | Gitee Go | Coding CI | 极狐 GitLab CI | CNB |
415
+ |---------------------|----------|-----------|----------------|-----|
416
+ | 触发条件 | triggers | Jenkinsfile triggers | only/rules | push / pull_request |
417
+ | 缓存依赖 | cache step | stash/unstash | cache | 见官方文档 |
418
+ | 制品存储 | artifacts | 制品库 | artifacts | 见官方文档 |
419
+ | 环境变量 | env | environment | variables | env |
420
+ | 密钥管理 | 环境变量配置 | 凭据管理 | CI/CD Variables | Access Token |
421
+ | 手动触发 | 手动运行 | 手动触发 | when: manual | 页面手动运行 |
385
422
 
386
423
  ## PR/MR 描述模板
387
424