skills/megatron-migration-generator/SKILL.md
Generate migration deliverables for bringing relevant Megatron changes into MindSpeed after branch alignment and impact mapping are complete. Use when Codex already has a confirmed MindSpeed-to-Megatron branch pairing and needs to produce a migration report, candidate patch, or guarded workspace edits instead of redoing upstream analysis from scratch.
npx skillsauth add Ascend/agent-skills megatron-migration-generatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate implementation-oriented migration artifacts for MindSpeed only after upstream change analysis and impact mapping have narrowed the work to a high-confidence set of items. The goal is to port the upstream feature into MindSpeed with the upstream commit as the primary reference, not to emit a tiny patch hint.
Default to report + patch, and generate the final markdown deliverable in Chinese unless the user explicitly requests another locale.
Do not default to direct code edits or automatic commits. Default to an implementation-first package, not a minimal patch sketch.
report
Produce a migration report only.patch
Produce a migration report plus a full implementation reference package. Default to per-feature folders containing full.patch, split patches/, upstream reference metadata, implementation checklists, and explicit uncovered scope.apply
Edit the local workspace without creating a commit. Use only when alignment and impact confidence are high.commit
Reserve for explicit user requests after patch review. Do not use as the first-pass default.Proceed only when all of the following are true:
If any of these are missing, stop and ask for or derive the missing prerequisite instead of guessing.
migration_report.md
impact_report.json if needed for carry-forward
candidate_patch.md as a compact summary index
a features/ directory with one subfolder per migration item, each containing:
full.patch for the full local implementation draft
patches/ for split patch series organized by implementation unit
candidate.patch as the compatibility entry patch
README.md, checklist.md, package_manifest.json, and upstream_reference.jsonapply mode, edit only the approved files and leave a clear explanation of what changed.megatron main, frame code output as a candidate adaptation draft, not a compatibility-guaranteed migration.Keep validation lightweight and local:
Do not imply that training correctness, performance, or numerical accuracy has been verified.
impact_report.json into reviewable report and patch-plan artifacts before any manual refinement.testing
Kubernetes 集群健康检查与安全修复 — 诊断问题,用户确认后执行修复
tools
昇腾NPU CANN Toolkit+Kernels+NNAL安装部署技能。支持从官网下载run包安装和从Docker镜像提取两种方式,覆盖驱动检查、包下载、安装、环境变量配置与验证全流程。当用户需要安装CANN全套组件或指定版本CANN到自定义路径时调用。
development
编译 ATB (Ascend Transformer Boost) 测试框架。当用户需要编译 ATB 测试框架、 运行 CSV 测试、或构建 atb_test_framework 时调用。支持全量编译(含第三方依赖克隆与源替换) 和增量编译两种模式。需在 Docker 容器内配合 CANN 环境执行。
databases
ATB OPS→ACLNN 迁移标准化工作流主模板。整合前置学习、设计文档生成、CSV用例设计、 实际迁移、编译验证、测试验证全流程,提供明确的阶段 Gates 和用户确认机制。