[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6992CHS0VHSRR8MGCTREB6X":3,"skill-same:01M6992CHS0VHSRR8MGCTREB6X":69},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":40,"linkOnly":41,"markdownContent":42,"markdownBody":43,"frontMatter":44,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":50,"ownerHtmlUrl":51,"ownerBlogUrl":52,"ownerDescription":53,"updatedAt":54,"install":55,"resources":68},"01M6992CHS0VHSRR8MGCTREB6X","crosvm-testing","crosvm 测试与测试虚拟机管理","Skill to assist with running tests and managing test VMs in the crosvm repository.","协助在 crosvm 仓库中运行测试并管理测试虚拟机的技能。","google\u002Fcrosvm","google","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1342004?v=4","01M698VYEFDM0VJBZDYYJ2T83S","Google","01M69926BCXV63W79JPA18Y40G",1365,"BSD-3-Clause",null,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fcrosvm\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcrosvm_testing\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39],"testing","crosvm testing","test","running tests","repository","tests","with","vms","running","2026-11-10 10:12:30",false,"---\nname: crosvm-testing\ndescription: Skill to assist with running tests and managing test VMs in the crosvm repository.\n---\n\n# Crosvm Testing (`tools\u002Frun_tests` & `tools\u002Ftestvm`)\n\nThis skill covers running the `crosvm` test suite and managing the virtual machines used for\nintegration testing.\n\n> [!TIP] When you have completed your code changes and are ready to commit or upload, please run the\n> overall presubmit checks according to the crosvm-contribution-workflow\n> [SKILL.md](..\u002Fcrosvm_contribution_workflow\u002FSKILL.md).\n\n## Running Tests (`tools\u002Frun_tests`)\n\nThe `tools\u002Frun_tests` script is the primary test runner. It supports unit tests (running on the host\nor via emulators) and integration tests (running on a test VM or the host).\n\n### 1. Unit Tests\n\n- **Run host native unit tests**:\n  ```bash\n  .\u002Ftools\u002Frun_tests\n  ```\n- **Run unit tests for a specific platform (via emulator)**:\n  ```bash\n  .\u002Ftools\u002Frun_tests -p \u003Cplatform>\n  ```\n  Supported platforms: `x86_64`, `aarch64`, `armhw`, `mingw64`, `riscv64`. *Example for ARM64*:\n  `.\u002Ftools\u002Frun_tests -p aarch64` *Example for Windows (via Wine)*: `.\u002Ftools\u002Frun_tests -p mingw64`\n\n### 2. Integration Tests\n\nIntegration tests require a Device Under Test (DUT).\n\n- **Run integration tests on a Test VM (Recommended)**:\n  ```bash\n  .\u002Ftools\u002Frun_tests --dut=vm\n  ```\n  This will automatically start a test VM, run the tests inside it, and keep the VM running for\n  subsequent runs.\n- **Run integration tests on the Host**:\n  ```bash\n  .\u002Ftools\u002Frun_tests --dut=host\n  ```\n  *Note: This may not work on all host configurations and might require root.*\n\n### 3. Test Filtering\n\nThe runner supports `nextest` filter expressions using the `-E` or `--filter-expr` flag. See\n[nextest documentation](https:\u002F\u002Fnexte.st\u002Fbook\u002Ffilter-expressions.html) for details.\n\n- **Run tests for a specific package**:\n  ```bash\n  .\u002Ftools\u002Frun_tests -E 'package(devices)'\n  ```\n- **Run a specific test by name**:\n  ```bash\n  .\u002Ftools\u002Frun_tests -E 'test(test_send_cmd_not_ready)'\n  ```\n- **Run tests for a package and its dependencies**:\n  ```bash\n  .\u002Ftools\u002Frun_tests -E 'deps(vm_control)'\n  ```\n\n### 4. Useful Flags\n\n- `--no-unit-tests`: Skip unit tests and only run integration tests.\n- `--no-integration-tests`: Skip integration tests.\n- `--run-root-tests`: Enable integration tests that require root privileges.\n- `--retries \u003CN>`: Retry failed tests N times.\n- `--repetitions \u003CN>`: Repeat all tests N times (useful for detecting flakiness).\n\n______________________________________________________________________\n\n## Managing Test VMs (`tools\u002Ftestvm`, `tools\u002Fx86vm`, `tools\u002Faarch64vm`)\n\nFor integration testing (`--dut=vm`), `crosvm` uses test VMs. You can manage these VMs using\n`tools\u002Fx86vm` (for x86_64) or `tools\u002Faarch64vm` (for ARM64). These are wrappers around\n`tools\u002Ftestvm`.\n\nReplace `x86vm` with `aarch64vm` in the commands below depending on the architecture you are\ntesting.\n\n- **Start the VM**:\n  ```bash\n  .\u002Ftools\u002Fx86vm up\n  ```\n- **Open an interactive SSH shell into the VM**:\n  ```bash\n  .\u002Ftools\u002Fx86vm shell\n  ```\n  *(This will start the VM if it is not already running).*\n- **Stop the VM gracefully**:\n  ```bash\n  .\u002Ftools\u002Fx86vm stop\n  ```\n- **Force kill the VM**:\n  ```bash\n  .\u002Ftools\u002Fx86vm kill\n  ```\n- **View VM console logs**:\n  ```bash\n  .\u002Ftools\u002Fx86vm logs\n  ```\n- **Clean\u002FReset the VM (deletes images)**:\n  ```bash\n  .\u002Ftools\u002Fx86vm clean\n  ```\n","# Crosvm Testing (`tools\u002Frun_tests` & `tools\u002Ftestvm`)\n\nThis skill covers running the `crosvm` test suite and managing the virtual machines used for\nintegration testing.\n\n> [!TIP] When you have completed your code changes and are ready to commit or upload, please run the\n> overall presubmit checks according to the crosvm-contribution-workflow\n> [SKILL.md](..\u002Fcrosvm_contribution_workflow\u002FSKILL.md).\n\n## Running Tests (`tools\u002Frun_tests`)\n\nThe `tools\u002Frun_tests` script is the primary test runner. It supports unit tests (running on the host\nor via emulators) and integration tests (running on a test VM or the host).\n\n### 1. Unit Tests\n\n- **Run host native unit tests**:\n  ```bash\n  .\u002Ftools\u002Frun_tests\n  ```\n- **Run unit tests for a specific platform (via emulator)**:\n  ```bash\n  .\u002Ftools\u002Frun_tests -p \u003Cplatform>\n  ```\n  Supported platforms: `x86_64`, `aarch64`, `armhw`, `mingw64`, `riscv64`. *Example for ARM64*:\n  `.\u002Ftools\u002Frun_tests -p aarch64` *Example for Windows (via Wine)*: `.\u002Ftools\u002Frun_tests -p mingw64`\n\n### 2. Integration Tests\n\nIntegration tests require a Device Under Test (DUT).\n\n- **Run integration tests on a Test VM (Recommended)**:\n  ```bash\n  .\u002Ftools\u002Frun_tests --dut=vm\n  ```\n  This will automatically start a test VM, run the tests inside it, and keep the VM running for\n  subsequent runs.\n- **Run integration tests on the Host**:\n  ```bash\n  .\u002Ftools\u002Frun_tests --dut=host\n  ```\n  *Note: This may not work on all host configurations and might require root.*\n\n### 3. Test Filtering\n\nThe runner supports `nextest` filter expressions using the `-E` or `--filter-expr` flag. See\n[nextest documentation](https:\u002F\u002Fnexte.st\u002Fbook\u002Ffilter-expressions.html) for details.\n\n- **Run tests for a specific package**:\n  ```bash\n  .\u002Ftools\u002Frun_tests -E 'package(devices)'\n  ```\n- **Run a specific test by name**:\n  ```bash\n  .\u002Ftools\u002Frun_tests -E 'test(test_send_cmd_not_ready)'\n  ```\n- **Run tests for a package and its dependencies**:\n  ```bash\n  .\u002Ftools\u002Frun_tests -E 'deps(vm_control)'\n  ```\n\n### 4. Useful Flags\n\n- `--no-unit-tests`: Skip unit tests and only run integration tests.\n- `--no-integration-tests`: Skip integration tests.\n- `--run-root-tests`: Enable integration tests that require root privileges.\n- `--retries \u003CN>`: Retry failed tests N times.\n- `--repetitions \u003CN>`: Repeat all tests N times (useful for detecting flakiness).\n\n______________________________________________________________________\n\n## Managing Test VMs (`tools\u002Ftestvm`, `tools\u002Fx86vm`, `tools\u002Faarch64vm`)\n\nFor integration testing (`--dut=vm`), `crosvm` uses test VMs. You can manage these VMs using\n`tools\u002Fx86vm` (for x86_64) or `tools\u002Faarch64vm` (for ARM64). These are wrappers around\n`tools\u002Ftestvm`.\n\nReplace `x86vm` with `aarch64vm` in the commands below depending on the architecture you are\ntesting.\n\n- **Start the VM**:\n  ```bash\n  .\u002Ftools\u002Fx86vm up\n  ```\n- **Open an interactive SSH shell into the VM**:\n  ```bash\n  .\u002Ftools\u002Fx86vm shell\n  ```\n  *(This will start the VM if it is not already running).*\n- **Stop the VM gracefully**:\n  ```bash\n  .\u002Ftools\u002Fx86vm stop\n  ```\n- **Force kill the VM**:\n  ```bash\n  .\u002Ftools\u002Fx86vm kill\n  ```\n- **View VM console logs**:\n  ```bash\n  .\u002Ftools\u002Fx86vm logs\n  ```\n- **Clean\u002FReset the VM (deletes images)**:\n  ```bash\n  .\u002Ftools\u002Fx86vm clean\n  ```\n",{"name":5,"description":7},"main","678337f67da6ca6d661ad97cf1e9926fa1b75cba",".agents\u002Fskills\u002Fcrosvm_testing",191,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fcrosvm","https:\u002F\u002Fcrosvm.dev\u002Fbook\u002F","https:\u002F\u002Fgithub.com\u002Fgoogle","https:\u002F\u002Fopensource.google\u002F","Google ❤️ Open Source","2026-11-14 21:28:40",{"source":9,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add google\u002Fcrosvm --skill crosvm-testing",{"tool":61,"command":62},"bunx","bunx skills add google\u002Fcrosvm --skill crosvm-testing",{"tool":64,"command":65},"pnpm","pnpm dlx skills add google\u002Fcrosvm --skill crosvm-testing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fcrosvm\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcrosvm_testing\u002FSKILL.md",true,[],[70,94,114],{"skillNo":71,"name":72,"nameZh":73,"description":74,"descriptionZh":75,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":76,"categories":77,"keywords":84,"publishedAt":40},"01M6992B6MYXZ96A8QKTW1CTKM","crosvm-dev-container","crosvm 开发容器使用","Skill to assist with using the `dev_container` tool for running builds, tests, and other tools in a consistent containerized environment.","协助使用 `dev_container` 工具在一致的容器化环境中运行构建、测试及其他工具。","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fcrosvm\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcrosvm_dev_container\u002FSKILL.md",[78,81],{"categoryNo":79,"categoryName":80,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQ6TKQDF2K4KQS863Q79P4","开发参考",{"categoryNo":82,"categoryName":83,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",[85,86,87,88,36,89,90,37,91,92,39,93],"dev","crosvm dev container","dev container","container","tool","environment","containerized","for","Tools",{"skillNo":95,"name":96,"nameZh":97,"description":98,"descriptionZh":99,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":100,"categories":101,"keywords":106,"publishedAt":40},"01M6992A56ZVS4J4P403GDXN3F","crosvm-contribution-workflow","crosvm 贡献流程检查","Skill to assist with the contribution workflow for crosvm. ALL agents making code changes MUST use this skill to run presubmit checks before committing.","协助处理 crosvm 贡献流程的技能。所有进行代码更改的 agent 必须在提交前使用此技能运行 presubmit 检查。","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fcrosvm\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcrosvm_contribution_workflow\u002FSKILL.md",[102,103],{"categoryNo":82,"categoryName":83,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":104,"categoryName":105,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理",[107,108,109,92,110,37,111,112,113],"crosvm contribution workflow","workflow","contribution","changes","use","code","run",{"skillNo":115,"name":116,"nameZh":117,"description":118,"descriptionZh":119,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":120,"categories":121,"keywords":124,"publishedAt":40},"01M699292R6S94P3Q1J81FT2T1","crosvm-cl-tool","crosvm Gerrit CL 管理","Skill to assist with using the `.\u002Ftools\u002Fcl` tool for managing and uploading Gerrit CLs in the crosvm repository.","协助使用 `.\u002Ftools\u002Fcl` 工具管理和上传 crosvm 仓库中的 Gerrit CL 的技能。","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fcrosvm\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcrosvm_cl_tool\u002FSKILL.md",[122,123],{"categoryNo":82,"categoryName":83,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":104,"categoryName":105,"taxonomyType":28,"taxonomyTypeDesc":29},[89,125,126,92,37,93,35],"crosvm cl tool","cl"]