Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

update-trace-engine

Skill by GoogleChrome

Guides maintainers through building, validating, publishing and rolling the @paulirish/trace_engine npm package into Lighthouse. It is for Lighthouse and DevTools maintainers who update this dependency.

  • Score 86
  • 31k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install update-trace-engine

Built from the published package, never by AI.

git clone --depth 1 https://github.com/GoogleChrome/lighthouse /tmp/lighthouse && mkdir -p ~/.claude/skills && cp -r /tmp/lighthouse/.agents/skills/update-trace-engine ~/.claude/skills/update-trace-engine

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install update-trace-engine in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is a maintainer runbook for updating the @paulirish/trace_engine npm package and rolling it into Lighthouse. The package is built from the trace-engine-lib branch of paulirish/devtools-frontend and exposes Chrome DevTools' trace processor from front_end/models/trace. The steps cover merging upstream main, running the build script, fixing TypeScript and Mocha failures, and bumping the patch version.

The assistant copies the built package into Lighthouse's node_modules for local checks. These include type-checking, bundle builds, unit tests, baseline updates and linting. It then pauses so a user can run npm publish with interactive authentication. After that, it updates package.json and yarn.lock and drafts the Lighthouse pull request. It is aimed at Lighthouse and DevTools maintainers who handle this dependency.

Written from the project's SKILL.md and checked against it.

What it can do

  • Merge upstream changesMerges origin/main into trace-engine-lib in devtools-frontend and lists trace-related commits.
  • Build the packageRuns prep-trace-engine-package.sh to build out/TraceEngine and stage the npm package.
  • Fix build and test failuresAdjusts shims, stubs and Mocha expectations when TypeScript or tests fail.
  • Bump the versionSets the next patch version of the package with npm version.
  • Validate in LighthouseRuns type-checking, bundle builds, unit tests and lint against the local package copy.
  • Update baselinesRefreshes sample JSON, flow fixtures and Lantern baseline files when changes are expected.
  • Roll the dependencyUpdates package.json and yarn.lock after the user confirms the npm publish.
  • Draft the pull requestWrites the Lighthouse PR description with the git log of trace changes.

What you need

  • Node.js and npm
  • depot_tools (gn and autoninja)
  • A local devtools-frontend checkout on the trace-engine-lib branch
  • yarn
  • An npm account with interactive authentication for publishing

Try asking

  • Merge the latest devtools-frontend main into trace-engine-lib and build.
  • Run the trace_engine tests and fix any failures.
  • Roll @paulirish/trace_engine to the new version in Lighthouse.

Good to know

  • Publishing to npm requires the user to run npm publish with interactive authentication.
  • Paths assume a $HOME/code/trace_engine staging directory and a devtools-frontend checkout.
  • Commits and pushes to the fork happen only when the user requests them.
  • Built for updating this specific package in Lighthouse, not general use.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/update-trace-engine/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md9 KB

Alternatives to update-trace-engine

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

update-trace-engine: common questions

What does the update-trace-engine skill do?

It walks through merging devtools-frontend main, building @paulirish/trace_engine, validating it in Lighthouse, and rolling the new version into Lighthouse.

Does it publish the package to npm automatically?

No. The skill pauses and asks the user to run npm publish, because it requires interactive npm authentication.

Which code does the package come from?

It is built from the trace-engine-lib branch of paulirish/devtools-frontend, using the front_end/models/trace code.

How do I install update-trace-engine?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is update-trace-engine free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is update-trace-engine safe to use?

It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to update-trace-engine?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

update-trace-engine Install

Add to stack

Loading.