Skip to main content
theo init 会通过以下步骤在你的项目中设置 Theo:
  1. 创建 theo.config.json —— 项目级配置,包含角色、技能和默认模式
  2. 检测已安装的 IDE —— Cursor、Claude Code、Warp、Windsurf、VS Code
  3. 写入 MCP 配置 —— 为每个检测到的 IDE 生成正确的 JSON(参见 MCP / Overview)
  4. 生成 .theo/RULES.md —— 上下文文件,让 IDE 智能体了解如何使用 Theo

示例

生成的内容

theo.config.json

MCP 配置(按 IDE 划分)