段階的リファクタリング計画を docs/refactoring に追加 - #68
Merged
Merged
Conversation
2026-06-11 のコードベース調査に基づき、蓄積した技術的負債を 6 フェーズで解消する詳細計画を文書化。 - README: 負債サマリ・フェーズ依存関係・共通原則・効果測定 - Phase 0: リポジトリ衛生とドキュメント整合(挙動変更なし) - Phase 1: テスト基盤の再建(実コード未検証テストの解消) - Phase 2: バックエンド構造(定型重複・CalendarService 分割) - Phase 3: フロントエンド構造(重複排除・ES modules 化) - Phase 4: CSS/HTML(埋め込み CSS 約2,700行の外部化・重複解消) - Phase 5: E2E と CI 品質ゲート Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
概要
コードベースに蓄積した技術的負債を調査し、6 フェーズで解消する詳細なリファクタリング計画を
docs/refactoring/に追加しました。ドキュメントのみの追加で、コードの変更はありません。調査で確認した主な負債
index.html3,005 行の約 9 割が埋め込み CSS(25 以上のクラスが重複定義)server/srcのルート層に try/catch 定型が 37 箇所、5 モデルにほぼ同一の CRUD 約 48 メソッドCalendarService.ts863 行に 16 責務が同居フェーズ構成
各フェーズ文書に、背景(ファイル:行番号つきの事実)、PR 分割単位の作業チェックリスト、受け入れ条件、リスクと対策、完了条件(DoD)を記載しています。
🤖 Generated with Claude Code