Skip to main content

Best-of guides

Best Claude skills for refactoring in 2026

Refactoring is the unglamorous work that keeps a codebase from collapsing under its own weight. The best Claude skills for refactoring find code smells from Martin Fowler's catalog, god classes, long methods, feature envy, primitive obsession, and propose typed, test-backed fixes. Others remove dead code, simplify branching, or formalize an emergent design system from scattered styles. They make small improvements continuously rather than waiting for a quarterly cleanup that never comes. Install one and let your codebase quietly get better.

Top 10 skills

See all →
  1. 01web-research-agent

    32 installs

    A comprehensive autonomous web research agent that performs targeted searches, fetches and parses web content, summarizes findings, and generates structured reports, adhering to industry best practices for accuracy, security, and robustness.

    Analysis
  2. 02quickstart

    28 installs

    Zero to power user in one invoke — detects OS, installs Homebrew/apt/Node.js/Python, sets up Claude Code, authenticates skills-hub CLI, connects MCP servers, and installs recommended skills based on your project. Cross-platform (macOS, Linux, WSL). Idempotent. Use when: 'quickstart', 'setup machine', 'new machine setup', 'install everything', 'get started', 'onboard me', 'setup skills-hub', 'fresh install'.

    Productivity
  3. 03recall

    7 installs

    Reconstructs the development cycle from git history, distills sequential/parallel patterns, and produces actionable insights for improving future iterations. Triggers: recall, retrospective, development analysis, what happened, dev cycle analysis.

    Analysisfrom Skills Hub
  4. 04social-media-content-automator

    6 installs

    A comprehensive social media automation skill that monitors platforms like Reddit and other social media sites to generate, post, and reply with relevant content promoting your app. It ensures content relevance, adheres to platform policies, and incorporates best practices for engagement and safety.

    Productivity
  5. 05humanizer

    4 installs

    Multi-pass editor that removes AI-writing tells from drafted content — eliminates filler phrases, balances sentence length, restores opinion and voice, and strips em-dash overuse so posts sound human and opinionated rather than ChatGPT-generic. Use when the user wants to humanize AI-generated marketing copy, blog posts, landing pages, or social content.

    Analysisfrom Skills Hub
  6. 06session-memory

    3 installs

    Persist, summarize, and reload agent context between sessions — writes a structured session log to CLAUDE.md / AGENTS.md / .hermes.md, snapshots decisions before destructive ops, and resumes long-running goals without re-briefing. Works with any coding agent.

    Productivityfrom Skills Hub
  7. 07bundle-analysis

    3 installs

    Analyze frontend bundle size, detect heavy dependencies, find duplicates, evaluate tree-shaking, recommend code splitting, and generate size budget configs. USE THIS SKILL WHEN: user mentions bundle size, JavaScript bundle, webpack analysis, slow page load from large bundles, tree-shaking, code splitting, heavy dependencies, duplicate packages, vendor chunk, DIM weight of JS, or performance budget. Trigger phrases: "analyze bundle size", "why is my bundle so big", "find heavy dependencies", "reduce bundle size", "code splitting opportunities", "tree-shaking not working", "duplicate packages in bundle", "set up size budget", "vendor chunk too large", "initial load too slow", "optimize webpack output", "vite build analysis".

    Analysisfrom Skills Hub
  8. 08vscode

    2 installs

    Configure and operate VS Code-family IDEs (VS Code, VS Code Insiders, Cursor, VSCodium, Trae, Qoder, CodeBuddy) via CLI and structured JSON files. Qoder and CodeBuddy support is limited to their VS Code-compatible configuration surface, not proprietary AI chat, accounts, models, agents, marketplaces, or internal state.

    Productivity
  9. 09env-check

    2 installs

    Verify your development environment is correctly configured for a project — checks runtime versions, dependencies, env vars, services, ports, and permissions.

    Productivity
  10. 10app-size-optimizer

    2 installs

    Analyzes mobile app binary size -- asset audit for unused images and font subsetting, code stripping with ProGuard and tree-shaking, on-demand resources, dynamic feature modules, and app thinning strategies. USE THIS SKILL WHEN: - Your app's download size is too large or growing unexpectedly - Someone asks "why is our app so big?" or "how do we reduce app size?" - You need to audit assets (images, fonts, videos) for waste or optimization - App store reviewers flag your app for exceeding cellular download limits (200MB) - You want to check if ProGuard/R8, tree-shaking, or resource shrinking is properly configured - Someone mentions ABI splits, dynamic feature modules, or on-demand resources - You are preparing for a release and want to minimize download size - Users are complaining about storage space or download times - You need to audit dependencies for size bloat or lighter alternatives TRIGGER PHRASES: "app size", "binary size", "reduce app size", "APK size", "IPA size", "unused ass

    Analysisfrom Skills Hub

How to install

Every skill on this page is a SKILL.md file you can install with one command. The CLI writes the skill into the right directory for Claude Code, Cursor, Codex CLI, Windsurf, or any MCP-compatible tool.

$ npx @skills-hub-ai/cli install <skill-slug>