com um clique
workflow-debugging
// Workflow for issue-based debugging in V8. Use when tasked with debugging a specific issue, usually associated with a Buganizer ID or a specific reproduction script. Do not use for performance regressions.
// Workflow for issue-based debugging in V8. Use when tasked with debugging a specific issue, usually associated with a Buganizer ID or a specific reproduction script. Do not use for performance regressions.
Managing and querying Perfetto traces using the trace_processor MCP server.
Key commands for building, debugging, and testing in V8. Use when needing command syntax for gm.py, d8 flags, or run-tests.py. Do not use for environment setup.
Workflow for performance and memory evaluation in V8. Use when tasked with improving the performance or memory usage of a workload in V8. Do not use when debugging a crash or functionality issue.
Workflow for evaluating and refining agent debugging capabilities using designated test cases and Swarm principles. Use when evaluating subagent performance or creating benchmarks. Do not use for regular bug fixing.
Guides the initial analysis and impact assessment of a V8 security report, strictly excluding implementation or fixing.
Checks if a POC provided by some JS and d8 flags is a vulnerability or just a regular bug.
| name | workflow-debugging |
| description | Workflow for issue-based debugging in V8. Use when tasked with debugging a specific issue, usually associated with a Buganizer ID or a specific reproduction script. Do not use for performance regressions. |
Use this skill when tasked with debugging a specific issue, usually associated with a Buganizer ID or a specific reproduction script. This specializes the general debugging approach for tracked issues.
ask_question or
direct message to user) to gather missing information:
d8 flags or command-line arguments.scratch/regress-<issue_id>.js) to avoid modifying the user's environment
directly.d8 and
prepare GDB/rr in the worktree.d8 binary to verify that the crash indeed
reproduces locally. This establishes the baseline.d8 flags. Run tests on both debug and
release builds if possible to ensure no assertions are violated and
performance is not regressed.Before committing or uploading, you MUST present the proposed solution to the user for review.
Once the fix is approved by the user:
Issue Association in Commits:
Bug: <issue_id> line at the bottom.[compiler] Fix crash in Turboshaft during loop unrolling
The loop unroller failed to handle cases where...
Bug: 12345
Test Naming and Placement:
regress-<issue_id>.js.regress-short-description.js.test/mjsunit/regress/test/mjsunit/compiler/regress-12345.js.// Copyright 2026 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax --any-other-flags
Finalization and Upload:
git cl format to ensure style compliance.git cl upload to upload the change list (CL) to Gerrit.