con un clic
serena-pattern-editor
// Pattern-based code editing using Serena tools - searches for patterns and applies bulk transformations
// Pattern-based code editing using Serena tools - searches for patterns and applies bulk transformations
Automated code navigation using Serena tools - finds files, analyzes symbols, and provides intelligent code exploration
Safe refactoring workflow using Serena tools - analyzes impact, finds references, and performs safe code 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-pattern-editor |
| description | Pattern-based code editing using Serena tools - searches for patterns and applies bulk transformations |
| trigger | auto |
| domain | tooling |
| tools | {"serena_search_for_pattern":true,"serena_replace_content":true,"serena_replace_symbol_body":true} |
Automated pattern-based editing for bulk code transformations and migrations.
serena_search_for_pattern to find all occurrencesserena_replace_content with regex modeallow_multiple_occurrences carefully// Old API
oldFunction\((.*?)\)
// New API
newFunction($1, { option: true })
// Find deprecated usage
@deprecated.*\n.*function
// Replace with warning
// TODO: Migrate to new API\n$0
// Migrate from old API to new API
const workflow = [
'serena_search_for_pattern("oldApi\\.call")',
'serena_replace_content("oldApi\\.call\\((.*?)\\)", "newApi.call($1)", "regex")',
];