impeccable/polish
Perform a meticulous final quality pass on a frontend interface to catch all the small details that separate good work from great work. The agent will discover the project's design system, assess the current state of the target, systematically polish it across all visual and inte
8 steps · start to finish.
- 1Step 1
Environment Setup
▶Verify all prerequisites and load project context before any design work.
# Verify node is present command -v node >/dev/null || { echo "ERROR: node not installed"; exit 1; } # Create results directory mkdir -p /app/results # Verify target is specified if [ -z "$TARGET" ]; then echo "ERROR: TARGET is not set. Set TARGET to the file, component, or route to polish." exit 1 fi echo "Target: $TARGET" echo "Quality bar: ${QUALITY_BAR:-flagship}"Pre-flight check (state before editing any files):
IMPECCABLE_PREFLIGHT: context=? product=? command_reference=polish shape=not_required image_gate=not_required mutation=closedDo not open
mutation=openuntil all gates pass. - 2Step 2
Design System Discovery
▶**Aligning to the design system is non-optional.** Polish without alignment is decoration on top of drift.
- 3Step 3
Pre-Polish Assessment
▶Understand the current state before touching anything. Do **not** skip this step.
- 4Step 4
Systematic Polish Pass
▶Work through each dimension methodically. Record every change in `/app/results/changes.md` with reasoning. Maintain consistent quality — never perfect one area while leaving others rough.
- 5Step 5
Iterate on Issues (max 3 rounds)
▶After the first systematic pass, do a fresh-eyes review:
- 6Step 6
Complete Polish Checklist
▶Write `/app/results/polish_checklist.md` with a status for each item:
- 7Step 7
Final Verification
▶Before marking as done:
- 8Step 8
Write Output Files
▶Write all required output files to `/app/results/`: