Cline prompt for refactoring a function across a repo
Um exemplo editorial para refatorar uma função em todo um repositório em Cline, escrito para o nosso guia e não testado com o fornecedor
Para
Cline
Fonte
AI Tool Atlas guide: Cline
Verificado
Oct 2, 2026
O prompt
Exemplo editorial do nosso guia
Rename the fetchUser helper to getUser across the repo, update imports, and run the tests.
Como usar este prompt: o que preencher, onde executar e o que você recebe
Como conferir o resultado
Leia cada diff antes de aprovar
Rode a sua suíte de testes
Use um checkpoint para restaurar caso alguma etapa dê errado
Este prompt foi escrito como exemplo para o nosso guia e não foi executado na ferramenta. Espere ter que adaptá-lo ao seu caso. Como documentamos as ferramentas.
Run the TikTok Scraper Actor to extract video URLs and view counts from a hashtag search, then export the results to a CSV file so I can track trending content.
Never speculate about code you have not opened. If the user references a specific file,
you MUST read the file before answering. Make sure to investigate and read relevant
files BEFORE answering questions about the codebase. Never make any…
Users are charged twice when they double-click the Pay button in checkout. Find the cause, fix it so one checkout session uses one idempotency key, disable the button while a charge is in flight, and add a test. Run the tests and tell me w…