搜尋

搜尋結果

170 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
獲取
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

Refactoring using Remove Parameter in Java Language

github avatargithub
獲取
java-refactoring-extract-method

java-refactoring-extract-method

36Kcode-generation

Refactoring using Extract Methods in Java Language

github avatargithub
獲取
review-and-refactor

review-and-refactor

36Kcode-generation

Review and refactor code in your project according to defined instructions

github avatargithub
獲取
refactor-method-complexity-reduce

refactor-method-complexity-reduce

36Ktesting-qa

Refactor given method `${input:methodName}` to reduce its cognitive complexity to `${input:complexityThreshold}` or below, by extracting helper methods.

github avatargithub
獲取
refactor-plan

refactor-plan

36Kresearch-knowledge

Create a concrete plan before starting a multi-file refactor. Use when the user asks to plan, sequence, scope, or safely execute a refactor across multiple files; always investigate first, output the plan, and wait for confirmation before making code changes.

github avatargithub
獲取
refactor

refactor

36Ktesting-qa

Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.

github avatargithub
獲取
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

Refactor bloated AGENTS.md, CLAUDE.md, or similar agent instruction files to follow progressive disclosure principles. Splits monolithic files into organized, linked documentation.

softaworks avatarsoftaworks
獲取
refactoring-patterns

refactoring-patterns

1.7Ktesting-qa

Apply named refactoring transformations to improve code structure without changing behavior. Use when the user mentions "refactor this", "code smells", "extract method", "replace conditional", "technical debt", "move method", "inline variable", "decompose conditional", or "clean up this messy code". Also trigger when cleaning up legacy code, preparing code for new features by restructuring, or identifying which transformation fits a specific code smell. Covers smell-driven refactoring, safe transformation sequences, and testing guards. For code-quality foundations, see clean-code. For managing complexity, see software-design-philosophy.

wondelai avatarwondelai
獲取
refactoring-ui

refactoring-ui

1.7Kfrontend

Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions "my UI looks off" (or amateur/unprofessional), "fix the design", "Tailwind styling", "color palette", "visual hierarchy", "design system", "spacing scale", or "component styling". Also trigger when building consistent design tokens, creating dark mode themes, improving data-visualization clarity, or polishing UI details before launch. Covers grayscale-first workflow, constrained design scales, shadows, and component styling. For typeface selection, see web-typography. For usability audits, see 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
獲取
refactor-module

refactor-module

763design-ui

Transform monolithic Terraform configurations into reusable, maintainable modules following HashiCorp's module design principles and community best practices.

hashicorp avatarhashicorp
獲取
indexion-refactor

indexion-refactor

1writing-content

After writing code, detect and clean up duplication at three levels — copy-paste blocks, cross-package shared code, unnecessary wrappers, and concept-level SoT violations. Detect with indexion, fix, and verify.

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 review/debug/refactor/design with selected files, dry-run token checks, API or browser engine.

steipete avatarsteipete
獲取
codehealth-mcp

codehealth-mcp

240Kcode-generation

Real-time structural Code Health via CodeScene MCP — review before edits, verify score deltas after changes, gate commits and PRs. Use when reviewing code quality, refactoring, checking if AI changes degraded a file, or before commit/PR.

affaan-m avataraffaan-m
獲取
quarkus-tdd

quarkus-tdd

240Ktesting-qa

Test-driven development for Quarkus 3.x LTS using JUnit 5, Mockito, REST Assured, Camel testing, and JaCoCo. Use when adding features, fixing bugs, or refactoring event-driven services.

affaan-m avataraffaan-m
獲取
hexagonal-architecture

hexagonal-architecture

239Kcode-generation

Design, implement, and refactor Ports & Adapters systems with clear domain boundaries, dependency inversion, and testable use-case orchestration across TypeScript, Java, Kotlin, and Go services.

affaan-m avataraffaan-m
獲取
click-path-audit

click-path-audit

239Kagent-workflows

Trace every user-facing button/touchpoint through its full state change sequence to find bugs where functions individually work but cancel each other out, produce wrong final state, or leave the UI in an inconsistent state. Use when: systematic debugging found no bugs but users report broken buttons, or after any major refactor touching shared state stores.

affaan-m avataraffaan-m
獲取
prompt-optimizer

prompt-optimizer

239Kfrontend

Analyze raw prompts, identify intent and gaps, match ECC components (skills/commands/agents/hooks), and output a ready-to-paste optimized prompt. Advisory role only — never executes the task itself. TRIGGER when: user says "optimize prompt", "improve my prompt", "how to write a prompt for", "help me prompt", "rewrite this prompt", or explicitly asks to enhance prompt quality. Also triggers on Chinese equivalents: "优化prompt", "改进prompt", "怎么写prompt", "帮我优化这个指令". DO NOT TRIGGER when: user wants the task executed directly, or says "just do it" / "直接做". DO NOT TRIGGER when user says "优化代码", "优化性能", "optimize performance", "optimize this code" — those are refactoring/performance tasks, not prompt optimization.

affaan-m avataraffaan-m
獲取