Refactoring

Code restructuring and optimization

Showing 1-24 of 907 skills
Terryc21

implementation-plan

by Terryc21

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

Refactoring 50 2mo ago
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 50 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.5K 3mo 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 7.8K 18d ago
supabase

vercel-composition-patterns

by supabase

React composition patterns that scale. Use when refactoring components with

Refactoring 103.4K 3mo 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 9.6K 1mo 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 185.8K 3mo 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 139.7K 3mo 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 139.7K 3mo 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.6K 2mo ago
EveryInc

document-review

by EveryInc

This skill should be used to refine brainstorm or plan documents before proceeding to the next workflow step. It applies when a brainstorm or plan document exists and the user wants to improve it.

Agents 19.6K 3mo ago
cursor

deslop

by cursor

Remove AI-generated code slop and clean up code style

Linting 1.8K 3mo ago
Leonxlnx

full-output-enforcement

by Leonxlnx

Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.

File Ops 32.4K 3mo ago
mukul975

analyzing-bootkit-and-rootkit-samples

by mukul975

Analyzes bootkit and advanced rootkit malware that infects the Master Boot Record (MBR), Volume Boot Record (VBR), or UEFI firmware to gain persistence below the operating system. Covers boot sector analysis, UEFI module inspection, and anti-rootkit detection techniques. Activates for requests involving bootkit analysis, MBR malware investigation, UEFI persistence analysis, or pre-OS malware detection.

Code Review 14K 3mo ago
affaan-m

investor-materials

by affaan-m

Create and update pitch decks, one-pagers, investor memos, accelerator applications, financial models, and fundraising materials. Use when the user needs investor-facing documents, projections, use-of-funds tables, milestone plans, or materials that must stay internally consistent across multiple fundraising assets.

Code Gen 206.1K 3mo ago
affaan-m

cpp-testing

by affaan-m

Use only when writing/updating/fixing C++ tests, configuring GoogleTest/CTest, diagnosing failing or flaky tests, or adding coverage/sanitizers.

Code Gen 205.3K 3mo ago
Leonxlnx

full-output-enforcement

by Leonxlnx

Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.

File Ops 32.6K 2mo ago
pbakaus

optimize

by pbakaus

Improve interface performance across loading speed, rendering, animations, images, and bundle size. Makes experiences faster and smoother.

Performance 34.1K 3mo 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 116.4K 1mo 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 116.6K 1mo ago
mattpocock

edit-article

by mattpocock

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

Analytics 116.5K 4mo 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 116.2K 3mo ago
Besty0728

unity-optimization

by Besty0728

"Project optimization utilities. Use when users want to optimize textures, meshes, or improve performance. Triggers: optimize, compression, texture size, mesh compression, performance, LOD, Unity优化, Unity压缩, Unity性能."

Game Dev 1.2K 3mo ago
steipete

swiftui-view-refactor

by steipete

Refactor and review SwiftUI view files for consistent structure, dependency injection, and Observation usage. Use when asked to clean up a SwiftUI view’s layout/ordering, handle view models safely (non-optional when possible), or standardize how dependencies and @Observable state are initialized and passed.

Code Gen 4.1K 5mo ago