搜索

搜索结果

222 results for "refactor"

safe-refactor

safe-refactor

98Kprompting-reasoning

Restructure code while preserving behavior. Use for extraction, consolidation, ownership moves, or cleanup where verification must bracket structural edits.

juliusbrussee avatarjuliusbrussee
获取
codebase-cleanup-refactor-clean

codebase-cleanup-refactor-clean

47Ktesting-qa

You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve its quality, maintainability, and performance.

sickn33 avatarsickn33
获取
code-refactoring-refactor-clean

code-refactoring-refactor-clean

46Ktesting-qa

You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve its quality, maintainability, and performance.

sickn33 avatarsickn33
获取
gitnexus-refactoring

gitnexus-refactoring

46Kbackend-api

Use when the user wants to rename, extract, split, move, or restructure code safely. Examples: \"Rename this function\", \"Extract this into a module\", \"Refactor this class\", \"Move this to a separate file\"

abhigyanpatwari avatarabhigyanpatwari
获取
chakra-ui-refactor

chakra-ui-refactor

41Kfrontend

Review, convert, and improve UI code using Chakra UI v3. Use this skill whenever a user wants to review Chakra UI code for issues, convert plain HTML/CSS, Tailwind, CSS Modules, or styled-components to Chakra UI, clean up messy Chakra components, fix layout structure or token usage, or asks anything like "is this correct", "what's wrong with this", "review my component", "refactor this", "clean up", "convert", or "chakra-ify this" — even without the words "review" or "refactor". Trigger on any request to check, improve, or convert Chakra UI code, however casually phrased.

chakra-ui avatarchakra-ui
获取
java-refactoring-remove-parameter

java-refactoring-remove-parameter

37Kcode-generation

在Java语言中使用移除参数进行重构

github avatargithub
获取
java-refactoring-extract-method

java-refactoring-extract-method

36Kcode-generation

在Java语言中使用提取方法进行重构

github avatargithub
获取
review-and-refactor

review-and-refactor

36Kcode-generation

根据定义的说明审查和重构项目中的代码

github avatargithub
获取
refactor-method-complexity-reduce

refactor-method-complexity-reduce

36Ktesting-qa

重构给定方法 `${input:methodName}`,通过提取辅助方法将其认知复杂度降低到 `${input:complexityThreshold}` 或以下。

github avatargithub
获取
refactor-plan

refactor-plan

36Kresearch-knowledge

在开始多文件重构之前制定具体计划。当用户要求规划、排序、界定范围或安全执行跨多个文件的重构时使用;始终先进行调查,输出计划,并在进行代码更改之前等待确认。

github avatargithub
获取
refactor

refactor

36Ktesting-qa

精准的代码重构,提升可维护性,不改变行为。涵盖提取函数、重命名变量、分解上帝函数、增强类型安全、消除代码坏味道以及应用设计模式。比 repo-rebuilder 更温和,适用于渐进式改进。

github avatargithub
获取
refactor-safely

refactor-safely

31Kcode-generation

Plan and execute safe refactoring using dependency analysis

tirth8205 avatartirth8205
获取
swiftui-view-refactor

swiftui-view-refactor

3.9Kdesign-ui

Refactor and review SwiftUI view files with strong defaults for small dedicated subviews, MV-over-MVVM data flow, stable view trees, explicit dependency injection, and correct Observation usage. Use when cleaning up a SwiftUI view, splitting long bodies, removing inline actions or side effects, reducing computed `some View` helpers, or standardizing `@Observable` and view model initialization patterns.

dimillian avatardimillian
获取
golang-refactoring

golang-refactoring

2.9Kagent-workflows

