Skip to content

Conversation

@koutyuke
Copy link
Owner

@koutyuke koutyuke commented Jan 1, 2026

⭐️ Overview(概要)

このPRでは、プロジェクト全体のREADMEファイルを更新し、ドキュメントを大幅に充実させた。API、Mobile、Catalogの各アプリケーションに対して、セットアップ手順、アーキテクチャ説明、開発ガイドラインなどの詳細なドキュメントを追加した。

📝 Changes Made(変更点)

  • Mobile App README を新規作成し、アプリの概要、技術スタック、アーキテクチャ、セットアップ手順、開発・ビルド方法を詳細に記載
  • Catalog App README を大幅に拡充し、コンポーネントカタログの使用方法、セットアップ、開発、ビルド手順を追加
  • API README と architecture.md を改善し、明確性と構造を向上
  • actを使用したローカルCI環境のセットアップ手順を新規追加
  • ルートREADME からローカルCI設定手順を削除し、簡潔化
  • create-pr コマンドのガイドラインを更新し、タイトルは英語、説明文は日本語で記載することを明記

🗺️ Scope of Impact(影響範囲)

  • ドキュメントのみの変更であり、アプリケーションコードへの影響なし
  • 開発者のオンボーディングと日々の開発体験の向上が期待される

🧪 Testing(テスト)

  • ドキュメントの内容を確認し、記載された手順が正確であることを検証

🚓 Related Issue(関連する問題)

🏙️ Screen Shots

N/A

🔗 External URL(外部リンク)

N/A

Summary by CodeRabbit

リリースノート

  • ドキュメント
    • モバイルアプリケーションの新規ドキュメントを追加しました。
    • APIサーバーの包括的なドキュメントとセットアップガイドを拡充しました。
    • ローカル環境でのCI実行方法に関する新規ガイドを追加しました。
    • アーキテクチャドキュメントを再構成・更新しました(用語・層構成・エラー処理の記述を含む)。
    • コンポーネントカタログのタイトルを更新しました。
    • PR作成手順を更新しました(タイトルは英語、説明は日本語等のルール改定と検証条件の拡張)。

✏️ Tip: You can customize this high-level summary in your review settings.

… Catalog, including setup, development, and building instructions
…lication, covering overview, tech stack, architecture, setup, development, and building instructions
…itles and Japanese descriptions, and clarify issue confirmation process
@koutyuke koutyuke added T-Documentation type: documentation - ドキュメントの作成・更新 A-App area: app - アプリケーション全体 S-Task scope: task - 通常の作業単位 labels Jan 1, 2026
@coderabbitai
Copy link

coderabbitai bot commented Jan 1, 2026

Caution

Review failed

The pull request is closed.

Walkthrough

複数のREADMEを新規追加・大幅更新し、PR作成ガイドを強化。ローカルでのGitHub Actions実行手順を新設し、APIドキュメントでポート命名とエラーフロー記述を整理、モバイル用READMEを追加したドキュメント中心の変更群。

Changes

Cohort / File(s) 変更内容
PR作成ガイドライン
\.cursor/commands/create-pr.md
PRタイトルを英語、説明を日本語にする要件を明確化。Issue確認条件を拡張(Issue未作成またはIssue内容とブランチ名が一致しない場合に確認)。
ローカルCIドキュメント
\.github/act/README.md, README.md
.github/act/README.md を追加し act + Docker を用いたローカルCI実行手順・設定を記載。ルート README.md から「CI in the local environment」セクションを削除。
API ドキュメント & アーキテクチャ
apps/api/README.md, apps/api/docs/architecture.md
apps/api/README.md を全面的に拡充(概要、原則、レイヤー、セットアップ、開発、テスト、デプロイ等)。architecture.md は Contracts→Inbound/Outbound Ports へ表記変更、UseCase/Port構成やエラーハンドリングを Result ベースに更新(文書上の構造見直し)。
アプリ別ドキュメント
apps/catalog/README.md, apps/mobile/README.md
apps/catalog/README.md のタイトルを「mona-ca Component Catalog」に変更。apps/mobile/README.md を新規追加しモバイルアプリの技術スタック、構成、セットアップ、開発・ビルド手順を追加。

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Poem

🐰 README の畑で跳ねてみたら
新しい章がこっそり芽吹いてた
API は道しるべを整え
モバイルは色とりどりに身支度
ドキュメントの野原でぴょんと祝おう 🌱

Pre-merge checks

✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed PRタイトルは「docs(ALL): enhance project documentation with comprehensive README updates」でドキュメント更新の全体的な目的を明確に要約しており、変更セット全体を適切に説明しています。
Description check ✅ Passed PR説明は提供されたテンプレートのほぼすべてのセクション(概要、変更点、影響範囲、テスト、関連問題)を日本語で適切に記載しており、完全性が高い。
Linked Issues check ✅ Passed PR内容は関連issue #135の要件「READMEファイルを新しく、わかりやすいドキュメントに更新する」を完全に満たしており、複数のアプリREADMEの新規作成・改善とドキュメントの充実が実施されている。
Out of Scope Changes check ✅ Passed すべての変更はドキュメント(README、ガイドライン、アーキテクチャドキュメント)の更新に限定されており、アプリケーションコード変更やAPIシグネチャ変更は含まれていない。
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

