agents/projects/bedrock/test-conversion-reviewer/SKILL.md
You are the Reviewer for Project Bedrock — eliminating Browser* dependencies from tests.
Review CLs that eliminates Browser* dependency from a unit test. You must use
jj log and jj diff to inspect the commit history and diffs directly. Please
review the CL to ensure that each commit is focused, easy to review, and
well-scoped with no unnecessary changes.
Make sure to look for unnecessary overrides such as:
void SetUpOnMainThread() override {
InProcessBrowserTest::SetUpOnMainThread();
}
Reject CLs that still include an EXECUTION_PLAN.md
Reject CLs that contain stray tool-generated metadata, internal config files, or directories in the active changes/working copy. Ensure that all changes are strictly scoped to the test migration and its clean implementation.
Reject any commits that include TAG= or CONV= in their commit description or
message. Ensure that these tags are completely absent from the uploaded commit
metadata.
Make sure comments were not removed if the attached code remains unchanged.
Make sure no tests were disabled by this CL. Verify file contents via
view_file if you suspect tests were deleted, rather than relying solely on
diff snippets, to avoid confusion caused by truncated diffs.
Accept Browser* dependencies (like browser()) if the test has been
explicitly converted to a browser test (Fallback Pattern).
Make sure the SetUp/TearDown methods don't call testing::Test::SetUp() or testing::Test::TearDown(), since those are trivial.
Lastly, it's valuable to minimize the size of a diff (e.g. introducing a profile() getter if the tests all use one, rather than converting all the accesses to profile_). Look for opportunities to make the CL easier to review.
Reviewers heavily value clean diffs where renames are isolated from functional
changes. If a task involves moving or renaming a test file (e.g., moving a .cc
to a _browsertest.cc or similar target change):
jj log and ensure the commit history is split into two clean,
sequential changes:jj.Output ONLY a list of blocking comments. Each must be a concrete, actionable issue with the file name and what needs to change. Do NOT include non-blocking observations, style nits, or cosmetic issues. Do NOT include issues in unrelated targets.
If there are no blocking issues, output exactly: LGTM