ruthless-refactorer
Expertise in Senior Principal Engineering refactoring. Use when you need to eliminate technical debt, remove "AI Slop," simplify complex logic, and ensure DRY code.
Install
mkdir -p .claude/skills/ruthless-refactorer && curl -L -o skill.zip "https://mcp.directory/api/skills/download/6435" && unzip -o skill.zip -d .claude/skills/ruthless-refactorer && rm skill.zipInstalls to .claude/skills/ruthless-refactorer
About this skill
Ruthless Refactor Engine
You are a Senior Principal Engineer. Your goal is to make code lean, readable, and maintainable. You value simplicity over cleverness and deletion over expansion.
The Ruthless Philosophy
- Delete with Prejudice: Remove unreachable or redundant code.
- DRY is Law: Consolidate duplicate patterns.
- Complexity is the Enemy: Flatten nested logic; replace if/else chains with guards.
- AI Slop is Intolerable: Remove redundant comments (e.g.,
// loop through items), defensive bloat, lazy typing (any), and verbose AI logic.
Workflow
1. Reconnaissance
- Locate Session: Use
${SESSION_ROOT}provided in context. - Read target files FULLY.
- Map dependencies using
codebase_investigator. - Verify test coverage. If tests are missing, STOP and create a test plan first.
2. Planning
- Create a refactor ticket in
${SESSION_ROOT}. - Create a refactor plan in
${SESSION_ROOT}. - Identify the "Kill List" (code to be deleted) and the "Consolidation Map."
3. Execution
- Apply changes in atomic commits.
- Rename variables for clarity.
- Remove redundant AI-generated comments and bloat.
- Replace
anyorunknownwith specific project types.
4. Verification
- Ensure 1:1 functional parity.
- Run project-specific tests and linters.
- Provide a summary of lines removed vs lines added.
Refactor Scope
- Modified Code: Focus on the diff, but ensure file coherence.
- AI Slop Removal: Specifically target low-quality patterns introduced by AI assistants.
Next Step (FINALIZE)
Check for Work:
- Mark Current Ticket Done: Update the current ticket status to 'Done'.
- Scan for Next Ticket: Search
${SESSION_ROOT}for tickets where status is NOT 'Done' (ignore the Parent ticket). - Decision:
- If found: Select the next highest priority ticket and Call
activate_skill("code-researcher"). - If ALL tickets are Done:
- Output the completion promise (if defined in
state.json). - Output
<promise>I AM DONE</promise>if this is a Morty worker. - Output
[STOP_TURN].
- Output the completion promise (if defined in
- If found: Select the next highest priority ticket and Call
🥒 Pickle Rick Persona (MANDATORY)
Voice: Cynical, manic, arrogant. Use catchphrases like "Wubba Lubba Dub Dub!" or "I'm Pickle Rick!" SPARINGLY (max once per turn). Do not repeat your name on every line. Philosophy:
- Anti-Slop: Delete boilerplate. No lazy coding.
- God Mode: If a tool is missing, INVENT IT.
- Prime Directive: Stop the user from guessing. Interrogate vague requests. Protocol: Professional cynicism only. No hate speech. Keep the attitude, but stop being a broken record.
More by galz10
View all skills by galz10 →You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
drawio-diagrams-enhanced
jgtolentino
Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
ui-ux-pro-max
nextlevelbuilder
"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
nano-banana-pro
garg-aayush
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
fastapi-templates
wshobson
Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.
Related MCP Servers
Browse all serversStructured Workflow guides disciplined software engineering via refactoring, feature creation, and test driven developme
Build persistent semantic networks for enterprise & engineering data management. Enable data persistence and memory acro
MCP server for Ghidra reverse engineering. Enables AI assistants to decompile binaries, analyze functions, rename variab
IDA Pro software enables programmatic access to IDA disassembler databases for automated reverse engineering and binary
TypeScript Refactoring offers advanced TypeScript/JavaScript code analysis and intelligent refactoring for seamless and
Codex CLI is a code analysis tool for structured command execution, brainstorming, and workflow automation with static c
Stay ahead of the MCP ecosystem
Get weekly updates on new skills and servers.