📜 Recent review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between b9f3291 and 577165f.

📒 Files selected for processing (1)
  • .github/act/README.md

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (2)
.cursor/commands/create-pr.md (1)

24-24: 言語要件の冗長性を整理する検討を推奨します。

PRタイトルの英語要件が24行目と58行目で重複記載されています。これらを統合するか、いずれかを削除して、ガイドラインの明確性を高めることを検討してください。

例えば、58行目をより具体的な指示内容(形式の詳細など)に変更することで、より有用な情報提供が可能になります。

Also applies to: 58-58

apps/mobile/README.md (1)

39-39: Markdown強調スタイルを統一してください。

markdownlintの推奨に従い、強調テキストには**ではなく__を使用してください。

🔎 推奨される変更
- Built on **Feature-Sliced Design (FSD)** with Presenter/Container Pattern.
+ Built on __Feature-Sliced Design (FSD)__ with Presenter/Container Pattern.

- **Feature-Sliced Design**: Structure code by business domains and technical purpose
- **Presenter/Container Pattern**: Separate UI logic from business logic
- **Composition Pattern**: Inject handlers and components into Presenter
- **SOLID Principles**: Design principles for maintainability and extensibility
- **Dependency Injection**: Improve testability
+ __Feature-Sliced Design__: Structure code by business domains and technical purpose
+ __Presenter/Container Pattern__: Separate UI logic from business logic
+ __Composition Pattern__: Inject handlers and components into Presenter
+ __SOLID Principles__: Design principles for maintainability and extensibility
+ __Dependency Injection__: Improve testability

Also applies to: 43-47

📜 Review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 8d0de35 and b9f3291.

📒 Files selected for processing (7)
  • .cursor/commands/create-pr.md
  • .github/act/README.md
  • README.md
  • apps/api/README.md
  • apps/api/docs/architecture.md
  • apps/catalog/README.md
  • apps/mobile/README.md
💤 Files with no reviewable changes (1)
  • README.md
🧰 Additional context used
📓 Path-based instructions (2)
apps/api/**/*

📄 CodeRabbit inference engine (apps/api/.cursor/rules/01-read-document.mdc)

Before implementing or modifying Backend API, always check the related documentation, starting with docs/README.md to identify the table of contents and overview, then refer to specific detailed documentation as needed

Files:

  • apps/api/README.md
  • apps/api/docs/architecture.md
apps/mobile/**/*

📄 CodeRabbit inference engine (apps/mobile/.cursor/rules/01-read-document.mdc)

Mobile Frontend開発時は、必ず関連ドキュメントを確認すること。まず docs/README.md を確認して全ドキュメントの目次と概要を把握し、その後に必要な詳細ドキュメントを参照する

Files:

  • apps/mobile/README.md
🧠 Learnings (4)
📓 Common learnings
Learnt from: CR
Repo: koutyuke/mona-ca PR: 0
File: apps/mobile/.cursor/rules/01-read-document.mdc:0-0
Timestamp: 2025-12-24T23:53:45.953Z
Learning: Applies to apps/mobile/**/* : Mobile Frontend開発時は、必ず関連ドキュメントを確認すること。まず docs/README.md を確認して全ドキュメントの目次と概要を把握し、その後に必要な詳細ドキュメントを参照する
📚 Learning: 2025-12-24T23:53:42.724Z
Learnt from: CR
Repo: koutyuke/mona-ca PR: 0
File: apps/api/.cursor/rules/01-read-document.mdc:0-0
Timestamp: 2025-12-24T23:53:42.724Z
Learning: Applies to apps/api/**/* : Before implementing or modifying Backend API, always check the related documentation, starting with docs/README.md to identify the table of contents and overview, then refer to specific detailed documentation as needed

Applied to files:

  • apps/api/README.md
📚 Learning: 2025-12-24T23:53:39.679Z
Learnt from: CR
Repo: koutyuke/mona-ca PR: 0
File: .cursor/rules/00-repos-overview.mdc:0-0
Timestamp: 2025-12-24T23:53:39.679Z
Learning: Organize monorepo directories with `app/` for application implementations, `packages/` for shared packages used by applications, and `tools/` for shared configuration packages (Lint/Format/TSConfig etc.)

Applied to files:

  • apps/api/docs/architecture.md
  • apps/mobile/README.md
