rtk-ai/rtk

[Agent] Add Trae.ai IDE support

Open

#1,676 创建于 2026年5月2日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)Rust (2,914 fork)batch import
area:clieffort-mediumenhancementgood first issuepriority:low

仓库指标

Star
 (48,085 star)
PR 合并指标
 (平均合并 11天 1小时) (30 天内合并 45 个 PR)

描述

Type: New agent integration

Description: Trae.ai is an AI IDE (similar to Cursor/Windsurf) with growing adoption. It supports project-scoped rule files at .trae/rules/*.md, which is the same mechanism used by Windsurf (.windsurfrules) and Cline (.clinerules).

Proposed integration:

  • Method: rules file (.trae/rules/rtk-rules.md) — same as Windsurf/Cline fallback
  • Command: rtk init --agent trae
  • No preToolUse hook available (Trae doesn't expose shell interception), so RTK would rely on the AI following the rules to call rtk explicitly

References:

贡献者指南