Installs into .claude/skills of the current project.
Are you the author of Deep Refactor?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/architects-toolkit-deep-refactor)
---
name: deep-refactor
description: Instruct the AI to fully refactor code, prioritizing best quality over minimal changes
allowed-tools:
- read
- edit
- write
- exec
- grep
- glob
- ask_user_question
triggers:
- user
- model
---
- We are fully refactoring the code.
- Do not limit yourself to minimal targeted edits. Large high-level refactors or discussion with the user are expected.
- Prioritize best code quality, clear architecture, clean, simple, and easy-to-maintain code.
- Place new features as high as possible, to allow reuse and deduplication.
- Focus on the files the user wants to target to produce high-quality code.
- Forget about potential breaking changes, we'll fix them in the future.
- Let the user choose if they want refactoring to be backward compatible or not.
- Keep documentation and changelog updates for later. Now focus on rethinking the code.
- Remove legacy and obsolete code.
- The result should be ideal code. Don't stack to existing code limitations.
- Understand the essential logic behind the code and the user's will before suggesting refactors. Ask for human validation if you doubt.