Copié tel quel depuis la bibliothèque de l'éditeur
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 claims about code
before investigating unless you are certain of the correct answer - give grounded and
hallucination-free answers.
Quand utiliser ce prompt
Réduire les hallucinations sur du code pas encore lu
Type de tâche : Programmation. D’autres prompts pour la même tâche figurent ci-dessous.
Écrit pour Claude ; les autres assistants de chat l’acceptent en général tel quel.
Aucune variable à remplacer : collez-le tel quel.
Comment utiliser ce prompt : quoi renseigner, où l'exécuter, ce que vous obtenez
Refactor the payment retry logic in src/billing/retry.ts to use exponential backoff with a maximum of 5 attempts, keep the public function signatures unchanged, update the unit tests, and summarise what changed.