원클릭으로
serena-code-workflow
Изучи код через Serena: symbols, ссылки, рефакторинг, навигация. Используй для: symbol search. EN: find references.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Изучи код через Serena: symbols, ссылки, рефакторинг, навигация. Используй для: symbol search. EN: find references.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Отлаживает browser-only failures через Chrome DevTools MCP и Playwright CLI. Используй для: консоль, сеть, runtime, layout, memory, performance, Lighthouse. EN triggers: browser debug, console, network, runtime, performance.
Маршрутизирует browser tasks только через managed Playwright CLI и Chrome DevTools MCP. Используй для: UI, визуально, скриншот, Figma, консоль, сеть, перфоманс. EN triggers: browser routing, UI validation, screenshots, visual QA, console, network.
Валидирует UI и сценарии через Playwright CLI evidence. Используй для: проверь UI, браузер, скриншот, регрессия, адаптив, бизнес-логика, визуально. EN triggers: validate UI, browser check, regression, responsive, screenshot.
Низкоуровневая browser automation через Playwright CLI. Используй для: screenshots, snapshots, headed sessions, traces, responsive, UI proof. EN triggers: Playwright CLI validation, screenshots, snapshots, traces.
Проводит visual QA для Figma, screenshots и reference images. Используй для: pixel-perfect, сравни с Figma, сравни с фото, diff. EN triggers: visual diff, pixel-perfect, compare Figma, reference image.
Маршрутизирует старые Webwright-запросы в управляемые CloakBrowser workflows. Используй для: длинная web-задача, RPA, extraction. EN triggers: compatibility browser task, long-horizon web task.
| name | serena-code-workflow |
| description | Изучи код через Serena: symbols, ссылки, рефакторинг, навигация. Используй для: symbol search. EN: find references. |
Use Serena MCP as the primary semantic layer for code work. The goal is low semantic entropy: understand structure before reading bodies, edit symbols instead of brittle line ranges, keep project knowledge synchronized, and prefer scalable patterns over quick text surgery.
User-facing conversation stays in Russian unless the user asks otherwise. Repository documentation, code comments, commit messages, memory files, plan files, and research archive files are written in English.
Use this skill without waiting for an explicit $serena-code-workflow call when the task asks to:
If Serena is unavailable or the file type is not supported, state the fallback and continue with Codex-native tools.
Use this skill for codebase exploration, project or directory inspection, file analysis, symbol search, reference tracing, refactors, implementation planning, and non-trivial code edits.
If Serena is unavailable, continue with Codex-native tools and state the fallback. Do not block progress just because a preferred MCP tool is missing.
For reading code, follow this order unless the task is trivial or the current session lacks a listed tool:
activate_project when the active project is unclear.list_memories to discover durable project knowledge.read_memory only for relevant memories inferred from names.onboarding only when a project has no usable Serena memory/context yet.get_symbols_overview to map top-level file structure without reading full files.find_symbol with include_body=false to discover children, overloads, and symbol paths.find_symbol with include_body=true only for the exact implementation needed.find_referencing_symbols to trace callers, usages, dead code risk, and refactor impact.search_for_pattern only for broad text sweeps, non-symbol text, or fallback coverage.For editing code, prefer:
find_symbol(include_body=true) to read the current implementation.replace_symbol_body for whole-symbol replacement.insert_before_symbol or insert_after_symbol for structured additions.rename_symbol for LSP-aware symbol renames.safe_delete_symbol if available and suitable.Use raw rg, direct file reads, and line patches only when Serena cannot answer the question, when the task is text-level rather than symbol-level, or when the needed edit is a tiny known-location change.
For Serena project setup and indexing, follow Serena's project workflow. The official indexing operation is the Serena project command serena project index; MCP tools then use the resulting project and language-server state for semantic navigation. Do not invent a nonexistent MCP "index directory" tool.
When a project is not onboarded, use Serena onboarding patterns and memory tools as the source of durable project context. Full project initialization commands belong to the rldyour-flow plugin; this skill only defines the Serena-first rule and the correct tool priority.
Code is the source of truth. Memories, plans, and docs must be checked against actual code, git diff, and task-specific verification.
Do not read entire files when get_symbols_overview plus targeted find_symbol is enough. Do not use grep as the first move for symbol-level questions.
For non-trivial decisions, make a short explicit plan before editing. If the task requires external technical research, use the rldyour-explore plugin first and then return to Serena for local code impact.
After meaningful project changes, use serena-memory-sync before final stop so .serena/memories stays accurate.
For investigation-only work, report:
Scope: what code was inspected.Evidence: Serena tools or fallback sources used.Findings: concrete facts with file paths or symbol names.Next steps: implementation or verification actions.For implementation work, keep the final concise: what changed, how it was verified, and any residual risk.