RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Diff/aledon8-openleukemia-frontend-claude ↔ aledon8-openleukemia-cursor-rules-project

Comparison

A · CLAUDE.md · Aledon8/OpenLeukemiaB · Cursor rules · Aledon8/OpenLeukemia
What each file covers, counted
DimensionSharedOnly in AOnly in BOverlap
Sections0330%
Commands1469%
Section tags30175%

What each file covers

Sections

0 shared · 3 only in A · 3 only in B
  • − Frontend Instructions
  • − Commands
  • − Rules
  • + Cursor Project Rules
  • + Always Follow
  • + Checks

Commands

1 shared · 4 only in A · 6 only in B
  • − npm --workspace frontend run dev
  • − npm --workspace frontend run lint
  • − npm --workspace frontend run typecheck
  • − npm --workspace frontend run test
  • + npm run lint:frontend
  • + npm run typecheck:frontend
  • + npm test --workspace frontend
  • + python -m ruff check .
  • + python -m pytest
  • + python -m mypy app
  •   npm --workspace frontend run build

Section tags

3 shared · 0 only in A · 1 only in B
  • + lint-format
  •   test
  •   do-not
  •   agent-behaviour

Line diff

+21 added−18 removed7 unchanged25.0% identical
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/project.mdc
@@ +1 @@
1---
2description: OpenLeukemia project instructions
3globs:
4 - "**/*"
5alwaysApply: true
6---
7 
8# Cursor Project Rules
9 
10OpenLeukemia is a patient-centered leukemia data platform for organizing medical data, tracking changes over time, extracting structured information from documents, and explaining validated model outputs.
11 
12## Always Follow
13 
14- Patient data belongs to the patient.
15- Registration is not blanket consent.
16- Consent must be separate, explicit, auditable, and revocable.
17- AI may summarize, extract, and explain; it must not diagnose, recommend treatment, or make urgent clinical judgments.
18- Read nearby code and docs before editing.
19- Keep changes minimal and focused.
20- Follow existing React, TypeScript, Supabase, FastAPI, and Python patterns.
21- Run or recommend the relevant checks after changes.
22- Do not rewrite unrelated files or add dependencies without clear need.
23 
24## Checks
25 
26- Frontend: `npm run lint:frontend`, `npm run typecheck:frontend`, `npm test --workspace frontend`, `npm --workspace frontend run build`.
27- AI service from `ai-service/`: `python -m ruff check .`, `python -m pytest`, `python -m mypy app`.
 
 
 
 
28 
@@ −1 +1 @@
1−# Frontend Instructions
1+---
2+description: OpenLeukemia project instructions
3+globs:
4+ - "**/*"
5+alwaysApply: true
6+---
27  
3−This directory contains the React + TypeScript + Vite application.
8+# Cursor Project Rules
49  
5−## Commands
10+OpenLeukemia is a patient-centered leukemia data platform for organizing medical data, tracking changes over time, extracting structured information from documents, and explaining validated model outputs.
611  
7−Run from the repository root unless you are already inside `frontend/`:
12+## Always Follow
813  
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−```
14+- Patient data belongs to the patient.
15+- Registration is not blanket consent.
16+- Consent must be separate, explicit, auditable, and revocable.
17+- AI may summarize, extract, and explain; it must not diagnose, recommend treatment, or make urgent clinical judgments.
18+- Read nearby code and docs before editing.
19+- Keep changes minimal and focused.
20+- Follow existing React, TypeScript, Supabase, FastAPI, and Python patterns.
21+- Run or recommend the relevant checks after changes.
22+- Do not rewrite unrelated files or add dependencies without clear need.
1623  
17−## Rules
24+## Checks
1825  
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.
26+- Frontend: `npm run lint:frontend`, `npm run typecheck:frontend`, `npm test --workspace frontend`, `npm --workspace frontend run build`.
27+- AI service from `ai-service/`: `python -m ruff check .`, `python -m pytest`, `python -m mypy app`.
2528  
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack