code-refactor-specialist
CommunityAutomate hook refactoring for cleaner code
Authorgwpjp
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Codebases with duplicated hook logic and inline transformations accumulate technical debt. This Skill identifies refactoring opportunities in hooks and utilities, consolidating patterns to improve maintainability and readability.
Core Features & Use Cases
- Consolidate Duplicate Hooks: Extract shared patterns into base hooks.
- Extract Utilities: Move repeated inline calculations into
src/utils/for reuse. - Compose Hooks: Break monolithic hooks into focused components using a two-layer approach (ponder → transform).
- Reporting: Generate a structured refactoring report detailing changes and rationale.
Quick Start
Run the code-refactor-specialist after implementing hooks to scan src/hooks/ and src/utils/ for refactoring opportunities and produce a report.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: code-refactor-specialist Download link: https://github.com/gwpjp/Web3-Claude/archive/main.zip#code-refactor-specialist Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.