[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M699782STZMR7Y5YT8M2EM4Q":3,"skill-same:01M699782STZMR7Y5YT8M2EM4Q":80},{"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":51,"linkOnly":52,"markdownContent":53,"markdownBody":54,"frontMatter":55,"refName":56,"commitSha":57,"skillDirectory":58,"forksCount":59,"repositoryHtmlUrl":60,"repositoryHomepageUrl":61,"ownerHtmlUrl":62,"ownerBlogUrl":63,"ownerDescription":64,"updatedAt":65,"install":66,"resources":79},"01M699782STZMR7Y5YT8M2EM4Q","e2e-to-bazel","端到端测试转 Bazel 命令","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.","将端到端（e2e）测试目标或路径转换为用于 `heir-opt` 的 `bazel run` 命令。当需要将某个 e2e 测试目标（其标志在 BUILD 文件中定义）转换为可修改标志的 shell 命令，以便进一步分析和调试时使用。","google\u002Fheir","google","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1342004?v=4","01M698VYEFDM0VJBZDYYJ2T83S","Google","01M69973GM7GX7K1C2GYBW099F",948,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fheir\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fe2e_to_bazel\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],"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":9,"skillName":5,"commands":67,"prompt":77,"zipAvailable":78},[68,71,74],{"tool":69,"command":70},"npx","npx skills add google\u002Fheir --skill e2e-to-bazel",{"tool":72,"command":73},"bunx","bunx skills add google\u002Fheir --skill e2e-to-bazel",{"tool":75,"command":76},"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,[],[81,102,120],{"skillNo":82,"name":83,"nameZh":84,"description":85,"descriptionZh":86,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":87,"categories":88,"keywords":93,"publishedAt":51},"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.","描述在面对测试失败或使用 heir-opt 执行 `bazel run` 命令失败时，应采用的步骤与技能决策树，用于生成能在特定编译器 Pass 上失败的复现输入 IR。","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fheir\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Freproduce_failure\u002FSKILL.md",[89,90],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":91,"categoryName":92,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRSRYQ3M8N5063NNQPF2B1","调试与故障排查",[94,95,35,50,96,97,98,31,99,45,100,40,101,36],"reproduce failure","reproduce","run","produce","compiler","decision","input","tree",{"skillNo":103,"name":104,"nameZh":105,"description":106,"descriptionZh":107,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":108,"categories":109,"keywords":112,"publishedAt":51},"01M69979ENN9XYV6AZACX1RK06","lit-to-bazel","MLIR lit 测试转 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.","将 MLIR lit 测试文件转换为 `bazel run` 命令。当需要将某个失败的 MLIR lit 测试目标（包含 RUN 行）转换为可修改标志的 shell 命令，以便进一步分析和调试时使用。","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fheir\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Flit_to_bazel\u002FSKILL.md",[110,111],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[113,31,114,39,38,40,37,115,36,116,117,44,118,50,49,96,47,119,46,45],"lit to bazel","lit","commands","failing","files","mlir","shell",{"skillNo":121,"name":122,"nameZh":123,"description":124,"descriptionZh":125,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":126,"categories":127,"keywords":130,"publishedAt":51},"01M69976BPZSY7W3H87Q5ER5R1","dump-intermediate-ir","编译器中间 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.","为 `heir-opt` 的 `bazel run` CLI 命令添加额外标志，在每个编译器 pass 之前转储 IR，使智能体能够检查编译过程中的中间 IR、定位流水线失败的特定 pass，或提取某个 pass 对应的 IR 输入以进一步调试。","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fheir\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdump_intermediate_ir\u002FSKILL.md",[128,129],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":91,"categoryName":92,"taxonomyType":28,"taxonomyTypeDesc":29},[131,132,133,134,135,49,96,98,31,136,45,137,138,100,139,140,141,38,35],"dump intermediate ir","intermediate","dump","cli","inspect","pipeline","extract","flags","with","which","at"]