Files
superpowers-zh/package.json
AI不止语 8a2f37071a feat(installer): 新增 Crush 适配(23 款工具,#40);补齐 verify-release 覆盖盲区
## Crush(#40)

查权威源(charmbracelet/crush repo 文档)确认:Crush 遵循 Agent Skills 开放标准,
项目级**自动发现** .crush/skills、.agents/skills、.claude/skills、.cursor/skills
四个目录,无需任何配置;用户级为 ~/.config/crush/skills。

重要副作用写进了 docs:已经为 CC / Cursor / Codex / Antigravity 装过的用户,
Crush 现在就已经能读到那些 skills,此时不要再装 --tool crush,否则同一批
skills 会有两份、被重复加载。docs 里给了确认命令。

- TARGETS 加 Crush(detect: .crush / crush.json / .crush.json),支持 --global
- CLI_PROBES 加 crush(它是 CLI,PATH 探得到)
- skills-only 适配,不需要 bootstrap;不动用户的 crush.json
- 新增 docs/README.crush.md
- 计数 22 -> 23(installer TARGETS 22 条 + Copilot CLI 单独计)

实测:装 20 skills / 二次装幂等 / 卸载零残留且正确保留用户的 crush.json;
--global 装到 ~/.config/crush/skills 并可干净卸载。

## audit Category 5 当场抓到我漏改的 5 处

加计数时忘了 site/build.mjs 的 5 个位置(三语言标语 + FAQ 枚举)。上个版本
新加的计数一致性检查直接 FAIL 拦下 —— 这是它第一次在真实改动中生效。已补
site 18 处并重建,三语言首页 23 计数、0 残留、Crush 均已出现。

## verify-release.sh 有同样的漂移问题,已修

它有自己独立的覆盖清单,加新工具时不进去就静默不测(本次 Crush 就是:
分数仍是 82,因为压根没测它)。

- SPEC / DETECT / GLOBAL_OK 三处补 Crush
- 顺带发现 B 段还漏了 3 个工具的检测标记:DeerFlow(deer_flow)、
  VS Code(.github/copilot-instructions.md)、Gemini CLI(GEMINI.md)——
  后两个是文件而非目录,DETECT 循环原先一律 mkdir,现按扩展名区分创建方式
- 新增 G 段自检:SPEC 覆盖数必须等于 installer 宣称的工具数;
  DETECT 覆盖的工具名集合必须包含全部 TARGETS 名字(用集合比对而非数条数 ——
  一个工具可以有多个检测标记,数数会误判)

覆盖从 82 项升到 90 项。

回归:audit.sh 152 pass / 0 warn / 0 fail、verify-release.sh 90 pass / 0 fail
2026-08-08 06:14:48 +08:00

87 lines
2.0 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"name": "superpowers-zh",
"version": "1.7.6",
"engines": {
"node": ">=20.0.0"
},
"description": "AI 编程超能力中文增强版 — superpowers250k+ ⭐)完整汉化 + 4 个中国原创 skills支持 Claude Code / Copilot CLI / Hermes Agent / Cursor / Claw Code / Windsurf / Kiro / Gemini CLI / Qoder 等 23 款工具",
"type": "module",
"main": ".opencode/plugins/superpowers.js",
"bin": {
"superpowers-zh": "bin/superpowers-zh.js"
},
"scripts": {
"site": "node site/build.mjs",
"site:deploy": "node site/build.mjs && wrangler pages deploy site/dist --project-name=superpowers-zh-site",
"version": "node scripts/sync-plugin-version.js && git add .claude-plugin/plugin.json .claude-plugin/marketplace.json .cursor-plugin/plugin.json .codex-plugin/plugin.json gemini-extension.json"
},
"files": [
"bin/",
"skills/",
"hooks/",
"assets/",
".claude-plugin/",
".cursor-plugin/",
".codex/INSTALL.md",
".codex-plugin/",
".opencode/INSTALL.md",
".opencode/plugins/",
".pi/extensions/",
"CLAUDE.md",
"GEMINI.md",
"RELEASE-NOTES.md",
"RELEASE-NOTES.zh.md",
"gemini-extension.json",
"docs/",
"README.md",
"LICENSE"
],
"keywords": [
"superpowers",
"claude-code",
"cursor",
"codex",
"gemini",
"kiro",
"deerflow",
"trae",
"antigravity",
"openclaw",
"windsurf",
"aider",
"opencode",
"qwen",
"vscode",
"copilot",
"hermes",
"hermes-agent",
"claw-code",
"qoder",
"codebuddy",
"codearts",
"ai-coding",
"skills",
"chinese",
"中文",
"tdd",
"debugging",
"code-review",
"pi-package"
],
"pi": {
"skills": [
"./skills"
],
"extensions": [
"./.pi/extensions/superpowers.ts"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/jnMetaCode/superpowers-zh.git"
},
"homepage": "https://github.com/jnMetaCode/superpowers-zh",
"author": "jnMetaCode",
"license": "MIT"
}