rtk-ai/rtk

feat: add Cline/Roo Code support via rtk init --agent cline

Open

#701 ouverte le 18 mars 2026

Voir sur GitHub
 (2 commentaires) (1 réaction) (0 assignés)Rust (2 914 forks)batch import
area:clieffort-mediumenhancementgood first issuehelp wantedpriority:low

Métriques du dépôt

Stars
 (48 085 stars)
Métriques de merge PR
 (Merge moyen 11j 1h) (45 PRs mergées en 30 j)

Description

Summary

Add Cline (VS Code) support to RTK.

How Cline works

Cline uses .clinerules file in project root for custom rules, and hooks in ~/Documents/Cline/Rules/Hooks/ or .clinerules/hooks/ for scripts.

PreToolUse hooks can cancel commands but cannot rewrite them. contextModification injects text into conversation context.

Implementation

Rules-based approach (like Windsurf/Codex):

  • rtk init --agent cline creates .clinerules with RTK instructions
  • Optional: PreToolUse hook for tracking via rtk gain

References

Guide contributeur