[ contents ]
参考

支持的工具

Rasen 兼容多种 AI 编程助手。当你运行 rasen init 时,Rasen 会根据你激活的 profile/workflow 选择和交付方式来配置选定的工具。

工作原理

对于每个选定的工具,Rasen 可以安装:

  1. 技能(总是):.../skills/rasen-*/SKILL.md
  2. 命令(如果交付方式为 both,且工具有命令适配器):工具特定的 rasen-* 命令文件

默认情况下,Rasen 使用 full 配置方案,会安装每个工作流。如果你想精简到日常必需品,可以切换到 core 配置方案:

  • propose
  • explore
  • apply
  • sync
  • archive

rasen config profile 切换配置方案(两个方向都可以),然后运行 rasen update

工具目录参考

工具 (ID) 技能路径模式 命令路径模式
Amazon Q Developer (amazon-q) .amazonq/skills/rasen-*/SKILL.md .amazonq/prompts/rasen-<id>.md
Antigravity (antigravity) .agent/skills/rasen-*/SKILL.md .agent/workflows/rasen-<id>.md
Auggie (auggie) .augment/skills/rasen-*/SKILL.md .augment/commands/rasen-<id>.md
IBM Bob Shell (bob) .bob/skills/rasen-*/SKILL.md .bob/commands/rasen-<id>.md
Claude Code (claude) .claude/skills/rasen-*/SKILL.md .claude/commands/rasen/<id>.md
Cline (cline) .cline/skills/rasen-*/SKILL.md .clinerules/workflows/rasen-<id>.md
CodeBuddy (codebuddy) .codebuddy/skills/rasen-*/SKILL.md .codebuddy/commands/rasen/<id>.md
Codex (codex) .codex/skills/rasen-*/SKILL.md $CODEX_HOME/prompts/rasen-<id>.md*
ForgeCode (forgecode) .forge/skills/rasen-*/SKILL.md 不生成(无命令适配器;请使用基于技能的 /rasen-* 调用)
Continue (continue) .continue/skills/rasen-*/SKILL.md .continue/prompts/rasen-<id>.prompt
CoStrict (costrict) .cospec/skills/rasen-*/SKILL.md .cospec/rasen/commands/rasen-<id>.md
Crush (crush) .crush/skills/rasen-*/SKILL.md .crush/commands/rasen/<id>.md
Cursor (cursor) .cursor/skills/rasen-*/SKILL.md .cursor/commands/rasen-<id>.md
Factory Droid (factory) .factory/skills/rasen-*/SKILL.md .factory/commands/rasen-<id>.md
Gemini CLI (gemini) .gemini/skills/rasen-*/SKILL.md .gemini/commands/rasen/<id>.toml
GitHub Copilot (github-copilot) .github/skills/rasen-*/SKILL.md .github/prompts/rasen-<id>.prompt.md**
iFlow (iflow) .iflow/skills/rasen-*/SKILL.md .iflow/commands/rasen-<id>.md
Junie (junie) .junie/skills/rasen-*/SKILL.md .junie/commands/rasen-<id>.md
Kilo Code (kilocode) .kilocode/skills/rasen-*/SKILL.md .kilocode/workflows/rasen-<id>.md
Kimi CLI (kimi) .kimi/skills/rasen-*/SKILL.md 不生成(无命令适配器;请使用基于技能的 /rasen-* 调用)
Kiro (kiro) .kiro/skills/rasen-*/SKILL.md .kiro/prompts/rasen-<id>.prompt.md
Lingma (lingma) .lingma/skills/rasen-*/SKILL.md .lingma/commands/rasen/<id>.md
Mistral Vibe (vibe) .vibe/skills/rasen-*/SKILL.md 不生成(无命令适配器;请使用基于技能的 /rasen-* 调用)
OpenCode (opencode) .opencode/skills/rasen-*/SKILL.md .opencode/commands/rasen-<id>.md
Pi (pi) .pi/skills/rasen-*/SKILL.md .pi/prompts/rasen-<id>.md
Qoder (qoder) .qoder/skills/rasen-*/SKILL.md .qoder/commands/rasen/<id>.md
Qwen Code (qwen) .qwen/skills/rasen-*/SKILL.md .qwen/commands/rasen-<id>.toml
RooCode (roocode) .roo/skills/rasen-*/SKILL.md .roo/commands/rasen-<id>.md
Trae (trae) .trae/skills/rasen-*/SKILL.md 不生成(无命令适配器;请使用基于技能的 /rasen-* 调用)
Windsurf (windsurf) .windsurf/skills/rasen-*/SKILL.md .windsurf/workflows/rasen-<id>.md

* Codex 的命令安装在全局 Codex 主目录中(如果设置了 $CODEX_HOME,则为 $CODEX_HOME/prompts/,否则为 ~/.codex/prompts/),而非你的项目目录。

** GitHub Copilot 的 prompt 文件在 IDE 扩展(VS Code、JetBrains、Visual Studio)中被识别为自定义斜杠命令。Copilot CLI 目前不直接使用 .github/prompts/*.prompt.md

非交互式设置

用于 CI/CD 或脚本化设置时,使用 --tools(可选 --profile):

# 配置特定工具
rasen init --tools claude,cursor

# 配置所有支持的工具
rasen init --tools all

# 跳过工具配置
rasen init --tools none

# 为本次 init 运行覆盖配置方案
rasen init --profile core

可用的工具 ID(--tools): amazon-qantigravityauggiebobclaudeclinecodexforgecodecodebuddycontinuecostrictcrushcursorfactorygeminigithub-copilotiflowjuniekilocodekimikirolingmaopencodepiqoderqwenroocodetraevibewindsurf

依赖工作流的安装

Rasen 根据选定的工作流安装工作流产物:

  • Full 配置方案(默认): 每个工作流 ID
  • Core 配置方案: proposeexploreapplysyncarchive
  • 自定义选择: 所有工作流 ID 的任意子集: proposeexplorenewcontinueapplyffsyncarchivebulk-archiveverifyonboard

换句话说,技能数量根据配置方案而定(不是固定的);命令数量另外还取决于交付方式(只有当交付方式为 both 时才生成命令)以及工具是否根本有命令适配器(ForgeCode、Kimi CLI、Mistral Vibe 和 Trae 仅限技能——参见上表)。

生成的技能名称

当通过 profile/workflow 配置选定时,Rasen 会生成以下技能:

  • rasen-propose
  • rasen-explore
  • rasen-new-change
  • rasen-continue-change
  • rasen-apply-change
  • rasen-ff-change
  • rasen-sync-specs
  • rasen-archive-change
  • rasen-bulk-archive-change
  • rasen-verify-change
  • rasen-onboard

参见命令了解命令行为,以及CLI了解 init/update 选项。

相关文档