What problem does it solve? Ascend C operator development on Ascend NPU hardware involves strict coding conventions, API alignment rules, synchronization pairing, and memory safety constraints that are easy to violate and hard to catch manually. This Skill automates structured code review of Ascend C kernels, Tiling code, and Host registration code against curated rule sets. ## Core Features & Use Cases - Multi-mode review workflows: Supports full file review, PR review, quick targeted checks, and design-consistency checks against DESIGN.md, routed through dedicated workflow definitions. - Rule-based inspection: Applies clause libraries covering API best practices (DataCopy alignment, AllocTensor/FreeTensor pairing, CrossCoreSetFlag symmetry), performance rules (double buffering, UB/L1 capacity limits, tail-block handling), red-line issues (division by zero, integer overflow, GM offset int64), and TOPK高频 problems. - Static analysis tooling: Ships a bounds-checking script that uses interval propagation to detect overflow, wraparound, and division-by-zero risks with counter-example generation. - Use Case: When submitting a PR to an Ascend operator repository (ops-transformer, ops-math, ops-nn, ops-cv), run a full PR review to automatically identify side (Kernel/Tiling/Host), extract applicable clauses, and verify each rule with hypothesis-driven evidence collection. ## Quick Start Ask the assistant to review your Ascend C operator code or a specific PR, for example by saying: review this Ascend C kernel file for correctness and performance issues.