triton-ascend-migration
100 / 100 · Low risk
Fine to try.
将 GPU/CUDA Triton 算子迁移为 Triton-Ascend,或将 Python/PyTorch 算子改写为可在 Ascend NPU 上运行的 Triton-Ascend 实现,并在发现明确优化空间时直接输出优化后的代码、最小验证脚本和排障说明。用户只要提到 昇腾、Ascend、NPU、triton-ascend、Triton 算子迁移、PyTorch 算子改写、coreDim、UB overflow、1D grid、物理核绑定、block_ptr、stride、访存对齐、mask 性能、dtype 退化、算子优化,或者直接问“这个 skill 怎么用”“怎么在命令行里跑”“怎么在容器里执行迁移/验证”,就应优先使用本 skill,即使用户没有明确说“写 skill”或“做迁移”。
What this skill can do
We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'triton-ascend-migration' ] || [ -L ~/.agents/skills/'triton-ascend-migration' ]; then echo 'A skill folder named triton-ascend-migration already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/ascend-ai-coding/awesome-ascend-skills' "$d" && git -C "$d" checkout --quiet '75ec89ce9d401be8ac95980e1c3f42f8d4315057' -- 'skills/ops/triton-ascend-migration' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/ops/triton-ascend-migration' ~/.agents/skills/'triton-ascend-migration' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'triton-ascend-migration' ~/.claude/skills/'triton-ascend-migration' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/ascend-ai-coding/awesome-ascend-skills/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-08 | 75ec89c | 100 |