Refactorització

Reestructuració i optimització del codi

Usos i criteris de selecció

Aquests skills ajuden a passar d’un problema reproduïble a un canvi de codi revisable. Comprova que el llenguatge, el framework i les eines de proves coincideixin amb el projecte; revisa les diferències i executa les teves comprovacions abans d’acceptar els canvis.

Skills: 1–24 de 984
Terryc21

safe-refactor

Terryc21

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

Refactorització 50 fa 7 mesos
Terryc21

implementation-plan

Terryc21

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

Refactorització 50 fa 7 mesos
vuejs-ai

vue-best-practices

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.

Generació de codi 3,1 k fa 8 mesos
kenryu42

ccsn-find-simplifications

kenryu42

'Use when working in the cc-safety-net repo to find non-obvious simplification candidates: dead, duplicated, speculative, over-built, or contract-exceeding surfaces in the analyzer, rules, guards, integrations, CLI, or GUI. Produces evidence-backed proposals for the maintainer, not a pile of guesses.'

Revisió de codi 1,8 k fa 2 mesos
luongnv89

refactor

luongnv89

Systematic code refactoring based on Martin Fowler's methodology. Use when users ask to refactor code, improve code structure, reduce technical debt, clean up legacy code, eliminate code smells, or improve code maintainability. This skill guides through a phased approach with research, planning, and safe incremental implementation.

Refactorització 44 k fa 2 mesos
luongnv89

refactor

luongnv89

Refactor code có hệ thống dựa trên phương pháp luận của Martin Fowler. Sử dụng khi người dùng yêu cầu refactor code, cải thiện cấu trúc code, giảm nợ kỹ thuật, dọn code legacy, loại bỏ code smells, hoặc cải thiện khả năng duy trì code. Skill này hướng dẫn qua cách tiếp theo từng giai đoạn với nghiên cứu, lập kế hoạch, và triển khai tăng dần an toàn.

Refactorització 44 k fa 2 mesos
luongnv89

refactor

luongnv89

基于 Martin Fowler 方法论的系统化代码重构 skill。适用于用户请求重构代码、改进代码结构、减少技术债、清理旧代码、消除 code smell 或提升可维护性时。这个 skill 采用分阶段、带研究与计划的安全增量实施方式。

Refactorització 44 k fa 2 mesos
luongnv89

refactor

luongnv89

Систематичний рефакторинг коду на основі методології Мартіна Фаулера. Використовуйте, коли користувачі просять рефакторити код, покращити структуру коду, зменшити технічний борг, очистити застарілий код, усунути запахи коду (code smells) або покращити супровідність коду. Ця навичка проводить через поетапний підхід з дослідженням, плануванням та безпечною інкрементальною реалізацією.

Refactorització 44 k fa 2 mesos
luongnv89

コードリファクタリングスキル

luongnv89

A visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.

Refactorització 44 k fa 2 mesos
Significant-Gravitas

vercel-react-best-practices

Significant-Gravitas

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

Rendiment 187,7 k fa 9 mesos
brycewang-stanford

code-simplifier

brycewang-stanford

Simplify and clean up code after changes are complete. Reduces complexity, improves readability, and ensures consistency.

Comentaris 4,7 k fa 6 mesos
brycewang-stanford

techdebt

brycewang-stanford

Find and fix technical debt including duplicated code, dead code, outdated patterns, and code smells. Run at the end of sessions to clean up.

Operacions amb fitxers 4,7 k fa 6 mesos
Leonxlnx

full-output-enforcement

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.

Operacions amb fitxers 101,4 k fa 7 mesos
Jeffallan

javascript-pro

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.

Generació de codi 12 k fa 5 mesos
mastra-ai

react-best-practices

mastra-ai

React performance optimization guidelines from Mastra Engineering. This skill should be used when writing, reviewing, or refactoring React code to ensure optimal performance patterns. Triggers on tasks involving React components, data fetching, bundle optimization, or performance improvements.

Rendiment 29 k fa 17 d
mastra-ai

coding-agent

mastra-ai

Authoring playbook for building agents that write, edit, review, or refactor code. Use this when the user asks for an agent that writes scripts, generates code, reviews pull requests, refactors a codebase, fixes bugs, implements features, writes tests, or works with programming languages such as Python, TypeScript, JavaScript, Go, Rust, SQL, or shell.

Agents 29 k fa 5 mesos
manaflow-ai

cmux-architecture

manaflow-ai

"cmux package architecture, refactor layering, dependency inversion, file organization, DocC documentation, package design discipline, testability, and Swift 6 concurrency rules. Use before adding or meaningfully rewriting Swift files, Swift packages, coordinators, services, repositories, or public package APIs."

Refactorització 28,4 k fa 27 d
zebbern

vercel-react-best-practices

zebbern

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

Rendiment 4,7 k fa 4 mesos
zebbern

deep-module-refactor

zebbern

Explore a codebase to find opportunities for architectural improvement, focusing on making the codebase more testable by deepening shallow modules. Use when user wants to improve architecture, find refactoring opportunities, consolidate tightly-coupled modules, or make a codebase more AI-navigable.

Refactorització 4,7 k fa 4 mesos
OneKeyHQ

1k-performance

OneKeyHQ

Performance optimization for React/React Native — re-renders, memoization, FlashList, memory leaks, and bundle size.

Rendiment 2,5 k fa 15 d
metabase

fe-modularization

metabase

Deciding where frontend code lives — tier model, move mechanics, extension points, side effects, naming, and the traps. Use when moving code between modules, carving new modules, fixing boundary violations, adding a barrel or an endpoint, or reviewing module-shape decisions.

Refactorització 49,8 k fa 2 mesos
pytorch

add-uint-support

pytorch

Add unsigned integer (uint) type support to PyTorch operators by updating AT_DISPATCH macros. Use when adding support for uint16, uint32, uint64 types to operators, kernels, or when user mentions enabling unsigned types, barebones unsigned types, or uint support.

Generació de codi 105 k fa 11 mesos
pytorch

metal-kernel

pytorch

Write Metal/MPS kernels for PyTorch operators. Use when adding MPS device support to operators, implementing Metal shaders, or porting CUDA kernels to Apple Silicon. Covers native_functions.yaml dispatch, host-side operators, and Metal kernel implementation.

Generació de codi 105 k fa 5 mesos
PostHog

isolating-product-facade-contracts

PostHog

Plan and execute product isolation migrations to a facade plus contract layer in PostHog, following the Visual review architecture. Use when a product still exposes internals (models/logic/views) across boundaries and needs migration toward contracts.py + facade/api.py + presentation separation, with a PR strategy that minimizes review latency and conflicts with parallel work.

Refactorització 40,4 k fa 23 d