Explain an unfamiliar piece of code
Walks through code you did not write — what it does, how data flows, hidden assumptions and what is risky to change — and says what it could not determine.
Questa risorsa è disponibile solo in inglese.
I prompt sono testo che copi nel tuo assistente. KitLocal non li esegue.
Compila le variabili
Quello che scrivi resta in questo browser. Non viene aggiunto all’URL, salvato né inviato da nessuna parte.
Anteprima
Ancora necessario: Code to explain
Explain the code below for: A new teammate.
My goal (may be empty):
Cover, in order: (1) purpose in one sentence; (2) step-by-step flow of data and control;
(3) assumptions the code makes but does not check; (4) what is risky to change and why;
(5) what you could NOT determine from this snippet alone (callers, config, runtime values).
Quote the exact lines you are referring to. Do not guess about code that is not shown.
Code:
{{code}}
Scopo
Build a correct mental model of unfamiliar code before you change it.
Quando usarlo
- You inherit a module and need to understand it before editing.
- You need to review code in a language or framework you rarely use.
Cosa preparare
- The code (a function, a class or a small file) and what you plan to change.
Output atteso
Markdown with the five numbered parts.
Informazioni su questo catalogo
Istantanea inclusa · pubblicato 15 nov 2026, 06:05 · Revisione del catalogo 5bc079fe355af2214bc0
Viene mostrata l’istantanea inclusa nell’app (nessuna fonte di contenuti configurata). Alla fonte potrebbero esserci contenuti più recenti.