What problem does it solve? Writing or modifying CATLASS-based matrix kernels on Ascend NPUs requires understanding a layered template architecture (Device/Kernel/Block/Tile/Basic) and the correct assembly of GemmType, GemmShape, and DispatchPolicy aliases. This Skill provides the reference knowledge needed to correctly edit type alias regions in catlass_op .asc/.h files during autoresearch kernel optimization tasks. ## Core Features & Use Cases - Five-Layer Architecture Reference: Documents the Device, Kernel, Block, Tile, and Basic layers with their typical entry points such as DeviceGemm, BasicMatmul, and BlockMmad. - Standard Gemm Assembly Pattern: Provides the canonical ordering of BlockMmad, epilogue, BlockSwizzle, Kernel, and Device type aliases, plus guidance on GemmShape tiling conventions and DispatchPolicy selection (Pingpong vs Preload). - AR Workflow Integration: Identifies exactly which files to edit (catlass_kernel.asc, catlass_kernel.h, catlass_torch.cpp) and how task.yaml editable_files, CATLASS_ROOT, and the cmake rebuild cycle work. - Use Case: When an autoresearch task targets a matmul operator on Atlas A2, use this Skill to correctly compose the BlockMmad and DeviceGemm template aliases in catlass_kernel.asc instead of guessing header includes or template parameters. ## Quick Start Ask the agent to assemble a CATLASS BasicMatmul kernel for an Atlas A2 target using the standard Gemm type alias pattern in catlass_kernel.asc.