Claude Marketplaces
SkillsMCP serversMarketplacesDigestTools
Submit

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP servers by category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control
Claude Marketplaces

An independent directory of skills, plugins and MCP servers for Claude Code. Not affiliated with Anthropic.

Browse

  • Skills
  • MCP servers
  • Marketplaces
  • Weekly digest
  • Skill index
  • MCP index
  • Marketplace index

Site

  • About
  • Tools
  • Submit
  • Feedback
  • Privacy
  • llms.txt
  • Plugins reference

Maker

  • Snug
  • Agent Caffeine
  • knobs
  • Wax
  • Vectoys
  • mertduzgun.com
Crafted at
Skills/Code Review & Quality
sickn33 avatar

Code Refactoring Refactor Clean

sickn33/antigravity-awesome-skills

When you've got legacy code that works but makes you wince every time you touch it, this skill walks through the refactoring systematically. It identifies code smells and dependency tangles, then proposes incremental changes that won't blow up your app. The emphasis on keeping diffs reviewable and behavior stable is smart, since big bang refactors are where things usually go sideways. It applies SOLID principles and clean code patterns without over-engineering, and includes a verification step to catch regressions. Best for medium to large refactoring efforts where you need a structured approach, not quick cosmetic fixes.

installs
982
GitHub stars
43.1K
last updated
Jul 14, 2026
View on GitHubSave

Install

$ npx -y skills add sickn33/antigravity-awesome-skills --skill code-refactoring-refactor-clean --agent claude-code

Installs into .claude/skills of the current project.

Files

Refactor and Clean Code

You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve its quality, maintainability, and performance.

Use this skill when

  • Refactoring tangled or hard-to-maintain code
  • Reducing duplication, complexity, or code smells
  • Improving testability and design consistency
  • Preparing modules for new features safely

Do not use this skill when

  • You only need a small one-line fix
  • Refactoring is prohibited due to change freeze
  • The request is for documentation only

Context

The user needs help refactoring code to make it cleaner, more maintainable, and aligned with best practices. Focus on practical improvements that enhance code quality without over-engineering.

Requirements

$ARGUMENTS

Instructions

  • Assess code smells, dependencies, and risky hotspots.
  • Propose a refactor plan with incremental steps.
  • Apply changes in small slices and keep behavior stable.
  • Update tests and verify regressions.
  • If detailed patterns are required, open resources/implementation-playbook.md.

Safety

  • Avoid changing external behavior without explicit approval.
  • Keep diffs reviewable and ensure tests pass.

Output Format

  • Summary of issues and target areas
  • Refactor plan with ordered steps
  • Proposed changes and expected impact
  • Test/verification notes

Resources

  • resources/implementation-playbook.md for detailed patterns and examples.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

Behavior preservation and evidence

The numeric smell/coverage/ROI thresholds are heuristics, not universal quality gates or measured benefits. Preserve public behavior, duplicate ordering, transactions, side-effect timing, errors and compatibility unless a change is explicitly intended. Characterize meaningful invariants before a risky refactor; do not mechanically split functions to meet line/parameter limits.

Examples are incomplete independent fragments, not a compiled project: repository find_by_id, framework helpers, discount implementation, EmailService and Logger are missing. Persistence plus email needs an idempotent/outbox strategy because a failed notification after commit must not repeat the order. Validate authorization and server-trusted prices before processing money. Email regex checks shape, not deliverability/ownership; caches need tenant keys, invalidation and sensitive-data policy.

Static-analysis snippets are leads: generic execute($QUERY) is not proof of SQL injection, and CodeQL analyze alone is not a full initialized/extracted workflow. Inspect actual tool versions/configuration before running; preserve existing gates and do not replace tests with an AI pass. Report only measured before/after metrics and actual dashboard URLs; no coverage, security absence or performance improvement is certified by these sketches. No code from the playbook was executed.

Sponsors

SnugThe clipboard manager you and your agent can use, safelyAgent CaffeineClose your lid, come back to finished workWaxBlock anything with supervision, without erasing your iPhoneOpen StepsSponsoredFree and open-source skills that make AI coding agents easier to understand, verify, and control.

Details

Repository
github.com/sickn33/antigravity-awesome-skills
Category
Code Review & Quality
First seen
Apr 16, 2026

More from sickn33/antigravity-awesome-skills

All 708
  • Autonomous Agents977
  • React Patterns970
  • Lint And Validate968
  • File Organizer967
  • Architect Review965
  • Frontend Developer964
  • Blockchain Developer956
  • Seo Fundamentals956
  • App Builder953
  • Geo Fundamentals949
  • Ai Engineer948
  • Production Code Audit937
  • Pptx Official928
  • Daily News Report921
  • Doc Coauthoring921
  • Content Creator914
  • Tdd Workflow913
  • Testing Patterns908
  • Performance Profiling893
  • Shopify Apps887
  • Concise Planning879
  • Code Documentation Code Explain874
  • Flutter Expert873
  • Security Audit863

Recommended

More Code Review & Quality
1sickn33 avatararchitect-reviewsickn33/antigravity-awesome-skillsarchitect review965installs
2getsentry avatararchitecture-reviewgetsentry/wardenStaff-level codebase health review. Finds monolithic modules, silent failures, type safety gaps, test coverage holes, and LLM-friendliness issues.664installs
3n0an avatarswift-format-stylen0an/swift-formatstyle-agent-skillWrites and reviews Swift FormatStyle code, replacing legacy Formatter subclasses and C-style String(format:) with modern .formatted() APIs. Use when formatting 455installs
4levnikolaevich avatarln-624-code-quality-auditorlevnikolaevich/claude-code-skillsChecks cyclomatic complexity, nesting, long methods, god classes, O(n2), N+1 queries, constants management. Use when auditing code quality.413installs
5srstomp avatararchitecture-reviewsrstomp/pokayokayUse when auditing project structure, planning refactors, improving code organization, analyzing dependencies and module boundaries, or identifying structural is412installs
6tartinerlabs avatarnaming-formattartinerlabs/skillsUse when reviewing file names, renaming files, fixing naming conventions, or auditing exports. Enforces consistent casing and suffix patterns.383installs