From One-Off ChatGPT Asks to a Reusable Frontend Prompt Library
Description and use
<p>I used to treat ChatGPT like a vending machine. Need a React hook? Drop a coin. Need a PR summary? Drop another. Every ask started from zero — stack, conventions, what “done” meant — and every reply drifted a little from how we actually ship.</p> <p>The waste wasn’t the tokens. It was re-explaining our frontend rules every single time, then cleaning up the same mistakes.</p> <p>So I stopped pasting one-offs and started treating prompts like code: named, versioned, and checked into the repo.</p> <h2> One-off asks don’t compound </h2> <p>A throwaway chat is fine for a throwaway question. Fron
Problem
<p>I used to treat ChatGPT like a vending machine. Need a React hook? Drop a coin. Need a PR summary? Drop another. Every ask started from zero — stack, conventions, what “done” meant — and every reply drifted a little from how we actually ship.</p> <p>The waste wasn’t the tokens. It was re-explaining our frontend rules every single time, then cleaning up the same mistakes.</p> <p>So I stopped pasting one-offs and started treating prompts like code: named, versioned, and checked into the repo.</p> <h2> One-off asks don’t compound </h2> <p>A throwaway chat is fine for a throwaway question. Fron
Outcome
<p>I used to treat ChatGPT like a vending machine. Need a React hook? Drop a coin. Need a PR summary? Drop another. Every ask started from zero — stack, conventions, what “done” meant — and every reply drifted a little from how we actually ship.</p> <p>The waste wasn’t the tokens. It was re-explaining our frontend rules every single time, then cleaning up the same mistakes.</p> <p>So I stopped pasting one-offs and started treating prompts like code: named, versioned, and checked into the repo.</p> <h2> One-off asks don’t compound </h2> <p>A throwaway chat is fine for a throwaway question. Fron
Evidence
From One-Off ChatGPT Asks to a Reusable Frontend Prompt Library
- Record date: 2026-10-25T13:11:40.351Z