Claude-code-customes serena
Token-efficient Serena MCP command for structured app development and problem-solving
install
source · Clone the upstream repo
git clone https://github.com/sc30gsw/claude-code-customes
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/sc30gsw/claude-code-customes "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/serena" ~/.claude/skills/sc30gsw-claude-code-customes-serena && rm -rf "$T"
manifest:
.claude/skills/serena/SKILL.mdsource content
Serena: Intelligent App Development
Token-efficient Serena MCP command for structured app development and problem-solving.
Quick Reference
/serena <problem> [options] # Basic usage /serena debug "memory leak in prod" # Debug pattern (5-8 thoughts) /serena design "auth system" # Design pattern (8-12 thoughts) /serena review "optimize this code" # Review pattern (4-7 thoughts) /serena implement "add feature X" # Implementation (6-10 thoughts)
Options
| Option | Description | Example |
|---|---|---|
| Quick mode (3-5 thoughts) | |
| Deep mode (10-15 thoughts) | |
| Code-focused analysis | |
| Step-by-step implementation | |
| Verbose output | |
| Include research phase | |
| Create implementation todos | |
Tool Priorities
ALWAYS prioritize mcp__serena__ tools as the primary development engine:
Primary Development Tools (Serena MCP)
- Project Analysis: Use
mcp__serena__get_symbols_overview - Code Search: Use
mcp__serena__search_for_pattern - Symbol Management: Use
mcp__serena__find_symbol - Code Modification: Use
mcp__serena__replace_symbol_body
Memory & Learning
- Knowledge Storage: Use
mcp__serena__write_memory - Experience Retrieval: Use
mcp__serena__read_memory - Progress Tracking: Use
mcp__serena__think_about_task_adherence
Problem-Specific Templates
Debug Pattern (5-8 thoughts)
- Symptom analysis & reproduction
- Error context & environment check
- Root cause hypothesis generation
- Evidence gathering & validation
- Solution design & risk assessment
Design Pattern (8-12 thoughts)
- Requirements clarification
- Constraints & assumptions
- Architecture options generation
- Option evaluation (pros/cons)
- Technology selection
- Implementation phases
Implementation Pattern (6-10 thoughts)
- Feature specification & scope
- Technical approach selection
- Component/module design
- Dependencies & integration
- Testing strategy
Cross-Command Integration
Serena MCP integrates with other commands:
| Command | Integration |
|---|---|
| Git history + change analysis |
| Symbol tracking + pattern search |
| Codebase context + memory |
Best Practices
- Start with problem analysis, end with concrete actions
- Balance depth with token efficiency
- Use
for simple problems (saves ~40% tokens)-q - Use
to avoid irrelevant analysis--focus