Skip to content

Instantly share code, notes, and snippets.

View juhyeonni's full-sized avatar
👻

Juhyeon Lee juhyeonni

👻
  • Daegu, South Korea ⇄ Kumamoto, Japan
View GitHub Profile
name explain-diff-html
description Use when the user asks for a rich explanation of a code change, diff, branch, or PR. Produces HTML output.

Explain Diff

Please make me a rich, interactive explanation of the specified code change.

It should have these sections:

@abritinthebay
abritinthebay / consoleColors.js
Last active July 20, 2026 14:58
The various escape codes you can use to color output to StdOut from Node JS
// Colors reference
// You can use the following as so:
// console.log(colorCode, data);
// console.log(`${colorCode}some colorful text string${resetCode} rest of string in normal color`);
//
// ... and so on.
export const reset = "\x1b[0m"
export const bright = "\x1b[1m"
export const dim = "\x1b[2m"