Board Public

Frontend fixes

What I reach for when a PR comes back with accessibility comments, or the tests are thin.

Asha Rao6 promptsUpdated 3 Oct 2026

Prompts on this board

Writing

Run this before the reviewer does.

Write alt text for this image: describe the image or attach it. It appears on page next to surrounding text. Describe what the image adds that the text doesn't. One or two sentences, no "image of", no keyword stuffing. If the image is decorative, say so and return an empty alt.
Asha Rao330 uses
Generate light and dark colour tokens from the brand colour hex. Output CSS custom properties for: page background, raised surface, sunken surface, primary text, secondary text, muted text, hairline, control border, focus ring and the primary button. Rules: · Body text must reach 4.5:1 against its background in both themes. Show the ratio next to each pair. · Don't put the brand colour on large surfaces. · Dark mode is designed, not inverted: lift surfaces with lightness, not shadows. :root { /* light */ } data-theme="dark" { /* dark */ }
Sofia Marquez640 uses
Write test framework tests for the function below. Cover the happy path, the boundaries, invalid input, and one property that should always hold. Use test names that read as sentences. Don't mock what you don't own. If the function is hard to test, suggest the smallest refactor that would help. paste function
Arjun Mehta720 uses
Write a regex in language that matches what it should match and does not match what it should not. Then give 8 test strings: 4 that should match and 4 that shouldn't, including edge cases like empty strings and Unicode. Explain each part of the pattern in a table. If a regex is the wrong tool here, say so and show the alternative.
Arjun Mehta990 uses
Here's my git log since yesterday's standup: [paste git log --oneline --since=yesterday] Write my standup update in three lines: Done, Doing, Blocked. Group related commits, use plain words instead of commit jargon, and leave Blocked as "Nothing" if there's nothing in the log that suggests a blocker.
Asha Rao190 uses