Agent skill

Experimental Code Coverage Config Validator

by nwjs in nwjs/chromium.src

Validates Chromium generated builder configurations (gn-args.json) for code coverage correctness based on language context.

BSD-3-ClauseAuto-check passedTesting & QA

Install Experimental Code Coverage Config Validator

skills CLI
$ npx skills add nwjs/chromium.src --skill experimental-code-coverage-config-validator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install nwjs/chromium.src experimental-code-coverage-config-validator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/nwjs/chromium.src.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agents/skills/experimental-code-coverage-config-validator .claude/skills/experimental-code-coverage-config-validator && rm -rf skills-src

Use ~/.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/

Facts

Skill name
experimental-code-coverage-config-validator
GitHub stars
160
Token cost
~1.1k tokens
SKILL.md length
399 words
Files
1
Skills in repo
64
Repo updated
First seen
Licence
BSD-3-Clause

At a glance

Validates Chromium generated builder configurations (gn-args.json) for code coverage correctness based on language context.

  • Works in 5 steps: Locate GN Args File: Search for… → Inspect Configuration: Examine the… → Perform Checks: Check each required… → …
  • Tasks that involve Test coverage
  • SKILL.md covers Inputs, When to Use This Skill, Validation Checks and Step-by-Step Execution, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Experimental Code Coverage Config Validator is an agent skill from nwjs/chromium.src. Validates Chromium generated builder configurations (gn-args.json) for code coverage correctness based on language context.

Its SKILL.md is about 1.1k 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 Testing & QA, covering Test coverage. 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.

When your agent uses it

  • Tasks that involve Test coverage

Example prompts

  • “Use the experimental-code-coverage-config-validator skill to validate Chromium generated builder configurations (gn-args.json) for code coverage…”
  • “/experimental-code-coverage-config-validator”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Locate GN Args File: Search for builder_name inside
  2. Inspect Configuration: Examine the "gn_args" dictionary in the JSON.
  3. Perform Checks: Check each required key-value pair as defined in the
  4. Generate Report
  5. Environment Reminder: If language_context is "cpp", "objc", or

What it can do on your machine

Read from SKILL.md and the folder at commit a9e8946. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Experimental Code Coverage Config Validator loads about 1.1k tokens when it runs. Until then it costs about 42 tokens; SKILL.md has 399 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~42
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from nwjs/chromium.src at commit a9e8946, republished under its BSD-3-Clause licence (© nwjs). 399 words, ~1,093 tokens.

