create mvp path

This commit is contained in:
hamid
2026-08-02 20:01:31 +03:30
parent 72ab290da1
commit fb58ca54e1
203 changed files with 863 additions and 156 deletions
+3 -2
View File
@@ -3,10 +3,11 @@
The canonical agent guide for the frontend is **[CLAUDE.md](CLAUDE.md)** (same folder): stack,
commands, the quality gates, the project structure, and the hard rules every change must follow.
- Reference rules, read on demand per area → [../docs/rules/client/](../docs/rules/client/)
- Current product truth (what to test, what's blocking, what's missing) → [../mvp/](../mvp/README.md)
- Reference rules, archived, read on demand per area → [../archive/docs/rules/client/](../archive/docs/rules/client/)
(structure · theme · components · forms · i18n · services · auth · testing)
- Repo-wide context → [../CLAUDE.md](../CLAUDE.md)
- Business rules (what to build) → [../product/](../product/index.md)
- Business rules in depth (archived) → [../archive/product/](../archive/product/index.md)
- Human setup/run instructions → [README.md](README.md)
- UI/design work → the **frontend-designer** skill
+16 -15
View File
@@ -7,10 +7,11 @@ app. Four actors share one mobile shell: family, nurse, admin, partner centre.
> Last verified: 2026-07-30 against commit `d3ec723`.
- Repo-wide context and the backend → root [CLAUDE.md](../CLAUDE.md)
- Business rules (what to build) → [`product/`](../product/index.md). **Read the relevant doc before
designing a feature** — don't infer a business rule from code.
- Current product truth (what to test, what's blocking, what's missing) → [`mvp/`](../mvp/README.md)
- Business rules in depth (archived reference, not actively maintained) → [`archive/product/`](../archive/product/index.md).
**Read the relevant doc before designing a feature** — don't infer a business rule from code.
- Visual/design work → the **frontend-designer** skill. It is the *design* contract and defers to this file
and [`docs/rules/client/`](../docs/rules/client/) for engineering rules.
and [`archive/docs/rules/client/`](../archive/docs/rules/client/) for engineering rules.
---
@@ -111,7 +112,7 @@ Both must be green, and `en.json`/`fa.json` must be in sync, before work is done
## Project structure
The canonical map of the frontend's architecture. Expanded, with the reasoning, in
[`docs/rules/client/structure.md`](../docs/rules/client/structure.md).
[`docs/rules/client/structure.md`](../archive/docs/rules/client/structure.md).
```
client/
@@ -163,15 +164,15 @@ Open **one** of these for the area you are touching.
| Working on… | Read |
| --- | --- |
| Routes, layouts, the RSC boundary, page metadata | [docs/rules/client/structure.md](../docs/rules/client/structure.md) |
| Colors, tokens, dark mode, RTL, fonts, motion | [docs/rules/client/theme.md](../docs/rules/client/theme.md) |
| The `App*` library, shells, navigation, icons, constants | [docs/rules/client/components.md](../docs/rules/client/components.md) |
| Any form | [docs/rules/client/forms.md](../docs/rules/client/forms.md) |
| Copy, translations, Persian orthography | [docs/rules/client/i18n.md](../docs/rules/client/i18n.md) |
| Fetching, TanStack Query, `services/{domain}`, money display, cookies | [docs/rules/client/services.md](../docs/rules/client/services.md) |
| Sessions, refresh, `RoleGuard`, middleware, security posture | [docs/rules/client/auth.md](../docs/rules/client/auth.md) |
| Tests, ESLint, the type gate | [docs/rules/client/testing.md](../docs/rules/client/testing.md) |
| The wire contract — envelope, status codes, enums, pagination | [docs/integration/](../docs/integration/index.md) |
| What is built, what is mocked, what is next | [docs/status/](../docs/status/index.md) |
| Routes, layouts, the RSC boundary, page metadata | [docs/rules/client/structure.md](../archive/docs/rules/client/structure.md) |
| Colors, tokens, dark mode, RTL, fonts, motion | [docs/rules/client/theme.md](../archive/docs/rules/client/theme.md) |
| The `App*` library, shells, navigation, icons, constants | [docs/rules/client/components.md](../archive/docs/rules/client/components.md) |
| Any form | [docs/rules/client/forms.md](../archive/docs/rules/client/forms.md) |
| Copy, translations, Persian orthography | [docs/rules/client/i18n.md](../archive/docs/rules/client/i18n.md) |
| Fetching, TanStack Query, `services/{domain}`, money display, cookies | [docs/rules/client/services.md](../archive/docs/rules/client/services.md) |
| Sessions, refresh, `RoleGuard`, middleware, security posture | [docs/rules/client/auth.md](../archive/docs/rules/client/auth.md) |
| Tests, ESLint, the type gate | [docs/rules/client/testing.md](../archive/docs/rules/client/testing.md) |
| The wire contract — envelope, status codes, enums, pagination | [docs/integration/](../archive/docs/integration/index.md) |
| What is built, what is mocked, what is next | [docs/status/](../archive/docs/status/index.md) |
| Brand, look and feel, turning a design into a screen | the **frontend-designer** skill |
| Cross-project rules — naming, gates, code quality | [docs/rules/shared/](../docs/rules/shared/) |
| Cross-project rules — naming, gates, code quality | [docs/rules/shared/](../archive/docs/rules/shared/) |