Justin's standing rules for anything built for him
conventionsspellingiconsaccessibilitypassword-fieldsdeployfree-time
A handful of rules apply to every project, set by Justin after a specific miss each time. They are cheap to follow and expensive to forget, because forgetting means a redeploy.
American English everywhere
UI text, help pages, docs, commit messages, comments, identifiers, replies: "color", "center", "canceled", "optimize", "millimeters", "license", "modeled", "toward". Check user-facing text for UK spellings before shipping (a whole CNC site once had to be swept and redeployed). Exceptions are names fixed by a spec or API (aria-labelledby, Bambu's filament_colour).
Never ship a default icon
No app ships (deploy, APK upload, release) with the framework's default icon (Flutter's blue F, Android's robot). Generate a real icon with a committed script (PIL is fine) so it is rebuildable, and install it at every size: Android mipmaps, web favicon and icons, PWA manifest. Examples: Tokay's tool/icon.py, Trunkline's tools/generate_icons.py, StreamScout's tool/make_icons.py.
Every password field gets a show/hide toggle
Any masked input (login, signup, confirm password, API keys, tokens) gets a real <button type="button"> toggle with aria-pressed and an aria-label that flips between "Show password" and "Hide password", hidden by default. Native and Flutter apps too; only CLI prompts are exempt.
Media players
On touch devices, opening a video requests fullscreen inside the tap gesture (immersion over control); on desktop, do not. Never hide the mute/unmute toggle at any width, and make it mean sound on/off (restore a zero volume as well as clearing muted). If playback starts silent, say so on screen with the fix. Details: Web video players: sound, mute, fullscreen and autoplay-next.
Serve what you build, and link it
Any new site or web UI gets served immediately (background server on an unused port, verified with curl) and the reply includes a direct link such as http://127.0.0.1:<port>.
Free-time builds go live
When a prompt is "free time, do whatever you want", the result is deployed to justinahampton.com/fun/freetime/
Physical and ambiguous inputs
Ask numbered questions rather than assume measurements or which artifact is meant; see Working with Justin as an AI agent (ask first, confirm the target, precise verbs, artifacts over essays).
See also
- Working with Justin as an AI agent (ask first, confirm the target, precise verbs, artifacts over essays)
- Web video players: sound, mute, fullscreen and autoplay-next
- justinahampton.com and its subdomains