Skip to content
cccskills

Results for “refactor”

1.6K skills · sorted by relevance

hexagonal-architecture

FreeSummaryAI rating 100

Design or refactor services so business rules stay separate from databases, APIs, and frameworks. Uses Ports and Adapters—interfaces and their implementations—to define clear boundaries, test workflows, and migrate existing code one feature at a time.

  • Separating business rules from database and API calls
  • Sharing application workflows across HTTP, CLI, and workers
  • Replacing infrastructure while preserving business rules
affaan-m/ECC284.7KUpdated Oct 20, 2026

cpp-coding-standards

FreeSummaryAI rating 90

Write, review, and refactor modern C++ using the C++ Core Guidelines. Covers type safety, automatic resource cleanup, class design, exceptions, concurrency, and naming conventions, with examples and a checklist for identifying unsafe or inconsistent code.

  • Writing modern C++ classes and functions
  • Reviewing memory ownership and resource cleanup
  • Refactoring existing C++ code
affaan-m/ECC284.7KUpdated Oct 20, 2026

karpathy-guidelines

FreeSummaryAI rating 100

Guide coding, reviews, and refactoring with explicit assumptions, simple implementations, focused changes, and testable goals. These behavioral guidelines help an AI agent avoid unnecessary complexity and verify that its changes meet the request.

  • Clarifying assumptions before implementation
  • Keeping bug fixes focused
  • Reviewing code for unnecessary complexity
multica-ai/andrej-karpathy-skills221.5KUpdated Apr 20, 2026

Coordinate multiple AI agents for feature development or refactoring across several files. The skill guides team setup, task assignment, status checks, and recording successful approaches for use in later work.

  • Coordinating changes across three or more files
  • Assigning feature development tasks to multiple agents
  • Checking progress during a shared refactoring task
ruvnet/ruflo77.7KUpdated Oct 20, 2026

Refactor React components with too many true-or-false options into reusable parts. Provides guidance on component composition, shared state, and flexible interfaces, with examples of good and problematic implementations and specific guidance for React 19.

  • Refactoring components with too many boolean options
  • Designing reusable component libraries
  • Reviewing shared state and component architecture
calesthio/OpenMontage70.3KUpdated Oct 17, 2026

Write, review, and refactor React and Next.js code using performance guidelines from Vercel. Prioritized rules help identify sequential data requests, oversized JavaScript bundles, unnecessary re-renders, and other opportunities to improve loading and responsiveness.

  • Reviewing React components for performance issues
  • Improving data fetching in Next.js pages
  • Reducing JavaScript bundle size
calesthio/OpenMontage70.3KUpdated Oct 17, 2026

refactor

FreeSummary

Guides code cleanup and restructuring by mapping dependencies, assessing test coverage, and planning small changes. Supports tasks such as extracting functions or renaming symbols, with checks after each step and recovery when verification fails.

  • Extracting validation logic into a separate module
  • Renaming symbols across related files
  • Simplifying conditionals and repeated patterns
code-yeongyu/oh-my-openagent70.2KUpdated Oct 20, 2026

pr-to-video

FreeSummary

Turn a GitHub pull request into a video explaining a feature, fix, refactor, or changelog. The workflow uses actual diffs, commits, and files to plan the story, show code excerpts, and produce an MP4.

  • Explain a new feature from its pull request
  • Show the code changes behind a bug fix
  • Walk through a refactor with actual excerpts
heygen-com/hyperframes68.3KUpdated Oct 20, 2026

Write or refactor Remotion components so timing and full-size layout live on the content itself. Reduce redundant wrappers and organize related scenes or clips on shared Studio timeline rows while preserving timing and layout behavior.

  • Put timing directly on scene and media components
  • Refactor redundant Sequence and AbsoluteFill wrappers
  • Group related scenes and clips on shared timeline rows
remotion-dev/remotion65.6KUpdated Oct 20, 2026

Write, review, or refactor React and Next.js code using prioritized performance guidelines. Address sequential data requests, large bundles of browser code, server work, and unnecessary rendering, with explanations and code examples for each rule.

  • Writing React components with performance in mind
  • Reviewing Next.js data fetching
  • Reducing browser code size and loading time
CherryHQ/cherry-studio52.8KUpdated Oct 20, 2026

andrej-karpathy

FreeSummary

Guide AI coding work toward simple implementations, focused edits, and explicit assumptions. Use it when writing, reviewing, or refactoring code to keep changes tied to the request and define success through tests or other concrete checks.

  • Keeping bug fixes limited to the necessary code
  • Simplifying code that has become overcomplicated
  • Making implementation assumptions explicit
sickn33/agentic-awesome-skills48.1KUpdated Oct 19, 2026

