Skip to content
Back to skills

12 Code Refactoring

ASecurity

Use when 驱动重构、代码结构调整 - 驱动适配新内核版本、代码模块化重构。

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 5, 2026
code-qualityrefactoringapi

Works with

  • api

Security analysis

A100/100

Scanned October 5, 2026

npx -y skills add chengyi818/kata --skill 12-code-refactoring --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 12 Code Refactoring?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 12 Code Refactoring
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/chengyi818-12-code-refactoring/badge)](https://www.skillsdirectory.com/skills/chengyi818-12-code-refactoring)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: code-refactoring
description: Use when 驱动重构、代码结构调整 - 驱动适配新内核版本、代码模块化重构。
tier: 第二梯队
source: skills.sh
---

# code-refactoring

> **编号**: 10
> **梯队**: 第二梯队
> **来源**: skills.sh

## 解决的问题

驱动代码需要适配新内核 API、迁移到新子系统时,重构风险高。结构化方法降低风险。

## 适用场景

驱动重构、代码结构调整

**嵌入式场景**: 驱动适配新内核版本、代码模块化重构。

## 安装方法

npx skills add supercent-io/skills-template --skill code-refactoring -g -y

## 使用方法

制定重构计划:识别坏味道、设计目标架构、分步实施、每步验证。确保重构不改变外部行为。

## 嵌入式开发场景

驱动适配新内核版本、代码模块化重构。

## 相关 Skill

参考 [opencode-skill-list.md](../opencode-skill-list.md) 获取完整清单和学习路径。

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…