refactoring-assistant

Detect code smells and propose refactoring patterns for Go and TypeScript/React projects.

1|Updated Nov 2, 2025
One-click install
npx skills add https://github.com/fubira/claude-code-settings --skill refactoring-assistant
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: refactoring-assistant
Source: https://github.com/fubira/claude-code-settings/tree/main/skills/refactoring-assistant
Command: npx skills add https://github.com/fubira/claude-code-settings --skill refactoring-assistant

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers improve code quality by detecting code smells, proposing targeted refactoring patterns, and offering context-aware best practices for Go and TypeScript/React projects.

Core Features & Use Cases

  • Automatic code smell detection during development
  • Pattern-based refactoring guidance with concrete examples
  • Tech-stack specific recommendations for Go and TS/React
  • Guidance for documenting new patterns in the Knowledge Manager for cross-project reuse

Quick Start

Say "refactor" or "リファクタリング" to receive pattern-driven guidance and concrete before/after examples for the current file.

Frequently Asked Questions about refactoring-assistant

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect code smells in my TypeScript or Go project?

Code smell detection identifies patterns like long methods, duplicate code, deep nesting, and oversized modules that signal quality issues. This Skill automatically analyzes your source files during editing to surface these patterns with concrete before/after refactoring examples and rationale.

What refactoring patterns does this cover for long methods and duplicate code?

The Skill proposes targeted refactoring patterns for long methods, duplicate code, deep nesting, long parameter lists, and oversized modules. Each pattern includes before/after examples, explanation of benefits, and incremental adoption guidance specific to Go and TypeScript/React codebases.

Can I use refactoring guidance for both Go and TypeScript/React projects?

Yes. This Skill provides tech-stack specific refactoring recommendations for both Go and TypeScript/React projects, detecting common code smells in each language and proposing patterns tailored to their ecosystems and conventions.

How do I start analyzing my code for refactoring opportunities?

Say 'refactor' or 'リファクタリング' to receive pattern-driven guidance. The Skill analyzes your current file, identifies code smells, and proposes refactoring patterns with concrete examples and best practices for incremental improvement.

What's the difference between identifying code smells and actually refactoring?

Code smell detection surfaces quality issues and their patterns; refactoring guidance proposes specific solutions with before/after examples and rationale. This Skill combines both, helping you understand what's wrong and how to fix it systematically.

Can I reuse refactoring patterns across projects?

Yes. The Skill provides guidance for documenting new patterns in the Knowledge Manager, enabling you to capture and reuse refactoring patterns across multiple Go and TypeScript/React projects for consistency.