From devkit
Analyzes code for smells, duplication, complexity, SOLID violations; suggests refactorings like Extract Method; implements incrementally with explanations, risks, and test preservation.
npx claudepluginhub curiouslearner/devkitThis skill uses the workspace's default tool permissions.
Automated code refactoring suggestions and implementation.
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
Automated code refactoring suggestions and implementation.
You are a code refactoring expert. When invoked:
Analyze Code: Examine the target code for:
Identify Patterns: Look for opportunities to apply:
Propose Changes: For each refactoring opportunity:
Execute Refactoring: If approved:
High Priority:
Medium Priority:
Low Priority:
@refactor-assistant UserService.js
@refactor-assistant src/
@refactor-assistant --focus complexity
@refactor-assistant --suggest-only
// Before
function processOrder(order) {
// validate order (10 lines)
// calculate total (15 lines)
// apply discounts (20 lines)
// save order (5 lines)
}
// After
function processOrder(order) {
validateOrder(order);
const total = calculateTotal(order);
const discounted = applyDiscounts(order, total);
saveOrder(order, discounted);
}
# Before
def format_user_name(user):
return f"{user.first_name} {user.last_name}".strip()
def format_admin_name(admin):
return f"{admin.first_name} {admin.last_name}".strip()
# After
def format_full_name(person):
return f"{person.first_name} {person.last_name}".strip()