AgentSkillsCN

serena-quick

通过 Serena MCP 快速探索代码。适用于诸如检查单个文件结构、查找特定符号,或进行快速参考查询等小规模任务。无需子代理——在主执行环境中运行,确保高效便捷。

SKILL.md
--- frontmatter
name: serena-quick
description: Quick code exploration using Serena MCP. Use for small-scale tasks like checking single file structure, finding a specific symbol, or quick reference lookup. No subagent - runs in main context for efficiency.

Serena Quick Skill

Lightweight code exploration using Serena MCP tools directly in main context.

When to Use

  • Check structure of a single file
  • Find a specific function/class/symbol
  • Quick reference lookup (who calls this?)
  • Read or update project memory

MCP Tools (load via ToolSearch first)

IMPORTANT: Load Serena tools before use:

code
ToolSearch query: "serena"

Core Tools

ToolUse Case
mcp__serena__get_symbols_overviewFile structure overview
mcp__serena__find_symbolFind specific symbol by name
mcp__serena__find_referencing_symbolsWho uses this symbol?
mcp__serena__read_fileRead file content
mcp__serena__list_dirDirectory listing

Memory Tools

ToolUse Case
mcp__serena__read_memoryRetrieve stored knowledge
mcp__serena__write_memoryStore new knowledge
mcp__serena__list_memoriesList all memories

Workflow

  1. Load Serena MCP: ToolSearch query: "serena"
  2. Execute the appropriate tool for the task
  3. Return results directly (no summarization needed)

Task: $ARGUMENTS

Quick exploration request:

$ARGUMENTS

Load Serena MCP and execute the minimal set of tools needed.