搜索
搜索结果
222 results for "refactor"

safe-refactor
Restructure code while preserving behavior. Use for extraction, consolidation, ownership moves, or cleanup where verification must bracket structural edits.
juliusbrussee
codebase-cleanup-refactor-clean
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
code-refactoring-refactor-clean
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
gitnexus-refactoring
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
chakra-ui-refactor
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
java-refactoring-remove-parameter
在Java语言中使用移除参数进行重构
github
java-refactoring-extract-method
在Java语言中使用提取方法进行重构
github
review-and-refactor
根据定义的说明审查和重构项目中的代码
github
refactor-method-complexity-reduce
重构给定方法 `${input:methodName}`,通过提取辅助方法将其认知复杂度降低到 `${input:complexityThreshold}` 或以下。
github
refactor-plan
在开始多文件重构之前制定具体计划。当用户要求规划、排序、界定范围或安全执行跨多个文件的重构时使用;始终先进行调查,输出计划,并在进行代码更改之前等待确认。
github
refactor
精准的代码重构,提升可维护性,不改变行为。涵盖提取函数、重命名变量、分解上帝函数、增强类型安全、消除代码坏味道以及应用设计模式。比 repo-rebuilder 更温和,适用于渐进式改进。
github
refactor-safely
Plan and execute safe refactoring using dependency analysis
tirth8205
swiftui-view-refactor
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
golang-refactoring
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
agent-md-refactor
重构臃肿的 AGENTS.md、CLAUDE.md 或类似的智能体指令文件,遵循渐进式披露原则。将单一文件拆分为有组织的、相互链接的文档。
softaworks
refactoring-patterns
应用命名的重构转换来改善代码结构,同时不改变其行为。当用户提到“重构这个”、“代码坏味”、“提取方法”、“替换条件”、“技术债务”、“移动方法”、“内联变量”、“分解条件”或“清理这段混乱的代码”时使用。同样适用于清理遗留代码、通过重构为新增功能做准备,或识别适合特定代码坏味的转换。涵盖坏味驱动的重构、安全转换序列和测试保护。关于代码质量基础,请参见 clean-code。关于管理复杂性,请参见 software-design-philosophy。
wondelai
refactoring-ui
审计并修复网页UI中的视觉层级、间距、色彩和深度。当用户提到“我的UI看起来不对劲”(或业余/不专业)、“修复设计”、“Tailwind样式”、“调色板”、“视觉层级”、“设计系统”、“间距尺度”或“组件样式”时使用。在构建一致的设计令牌、创建深色模式主题、改善数据可视化清晰度或在上线前打磨UI细节时也触发。涵盖灰度优先工作流、约束设计尺度、阴影和组件样式。字体选择请参考web-typography。可用性审计请参考ux-heuristics。
wondelai
rust-refactor-helper
Safe Rust refactoring with LSP analysis. Triggers on: /refactor, rename symbol, move function, extract, 重构, 重命名, 提取函数, 安全重构
actionbook
react-native-ease-refactor
Scan for Animated/Reanimated code and migrate to EaseView
appandflow
refactor-module
将单体式 Terraform 配置转换为可重用、可维护的模块,遵循 HashiCorp 的模块设计原则和社区最佳实践。
hashicorp
refactor
Simplify structure, interfaces or responsibilities while preserving behavior. Use when: a focused refactor is requested; feature changes need their own intent.
boshu2
indexion-refactor
编写代码后,检测并清理三个层面的重复——复制粘贴块、跨包共享代码、不必要的包装器以及概念层面的单一真实来源(SoT)违规。使用 indexion 检测、修复并验证。
trkbt10
oracle
Oracle CLI second-model review/debug/refactor/design with selected files, dry-run token checks, API or browser engine.
openclaw
oracle
使用 Oracle CLI 将选中文件打包发送给第二模型(Second-Model)进行代码审查、调试、重构与架构设计,支持 Token 预估 (dry-run),可选用 API 或浏览器引擎。
steipete