CODEX PROMPTS
# Codex Prompts — Prompt Lab v1.6 --- ## Prompt 1: Ghost Variables (Logic Layer) **Target files (modify only these):** - `prompt-lab-extension/src/promptUtils.js` - `prompt-lab-extension/src/hooks/usePromptEditor.js` **Do NOT modify:** `App.jsx`, `background.js`, `manifest.json`, `platform.js`, or any other file. ### Context Prompt Lab has a template variable system. When a user loads a saved prompt containing `{{varName}}` placeholders, the app extracts the variable names, shows a form for the user to fill in values, then substitutes them into the prompt text. Current flow in `usePromptEditor.js` (line 294):
fill the variables
This prompt has 1 variable. Pro fills them into a ready-to-paste prompt for you — no manual find-and-replace.
{{varName}
Unlock with Pro →when to use it
Community prompt sourced from the open-source GitHub repo DaveHomeAssist/prompt-lab (NOASSERTION). A "CODEX PROMPTS" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
writingcommunitygeneral
source
DaveHomeAssist/prompt-lab · NOASSERTION
more in Writing
Writing✓ tested
Explain anything to a smart friend
great teacher who refuses to dumb things down
Writing✓ tested
Line-edit my draft (keep my voice)
sharp copy editor who tightens without flattening
Writing✓ tested
Outline a long piece before you write it
editor who structures the argument before a word is drafted