| Dimension | Shared | Only in A | Only in B | Overlap |
|---|---|---|---|---|
| Sections | 1 | 2 | 0 | 33% |
| Commands | 0 | 5 | 0 | 0% |
| Section tags | 2 | 1 | 0 | 67% |
What each file covers
Sections
1 shared · 2 only in A · 0 only in B- − Commands
- − Rules
- Frontend Instructions
Commands
0 shared · 5 only in A · 0 only in B- − npm --workspace frontend run dev
- − npm --workspace frontend run lint
- − npm --workspace frontend run typecheck
- − npm --workspace frontend run test
- − npm --workspace frontend run build
Section tags
2 shared · 1 only in A · 0 only in B- − do-not
- test
- agent-behaviour
Line diff
Aledon8/OpenLeukemia · frontend/CLAUDE.md
@@ −1 @@
1# Frontend Instructions
2
3This directory contains the React + TypeScript + Vite application.
4
5## Commands
6
7Run from the repository root unless you are already inside `frontend/`:
8
9```sh
10npm --workspace frontend run dev
11npm --workspace frontend run lint
12npm --workspace frontend run typecheck
13npm --workspace frontend run test
14npm --workspace frontend run build
15```
16
17## Rules
18
19- Keep components feature-oriented under `src/features/` unless shared app-level code is a better fit.
20- Preserve mobile-first responsive behavior, light/dark theme support, and accessible interactions.
21- Keep patient-facing copy calm, plain, and non-diagnostic.
22- Reuse existing CSS variables and layout patterns in `src/styles/global.css`.
23- Add or update Vitest tests when UI behavior changes.
24- For visual UI work, compare against the existing page or supplied design and verify desktop and mobile states.
25
Aledon8/OpenLeukemia · .github/instructions/frontend.instructions.md
@@ +1 @@
1---
2applyTo: "frontend/**/*.{ts,tsx,css,html,json}"
3---
4
5# Frontend Instructions
6
7- Keep React components typed, feature-oriented, and consistent with `frontend/src/features`.
8- Preserve mobile-first responsive behavior, light/dark themes, accessible controls, and existing CSS variables.
9- Keep patient-facing copy calm, plain, and non-diagnostic.
10- For UI changes, consider empty, loading, error, and edge states.
11- Update or add Vitest coverage when behavior changes.
12
@@ −1 +1 @@
1+---
2+applyTo: "frontend/**/*.{ts,tsx,css,html,json}"
3+---
4+
15 # Frontend Instructions
26
3−This directory contains the React + TypeScript + Vite application.
4−
5−## Commands
6−
7−Run from the repository root unless you are already inside `frontend/`:
8−
9−```sh
10−npm --workspace frontend run dev
11−npm --workspace frontend run lint
12−npm --workspace frontend run typecheck
13−npm --workspace frontend run test
14−npm --workspace frontend run build
15−```
16−
17−## Rules
18−
19−- Keep components feature-oriented under `src/features/` unless shared app-level code is a better fit.
20−- Preserve mobile-first responsive behavior, light/dark theme support, and accessible interactions.
7+- Keep React components typed, feature-oriented, and consistent with `frontend/src/features`.
8+- Preserve mobile-first responsive behavior, light/dark themes, accessible controls, and existing CSS variables.
219 - Keep patient-facing copy calm, plain, and non-diagnostic.
22−- Reuse existing CSS variables and layout patterns in `src/styles/global.css`.
23−- Add or update Vitest tests when UI behavior changes.
24−- For visual UI work, compare against the existing page or supplied design and verify desktop and mobile states.
10+- For UI changes, consider empty, loading, error, and edge states.
11+- Update or add Vitest coverage when behavior changes.
2512
