원클릭으로
serena-safe-refactor
// Safe refactoring workflow using Serena tools - analyzes impact, finds references, and performs safe code transformations
// Safe refactoring workflow using Serena tools - analyzes impact, finds references, and performs safe code transformations
Automated code navigation using Serena tools - finds files, analyzes symbols, and provides intelligent code exploration
Pattern-based code editing using Serena tools - searches for patterns and applies bulk transformations
Automated multi-agent orchestrator that spawns CLI subagents in parallel, coordinates via Serena Memory, and monitors progress
Backend specialist for APIs, databases, authentication, and server-side logic using FastAPI, Node.js, or other frameworks
Bug diagnosis and fixing specialist - analyzes errors, identifies root causes, provides fixes, and writes regression tests
Frontend specialist for React, Next.js, TypeScript, and modern UI development
| name | serena-safe-refactor |
| description | Safe refactoring workflow using Serena tools - analyzes impact, finds references, and performs safe code transformations |
| trigger | auto |
| domain | refactoring |
| tools | {"serena_find_symbol":true,"serena_find_referencing_symbols":true,"serena_replace_symbol_body":true,"serena_rename_symbol":true,"serena_replace_content":true} |
Automated refactoring workflow that ensures safety by analyzing impact before making changes.
serena_find_symbol to locate the targetserena_find_referencing_symbols to find all usagesserena_rename_symbol for safe renamingserena_replace_symbol_body for implementation changesserena_replace_content for pattern-based changesrename_symbol instead of replace_content when possible// Safe rename of a function
const workflow = [
'serena_find_symbol("oldFunctionName")',
'serena_find_referencing_symbols("oldFunctionName")',
'serena_rename_symbol("oldFunctionName", "newFunctionName")',
];