Agent skill
write-serena-notes
Write notes and documentation to Serena memory. Use this skill when you need to persist information like technical debt, architecture decisions, meeting notes, or any other documentation to the project's Serena memory.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/write-serena-notes
SKILL.md
Serena Notes
Overview
This skill provides the workflow and templates for writing notes to Serena memory. Serena is a semantic coding tool that stores project-related memories for future reference.
Workflow
Step 1: Activate the Project
REQUIRED before any memory operation. You must activate the Serena project first.
mcp-cli call plugin_serena_serena/activate_project '{"project": "dssk-multichannel-gui"}'
Schema:
{
"project": "string (required) - The project name to activate"
}
Step 2: Write the Memory
After activation, write the note using write_memory:
mcp-cli call plugin_serena_serena/write_memory '{"memory_file_name": "your-note-name", "content": "Your content here..."}'
Schema:
{
"memory_file_name": "string (required) - Filename without extension, use kebab-case",
"content": "string (required) - The markdown content of the note"
}
Step 3: Verify (Optional)
List memories to confirm the note was created:
mcp-cli call plugin_serena_serena/list_memories '{}'
Or read the specific note:
mcp-cli call plugin_serena_serena/read_memory '{"memory_file_name": "your-note-name"}'
Templates
Use the appropriate template from the templates/ directory based on your note type:
| Template | Use When |
|---|---|
technical-debt.md |
Documenting code that needs future improvement |
Common Errors
"No active project"
Cause: Forgot to activate the project first.
Fix: Run activate_project before write_memory.
Invalid parameter name
Cause: Using wrong parameter names (e.g., project_name instead of project).
Fix: Use exact parameter names from schemas above.
Resources
templates/
Markdown templates for different types of notes. Copy and fill in the placeholders.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?