Home / Prompts / Code

Fix my website with Chrome's Modern Web Guidance

Scan your site for outdated patterns and fix forms and loading with Google Chrome's open-source guidance.

CodeStep by step

The prompt

In my website project at ~/code/my-site (change the path): 1) run DISABLE_TELEMETRY=1 npx modern-web-guidance legacy-scan . and explain each finding in plain words; 2) run npx modern-web-guidance search 'sign-up form' and retrieve the best guide; 3) fix only the sign-up and sign-in forms using that guide (autocomplete, input types, labels); 4) run my tests; 5) show me the diff before you commit. Do not change anything else.

How to use it

  1. Make sure Shellway is connected in ChatGPT, Claude or Cursor.
  2. Paste the prompt and change the folder names or paths to match your computer.
  3. Review the plan your AI shows before you confirm any changes.

Tips

  • Commit to git first so every change can be undone.
  • Next run: search 'image loading priority' or 'one-time code' and fix one thing per run.

Related prompts