Refactor TypeScript code that handles several variants in multiple places using frozen classes and a Visitor interface, which defines a handler for each variant. This helps type checking expose missing handlers when new variants are added.

  • Refactor a union type with repeated switch statements
  • Design commands or nodes that need several kinds of processing
  • Catch missing handlers when adding a new variant
prisma/orm47.7KUpdated Oct 20, 2026

refactor

FreeSummary

Improve existing code without changing its behavior. This skill guides analysis, test checks, identification of design problems, and a phased refactoring plan, then applies small changes with testing and review.

  • Breaking long functions into smaller parts
  • Consolidating duplicated logic
  • Planning cleanup of legacy code
luongnv89/claude-howto42.1KUpdated Oct 19, 2026

Refactor JavaScript using ES6+ features to make code easier to read and maintain. Covers asynchronous operations with async/await, modules, and functional patterns that transform data without changing the original values.

  • Refactoring legacy JavaScript
  • Migrating callbacks to async/await
  • Building data transformation pipelines
wshobson/agents41.2KUpdated Oct 20, 2026

cw-slice

FreeSummary

Plan Codewhale changes by locating the existing implementation and its callers, defining one reviewable change, and choosing verification before editing. Use it for features, upgrades, and refactoring to avoid duplicate implementations and unfinished migrations.

  • Locate existing code before adding a feature
  • Define a reviewable scope for refactoring
  • Choose checks before implementation
codewhale-hq/Codewhale41.1KUpdated Oct 20, 2026

Refactor Java methods by extracting related blocks into separate, clearly named methods. Assess method length and complexity, preserve existing functionality, and return complete Java 17 methods with brief comments explaining each newly extracted method.

  • Split a long Java method into smaller methods
  • Separate distinct operations within complex methods
  • Name extracted logic to clarify its purpose
github/awesome-copilot40.2KUpdated Oct 20, 2026

Simplify Java methods and constructors by removing unused or redundant parameters. The skill adjusts definitions and internal calls, preserves existing functionality, and returns complete Java 17 code with comments explaining each removed parameter.

  • Remove unused parameters from Java methods
  • Simplify constructor parameter lists
  • Review parameters whose values are available elsewhere
github/awesome-copilot40.2KUpdated Oct 20, 2026

Turn feature requests, refactoring work, package upgrades, or infrastructure changes into structured Markdown implementation plans. Each plan defines concrete tasks, dependencies, affected files, and validation criteria for execution by AI agents or people.

  • Plan the implementation of a new feature
  • Break refactoring work into concrete tasks
  • Prepare a package upgrade plan
github/awesome-copilot40.2KUpdated Oct 20, 2026

Verify file splits, function moves, module extractions, and renames by reproducing changes from a base commit and comparing files byte for byte. Generate repeatable proof scripts and reports that expose changes beyond relocation.

  • Splitting a refactor into preparation, movement, and follow-up commits
  • Generating repeatable proof scripts for code moves
  • Verifying every provable commit in a branch
sgl-project/sglang37.5KUpdated Oct 20, 2026

Refactor React components into reusable pieces with clearer interfaces. Provides patterns for replacing excessive boolean settings, sharing state through providers, and designing component libraries, with additional guidance for React 19 APIs.

  • Refactor components with too many boolean settings
  • Design a reusable component library
  • Review shared state and provider structure
vercel-labs/agent-skills32.7KUpdated Oct 15, 2026

tech-debt

FreeSummary

Identify maintenance problems across code, architecture, tests, dependencies, documentation, and infrastructure. Rank them by impact, risk, and effort, then produce a prioritized backlog with business reasons and a phased improvement plan alongside feature development.

  • Deciding which parts of the codebase to refactor first
  • Organizing maintenance issues across technical areas
  • Explaining the business reasons for technical improvements
anthropics/knowledge-work-plugins30.7KUpdated Oct 20, 2026

coding-agent

FreeSummary

Design instructions for agents that write, fix, review, or refactor code. Define behavior based on file access, select suitable tools, and set clear verification and completion rules for repository changes or copyable code output.

  • Designing an agent for repository bug fixes
  • Defining a pull request review agent
  • Creating a code generator without workspace access
mastra-ai/mastra29KUpdated Oct 20, 2026

Write, review, or refactor React code using prioritized guidance for data fetching, bundle size, rendering, component structure, testing, and type safety. Start with high-impact issues such as sequential requests and unnecessary library loading.

  • Writing React components and data-fetching logic
  • Reviewing code for loading and rendering performance
  • Refactoring large components and overly broad interfaces
mastra-ai/mastra29KUpdated Oct 20, 2026

aspnet-core

FreeSummary

Build, review, and refactor ASP.NET Core web applications using official guidance. Helps choose application structure, implement pages and APIs, configure authentication and services, and plan testing, performance improvements, deployment, and version upgrades.

  • Choose an application model for a new project
  • Build pages and HTTP APIs
  • Review authentication and application configuration
openai/skills28.2KUpdated Sep 9, 2026