Awesome Reviewers

When adding/updating tests, optimize for stable, cross-platform correctness and isolation:

Example (pattern):

import { SKILLS_CLI_PACKAGE } from "@cline/core";
import { describe, expect, it, vi } from "vitest";

it("builds args using exported constants", () => {
  expect(buildSkillsArgs(["list"]))
    .toEqual(["-y", SKILLS_CLI_PACKAGE, "list"]);
});

describe("env-dependent command", () => {
  it("writes config using stubbed env", async () => {
    vi.stubEnv({ CLINE_MCP_SETTINGS_PATH: "/tmp/settings.json" });
    try {
      const code = await runMcpInstallCommand(/* ... */);
      expect(code).toBe(0);
    } finally {
      vi.unstubAllEnvs();
    }
  });
});

Apply this as a quick checklist for every test change: (1) contract-based assertions, (2) strict correctness coverage, (3) no leaks, (4) safe env/mocking, (5) avoid brittle internals.