[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M699782STZMR7Y5YT8M2EM4Q":3,"skill-same:01M699782STZMR7Y5YT8M2EM4Q":73},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":52,"repositoryHtmlUrl":53,"repositoryHomepageUrl":54,"ownerHtmlUrl":55,"ownerBlogUrl":56,"ownerDescription":57,"updatedAt":58,"install":59,"resources":72},"01M699782STZMR7Y5YT8M2EM4Q","e2e-to-bazel",null,"Converts end-to-end (e2e) test targets or paths to `bazel run` commands for `heir-opt`. Use when you need to convert an e2e test target (where flags are defined in the BUILD file) to a shell command whose flags can be modified for further analysis and debugging.","google\u002Fheir","google","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1342004?v=4","01M698VYEFDM0VJBZDYYJ2T83S","Google","01M69973GM7GX7K1C2GYBW099F",948,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fheir\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fe2e_to_bazel\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"bazel","e2e","e2e to bazel","e2e test","opt","when","shell command","for","can","you","targets","end","build","use","command","convert","analysis","file","debugging","test","2026-11-10 10:12:30",false,"---\nname: e2e-to-bazel\ndescription: >-\n  Converts end-to-end (e2e) test targets or paths to `bazel run` commands for\n  `heir-opt`. Use when you need to convert an e2e test target (where flags are\n  defined in the BUILD file) to a shell command whose flags can be modified\n  for further analysis and debugging.\n---\n\n# E2E To Bazel\n\n## Overview\n\nThis skill guides the agent in using the `e2e_to_bazel` tool to convert e2e test\ntargets or paths to executable commands.\n\n## Usage\n\n### Converting a Test Target or Path\n\nTo convert an e2e test target, directory, or source file to a `bazel run`\ncommand, use the following command recipes:\n\n```bash\nbazel run \u002F\u002Fthird_party\u002Fheir\u002Fscripts:e2e_to_bazel -- {target_or_path}\n```\n\nReplace `{target_or_path}` with the test target (e.g.,\n`\u002F\u002Ftests\u002FExamples\u002Flattigo\u002Fckks\u002Fmnist:mnist_test`), directory, or source file\npath.\n\n## Gotchas\n\n- **Blaze Query Dependency**: The tool relies on `bazel query` to extract\n  attributes. This requires a working `blaze` environment and may be slow for\n  the first run.\n- **Workspace State**: It requires that the workspace is in a state where\n  `bazel query` can evaluate the targets.\n- **Source file mapping**: If a source file is provided, it searches for\n  `heir_opt` targets that depend on it.\n\n```markdown\nCopy this checklist and track progress:\n\n- [ ] Step 1: Identify the e2e test target, directory, or file to convert.\n- [ ] Step 2: Run the `e2e_to_bazel` tool on it.\n- [ ] Step 3: Inspect the generated command or run it.\n- [ ] Step 4: Verify execution results.\n```\n\n\u003C!-- mdformat global-off -->\n","# E2E To Bazel\n\n## Overview\n\nThis skill guides the agent in using the `e2e_to_bazel` tool to convert e2e test\ntargets or paths to executable commands.\n\n## Usage\n\n### Converting a Test Target or Path\n\nTo convert an e2e test target, directory, or source file to a `bazel run`\ncommand, use the following command recipes:\n\n```bash\nbazel run \u002F\u002Fthird_party\u002Fheir\u002Fscripts:e2e_to_bazel -- {target_or_path}\n```\n\nReplace `{target_or_path}` with the test target (e.g.,\n`\u002F\u002Ftests\u002FExamples\u002Flattigo\u002Fckks\u002Fmnist:mnist_test`), directory, or source file\npath.\n\n## Gotchas\n\n- **Blaze Query Dependency**: The tool relies on `bazel query` to extract\n  attributes. This requires a working `blaze` environment and may be slow for\n  the first run.\n- **Workspace State**: It requires that the workspace is in a state where\n  `bazel query` can evaluate the targets.\n- **Source file mapping**: If a source file is provided, it searches for\n  `heir_opt` targets that depend on it.\n\n```markdown\nCopy this checklist and track progress:\n\n- [ ] Step 1: Identify the e2e test target, directory, or file to convert.\n- [ ] Step 2: Run the `e2e_to_bazel` tool on it.\n- [ ] Step 3: Inspect the generated command or run it.\n- [ ] Step 4: Verify execution results.\n```\n\n\u003C!-- mdformat global-off -->\n",{"name":5,"description":7},"main","016c0b1e281a20df45b81c31ec893cf1198ff10b",".agents\u002Fskills\u002Fe2e_to_bazel",185,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fheir","https:\u002F\u002Fheir.dev\u002F","https:\u002F\u002Fgithub.com\u002Fgoogle","https:\u002F\u002Fopensource.google\u002F","Google ❤️ Open Source","2026-11-15 00:27:48",{"source":8,"skillName":5,"commands":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add google\u002Fheir --skill e2e-to-bazel",{"tool":65,"command":66},"bunx","bunx skills add google\u002Fheir --skill e2e-to-bazel",{"tool":68,"command":69},"pnpm","pnpm dlx skills add google\u002Fheir --skill e2e-to-bazel","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fheir\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fe2e_to_bazel\u002FSKILL.md",true,[],[74,89,103],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":44},"01M6997B7NY7K5V08MMTMAE1ZS","reproduce-failure","Describes a decision tree of steps and skills to utilize when, starting from a test failure or the failure of `bazel run` command using heir-opt, you would like to produce a reproducing input IR that fails on a particular compiler pass.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fheir\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Freproduce_failure\u002FSKILL.md",[],[81,82,28,43,83,84,85,24,86,38,87,33,88,29],"reproduce failure","reproduce","run","produce","compiler","decision","input","tree",{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":44},"01M69979ENN9XYV6AZACX1RK06","lit-to-bazel","Converts MLIR lit test files to `bazel run` commands. Use when you need to convert a failing MLIR lit test target (containing RUN lines) to a shell command whose flags can be modified for further analysis and debugging.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fheir\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Flit_to_bazel\u002FSKILL.md",[],[96,24,97,32,31,33,30,98,29,99,100,37,101,43,42,83,40,102,39,38],"lit to bazel","lit","commands","failing","files","mlir","shell",{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":44},"01M69976BPZSY7W3H87Q5ER5R1","dump-intermediate-ir","Augments a `bazel run` CLI command for `heir-opt` with additional flags that dump the IR before each compiler pass, allowing the agent to inspect intermediate IR during compilation, identify a particular pass at which the pipeline fails, or extract the corresponding IR input to a particular pass for further debugging.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fheir\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdump_intermediate_ir\u002FSKILL.md",[],[110,111,112,113,114,42,83,85,24,115,38,116,117,87,118,119,120,31,28],"dump intermediate ir","intermediate","dump","cli","inspect","pipeline","extract","flags","with","which","at"]