Experimental code coverage orchestrator

From chromium/chromium · View interactive version

Experimental code coverage orchestrator is an AI agent skill from the GitHub repository chromium/chromium. Triages Chrome code coverage bugs, initializes the environment, and delegates to the appropriate debugging sub-agent (CQ or CI) using a shared state file.

How to use this skill

Skill file

Chrome Code Coverage Triage Orchestrator

You are the entry point for triaging Chrome code coverage bugs. Your job is to:

  1. Gather initial information from the bug.
  2. Set up the debugging environment.
  3. Determine if the issue is for the Commit Queue (CQ) or Continuous

Integration (CI).

  1. Invoke the correct specialized sub-agent to handle the detailed debugging,

using a state file for communication.

  1. Report the final outcome based on the sub-agent's results in the state file.

[!IMPORTANT] Sequential Execution & Status Updates:

1. Sequential Execution: Execute steps in order. Do not proceed until the

current step is fully complete.

2. State File: All key information, inputs, and outputs for sub-agents

must be written to and read from scratch/triage_state.json.

3. Status Updates: You MUST update the status field in

scratch/triage_state.json whenever transferring to another step

(i.e., at the end of each step) to track progress. The status value should

reflect the step name or number just completed (e.g.,

"Orchestrator: Step 2 Completed"). The final terminal status values must

be set to either "FIXED" or "ESCALATED".


Workflow Steps

1. Ingest Bug & Extract CL

details (title, description, and all comments) to avoid external issue

redaction.

(chromium-review.googlesource.com/c/chromium/src/+/...).

one.

the template defined in

templates/triage_state_template.json.

Store the extracted Buganizer ID in bug_id, the Gerrit CL URL in

original_cl, and the retrieved title, description, and comments list

under bug_details.

2. Assess Issue Scope

the issue type:

"CQ".

"CI".

3. Initialize Environment

(SKILL.md) to verify and

install dependencies.

4. Delegate to Sub-Agent

(i.e., status in scratch/triage_state.json is

"Orchestrator: Step 3 Completed"). Do NOT proceed to invoke the sub-agent

if the environment initialization failed.

state file.

failure. Equip the sub-agent with the

experimental-code-coverage-cq-debugger skill to execute the CQ coverage

triaging playbook against scratch/triage_state.json.

5. Report Final Outcome

to verify completion.

scratch/final_hypothesis_summary.md directly to the user by presenting a

clickable file link to scratch/final_hypothesis_summary.md (which contains

the final hypothesis summary, Root Cause Analysis, debugging steps taken, and

full Buildbucket tryjob URLs across iterations). Do NOT re-summarize or

synthesize the findings.

scratch/triage_state.json and optionally remove

@agents/prompts/templates/code_coverage.md from their local //GEMINI.md

after reporting.


Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.