lean-text-scaffolding
Lean text scaffolding
Keep newly scaffolded web pages from filling up with verbose filler, generic placeholder words, decorative labels, and repeated eyebrow text.
Decision tree
What are you building or editing?
-
A new web page, landing page, product page, dashboard, or section with generated copy Apply the lean baseline in this file, then read
references/rules.mdfor detailed budgets. -
An existing page feels wordy, generic, or crowded with labels Read
references/rules.md, remove low-value text, then runscripts/audit_lean_text.tson changed HTML/JSX/TSX files when Bun is available. -
A page contains forms, filters, search, settings, or other inputs Preserve visible or accessible labels, legends, helper text, and error instructions. Read
references/research.mdif tempted to replace labels with placeholders. -
The user explicitly asks for detailed copy, labelled sections, content placeholders, a copy deck, SEO text, legal copy, or client-provided wording Follow the request. Keep the content organized, but do not enforce the lean default against explicit requirements.