Svelte5 Best Practices
SikandarJODD/cnblocks
Svelte 5 runes, snippets, SvelteKit patterns, and modern best practices for TypeScript and component development.
Surgically injects trace macros (TRACEEVENT) into Chromium C++ files to expose "black box" latency gaps, resolves headers, and compiles the browser using a self-healing loop.
$ npx skills add nwjs/chromium.src --skill latency-instrumentation -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install nwjs/chromium.src latency-instrumentation --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/nwjs/chromium.src.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agents/skills/latency-instrumentation .claude/skills/latency-instrumentation && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "latency-instrumentation" agent skill from https://github.com/nwjs/chromium.src/tree/main/agents/skills/latency-instrumentation into .claude/skills/latency-instrumentation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "latency-instrumentation", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/nwjs/chromium.src/tree/main/agents/skills/latency-instrumentationType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add nwjs/chromium.src --skill latency-instrumentation -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install nwjs/chromium.src latency-instrumentation --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/nwjs/chromium.src.git skills-src && mkdir -p .agents/skills && cp -r skills-src/agents/skills/latency-instrumentation .agents/skills/latency-instrumentation && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "latency-instrumentation" agent skill from https://github.com/nwjs/chromium.src/tree/main/agents/skills/latency-instrumentation into .agents/skills/latency-instrumentation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "latency-instrumentation", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add nwjs/chromium.src --skill latency-instrumentation -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install nwjs/chromium.src latency-instrumentation --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/nwjs/chromium.src.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/agents/skills/latency-instrumentation .cursor/skills/latency-instrumentation && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "latency-instrumentation" agent skill from https://github.com/nwjs/chromium.src/tree/main/agents/skills/latency-instrumentation into .cursor/skills/latency-instrumentation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "latency-instrumentation", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/nwjs/chromium.src.git --path agents/skills/latency-instrumentation--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add nwjs/chromium.src --skill latency-instrumentation -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install nwjs/chromium.src latency-instrumentation --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/nwjs/chromium.src.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/agents/skills/latency-instrumentation .gemini/skills/latency-instrumentation && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "latency-instrumentation" agent skill from https://github.com/nwjs/chromium.src/tree/main/agents/skills/latency-instrumentation into .gemini/skills/latency-instrumentation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "latency-instrumentation", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install nwjs/chromium.src latency-instrumentationInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add nwjs/chromium.src --skill latency-instrumentation -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/nwjs/chromium.src.git skills-src && mkdir -p .github/skills && cp -r skills-src/agents/skills/latency-instrumentation .github/skills/latency-instrumentation && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "latency-instrumentation" agent skill from https://github.com/nwjs/chromium.src/tree/main/agents/skills/latency-instrumentation into .github/skills/latency-instrumentation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "latency-instrumentation", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add nwjs/chromium.src --skill latency-instrumentation -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install nwjs/chromium.src latency-instrumentation --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/nwjs/chromium.src.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/agents/skills/latency-instrumentation .opencode/skills/latency-instrumentation && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "latency-instrumentation" agent skill from https://github.com/nwjs/chromium.src/tree/main/agents/skills/latency-instrumentation into .opencode/skills/latency-instrumentation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "latency-instrumentation", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
latency-instrumentationSurgically injects trace macros (TRACEEVENT) into Chromium C++ files to expose "black box" latency gaps, resolves headers, and compiles the browser using a self-healing loop.
Latency Instrumentation is an agent skill from nwjs/chromium.src. Surgically injects trace macros (TRACEEVENT) into Chromium C++ files to expose "black box" latency gaps, resolves headers, and compiles the browser using a self-healing loop. Strictly no performance optimizations or refactoring.
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Performance optimization and Refactoring. It works with C++. The repository describes itself as: Chromium codebase with NW.js modifications. Based on https://chromium.googlesource.com/chromium/src.git. The licence is BSD-3-Clause.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit a9e8946. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitrgFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Latency Instrumentation loads about 1.2k tokens when it runs. Until then it costs about 63 tokens; SKILL.md has 498 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from nwjs/chromium.src at commit a9e8946, republished under its BSD-3-Clause licence (© nwjs). 498 words, ~1,168 tokens.
.claude/skills/latency-instrumentation/SKILL.md (or your agent's skills folder).This skill guides the agent through surgically injecting TRACE_EVENT macros
into Chromium C++ files to break down uninstrumented main-thread blocking gaps
("black boxes") and verifying the changes via an automated compilation loop.
This skill is strictly for data collection and instrumentation. You MUST NOT make any performance optimization or refactoring changes (such as caching, background-thread offloading, or logic restructuring). Your sole purpose is to add instrumentation to help the Trace Analyzer drill down into untraced gaps.
Before executing this skill, you must have:
target_method: The fully qualified C++ method name (e.g.
LocationIconView::Update).category: The trace category (e.g., "omnibox", "navigation").instructions: Step-by-step C++ trace injection instructions (e.g.,
identifying loops or blocks to wrap).parent_session_id: The unique session ID.git cl format immediately
after editing.git reset --hard HEAD to cleanly restore the last
successful iteration's checkpoint.Use the codesearch tool to find the .cc and .h files declaring the
target_method. Example:
lang:cpp "LocationIconView::Update"If remote search yields zero results (common for unsubmitted local edits), run local ripgrep:
rg -n --type cpp "LocationIconView::Update"Read the files using view_file.
Analyze the C++ source file to find the exact start and end lines of the
target_method. Take care to match namespace scope, class qualifiers, and
specific overloads.
{
TRACE_EVENT0("category", "ParentMethodName::SubBlockName");
// original code block
}#include "base/trace_event/trace_event.h" is present at the top
of the C++ file. If missing, inject it programmatically inside the include
section.sed or cat << 'EOF'.git cl format <modified_files> via run_command to format the code.You are allowed up to 3 total compilation attempts to resolve any syntax, missing include, or structural errors:
autoninja to compile:autoninja -C out/Default chromegit add <modified_files> (add files manually, avoid wildcards).git commit -m "feat(e2e-nla): Instrument [target_method]" to
checkpoint your progress.stderr output.autoninja.git reset --hard HEAD to revert all uncommitted modifications back to the
last successful checkpoint (preserving previous successful iterations), and
report failure.Report back with a JSON payload matching this structure:
{
"status": "SUCCESS" | "FAILED",
"modified_files": ["chrome/browser/...cc"],
"compile_output": "Compiler logs or error details"
}© nwjs, BSD-3-Clause. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in agents/skills/latency-instrumentation of nwjs/chromium.src.
Open the folder on GitHubat commit a9e8946
Latency Instrumentation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Latency Instrumentation this skillnwjs/chromium.src | 160 | — | ~1.2k | Automated safety check: Pass | BSD-3-Clause | |
| Svelte5 Best PracticesSikandarJODD/cnblocks | 430 | 1 repos | ~810 | Automated safety check: Pass | MIT | |
| ExecuTorch Binary Size Reductionpytorch/executorch | 5.1k | — | ~793 | Automated safety check: Pass | Custom licence | |
| React Best Practicesshapeshift/web | 206 | 1 repos | ~2k | Automated safety check: Pass | MIT | |
| Cppcrazyguitar/cppcheatsheet | 290 | — | ~1.8k | Automated safety check: Pass | MIT | |
| Embedded Cpp14 MisraBlueAndi/Pixelix | 443 | — | ~2k | Automated safety check: Pass | MIT |
SikandarJODD/cnblocks
Svelte 5 runes, snippets, SvelteKit patterns, and modern best practices for TypeScript and component development.
pytorch/executorch
Measures and shrinks the ExecuTorch runtime binary by building a size test, analyzing it with bloaty and landing each reduction as its own pull request.
shapeshift/web
Comprehensive React and Next.js performance optimization guide with 40+ rules for eliminating waterfalls, optimizing bundles, and improving rendering.
crazyguitar/cppcheatsheet
Comprehensive C/C++ programming reference covering everything from C11-C23 and C++11-C++23, system programming, CUDA GPU computing, debugging tools, Rust interop, and advanced topics.
BlueAndi/Pixelix
A skill your agent uses when writing, reviewing, or refactoring C/C++ firmware code in this repository (src/, lib/, test/) — creating or editing .h/.hpp/.cpp files, applying MISRA-oriented and…
vinayakkulkarni/nxui
Nuxt 4 performance optimization and architecture guidelines (current through Nuxt 4.5) for building fast, maintainable full-stack applications.
nwjs/chromium.src
Extracts raw trace data from Perfetto traces, runs arbitrary SQL queries for custom follow-up analysis, and applies expert cognitive principles (Tiered Flow Analysis, Semantic Mismatch, Redundancy)…
nwjs/chromium.src
Autonomous multi-agent performance optimization loop for Chromium and V8.
nwjs/chromium.src
Automated Tracing & Performance Telemetry in Chromium using Perfetto and Telemetry benchmarks.
nwjs/chromium.src
Queries Chrome commit, version, release, and milestone metadata.
nwjs/chromium.src
Search and reference Chromium documentation from the local docs index, including design docs, APIs, and development guides.
nwjs/chromium.src
Diagnose Chromium GN dependency and include-visibility failures, including BUILD.gn deps/publicdeps, DEPS include rules, private headers, and circular dependencies.
Works with
Categories
Surgically injects trace macros (TRACEEVENT) into Chromium C++ files to expose "black box" latency gaps, resolves headers, and compiles the browser using a self-healing loop. src. Surgically injects trace macros (TRACEEVENT) into Chromium C++ files to expose "black box" latency gaps, resolves headers, and compiles the browser using a self-healing loop.
Latency Instrumentation fits situations like: tasks that involve Performance optimization; tasks that involve Refactoring.
Run `npx skills add nwjs/chromium.src --skill latency-instrumentation -a claude-code`. Or copy the skill folder (agents/skills/latency-instrumentation in nwjs/chromium.src) into .claude/skills/latency-instrumentation in your project. Claude Code loads it when a task matches its description.
Run `npx skills add nwjs/chromium.src --skill latency-instrumentation -a codex`. Or copy the skill folder (agents/skills/latency-instrumentation in nwjs/chromium.src) into .agents/skills/latency-instrumentation in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add nwjs/chromium.src --skill latency-instrumentation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/latency-instrumentation, .gemini/skills/latency-instrumentation, .github/skills/latency-instrumentation and .opencode/skills/latency-instrumentation in your project.
Going by SKILL.md and its folder, Latency Instrumentation needs the command-line tools its instructions call (git and rg).
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Latency Instrumentation is published under the BSD-3-Clause licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Latency Instrumentation: Svelte5 Best Practices (SikandarJODD/cnblocks, 430 stars), ExecuTorch Binary Size Reduction (pytorch/executorch, 5.1k stars), React Best Practices (shapeshift/web, 206 stars) and Cpp (crazyguitar/cppcheatsheet, 290 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
nwjs (a GitHub organization) maintains it in nwjs/chromium.src, which has 160 GitHub stars. The repository holds 64 skills in this directory. The repository was last updated on October 3, 2026.
Source: nwjs/chromium.src on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.