Back to list
kurokeita

serena-file-processing

by kurokeita

1🍴 0📅 Jan 19, 2026

SKILL.md


name: serena-file-processing description: Master instructions for using Serena MCP tools for code navigation, search, navigation, and editing. Includes rules for terminal usage and memory management.

Serena File Processing Skill

This skill defines the authoritative rules for using Serena tools (view_file, replace_file_content, grep_search, etc.) and interactions with other tools in Antigravity.

Core Rules

1. Terminal Execution

  • ❌ NEVER use mcp_serena_execute_shell_command.
  • ✅ ALWAYS use run_command for terminal operations in Antigravity.

Workflow Best Practices

2. Code Navigation

  • Symbolic First: Use view_file_outline to understand file structure before reading content.
  • Search Smart: Use grep_search to find usages. Constraint searches to relevant paths.
  • Jumping: Use view_code_item to inspect specific functions/classes without reading the whole file.

3. Code Editing

  • Pattern Matching: When using replace_file_content or multi_replace_file_content, ensure TargetContent is unique.
  • Context: Use view_file around the target area first to ensure you have the exact string for replacement.

4. Memory Management

  • Limit Output: When reading large files, read in chunks or use view_child_nodes.
  • Close Context: You don't need to explicitly "close" files, but don't re-read files unnecessarily.

Integration with Other Skills

  • Layering: Use this skill as the foundational layer for file operations.
  • Specifics: Higher-level skills (like bliksund-pr-reviewer) define what to look for; this skill defines how to look for it reliably.

Troubleshooting

5. Connection Issues

If you encounter errors connecting to the Serena MCP server or tools are unavailable:

  1. Check Process Status: Ask the user to verify if the Serena process has started.
  2. Check Workspace Config: Ask the user to confirm if the Serena configuration has been initiated for the current workspace.

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon