external-gitcode-ascend-python-refactoring

Installation
SKILL.md

Python 代码重构

对 Python 代码进行系统性重构,在不改变外部行为的前提下改善内部结构,提升可读性、可维护性和可扩展性。

Overview

  • 适用场景:代码重构、代码审查、代码质量改善、技术债务清理
  • 核心原则:重构 ≠ 重写;保持接口兼容;有测试才重构;最小改动
  • 参考文档:基于 vllm-ascend 仓库 20+ 个真实重构 PR 提炼
  • 约束配置:所有数值阈值(函数行数、参数个数等)集中在 refactoring-config.json,用户可自定义或禁用

Quick Reference

Installs
8
GitHub Stars
93
First Seen
Apr 18, 2026
external-gitcode-ascend-python-refactoring — ascend-ai-coding/awesome-ascend-skills