serena-workflow

HuynhSang2005's avatarfrom HuynhSang2005

Workflow repo ops bằng Serena MCP (tìm file, đọc symbol, chỉnh sửa có kiểm soát) để giảm đọc thừa.

⭐0stars🔀0forks📁View on GitHub🕐Updated Jan 10, 2026⬇️1downloads

When & Why to Use This Skill

The Serena MCP Workflow skill optimizes repository operations by enabling precise code exploration and controlled editing. It minimizes redundant data processing by prioritizing symbol-based navigation and pattern searching, allowing developers to interact with large codebases more efficiently while significantly reducing token consumption and context clutter.

Use Cases

  • Rapid Repository Exploration: Quickly understand the structure of a new codebase by retrieving symbol overviews and locating specific functions or classes without the need to read through every file.
  • Precise Code Refactoring: Safely update APIs or internal dependencies by identifying all referencing symbols across the repository to ensure comprehensive and consistent changes.
  • Targeted Debugging and Editing: Use pattern searching to pinpoint specific logic errors and perform controlled modifications, ensuring that only the necessary code context is loaded and edited.
nameserena-workflow
descriptionWorkflow repo ops bằng Serena MCP (tìm file, đọc symbol, chỉnh sửa có kiểm soát) để giảm đọc thừa.

Serena MCP Workflow

Khi nào dùng skill này

  • Bất cứ khi nào cần khám phá repo, tìm code, hoặc chỉnh sửa code.

Quy tắc

  • Ưu tiên get_symbols_overview/find_symbol thay vì đọc cả file.
  • Dùng search_for_pattern để định vị nhanh trước khi đọc.
  • Khi đổi API: dùng find_referencing_symbols để cập nhật mọi nơi sử dụng.

Thực hành tốt

  • Chỉ đọc phần đủ để làm task.
  • Sau khi thu thập thông tin đủ: dừng và xác nhận hướng sửa.