serena-integration
Instructions and best practices for using the Serena MCP server tools for symbolic code navigation, editing, and memory management.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Instructions and best practices for using the Serena MCP server tools for symbolic code navigation, editing, and memory management.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Update CHANGELOG.md and package.json via compiled release_bump harness, then commit/push only when the user asks. Use for /release, changelog updates, or shipping gallery versions.
Works in image-scoring-gallery on electron/db.ts contract, IPC, apiService, React/Vite, and alignment with sibling image-scoring-backend schema. Use for desktop app bugs, database.engine modes, API URL/port from webui.lock, or TypeScript changes under electron/ or src/. Triggers include Electron gallery, db.ts, IPC, apiService, config.api, PostgreSQL vs api engine, and Vite renderer.
React component patterns, CSS Modules styling, design tokens, virtualization, and UX constitution for the Driftara Gallery renderer. Use for src/ UI work, styling, FilterPanel/GalleryGrid/ImageViewer, or design:check—not electron/db unless coordinated with gallery-electron-ts.
Verify implementation against spec AC-n criteria via compiled harness. Use after /implement or /test-and-fix, before /pr-ready. Parses ACs and emits the report; LLM assigns Verified/Failed/Unknown when evidence is not a clean command exit.
Use before claiming work is complete, fixed, passing, ready to commit, or ready for PR. Runs scripts/agent_skills/verification_before_completion.py for the claim→proof catalog; LLM interprets output. Never upgrade incomplete verification.
Driftara Gallery MCP — is-ui-* router-first; backend triage via sibling is-be-mcp search+dispatch.
| name | serena-integration |
| description | Instructions and best practices for using the Serena MCP server tools for symbolic code navigation, editing, and memory management. |
This skill provides guidance on how to effectively use the Serena MCP server tools.
Serena provides advanced capabilities for:
get_symbols_overview to see the structure of a file.find_symbol.find_referencing_symbols to understand how code is used across the project.search_for_pattern for flexible regex-based searches when you don't know the exact symbol name.replace_symbol_body, insert_after_symbol, or insert_before_symbol for clean, structure-aware edits.rename_symbol to safely rename identifiers across the project.replace_content with regex is powerful.check_onboarding_performed).list_memories and read_memory to get up to speed on project conventions and architecture.write_memory.find_symbol: Locate classes, functions, methods.get_symbols_overview: Summary of a file's symbols.search_for_pattern: Regex search in files.list_dir: List files and directories.find_referencing_symbols: Find usages of a symbol.replace_symbol_body: Replace implementation of a function/class.rename_symbol: Rename a symbol globally.insert_after_symbol / insert_before_symbol: Add code relative to existing symbols.replace_content: Regex-based find and replace in files.check_onboarding_performed: Check if project has been initialized in Serena.onboarding: Run initial project setup/scanning.read_memory / write_memory: Access persistent knowledge.get_current_config: Check active project, modes, and tools.