Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

serena-usage

БесплатноЗапускает вложенные скриптыНе проверен

Serena MCP for project memory and code navigation. Use when managing Serena memories, navigating symbols, performing intelligent refactoring, or maintaining…

PracticalSwanот PracticalSwan★ 25 звёзд на GitHub

Об этом скилле

Serena Usage

Effective usage of the Serena MCP Server for project memory management, code intelligence, and maintaining continuity across AI agent sessions.

  • Leverage native parallel subagent dispatch and 200k+ context windows where available.

Activation Conditions

Use symptom -> action triggers: when one matches, apply this skill and verify with the protocol below.

MUST activate when:

  • Serena is available for the project
  • Task requires project memory continuity
  • Task requires symbol navigation or Serena refactoring workflow
  • Managing project memories for AI session continuity
  • Navigating codebases using symbol-based tools
  • Performing code refactoring with Serena's symbol management
  • Setting up Serena onboarding for new projects
  • Using Serena's memory system for project context preservation

Critical: Always verify project activation FIRST with get_current_config before any Serena operations

Prerequisites

  • Serena MCP Server configured and running
  • Project activated (use get_current_config to verify, or activate_project if not activated)
  • Onboarding completed for the target project (use check_onboarding_performed first)
  • If not activated, run activate_project with project name or path
  • If not onboarded, run onboarding tool after activation

Onboarding Workflow

First-Time Project Setup

  1. Check activation: Call get_current_config to verify if project is activated
  2. Activate if needed: If not activated, call activate_project with project name or path
  3. Check onboarding: Call check_onboarding_performed to verify onboarding status
  4. Read manual: If not onboarded, call initial_instructions to read the Serena Instructions Manual
  5. Initialize: Call onboarding to complete project setup
  6. Serena analyzes the project structure and creates initial context

What Onboarding Captures

  • Project language and framework detection
  • Directory structure analysis
  • Key file identification
  • Symbol index creation
  • Initial memory scaffolding

Activation Check Pattern

# Always verify activation first
get_current_config
# If no active project, activate it
activate_project project="path/to/project"
# Then proceed with onboarding check
check_onboarding_performed

Project Activation

Why Activation Matters

Project activation is the first step when working with Serena. It tells Serena which project to work with and initializes the workspace context.

Activation Workflow

  1. Check current status: Call get_current_config to see if a project is already activated
  2. Activate if needed: If no active project, call:
    activate_project project="project-name"
    # OR with path:
    activate_project project="path/to/project/directory"
    
  3. Verify activation: Call get_current_config again to confirm activation succeeded
  4. Proceed with onboarding: Once activated, check if onboarding is needed

Activation Best Practices

  • Always check get_current_config before attempting any Serena operations
  • Use the workspace root path when activating
  • Activation is session-specific — you may need to reactivate in new sessions
  • After activation, the project context is available for all subsequent Serena operations

Memory Management

Core Concepts

Serena memories persist between sessions, providing continuity for AI agents across work sessions.

Memory Operations

Operation Tool Purpose
List all list_memories See available memories
Read one read_memory Access specific memory content
Create write_memory Store new information
Update edit_memory Modify existing memory
Remove delete_memory Clean up obsolete information

Memory Structure

Serena memories use the Memory Bank naming convention for consistency and clarity. This structure organizes project intelligence into core files and tasks.

Core Files

Memory Name Purpose
project-brief Foundation document defining core requirements and goals. Shapes all other memories. Created at project start.
product-context Why this project exists, problems it solves, how it should work, and user experience goals
active-context Current work focus, recent changes, and next steps with active decisions and considerations
system-patterns System architecture, key technical decisions, design patterns in use, and component relationships
tech-context Technologies used, development setup, technical constraints, and dependencies
progress What works, what's left to build, current status, and known issues

Task Management Memories

Tasks are managed with dedicated memory files for tracking progress and history.

Memory Name Purpose
task-{id} Individual task tracking (e.g., TASK001-implement-login.md) with original request, thought process, i
Полный SKILL.md на GitHub

Установить serena-usage в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

CHANGELOG.mdLICENSE.txtexamples/refactoring-workflow.mdreferences/memory-management.mdreferences/symbol-navigation.mdscripts/serena-memory-backup.ps1

FAQ

Что делает скилл serena-usage?

Serena MCP for project memory and code navigation. Use when managing Serena memories, navigating symbols, performing intelligent refactoring, or maintaining context/continuity across AI agent sessions.

Как установить скилл serena-usage?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл serena-usage запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить serena-usage с