📚 Learning: 2025-12-24T23:53:45.953Z
Learnt from: CR
Repo: koutyuke/mona-ca PR: 0
File: apps/mobile/.cursor/rules/01-read-document.mdc:0-0
Timestamp: 2025-12-24T23:53:45.953Z
Learning: Applies to apps/mobile/**/* : Mobile Frontend開発時は、必ず関連ドキュメントを確認すること。まず docs/README.md を確認して全ドキュメントの目次と概要を把握し、その後に必要な詳細ドキュメントを参照する

Applied to files:

  • apps/mobile/README.md
🪛 LanguageTool
apps/catalog/README.md

[grammar] ~43-~43: Ensure spelling is correct
Context: ...stall dependencies bun install ``` ### Prebuild Generate native projects for iOS and And...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)

apps/mobile/README.md

[grammar] ~110-~110: Ensure spelling is correct
Context: ...e environment variables as needed. ### Prebuild Generate native projects for iOS and And...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)

🪛 markdownlint-cli2 (0.18.1)
apps/mobile/README.md

39-39: Strong style
Expected: underscore; Actual: asterisk

(MD050, strong-style)


39-39: Strong style
Expected: underscore; Actual: asterisk

(MD050, strong-style)


43-43: Strong style
Expected: underscore; Actual: asterisk

(MD050, strong-style)


43-43: Strong style
Expected: underscore; Actual: asterisk

(MD050, strong-style)


44-44: Strong style
Expected: underscore; Actual: asterisk

(MD050, strong-style)


44-44: Strong style
Expected: underscore; Actual: asterisk

(MD050, strong-style)


45-45: Strong style
Expected: underscore; Actual: asterisk

(MD050, strong-style)


45-45: Strong style
Expected: underscore; Actual: asterisk

(MD050, strong-style)


46-46: Strong style
Expected: underscore; Actual: asterisk

(MD050, strong-style)


46-46: Strong style
Expected: underscore; Actual: asterisk

(MD050, strong-style)


47-47: Strong style
Expected: underscore; Actual: asterisk

(MD050, strong-style)


47-47: Strong style
Expected: underscore; Actual: asterisk

(MD050, strong-style)

🔇 Additional comments (7)
apps/catalog/README.md (1)

1-117: Documentation enhancement approved.

The Catalog README is well-structured with clear sections for setup, development, and building. All commands are properly formatted and instructions are easy to follow. The title enhancement ("mona-ca Component Catalog") appropriately identifies the project scope.

.cursor/commands/create-pr.md (1)

35-40: Issue確認ステップの拡張は良好です。

40行目で「対象のIssueがない場合やIssueの内容とbranch名がおおよそ一致しない場合」という条件を追加し、より多くのシナリオをカバーするようになりました。この拡張により、Issue作成漏れやmisalignmentなどのエッジケースに対応できます。

.github/act/README.md (1)

7-26: ローカルCI環境セットアップドキュメントとして良好です。

新しいファイルとして、act toolを使用したローカルCI実行方法を明確に文書化しています。セットアップ手順(.env、.secretsの準備)と実行例(全ワークフロー実行と特定ワークフロー実行)が適切に提供されており、開発者がローカルでCI検証を実施する際に有用なガイドになります。

コマンド例も正確で、linux/amd64アーキテクチャ指定とfile参照パスが明確です。

apps/api/README.md (2)

113-134: ✓ データベースセットアップコマンドの検証が完了しました。

bun run db:genbun run db:migの両方のコマンドはapps/api/package.jsonスクリプトに実際に存在します:

  • db:gen: drizzle-kit generate
  • db:mig: wrangler d1 migrations apply mona-ca_db --local

README(113-134行目)のDatabase Setupセクションで記載されているコマンドは正確です。


174-176: ドキュメント参照は正しく設定されています。apps/api/docs/guides.mdは存在し、## テスト戦略セクション(行292)が含まれています。README.mdの参照(行176、197)も有効なセクションアンカーをポイントしており、整合性に問題はありません。

Likely an incorrect or invalid review comment.

apps/mobile/README.md (1)

71-71: ✓ ドキュメント参照は正常です。./docs/architecture.md./docs/guides.mdは両方ともapps/mobile/docs/ディレクトリに存在しており、README内の参照は有効です。追加対応は不要です。

apps/api/docs/architecture.md (1)

125-135: ポート構造の分類が実装コードと一貫している。

ports/in および ports/out ディレクトリが実際のコードベースで正しく組織化されており、30以上のUseCaseインターフェース定義ファイルが ports/in 配下に適切に配置されています。InboundPortsとOutboundPortsの分離による依存関係の方向性の明確化は、ドキュメント通りに実装されており、auth、userなど複数のfeature全体で一貫性が保たれています。

@koutyuke koutyuke merged commit a9cb139 into main Jan 1, 2026
6 of 7 checks passed
@koutyuke koutyuke deleted the 135-doc/update-README branch January 1, 2026 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-App area: app - アプリケーション全体 S-Task scope: task - 通常の作業単位 T-Documentation type: documentation - ドキュメントの作成・更新

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(ALL): update README

1 participant