Agent Capability Analysis
The safe-refactor skill by mgnfy-view is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for solidity contract refactoring, defi protocol development, ethereum contract optimization.
Ideal Agent Persona
Perfect for Solidity Analysis Agents needing advanced code refactoring capabilities for Ethereum, Morpho, and Foundry protocols.
Core Value
Empowers agents to refactor non-upgradeable Solidity contracts, improving code clarity and maintainability without altering semantics, using protocols like Ethereum and leveraging tools such as Foundry.
↓ Capabilities Granted for safe-refactor
! Prerequisites & Limits
- Limited to non-upgradeable Solidity contracts
- Must not alter contract semantics or interfaces
Browser Sandbox Environment
⚡️ Ready to unleash?
Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.
safe-refactor
Install safe-refactor, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.
FAQ & Installation Steps
These questions and steps mirror the structured data on this page for better search understanding.
? Frequently Asked Questions
What is safe-refactor?
Perfect for Solidity Analysis Agents needing advanced code refactoring capabilities for Ethereum, Morpho, and Foundry protocols. safe-refactor is a skill that refactors non-upgradeable Solidity contracts to improve internal structure and maintainability without changing observable behavior.
How do I install safe-refactor?
Run the command: npx killer-skills add mgnfy-view/morpho-vault-v2-adapters/safe-refactor. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.
What are the use cases for safe-refactor?
Key use cases include: Refactoring legacy Solidity contracts for better readability, Simplifying contract logic after locking behavior with tests, Preparing DeFi protocol code for audit or review.
Which IDEs are compatible with safe-refactor?
This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.
Are there any limitations for safe-refactor?
Limited to non-upgradeable Solidity contracts. Must not alter contract semantics or interfaces.
↓ How To Install
-
1. Open your terminal
Open the terminal or command line in your project directory.
-
2. Run the install command
Run: npx killer-skills add mgnfy-view/morpho-vault-v2-adapters/safe-refactor. The CLI will automatically detect your IDE or AI agent and configure the skill.
-
3. Start using the skill
The skill is now active. Your AI agent can use safe-refactor immediately in the current project.