review-dialects
Reviews the MLIR dialects and ensures that they are properly tested and documented. Use when the user asks to review dialects, ops, or passes
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Reviews the MLIR dialects and ensures that they are properly tested and documented. Use when the user asks to review dialects, ops, or passes
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Adversarial review of changes, a commit, or the whole codebase for design-discipline violations — carve-outs, test-shape pattern matching, rules that don't generalize. Use after implementing a feature or pass, before committing nontrivial changes, or when the user asks whether the code has drifted into patching.
Analyzes the items in TODO.md and spins up subagents to address them. Use when the user asks to fix, address, or burn down todos
基于 SOC 职业分类
| name | review-dialects |
| description | Reviews the MLIR dialects and ensures that they are properly tested and documented. Use when the user asks to review dialects, ops, or passes |
Got through the MLIR dialects and transformation passes defined in Silicon and ensure they meet our quality standards:
AnyType; instead, actually define what the op needs.Pure if they have no side-effects and should be DCE-able and CSE-ableMemRead and MemWrite if the op has read or write semantics, e.g. reading or assigning variablesMemAlloc if the op has allocation semantics, e.g. creating a variableSpin up subagents for each dialect's ops, and for each conversion, transformation, or dialect pass in the code base.
The subagent should check against the above list of criteria.
If necessary, the subagent should call build/bin/silc, build/bin/silicon-opt, or build/bin/llvm-lit to run certain tests or exercise individual passes.
Collect any issues found by the subagents and create items in TODO.md for each.
Including any code snippets needed to trigger trigger the issue.
Additional instructions provided by the user: $ARGUMENTS