Download SKILL.mdSave it as .claude/skills/experimental-code-coverage-config-validator/SKILL.md (or your agent's skills folder).
name
experimental-code-coverage-config-validator
description
Validates Chromium generated builder configurations (gn-args.json) for code coverage correctness based on language context.

Code Coverage Config Validator

Use this skill to verify if a Chromium builder is correctly configured in its generated GN arguments (gn-args.json) to produce code coverage data.


Inputs

When invoking this skill, the caller MUST pass the following inputs in the prompt:

  • builders_of_concern: Target builder names to validate (e.g., ["linux-rel"]). To locate the Starlark .star definition file for each builder, reference: builder_star_map.json.
  • language_context: The programming language context ("cpp", "objc", "rust", "java", "js", or "ts"). Consult language_coverage_map.json for authoritative mappings.

When to Use This Skill

  • Verifying if a builder has the correct GN arguments for code coverage.
  • Debugging why code coverage artifacts are missing or not updated.
  • Triaging a code coverage bug where builder configuration needs validation.

Validation Checks

Consult language_coverage_map.json for the required settings mapped to language_context. Verify that the builder's configuration (gclient_config and generated gn-args.json) satisfies both:

  • gclient Configuration: Inspect builder_spec.gclient_config to confirm any required_gclient_vars (e.g., checkout_clang_coverage_tools set via apply_configs = ["use_clang_coverage"]).
  • GN Arguments (gn_args): Inspect generated gn-args.json to confirm all required_gn_args are present.

Step-by-Step Execution

  1. Locate GN Args File: Search for builder_name inside infra/config/generated/builders/gn_args_locations.json to resolve its relative path (e.g., "try/linux-rel/gn-args.json"). Read the JSON file at infra/config/generated/builders/<relative_path>.
  2. Inspect Configuration: Examine the "gn_args" dictionary in the JSON.
  3. Perform Checks: Check each required key-value pair as defined in the Validation Checks section for the given language_context.
  4. Generate Report:
    • Validation Success: If all checks pass, report builder is valid.
    • Validation Failure: Detail missing or incorrect configurations. Recommend updating the builder's Starlark file and regenerating configs via lucicfg generate infra/config/main.star.
  5. Environment Reminder: If language_context is "cpp", "objc", or "rust", append a reminder that local Clang code coverage generation requires "checkout_clang_coverage_tools": True in the developer's ~/.gclient file under custom_vars.

Show full SKILL.md (119 more words)Show less

Example Outputs

Example 1: Successful Validation (C++)

Builder linux-rel validation successful for language context cpp. All required GN arguments (use_clang_coverage = true, is_clang = true, and is_debug = false) are present in gn-args.json.

Example 2: Failed Validation (C++)

Builder linux-rel for language context cpp requires updates:

  • LACKING: "is_debug": false is missing in gn-args.json.

  • SUGGESTED CHANGE: Update the Starlark builder definition to set is_debug = False and run lucicfg generate infra/config/main.star.

  • REMINDER: For local C++ coverage generation, ensure your ~/.gclient file contains:

    python
    custom_vars = {
        "checkout_clang_coverage_tools": True,
    }
Example 3: Failed Validation (Java)

Builder android-x86-rel for language context java requires updates:

  • LACKING: "use_jacoco_coverage": true is missing in gn-args.json.
  • SUGGESTED CHANGE: Update the Starlark builder definition to set use_jacoco_coverage = True and regenerate configs via lucicfg.

© 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

Files

Just SKILL.md in agents/skills/experimental-code-coverage-config-validator of nwjs/chromium.src.

Open the folder on GitHubat commit a9e8946

Compare with similar skills

Experimental Code Coverage Config Validator 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.

Experimental Code Coverage Config Validator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Experimental Code Coverage Config Validator this skillnwjs/chromium.src160—~1.1kAutomated safety check: PassBSD-3-Clause
OpenROAD Module Test AdderThe-OpenROAD-Project/OpenROAD3.2k—~1.8kAutomated safety check: PassBSD-3-Clause
Testinghw-native-sys/pypto126—~1.1kAutomated safety check: PassCustom licence
Review Op Test CoverageCVCUDA/CV-CUDA2.7k—~264Automated safety check: PassCustom licence
Coveragethun-res/vlink115—~913Automated safety check: PassApache-2.0
Interval Guided Regression Test UpdateArabelaTso/Skills-4-SE253—~2.7kAutomated safety check: PassApache-2.0

Similar skills

  • OpenROAD Module Test Adder

    The-OpenROAD-Project/OpenROAD

    Adds integration or unit tests to an OpenROAD module: writes the Tcl test, generates golden files and registers it in both CMake and Bazel.

    3.2k GitHub stars~1.8k tokensUpdated today
    Testing & QAAuto-check passed
  • Testing

    hw-native-sys/pypto

    Verify testing coverage and run tests for PyPTO project. An agent skill from hw-native-sys/pypto.

    126 GitHub stars~1.1k tokensUpdated 8 days ago
    Testing & QAAuto-check passed
  • Review a CV-CUDA operator's test coverage, including C++ correctness, required cross-layout parity, correctness rigor, and the Python API surface.

    2.7k GitHub stars~264 tokensUpdated 21 days ago
    Testing & QAAuto-check passed
  • Coverage

    thun-res/vlink

    以 ENABLETESTCOVERAGE=ON 构建、运行测试并生成 lcov 代码覆盖率报告, 复现 CI 的 coverage 流水线。用户要求"跑覆盖率"、"生成 coverage 报告"、查某模块覆盖情况时使用。

    115 GitHub stars~913 tokensUpdated today
    Testing & QAAuto-check passed
  • Automatically updates regression tests based on interval analysis to maintain coverage of key program intervals.

    253 GitHub stars~2.7k tokensUpdated 1 mo ago
    Testing & QAAuto-check passed
  • Test Writing Workflow

    iOfficeAI/AionUi

    Sets the test-writing workflow for the repository: risk-first scenario lists, behavior-focused Vitest tests, a full run before each commit and a coverage target.

    33k GitHub starsUsed in 1 repo~1.2k tokens
    Testing & QAAuto-check passed

More from nwjs/chromium.src

All 64 skills in this repo
  • Analyzing SQL Traces

    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)…

    160 GitHub stars~2.9k tokensUpdated 4 days ago
    Auto-check passed
  • Autonomous multi-agent performance optimization loop for Chromium and V8.

    160 GitHub stars~4.2k tokensUpdated 4 days ago
    Auto-check passed
  • Automated Tracing

    nwjs/chromium.src

    Automated Tracing & Performance Telemetry in Chromium using Perfetto and Telemetry benchmarks.

    160 GitHub stars~1.5k tokensUpdated 4 days ago
    Auto-check passed
  • Chrome Releases

    nwjs/chromium.src

    Queries Chrome commit, version, release, and milestone metadata.

    160 GitHub stars~1.3k tokensUpdated 4 days ago
    Auto-check passed
  • Chromium Docs

    nwjs/chromium.src

    Search and reference Chromium documentation from the local docs index, including design docs, APIs, and development guides.

    160 GitHub stars~1.2k tokensUpdated 4 days ago
    Auto-check passed
  • Gn Deps Debugging

    nwjs/chromium.src

    Diagnose Chromium GN dependency and include-visibility failures, including BUILD.gn deps/publicdeps, DEPS include rules, private headers, and circular dependencies.

    160 GitHub stars~1.5k tokensUpdated 4 days ago
    Auto-check passed

