serena-workflow
Serena MCPを使った実装作業フロー。コード実装/修正タスク時に自動適用。メモリ管理とシンボルレベル操作を含む。
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Serena実装ワークフロー
実装前必須確認
-
list_memoriesでメモリ一覧取得 -
read_memoryで関連メモリ確認 - 記録されたパターン/規約を厳密に遵守
メモリ命名規則
-
{project}-conventions- プロジェクト全体の規約 -
{feature}-patterns- 機能別実装パターン -
{domain}-patterns- ドメイン固有パターン -
{layer}-conventions- レイヤー固有の規約 -
architecture-{decision}- アーキテクチャ決定事項 -
{service}-api-spec- 外部サービスAPI仕様 -
{issue}-solution- トラブルシューティング記録 -
refactoring-{target}- リファクタリング方針
メモリ管理原則
- 不要なメモリは
delete_memoryで削除 - 簡潔で検索しやすい名前を使用
- 更新頻度の高い情報は都度上書き
コード操作ツール
積極活用すべきツール:
-
find_symbol- シンボル検索 -
get_symbols_overview- ファイル構造把握 -
find_referencing_symbols- 依存関係確認 -
replace_symbol_body- 関数/クラス全体の置換 -
insert_before_symbol/insert_after_symbol- シンボル前後への挿入 -
search_for_pattern- 横断的パターン検索
原則: ファイル全体読み込みより、シンボルレベル操作を優先
実装前確認事項
- 既存パターンの確認: 実装前に必ず既存コード/ドキュメントを確認
- ライブラリ最新情報: Context7で最新仕様を確認
- 重複実装の防止: 共通機能の独自実装前に既存コードを確認
-
メモリ確認:
list_memoriesで過去の実装パターン/決定事項を確認
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-31
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!