OpenParable
Skip to content
← Back to skills

Lighthouse Verification

Testing & Quality
lighthouse-verification

Lighthouse Verification is an Agent Skill for testing & quality published in the GoogleChrome/lighthouse repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Instructions for how to validate changes made to Lighthouse. Must invoke when making changes to Lighthouse.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/GoogleChrome/lighthouse/blob/HEAD/.agents/skills/lighthouse-verification/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/lighthouse-verification, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Lighthouse verification

Run a subset of the unit tests like this:

yarn mocha test/files/to/run

Don't run "yarn unit" - it takes too long.

Run typechecking and linter:

yarn type-check
yarn lint --fix

Make sure to run some unit tests and the type-checker / linter after making changes.

Always run yarn update:sample-json after making any change.