What problem does it solve? Setting up a TileLang-Ascend development environment involves multiple fragile steps—Python package versions, CANN toolkit variables, git submodules, compilation artifacts, and environment variables—and a failure in any one of them produces confusing errors. This Skill systematically checks each layer, reports every problem found, and automatically repairs issues in the correct dependency order. ## Core Features & Use Cases - Layered Environment Verification: Checks torch/torch_npu versions (>= 2.6.0), CANN version (>= 8.3) via ASCEND_HOME_PATH, git submodule integrity, build artifacts, and environment variables (TL_ROOT, PYTHONPATH, ACL_OP_INIT_MODE). - Dependency-Ordered Auto-Repair: When submodules are incomplete it invokes the tilelang-submodule-pull skill, then forces recompilation with install_ascend.sh and re-sources set_env.sh, since stale build artifacts cannot be reused after submodule changes. - End-to-End Verification Test: Runs quick_verify.py, a minimal TileLang NPU kernel test, to confirm the environment actually works; test failures trigger the full submodule repair flow directly. - Use Case: After cloning the TileLang-Ascend repository on a new Ascend NPU machine, ask the agent to check the environment; it detects uninitialized submodules, pulls them, rebuilds, sets environment variables, and confirms with a passing kernel test. ## Quick Start Ask the agent to check whether the TileLang-Ascend development environment is correctly configured and to automatically fix any problems it finds.