rtk-ai/rtk

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

Ouverte

#701 ouverte le 18 mars 2026

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

Métriques du dépôt

Stars
 (48 085 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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