RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/Cursor rules/Aledon8/OpenLeukemia

Cursor rule

.cursor/rules/ai-service.mdc

Python FastAPI AI-service rules

Cursor rules

Quality

46/100

Scores the file, not the repository.

Length

71 words

1 headings · 0 code blocks

Repository

9

— · pushed 61 days ago

Last changed

3 days ago

First indexed 3 days ago.
Aledon8/OpenLeukemia/.cursor/rules/ai-service.mdcRawGitHub
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 

Commands it names

  • python -m mypy app
  • python -m ruff check .
  • python -m pytest

Sections

  • AI Service Rules

What it covers

testlint-formatdo-not

Stack — with the evidence

react

(1.00)

python

(0.95)

pytest

(0.95)

ruff

(0.95)

fastapi

(0.70)

vite

(0.70)

vitest

(0.70)

eslint

(0.70)

typescript

(0.60)

javascript

(0.60)

github-actions

(0.60)

Glob targeting

  • ai-service/**/*.py

Format

Cursor rules

The most expressive format here. Many small .mdc files, each with frontmatter declaring when it should load, so a rule about migrations only enters context when a migration is open. Costs the most to maintain and only one editor reads it.

What the corpus says about it

Repository

Owner
Aledon8
Language
—
License
—
Archived
no

All configs in this repo

Also in Aledon8/OpenLeukemia

Diff this repo’s formats

One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
Aledon8/OpenLeukemiafrontend/src/styles/CLAUDE.md · 9CLAUDE.mdreactpython+9performance16/1003 days ago
Aledon8/OpenLeukemiafrontend/src/features/dashboard/CLAUDE.md · 9CLAUDE.mdreactpython+9uiperformance16/1003 days ago
Aledon8/OpenLeukemiafrontend/src/features/documentation/CLAUDE.md · 9CLAUDE.mdreactpython+9styleperformancedocs20/1003 days ago
Aledon8/OpenLeukemiaml/inference/CLAUDE.md · 9CLAUDE.mdreactpython+9performance16/1003 days ago
Aledon8/OpenLeukemia.cursor/rules/consents.mdc · 9Cursor rulesreactpython+9do-not23/1003 days ago
Aledon8/OpenLeukemia.cursor/rules/docs.mdc · 9Cursor rulesreactpython+9styledo-notdocs27/1003 days ago
Aledon8/OpenLeukemia.cursor/rules/frontend.mdc · 9Cursor rulesreactpython+9testdo-not27/1003 days ago
Aledon8/OpenLeukemia.cursor/rules/ml.mdc · 9Cursor rulesreactpython+9do-not23/1003 days ago
Aledon8/OpenLeukemia.cursor/rules/project.mdc · 9Cursor rulesreactpython+9testlint-formatdo-notagent-behaviour74/1003 days ago
Aledon8/OpenLeukemia.cursor/rules/supabase.mdc · 9Cursor rulesreactpython+9do-not23/1003 days ago
Aledon8/OpenLeukemia.github/copilot-instructions.md · 9Copilot instructionsreactpython+9testlint-formatstyleagent-behaviour71/1003 days ago
Aledon8/OpenLeukemia.github/instructions/ai-service.instructions.md · 9Copilot instructionsreactpython+9testlint-formatapiagent-behaviour39/1003 days ago
Aledon8/OpenLeukemia.github/instructions/consents.instructions.md · 9Copilot instructionsreactpython+9agent-behaviour16/1003 days ago
Aledon8/OpenLeukemia.github/instructions/docs.instructions.md · 9Copilot instructionsreactpython+9styleagent-behaviourdocs20/1003 days ago
Aledon8/OpenLeukemia.github/instructions/frontend.instructions.md · 9Copilot instructionsreactpython+9testagent-behaviour20/1003 days ago
Aledon8/OpenLeukemia.github/instructions/ml.instructions.md · 9Copilot instructionsreactpython+9do-notagent-behaviour23/1003 days ago
Aledon8/OpenLeukemia.github/instructions/supabase.instructions.md · 9Copilot instructionsreactpython+9agent-behaviour16/1003 days ago
Aledon8/OpenLeukemiaAGENTS.md · 9AGENTS.mdreactpython+9setuptestlint-formatstyle+396/1003 days ago
Aledon8/OpenLeukemiaCLAUDE.md · 9CLAUDE.mdreactpython+9setuptestlint-formatstyle+393/1003 days ago
Aledon8/OpenLeukemiaai-service/CLAUDE.md · 9CLAUDE.mdpythonreact+9testlint-formatdo-notagent-behaviour61/1003 days ago
Diff against frontend/src/styles/CLAUDE.md Diff against frontend/src/features/dashboard/CLAUDE.md Diff against frontend/src/features/documentation/CLAUDE.md Diff against ml/inference/CLAUDE.md Diff against .cursor/rules/consents.mdc Diff against .cursor/rules/docs.mdc Diff against .cursor/rules/frontend.mdc Diff against .cursor/rules/ml.mdc Diff against .cursor/rules/project.mdc Diff against .cursor/rules/supabase.mdc Diff against .github/copilot-instructions.md Diff against .github/instructions/ai-service.instructions.md Diff against .github/instructions/consents.instructions.md Diff against .github/instructions/docs.instructions.md Diff against .github/instructions/frontend.instructions.md Diff against .github/instructions/ml.instructions.md Diff against .github/instructions/supabase.instructions.md Diff against AGENTS.md Diff against CLAUDE.md Diff against ai-service/CLAUDE.md

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45Cursor rulestypescriptpytest+15testlint-formatstylearch+5100/1003 days ago
Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+13setuptestlint-formatstyle+799/1003 days ago
markstev/mark-starter.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+14setuptestlint-formatstyle+699/1003 days ago
deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1Cursor rulestypescriptnextjs+5setuptestlint-formatstyle+799/1003 days ago
dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+15setuptestlint-formatstyle+799/1003 days ago
TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45Cursor rulestypescriptpytest+15teststyletesting-strategysecurity+397/1003 days ago
langflow-ai/langflow.cursor/rules/docs_development.mdc · 153kCursor rulespythonnode+16setupbuildtestlint-format+797/1003 days ago
skillrecordings/egghead-next.cursor/rules/gh-task-plan.mdc · 1.4kCursor rulestypescriptnode+14teststylearchtypes+296/1003 days ago
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