| Dimension | Shared | Only in A | Only in B | Overlap |
|---|---|---|---|---|
| Sections | 0 | 3 | 1 | 0% |
| Commands | 0 | 5 | 3 | 0% |
| Section tags | 2 | 1 | 1 | 50% |
What each file covers
Sections
0 shared · 3 only in A · 1 only in B- − Frontend Instructions
- − Commands
- − Rules
- + AI Service Rules
Commands
0 shared · 5 only in A · 3 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
- + python -m mypy app
- + python -m ruff check .
- + python -m pytest
Section tags
2 shared · 1 only in A · 1 only in B- − agent-behaviour
- + lint-format
- test
- do-not
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 · .cursor/rules/ai-service.mdc
@@ +1 @@
1---
2description: Python FastAPI AI-service rules
3globs:
4 - "ai-service/**/*.py"
5alwaysApply: false
6---
7
8# AI Service Rules
9
10- Keep FastAPI route handlers thin; put reusable behavior in `app/domains`.
11- Use explicit Pydantic request and response models.
12- Preserve strict typing and keep `python -m mypy app` clean.
13- Use `response_model` for route outputs.
14- Treat extraction and model outputs as explainable signals or candidate data, not clinical decisions.
15- Run `python -m ruff check .` and relevant `python -m pytest` tests for Python changes.
16
@@ −1 +1 @@
1−# Frontend Instructions
1+---
2+description: Python FastAPI AI-service rules
3+globs:
4+ - "ai-service/**/*.py"
5+alwaysApply: false
6+---
27
3−This directory contains the React + TypeScript + Vite application.
8+# AI Service Rules
49
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.
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.
10+- Keep FastAPI route handlers thin; put reusable behavior in `app/domains`.
11+- Use explicit Pydantic request and response models.
12+- Preserve strict typing and keep `python -m mypy app` clean.
13+- Use `response_model` for route outputs.
14+- Treat extraction and model outputs as explainable signals or candidate data, not clinical decisions.
15+- Run `python -m ruff check .` and relevant `python -m pytest` tests for Python changes.
2516