Works with

Categories

Questions about Experimental Code Coverage Config Validator

What does Experimental Code Coverage Config Validator do?

Validates Chromium generated builder configurations (gn-args.json) for code coverage correctness based on language context. src.json) for code coverage correctness based on language context.

When should I use Experimental Code Coverage Config Validator?

Experimental Code Coverage Config Validator fits situations like: tasks that involve Test coverage.

How do I install Experimental Code Coverage Config Validator in Claude Code?

Run `npx skills add nwjs/chromium.src --skill experimental-code-coverage-config-validator -a claude-code`. Or copy the skill folder (agents/skills/experimental-code-coverage-config-validator in nwjs/chromium.src) into .claude/skills/experimental-code-coverage-config-validator in your project. Claude Code loads it when a task matches its description.

How do I install Experimental Code Coverage Config Validator in Codex?

Run `npx skills add nwjs/chromium.src --skill experimental-code-coverage-config-validator -a codex`. Or copy the skill folder (agents/skills/experimental-code-coverage-config-validator in nwjs/chromium.src) into .agents/skills/experimental-code-coverage-config-validator in your project. Codex loads it when a task matches its description.

Can I use Experimental Code Coverage Config Validator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add nwjs/chromium.src --skill experimental-code-coverage-config-validator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/experimental-code-coverage-config-validator, .gemini/skills/experimental-code-coverage-config-validator, .github/skills/experimental-code-coverage-config-validator and .opencode/skills/experimental-code-coverage-config-validator in your project.

What does Experimental Code Coverage Config Validator need to run?

SKILL.md names no scripts, command-line tools or credentials: Experimental Code Coverage Config Validator is instructions for the agent only. Our summary lists: Python 3.

Does Experimental Code Coverage Config Validator access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Experimental Code Coverage Config Validator safe to install?

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.

What licence does Experimental Code Coverage Config Validator use?

Experimental Code Coverage Config Validator 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.

How many tokens does Experimental Code Coverage Config Validator use?

About 1.1k tokens (SKILL.md is roughly 4.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Experimental Code Coverage Config Validator?

Skills that share tags, products or a category with Experimental Code Coverage Config Validator: OpenROAD Module Test Adder (The-OpenROAD-Project/OpenROAD, 3.2k stars), Testing (hw-native-sys/pypto, 126 stars), Review Op Test Coverage (CVCUDA/CV-CUDA, 2.7k stars) and Coverage (thun-res/vlink, 115 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Experimental Code Coverage Config Validator?

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.