From 9a20a0deea037d5e01f26455dcf38ae589bf618e Mon Sep 17 00:00:00 2001 From: "[IKcoding-jp]" <[kensaku.ikeda04@gmail.com]> Date: Mon, 3 Aug 2026 10:24:50 +0900 Subject: [PATCH 1/3] =?UTF-8?q?chore:=20Serena=20MCP=20=E3=81=B8=E3=81=AE?= =?UTF-8?q?=E4=BE=9D=E5=AD=98=E3=82=92=E8=A7=A3=E6=B6=88=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) Claude-Session: https://claude.ai/code/session_01WWxo2ZpLgqp8pd54g9qF1f --- .gitignore | 1 - .serena/.gitignore | 1 - CLAUDE.md | 1 - docs/steering/GUIDELINES.md | 2 +- 4 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 .serena/.gitignore diff --git a/.gitignore b/.gitignore index d0ebde20..11e18613 100644 --- a/.gitignore +++ b/.gitignore @@ -59,7 +59,6 @@ NUL # Agent/IDE/Tool local files .agent/ .agents/ -.serena/project.yml .cursor/ .playwright-mcp/ .superpowers/ diff --git a/.serena/.gitignore b/.serena/.gitignore deleted file mode 100644 index 14d86ad6..00000000 --- a/.serena/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/cache diff --git a/CLAUDE.md b/CLAUDE.md index 745bc904..42e1d26c 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -105,7 +105,6 @@ RoastPlus は、ドリップパックコーヒー製造現場(約8名・iPad ## MCP / ツールの使い分け -- **Serena MCP**:コードファイルの読み書きは Serena MCP を優先する(グローバル設定準拠)。 - **firebase MCP**:Firestore の構造・Rules・Functions ログの**調査**に積極活用する。`firestore_*_document`(書込・削除)系は不可逆なため、ユーザーの明示依頼があるときだけ実行し、本番データの変更は原則行わない。 - **chrome-devtools MCP**:実装画面のライブ確認・パフォーマンス計測・アクセシビリティ確認に使う。現場 iPad 中心のため `emulate` で iPad 幅を再現し、必要に応じ `lighthouse_audit` で PWA 品質を確認する。E2E は playwright と役割を分ける。 - **playwright MCP**:E2E が失敗したときにブラウザを実際に操作して原因を特定する。新規 E2E を書く前に、セレクタ・操作手順を MCP で試してからコードに落とす。 diff --git a/docs/steering/GUIDELINES.md b/docs/steering/GUIDELINES.md index d7150f0c..abde6050 100644 --- a/docs/steering/GUIDELINES.md +++ b/docs/steering/GUIDELINES.md @@ -42,7 +42,7 @@ #### 2. 関連ファイル確認 - 実装前に、対象ファイル、設定、既存テスト、README/steering docs を確認 -- 検索は `rg` を優先し、コード理解が必要な場合は Serena 等のコード探索ツールを使う +- 検索は `rg` を優先し、定義元・参照元をたどるときは LSP(goToDefinition / findReferences)を使う #### 3. 計画立案 - 目的、前提、触る予定のファイル、影響する画面・データ、認証・Rules・Functionsへの影響、成功条件、検証方法を短く整理 From 0f1389783572f976221d99ca5a26a4c2f067aa3e Mon Sep 17 00:00:00 2001 From: "[IKcoding-jp]" <[kensaku.ikeda04@gmail.com]> Date: Mon, 3 Aug 2026 10:37:12 +0900 Subject: [PATCH 2/3] =?UTF-8?q?chore:=20=E4=BD=BF=E3=82=8F=E3=82=8C?= =?UTF-8?q?=E3=81=A6=E3=81=84=E3=81=AA=E3=81=84=20VS=20Code=20=E3=81=AE?= =?UTF-8?q?=E3=83=87=E3=83=90=E3=83=83=E3=82=B0=E6=A7=8B=E6=88=90=E3=82=92?= =?UTF-8?q?=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit .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) Claude-Session: https://claude.ai/code/session_01WWxo2ZpLgqp8pd54g9qF1f --- .vscode/launch.json | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index 643d5753..00000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - // IntelliSense を使用して利用可能な属性を学べます。 - // 既存の属性の説明をホバーして表示します。 - // 詳細情報は次を確認してください: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "type": "chrome", - "request": "launch", - "name": "localhost に対して Chrome を起動する", - "url": "http://localhost:8080", - "webRoot": "${workspaceFolder}" - } - ] -} From 364f5cc648f3a1e6ffd5e2a912b8d5baeb429313 Mon Sep 17 00:00:00 2001 From: "[IKcoding-jp]" <[kensaku.ikeda04@gmail.com]> Date: Mon, 3 Aug 2026 10:48:12 +0900 Subject: [PATCH 3/3] =?UTF-8?q?chore:=20Firebase=20Hosting=20=E3=81=AE?= =?UTF-8?q?=E5=88=9D=E6=9C=9F=E3=82=B5=E3=83=B3=E3=83=97=E3=83=AB=E3=83=9A?= =?UTF-8?q?=E3=83=BC=E3=82=B8=E3=82=92=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) Claude-Session: https://claude.ai/code/session_01WWxo2ZpLgqp8pd54g9qF1f --- app/index.html | 89 -------------------------------------------------- 1 file changed, 89 deletions(-) delete mode 100644 app/index.html diff --git a/app/index.html b/app/index.html deleted file mode 100644 index 0441926d..00000000 --- a/app/index.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - Welcome to Firebase Hosting - - - - - - - - - - - - - - - - - - - -
-

Welcome

-

Firebase Hosting Setup Complete

-

You're seeing this because you've successfully setup Firebase Hosting. Now it's time to go build something extraordinary!

- Open Hosting Documentation -
-

Firebase SDK Loading…

- - - -