Voltar ao MarketplaceScore
78
Applies refactoring based on the 5 SOLID principles (SRP, OCP, LSP, ISP, DIP) to existing code, transforming classes and modules for better separation of responsibilities, extensibility and dependency inversion.
solidrefactoringclean-codearchitecturedesign-patternssrpocplspispdip
Linguagens
PythonTypeScriptJavaC#
Documento do Skill
SKILL.mdsolid-refactor/workflow
1
SENSE — Collect target code
Receive from the user the path of the file/module to refactor
Read full code and its imports/dependencies
Identify language, framework, and project patterns
2
CONTEXTUALIZE — Understand the project
Map project structure and conventions
Identify existing interfaces and abstractions
Check test coverage for target code
3
HYPOTHESIZE — Plan refactorings
Analyze code against each SOLID principle
Generate refactoring proposal for each violation found
4
EVALUATE — Prioritize changes
Order refactorings by impact and risk
Identify quick wins (high impact, low risk)
5
RECOMMEND — Present and apply
Show full plan with before/after code
Apply refactorings approved by the user
6
REFLECT — Validate outcome
Confirm code compiles/runs correctly
Verify tests still pass
Telemetria de Agentes
Execuções
0
total
Taxa de Sucesso
0%
últimos 30d
Latência Média
0.0s
p50
Alucinação
0.0%
detecção
Uso por Plataforma
Skills Relacionados
Árvore do Skill
SOLID Refactor
solid-refactor
Fases Cognitivas6
1.SENSE
2.CONTEXTUALIZE
3.HYPOTHESIZE
4.EVALUATE
5.RECOMMEND
6.REFLECT
Triggers12
refatorar SOLIDaplicar SOLIDrefactor solidseparar responsabilidadessingle responsibilityopen closed principleliskov substitutioninterface segregationdependency inversionextrair interfaceinverter dependênciadesacoplar classes
Skills Associados2
Avaliar este Skill
Score Breakdown
⭐Avaliação Humana0%
🤖Sucesso de Agentes0%
🕐Atualidade100%
🔗Saúde de Dependências100%
🕸️Centralidade no Grafo10%
🛡️Segurança50%
CompositeScore = α·Humano + β·Agente + γ·Recência + δ·Deps + ε·Centralidade + ζ·Segurança
Instalação
$ skillschain install solid-refactor
$ skillschain use solid-refactor