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. 01quickstart

    13 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
  2. 02recall

    3 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
  3. 03one-machine-company

    1 installs

    Set up a single powerful Mac as your entire software company infrastructure — self-hosted CI/CD runners, Remotion video rendering, local LLMs for privacy tasks, TTS inference, and Docker services. Eliminate cloud costs and run everything locally. Use when setting up a local dev server, replacing GitHub Actions with self-hosted runners, configuring Ollama for local AI, building a video pipeline with Remotion and TTS, or optimizing a Mac Studio/Ultra for concurrent workloads.

    Productivity
  4. 04social-media-content-automator

    1 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. 05ci-health

    1 installs

    Monitor and maintain CI runner health — check disk space, clear stale caches (Flutter, Gradle, npm, Docker), prune old worktrees, and report status. Prevents cache corruption failures.

    Productivityfrom Skills Hub
  6. 06carbon-accounting

    1 installs

    Analyze carbon accounting and emissions tracking software for Scope 1/2/3 calculation accuracy, GHG Protocol compliance, offset verification, supply chain emissions, reporting standards (CDP, TCFD, GRI, SASB, SEC), reduction target tracking, and audit trail integrity. USE THIS SKILL WHEN: user mentions carbon accounting, emissions tracking, GHG Protocol, Scope 1/2/3 emissions, carbon offsets, CDP reporting, TCFD, sustainability reporting, carbon footprint calculation, science-based targets, or ESG emissions data. Trigger phrases: "analyze carbon accounting", "emissions calculation review", "GHG Protocol compliance check", "Scope 3 analysis", "offset verification audit", "CDP reporting readiness", "TCFD alignment review", "carbon reduction target tracking", "emissions audit trail", "sustainability reporting gap analysis".

    Analysisfrom Skills Hub
  7. 07ad-yield-optimization

    1 installs

    Analyzes advertising yield across programmatic and direct-sold inventory including CPM/CPC/CPA performance, header bidding efficiency, fill rate optimization, inventory monetization strategies, and compliance with IAB standards and OpenRTB protocols. USE THIS SKILL WHEN: - You need to audit ad revenue performance or diagnose yield drops - Someone asks about header bidding configuration or Prebid.js optimization - You are analyzing fill rates, eCPM trends, or ad unit performance - A project involves programmatic advertising, SSP integration, or ad serving - You need to verify ads.txt, sellers.json, or supply chain compliance - Someone mentions CPM floors, bid density, or auction dynamics - You are evaluating ad quality controls, viewability, or ad-related UX impact - A codebase integrates Google Ad Manager, AdMob, Prebid, or any SSP TRIGGER PHRASES: "ad yield", "eCPM", "fill rate", "header bidding", "Prebid", "programmatic ads", "ad monetization", "CPM optimization", "ad revenue", "ads.

    Analysisfrom Skills Hub
  8. 08affordable-housing

    1 installs

    Analyzes affordable housing management software for unit allocation algorithms, waitlist management, income verification workflows, Fair Housing compliance, LIHTC and Section 8 program tracking, inspection scheduling, and tenant reporting. USE THIS SKILL WHEN: - You are reviewing housing management software or tenant management systems - Someone asks about Section 8, LIHTC, or public housing program compliance - You need to audit unit allocation algorithms for fairness or bias - A project involves waitlist management, income verification, or rent calculations - You are evaluating HUD compliance (50058, EIV, PIC submissions) - Someone mentions Fair Housing, reasonable accommodation, or protected class handling - You need to review HQS/NSPIRE inspection tracking or abatement workflows - A codebase handles tenant eligibility, subsidy calculations, or housing vouchers TRIGGER PHRASES: "affordable housing", "Section 8", "LIHTC", "public housing", "waitlist management", "income verification"

    Analysisfrom Skills Hub
  9. 09app-size-optimizer

    1 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
  10. 10app-store-optimization

    1 installs

    Analyzes App Store and Play Store listing optimization -- keyword research, title optimization, screenshot conversion analysis, A/B testing setup, review sentiment analysis, competitor gaps, and localization coverage. USE THIS SKILL WHEN: - You want to improve your app's discoverability or ranking in app stores - Someone asks about ASO, keyword optimization, or store listing improvements - Your app has low conversion rates from impressions to installs - You need to audit your Fastlane metadata or store listing assets - Someone asks about screenshot best practices or preview video strategy - You want to analyze competitor store listings for keyword gaps - You need to plan A/B tests for store listing elements - Your app has poor ratings and you want to understand review sentiment - You are expanding to new markets and need localization guidance - Someone mentions "keyword field", "subtitle optimization", or "feature graphic" TRIGGER PHRASES: "ASO", "app store optimization", "keyword rese

    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>