chore(claude): add Claude Code project config and docs skeleton - #71
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
📝 WalkthroughWalkthroughThis pull request adds comprehensive project documentation and development conventions for the moveUP Flutter app. It introduces CLAUDE.md as the central project configuration file covering the tech stack, development commands, repository layout, and coding standards. Four detailed convention rule files specify constraints and patterns for generated code, state management with Cubits, testing frameworks, and widget construction. An extensive architecture documentation file describes the system design including Clean Architecture layers, state management patterns, navigation flow, networking stack, dependency injection, and storage management. Minor updates to .gitignore and CHANGELOG.md complete the documentation suite. Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@CLAUDE.md`:
- Line 37: Update the canonical API filename suffix to match the architecture
doc by replacing the `_api.dart` mention with `*_api_client.dart` (the two
symbols to change are `_api.dart` -> `*_api_client.dart`) so the repository
guidance and `*_api_client.dart` convention are consistent for scaffolding and
new features.
In `@docs/architecture.md`:
- Around line 35-39: The fenced diagram block containing "Presentation →
Domain ← Data (Cubit, Page) (Entity, Repo iface) (DTO, ApiClient, RepoImpl,
Mapper)" needs a language identifier to satisfy markdownlint MD040; update the
fence from ``` to something like ```text (or ```plain) so the block is
explicitly marked as text while leaving the diagram content unchanged.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: 4d9bd7ca-f738-46ba-bfcf-def01a179957
📒 Files selected for processing (8)
.claude/rules/generated.md.claude/rules/state.md.claude/rules/tests.md.claude/rules/widgets.md.gitignoreCHANGELOG.mdCLAUDE.mddocs/architecture.md
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Why
Set up Claude Code context files so Claude understands the project from the first session — stack, conventions, hard rules, and architecture — without needing to re-explain them each time.
What
CLAUDE.md— stack, commands, repo layout, conventions, hard rules, scope discipline, PR workflow, docs maintenance rules.claude/rules/generated.md— never edit*.g.dart/*.freezed.dart/*.mocks.dart.claude/rules/state.md— Cubit pattern, Result switch, test conventions.claude/rules/widgets.md—_page.dartnaming, const constructors, navigation rules.claude/rules/tests.md— mockito (not mocktail), bloc_test, mirror structuredocs/architecture.md— layers, state machine, navigation redirect logic, DI order, storage.gitignore— addedCLAUDE.local.md