mirror of
https://github.com/jnMetaCode/superpowers-zh.git
synced 2026-09-02 22:54:06 +08:00
feat: add OpenClaw support
- Add OpenClaw target in installer (detect .openclaw/, install to skills/) - Add OpenClaw to README supported tools list, manual install, config table - Add docs/README.openclaw.md installation guide - Add openclaw keyword to package.json
This commit is contained in:
@@ -19,6 +19,7 @@ const TARGETS = [
|
||||
{ name: 'Trae', dir: '.trae/rules', detect: '.trae' },
|
||||
{ name: 'Antigravity', dir: '.antigravity/skills', detect: '.antigravity' },
|
||||
{ name: 'VS Code', dir: '.github/superpowers', detect: '.github/copilot-instructions.md' },
|
||||
{ name: 'OpenClaw', dir: 'skills', detect: '.openclaw' },
|
||||
];
|
||||
|
||||
function countDirs(dir) {
|
||||
@@ -37,7 +38,7 @@ function showHelp() {
|
||||
|
||||
说明:
|
||||
自动检测当前项目使用的 AI 编程工具:
|
||||
Claude Code / Cursor / Codex / Kiro / DeerFlow / Trae / Antigravity / VS Code
|
||||
Claude Code / Cursor / Codex / Kiro / DeerFlow / Trae / Antigravity / VS Code / OpenClaw
|
||||
将 ${countDirs(SKILLS_SRC)} 个 skills 安装到对应目录。
|
||||
Claude Code 还会额外安装 agents 到 .claude/agents/。
|
||||
如果未检测到任何工具,默认安装到 .claude/skills/ 和 .claude/agents/。
|
||||
|
||||
Reference in New Issue
Block a user