{"data":{"slug":"discovered-3c86db726feea85fe611ee8085b6e7f34acf3670489ba8a0","title":"QA for Static and Headless Chrome Site Checks","summary":"Run an automatic QA pass on a site, including static checks and a headless Chrome pass for no-JS, keyboard, widths, reduced motion, and dark mode, fixing every error and reporting the rest in plain words.","url":"https:\/\/skillshunter.net\/skills\/discovered-3c86db726feea85fe611ee8085b6e7f34acf3670489ba8a0","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-3c86db726feea85fe611ee8085b6e7f34acf3670489ba8a0","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-3c86db726feea85fe611ee8085b6e7f34acf3670489ba8a0.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-3c86db726feea85fe611ee8085b6e7f34acf3670489ba8a0\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Before running the QA pass, ensure the project directory is correctly specified. If the site folder is not named 'site', 'public', 'dist', 'out', or 'build', use the `--site <dir>` flag. Also, ensure that any secrets found during the process are not pasted directly; instead, name the file and instruct the user to rotate the key.","instructions":"---\nname: qa\ndescription: Run an automatic QA pass on a site (static checks, then a real headless-Chrome pass: no-JS, keyboard, widths, reduced motion, dark mode), fix every error, look at the screenshots, and report the rest in plain words.\ndisable-model-invocation: false\n---\n# Lilac QA\n\nThe human should not have to hunt for errors. Run the checks, fix what fails, show the output.\n\n1. Run the static pass: `node \"${CLAUDE_PLUGIN_ROOT}\/scripts\/qa.mjs\" \"<project>\"` (add `--site <dir>` if the site folder is not `site`, `public`, `dist`, `out` or `build`; `--budget <KB>` changes the 500 KB page budget; `--json` for machine output). It reads files only and uses no network. It also checks the no-JavaScript render, content hidden at load, and motion safety (reduced-motion override, infinite animations, animated layout properties).\n2. Run the browser pass: `node \"${CLAUDE_PLUGIN_ROOT}\/scripts\/qa-browser.mjs\" \"<project>\"` (same `--site`, `--json`; `--widths 360,768,1280` to change widths). It starts its own local server and headless Chrome, and checks overflow, console errors, failed requests, tap targets, no-JavaScript text, the Tab key walk-through (visible focus, traps, skip link, unreachable controls), reduced motion and dark-scheme contrast. If it prints `qa-browser: SKIPPED(no browser)`, no Chrome was found: say the browser pass was not done (set `CHROME=\/path\/to\/chrome` to fix it).\n3. If either reports errors, fix every one in the Builder role, using the `fix:` hint printed under each. If you are a read-only agent (Tester, Reviewer, Security), do not edit: hand the list to the Builder.\n4. Re-run both until each last line says `0 error(s)`. Never skip an error, loosen a check, or edit the checker to make it pass.\n5. Look at the saved screenshots: Read each PNG in `<project>\/.lilac\/qa\/` (one per page and width). Look for what the scripts cannot see: broken or ugly layout, clipped or crowded text, weak hierarchy, images that look wrong, anything off at 360 px. Fix what you find, then re-run.\n6. Report to the human in plain words: what was fixed, the warnings (what each means and whether to act), every UNVERIFIED item with its reason, and what you saw in the screenshots. Include both final lines (`qa:` and `qa-browser:`) verbatim.\n\nRules\n- Say \"QA passed\" only with the command output in the same message. Without it, say what you did and what is unverified.\n- Warnings do not fail the run but still go in the report. UNVERIFIED means the tool could not decide: say so, never turn it into a pass.\n- Do not paste secrets the tool found. Name the file, tell the human to rotate the key.\n\nAutomated QA cannot judge (say so in the report): copy quality and tone, brand fit and visual taste, whether the page does its job for a real visitor, real-device behaviour (touch, slow networks, old browsers, screen readers), and color contrast on images or gradients. Say these remain for a human.\n","use_cases":["Automated accessibility and performance checks for a website","Ensuring a site meets no-JS, keyboard, and reduced motion requirements","Fixing errors identified during static and headless Chrome QA passes"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/DevPatel128\/lilac-plugin\/blob\/7e77aadbd31442412fba6856e43e4a2d8b781a6d\/skills\/qa\/SKILL.md","source_commit":"7e77aadbd31442412fba6856e43e4a2d8b781a6d","license":null,"version":null,"listing_approved_at":"2026-11-29","created_at":"2026-11-28T18:58:32.000000Z","updated_at":"2026-11-29T10:54:05.000000Z","seo_title":"QA for Static and Headless Chrome Site Checks","seo_description":"Automatically run QA checks on a website using static analysis and headless Chrome, ensuring compliance with accessibility, performance, and design standards.","seo_keywords":["QA site check","headless chrome testing","no-JS validation","accessibility testing","website performance checks"]}}