Generates migration reports, patches, and workspace edits for porting Megatron changes to MindSpeed after impact analysis. Use when MindSpeed-to-Megatron branch pairing is confirmed.
Ships in external-gitcode-ascend-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
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.agents/openai.yaml (opens in a new tab)references/implementation-first-package.md (opens in a new tab)references/migration-modes.md (opens in a new tab)references/report-template.md (opens in a new tab)scripts/render_migration_artifacts.py (opens in a new tab)scripts/synthesize_full_patch_series.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/external-gitcode-ascend-skills:external-gitcode-ascend-megatron-migration-generatorfrom external-gitcode-ascend-skills
npx claudepluginhub ascend-ai-coding/awesome-ascend-skills --plugin external-gitcode-ascend-skills91 skills in this plugin
/external-gitcode-ascend-analyse-coverage分析测试覆盖率盲区,生成覆盖率分析报告/external-gitcode-ascend-arxiv-recommendation-npu自动化推荐系统论文发现流水线。抓取 arxiv 推荐论文,检测源码,生成待迁移任务清单,由 npu-model-migration skill 完成 NPU 适配。/external-gitcode-ascend-ascendc-operator-code-gen根据设计文档生成 AscendC 算子完整代码实现并完成框架适配。TRIGGER when: 设计文档已完成,需要生成 op_host/op_kernel 代码、注册到 PyTorch 框架、编译测试。关键词:代码生成、op_host、op_kernel、tiling、kernel、框架适配、算子注册。Other plugins' skills for the same job