Cline prompt for refactoring a function across a repo
Exemple éditorial pour refactoriser une fonction dans tout un dépôt dans Cline, rédigé pour notre guide et non testé auprès de l'éditeur
Pour
Cline
Source
AI Tool Atlas guide: Cline
Vérifié
Oct 2, 2026
Le prompt
Exemple éditorial tiré de notre guide
Rename the fetchUser helper to getUser across the repo, update imports, and run the tests.
Comment utiliser ce prompt : quoi renseigner, où l'exécuter, ce que vous obtenez
Comment vérifier le résultat
Lisez chaque diff avant de l'approuver
Lancez votre suite de tests
Utilisez un point de contrôle pour restaurer si une étape a mal tourné
Ce prompt a été rédigé comme exemple pour notre guide et n'a pas été exécuté avec l'outil. Attendez-vous à l'adapter à votre cas. Comment nous documentons les outils.
Add AgentID sign-in to this project. Read https://www.agentid.com/llms-full.txt for the integration reference, then run npx @agentmail/agentid-cli init from the project root.
Do not jump into implementation or change files unless clearly instructed to make
changes. When the user's intent is ambiguous, default to providing information, doing
research, and providing recommendations rather than taking action. Only…