What problem does it solve? Building and running SHMEM-based operators on Ascend NPU hardware involves complex environment setup (CANN toolkit, SHMEM libraries, bootstrap plugins) and failures that are hard to classify. This Skill provides a closed-loop workflow for compiling, smoke-testing, and diagnosing SHMEM operator builds without modifying operator source code. ## Core Features & Use Cases - Dual build modes: Supports independent custom-ops projects and in-tree SHMEM examples, with correct CMake templates and build commands for each. - Failure classification: Categorizes failures as compile, link, launch, runtime, correctness, or environment issues, routing code fixes back to the code-generation skill while self-repairing environment problems. - False-failure detection: Diagnoses the common 'all-zero output but SUCCESS' symptom by checking SHMEM logs for port conflicts and uninitialized memory heaps before touching kernel code. - Use Case: After generating a SHMEM allgather operator, use this Skill to build it with the correct CANN environment, run a 2-PE smoke test, and get a reproducible diagnosis when the golden comparison fails. ## Quick Start Compile and run a smoke test for my SHMEM operator in custom-ops/my_op, then classify any failure that occurs.