chore: リポジトリ整理(Serena依存の解消・未使用ファイルの削除) - #573
Merged
Merged
Conversation
Claude Code が LSP(goToDefinition / findReferences / documentSymbol 等)を 内蔵したため、Serena MCP の主要機能は組み込みツールで代替できる。実際に 現在のセッションでは Serena MCP が接続されておらず、CLAUDE.md の 「Serena を優先する」は守れない指示になっていた。 - CLAUDE.md: MCP 使い分けから Serena の項目を削除 - docs/steering/GUIDELINES.md: コード探索の手段を LSP に置き換え - .gitignore: 存在しない .serena/project.yml の除外指定を削除 - .serena/ を削除(TypeScript のシンボルキャッシュ 18MB・再生成可能) Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WWxo2ZpLgqp8pd54g9qF1f
.vscode/launch.json は Chrome を http://localhost:8080 で開く設定だが、 このプロジェクトの dev サーバーは 3000 番のため、実行しても何も表示されない。 VS Code のテンプレート既定値が放置されたもので、デバッガ自体も使っていない。 .vscode/settings.json(Tailwind v4 の at-rule 警告抑止)は残す。 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WWxo2ZpLgqp8pd54g9qF1f
app/index.html は firebase init hosting が生成する「Welcome / Firebase Hosting Setup Complete」のサンプル。コミット 0a8afca でアイコン群と一緒に 紛れ込んだもので、アプリのコードではない。 Next.js App Router のルーティングは page.tsx が担うため参照されず、 配信元も firebase.json の "public": "out"(Next.js が生成する out/index.html) のため、デプロイ内容にも含まれない。 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WWxo2ZpLgqp8pd54g9qF1f
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
目的
プロジェクト全体のフォルダ構成を1つずつ確認し、参照されていないファイルと実態に合わない設定を取り除く。
変更内容
1. Serena MCP への依存を解消
Claude Code が LSP(
goToDefinition/findReferences/documentSymbol等)を内蔵し、Serena MCP の主要機能と重なるようになった。Serena 側の公式ドキュメントにも「最近の Claude Code とモデルは組み込みツールを優先し、Serena を呼ばないことがある」と注記されている。実際に現在のセッションへ Serena は接続されておらず、
CLAUDE.mdの「コードファイルの読み書きは Serena MCP を優先する」は守りようのない指示になっていた。参照先として書かれていたグローバル設定にも該当記述はない。CLAUDE.md:MCP 使い分けから Serena の項目を削除docs/steering/GUIDELINES.md:コード探索の手段を LSP に置き換え.gitignore:存在しない.serena/project.ymlの除外指定を削除.serena/を削除(TypeScript のシンボルキャッシュ 18MB・再生成可能)2.
.vscode/launch.jsonを削除Chrome を
http://localhost:8080で開く設定だが、このプロジェクトの dev サーバーは 3000 番のため、実行しても何も表示されない。VS Code のテンプレート既定値が放置されたもので、デバッガ自体も使っていない。.vscode/settings.json(Tailwind v4 の at-rule 警告抑止)は残す。3.
app/index.htmlを削除firebase init hostingが生成する「Welcome / Firebase Hosting Setup Complete」のサンプルページ。コミット0a8afcaでアイコン群と一緒に紛れ込んだもので、アプリのコードではない。参照されていないことを確認済み:
page.tsxが担うため読まれないfirebase.jsonの"public": "out"。firebase.jsonの"destination": "/index.html"とlib/pwa/sw.test.tsの参照は、いずれも Next.js が生成するout/index.html(<title>RoastPlus</title>)を指している検証
npm run typecheckOKnpm run lintOKnpm run test:runOK(122ファイル / 1,358テスト すべて成功)npm run docs:checkOK🤖 Generated with Claude Code
https://claude.ai/code/session_01WWxo2ZpLgqp8pd54g9qF1f