diff --git a/.claude/settings.json b/.claude/settings.json index dba939da..6f52dacd 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -1,16 +1,15 @@ { + "enabledMcpjsonServers": [ + "next-devtools" + ], "enabledPlugins": { "frontend-design@claude-plugins-official": true, "feature-dev@claude-plugins-official": true, "commit-commands@claude-plugins-official": true, "pr-review-toolkit@claude-plugins-official": true, - "code-simplifier@claude-plugins-official": true, "typescript-lsp@claude-plugins-official": true, "claude-md-management@claude-plugins-official": true, - "claude-code-setup@claude-plugins-official": true - }, - "enabledMcpjsonServers": [ - "next-devtools" - ], - "outputStyle": "Explanatory" + "claude-code-setup@claude-plugins-official": true, + "skill-creator@claude-plugins-official": true + } } diff --git a/AGENTS.md b/AGENTS.md index 7c1d17db..2959400d 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,5 +1,7 @@ # AGENTS.md +> **Monorepo note:** `web/` is a separate Next.js landing page with its own `AGENTS.md`. This file covers the Flutter app only. + ## Workflow - In plan mode, interview thoroughly — ask about UI/UX, tradeoffs, and edge cases before coding @@ -41,6 +43,13 @@ dart run build_runner build --delete-conflicting-outputs # Same, but - Always include trailing commas - Use single quotes +## Testing + +- `flutter test` runs all tests; `flutter test test/path/to/file.dart` for a single file +- HTTP mocking: `http_mock_adapter` (`DioAdapter`) — use full URLs in `onGet`/`onPost` +- General mocking: `mocktail` (no codegen required) +- Fixtures live in `test/fixtures/` (e.g., `irc_messages.dart`, `api_responses.dart`) + ## Commits Lowercase, no prefixes (e.g., `fix landscape bottom padding in chat bottom bar`). Keep commits tightly scoped.