serena-refactoring-patterns

Refactor code symbols with AST-based editing and dependency awareness.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/chkim-su/serena-refactor-marketplace --skill serena-refactoring-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: serena-refactoring-patterns
Source: https://github.com/chkim-su/serena-refactor-marketplace/tree/main/skills/serena-refactoring-patterns
Command: npx skills add https://github.com/chkim-su/serena-refactor-marketplace --skill serena-refactoring-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Serena symbolic refactoring patterns enable safe, predictable modifications at the symbol level, reducing risk and accelerating code evolution with AST-based editing and dependency awareness.

Core Features & Use Cases

  • Safe Modification Patterns: Replace symbol bodies, insert content, and perform extraction/renaming with safeguards.
  • Refactoring Workflows: Step-by-step workflows for extraction, renaming, movement, and interface extraction.
  • Memory Utilization: Persist context across sessions to maintain continuity and guardrails.

Quick Start

Follow the workflow in the Skill documentation to extract/move/rename methods and ensure references are updated automatically.