Refactoring

Code restructuring and optimization

Showing 1-24 of 909 skills
Terryc21

safe-refactor

by Terryc21

'Plan refactoring with blast radius analysis, dependency mapping, and rollback strategy. Triggers: "refactor", "safe refactor", "restructure", "rename type", "extract protocol".'

Refactoring 49 4mo ago
Terryc21

implementation-plan

by Terryc21

Structured implementation planning with file impact analysis, dependencies, and phased tasks

Refactoring 49 4mo ago
supabase

vercel-composition-patterns

by supabase

React composition patterns that scale. Use when refactoring components with

Refactoring 106.7K 5mo ago
microsoft

memory-leak-audit

by microsoft

'Audit code for memory leaks and disposable issues. Use when reviewing event listeners, DOM handlers, lifecycle callbacks, or fixing leak reports. Covers addDisposableListener, Event.once, MutableDisposable, DisposableStore, and onWillDispose patterns.'

Code Gen 187.8K 4mo ago
vercel

react-vendoring

by vercel

React vendoring and react-server layer boundaries. Use when editing entry-base.ts, $$compiled.internal.d.ts, compiled/react* packages, or taskfile.js copy_vendor_react. Covers the entry-base.ts boundary (all react-server-dom-webpack/* imports must go through it), vendored React channels, type declarations, Turbopack remap to react-server-dom-turbopack, ComponentMod access patterns, and ESLint suppression for guarded requires.

Code Gen 141K 5mo ago
vercel

dce-edge

by vercel

DCE-safe require() patterns and edge runtime constraints. Use when writing conditional require() calls, guarding Node-only imports (node:stream etc.), or editing define-env-plugin.ts / app-render / stream-utils for edge builds. Covers if/else branching for webpack DCE, TypeScript definite assignment, the NEXT_RUNTIME vs real feature flag distinction, and forcing flags false for edge in define-env.ts.

Code Gen 141K 5mo ago
Jeffallan

javascript-pro

by Jeffallan

Writes, debugs, and refactors JavaScript code using modern ES2023+ features, async/await patterns, ESM module systems, and Node.js APIs. Use when building vanilla JavaScript applications, implementing Promise-based async flows, optimising browser or Node.js performance, working with Web Workers or Fetch API, or reviewing .js/.mjs/.cjs files for correctness and best practices.

Code Gen 10.7K 2mo ago
EvoMap

capability-evolver

by EvoMap

A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution. Communicates with EvoMap Hub via local Proxy mailbox.

Agents 8.9K 2mo ago
vuejs-ai

vue-best-practices

by vuejs-ai

MUST be used for Vue.js tasks. Strongly recommends Composition API with <script setup> and TypeScript as the standard approach. Covers Vue 3, SSR, Volar, vue-tsc. Load for any Vue, .vue files, Vue Router, Pinia, or Vite with Vue work. ALWAYS use Composition API unless the project explicitly requires Options API.

Code Gen 2.7K 5mo ago
Dimillian

swift-concurrency-expert

by Dimillian

Swift Concurrency review and remediation for Swift 6.2+. Use when asked to review Swift Concurrency usage, improve concurrency compliance, or fix Swift concurrency compiler errors in a feature or file. Concrete actions include adding Sendable conformance, applying @MainActor annotations, resolving actor isolation warnings, fixing data race diagnostics, and migrating completion handlers to async/await.

Debugging 3.8K 4mo ago
Dimillian

swiftui-view-refactor

by Dimillian

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.

Code Review 3.8K 4mo ago
MoonshotAI

worktree-status

by MoonshotAI

Audit all git worktrees in the current project. Use when the user asks about worktree status, which branches are merged, which have uncommitted changes, or which worktrees can be safely cleaned up.

CLI Tools 10.3K 5mo ago
codewithmukesh

architecture-advisor

by codewithmukesh

Architecture selection advisor for .NET applications. Asks structured questions about domain complexity, team size, system lifetime, compliance, and integration needs, then recommends the best-fit architecture: Vertical Slice, Clean Architecture, DDD + Clean Architecture, or Modular Monolith. Load this skill when the user asks "which architecture", "choose architecture", "set up project", "new project", "architecture decision", "restructure", or "how should I organize". Always load BEFORE any architecture-specific skill.

API Dev 561 5mo ago
CharlesWiltgen

axiom-build-performance

by CharlesWiltgen

Use when build times are slow, investigating build performance, analyzing Build Timeline, identifying type checking bottlenecks, enabling compilation caching, or optimizing incremental builds - comprehensive build optimization workflows including Xcode 26 compilation caching

CLI Tools 1.1K 5mo ago
mattpocock

edit-article

by mattpocock

The user will invoke this skill to help them edit an article.

Analytics 179.9K 5mo ago
mattpocock

request-refactor-plan

by mattpocock

Use this skill when user wants to create a refactor plan.

Code Gen 179.9K 5mo ago
mattpocock

edit-article

by mattpocock

Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.

Refactoring 179.9K 2mo ago
mattpocock

tdd

by mattpocock

Test-driven development with red-green-refactor loop. Use when user wants to build features or fix bugs using TDD, mentions "red-green-refactor", wants integration tests, or asks for test-first development.

Refactoring 179.9K 2mo ago
mattpocock

tdd

by mattpocock

Test-driven development with red-green-refactor loop. Use when user wants to build features or fix bugs using TDD, mentions "red-green-refactor", wants integration tests, or asks for test-first development.

Refactoring 179.9K 5mo ago
mattpocock

improve-codebase-architecture

by mattpocock

Find deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/. Use when the user wants to improve architecture, find refactoring opportunities, consolidate tightly-coupled modules, or make a codebase more testable and AI-navigable.

Processing 179.9K 2mo ago
mikeyobrien

test-driven-development

by mikeyobrien

Unified TDD skill with three input modes — from spec, from task, or from description. Enforces test-first development using repository patterns, with proptest guidance and backpressure integration.

Automation 3.1K 5mo ago
cursor

deslop

by cursor

Remove AI-generated code slop and clean up code style

Linting 2.4K 5mo ago
Microck

architecture-patterns

by Microck

Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use when architecting complex backend systems or refactoring existing applications for better maintainability.

Email 313 7mo ago
HoangNguyen0403

Global Best Practices

by HoangNguyen0403

Universal principles for clean, maintainable, and robust code across all environments.

Monitoring 530 5mo ago