跳至主要內容
kitlocal.dev

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.

此資源僅提供英文版本。

提示詞是你複製到自己助理中的文字。KitLocal 不會執行它們。

填寫變數

你輸入的內容只保留在此瀏覽器中,不會加入 URL、儲存或傳送到任何地方。

預覽

仍需填寫: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}}

用途

Build a correct mental model of unfamiliar code before you change it.

適用時機

  • You inherit a module and need to understand it before editing.
  • You need to review code in a language or framework you rarely use.

需要準備的內容

  • The code (a function, a class or a small file) and what you plan to change.

預期輸出

Markdown with the five numbered parts.

關於此目錄

內建快照 · 發布於 2026年11月15日 清晨6:05 · 目錄修訂版 5bc079fe355af2214bc0

正在顯示應用程式內建的快照(尚未設定內容來源)。來源處可能已有更新的內容。