Golang refactoring — the safe, at-scale process for restructuring existing Go code: a coverage-adaptive safety net, tool-driven behavior-preserving transforms (gopls Rename/Inline/Extract, `gofmt -r`, `eg`, `gopatch`, `go/analysis` fixers), the Fowler catalog mapped to Go, breaking import cycles, moving types across packages, and a human-in-the-loop workflow of small stacked PRs on a refactoring branch. Apply when code is hard to maintain, a function/type has grown too large, a code smell needs fixing, adding a feature is blocked by the current structure, or the user asks to clean up, refactor, or improve Go code — also for renaming at scale, extracting functions/interfaces, moving code between packages, splitting packages, or planning a multi-step refactor. Target styles owned elsewhere → See `samber/cc-skills-golang@golang-naming` (renames), `@golang-project-layout` (splits), `@golang-modernize` (idioms), `@golang-code-style` (control flow), `@golang-design-patterns` (patterns/DI).

samber avatarsamber
获取
agent-md-refactor

agent-md-refactor

2.2Ktesting-qa

重构臃肿的 AGENTS.md、CLAUDE.md 或类似的智能体指令文件,遵循渐进式披露原则。将单一文件拆分为有组织的、相互链接的文档。

softaworks avatarsoftaworks
获取
refactoring-patterns

refactoring-patterns

1.7Ktesting-qa

应用命名的重构转换来改善代码结构,同时不改变其行为。当用户提到“重构这个”、“代码坏味”、“提取方法”、“替换条件”、“技术债务”、“移动方法”、“内联变量”、“分解条件”或“清理这段混乱的代码”时使用。同样适用于清理遗留代码、通过重构为新增功能做准备,或识别适合特定代码坏味的转换。涵盖坏味驱动的重构、安全转换序列和测试保护。关于代码质量基础,请参见 clean-code。关于管理复杂性,请参见 software-design-philosophy。

wondelai avatarwondelai
获取
refactoring-ui

refactoring-ui

1.7Kfrontend

审计并修复网页UI中的视觉层级、间距、色彩和深度。当用户提到“我的UI看起来不对劲”(或业余/不专业)、“修复设计”、“Tailwind样式”、“调色板”、“视觉层级”、“设计系统”、“间距尺度”或“组件样式”时使用。在构建一致的设计令牌、创建深色模式主题、改善数据可视化清晰度或在上线前打磨UI细节时也触发。涵盖灰度优先工作流、约束设计尺度、阴影和组件样式。字体选择请参考web-typography。可用性审计请参考ux-heuristics。

wondelai avatarwondelai
获取
rust-refactor-helper

rust-refactor-helper

1.4Ktesting-qa

Safe Rust refactoring with LSP analysis. Triggers on: /refactor, rename symbol, move function, extract, 重构, 重命名, 提取函数, 安全重构

actionbook avataractionbook
获取
react-native-ease-refactor

react-native-ease-refactor

977frontend

Scan for Animated/Reanimated code and migrate to EaseView

appandflow avatarappandflow
获取
refactor-module

refactor-module

763design-ui

将单体式 Terraform 配置转换为可重用、可维护的模块,遵循 HashiCorp 的模块设计原则和社区最佳实践。

hashicorp avatarhashicorp
获取
refactor

refactor

444code-generation

Simplify structure, interfaces or responsibilities while preserving behavior. Use when: a focused refactor is requested; feature changes need their own intent.

boshu2 avatarboshu2
获取
indexion-refactor

indexion-refactor

1writing-content

编写代码后,检测并清理三个层面的重复——复制粘贴块、跨包共享代码、不必要的包装器以及概念层面的单一真实来源(SoT)违规。使用 indexion 检测、修复并验证。

trkbt10 avatartrkbt10
获取
oracle

oracle

386Kprompting-reasoning

Oracle CLI second-model review/debug/refactor/design with selected files, dry-run token checks, API or browser engine.

openclaw avataropenclaw
获取
oracle

oracle

385Kprompting-reasoning

使用 Oracle CLI 将选中文件打包发送给第二模型(Second-Model)进行代码审查、调试、重构与架构设计,支持 Token 预估 (dry-run),可选用 API 或浏览器引擎。

steipete avatarsteipete
获取