RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/Cursor rules/itxSaaad/medlens-plus-app

Cursor rule

.cursor/rules/nextjs-frontend.mdc

Next.js App Router frontend — components, pages, Vitest, Tailwind for apps/web

Cursor rules

Quality

80/100

Scores the file, not the repository.

Length

121 words

4 headings · 1 code blocks

Repository

0

— · pushed 1 days ago

Last changed

3 days ago

First indexed 3 days ago.
itxSaaad/medlens-plus-app/.cursor/rules/nextjs-frontend.mdcRawGitHub
1---
2description: Next.js App Router frontend — components, pages, Vitest, Tailwind for apps/web
3globs: ["apps/web/**", "packages/types/**"]
4alwaysApply: false
5---
6 
7# Next.js Frontend
8 
9Stack: Next.js 16 App Router, React 19, TypeScript strict, Tailwind 4, Vitest + Testing Library.
10 
11## Structure
12 
13- Pages/layouts: `apps/web/src/app/`
14- Unit tests: `apps/web/src/tests/unit/`
15- Integration tests: `apps/web/src/tests/integration/`
16- Shared types: `@medlens/types` from `packages/types`
17 
18## Conventions
19 
20- Default to Server Components; add `"use client"` only when hooks or browser APIs are required.
21- Colocate tests with feature areas under `src/tests/`; mirror patterns in `home-page.test.tsx`.
22- Fetch from API via typed contracts; do not duplicate backend business logic in the web layer.
23- Accessible markup: semantic HTML, labels on inputs, focusable controls.
24- No PII in client logs or error boundaries.
25 
26## Commands
27 
28```bash
29pnpm --filter @medlens/web lint
30pnpm --filter @medlens/web typecheck
31pnpm --filter @medlens/web test:unit
32```
33 
34Skill: `.cursor/skills/web-frontend/SKILL.md`
35 

Commands it names

  • pnpm --filter @medlens/web lint
  • pnpm --filter @medlens/web typecheck
  • pnpm --filter @medlens/web test:unit

Sections

  • Next.js Frontend
  • Structure
  • Conventions
  • Commands

What it covers

testcode-stylearchitecture

Stack — with the evidence

typescript

(1.00)

turborepo

(1.00)

eslint

(1.00)

node

(0.70)

react

(0.70)

nextjs

(0.70)

fastapi

(0.70)

react-native

(0.70)

expo

(0.70)

postgres

(0.70)

redis

(0.70)

tailwind

(0.70)

vitest

(0.70)

pytest

(0.70)

ruff

(0.70)

javascript

(0.60)

monorepo

(0.60)

pnpm

(0.60)

github-actions

(0.60)

python

(0.50)

Glob targeting

  • apps/web/**
  • packages/types/**

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
itxSaaad
Language
—
License
—
Archived
no

All configs in this repo

Also in itxSaaad/medlens-plus-app

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
itxSaaad/medlens-plus-app.cursor/rules/testing.mdc · 0Cursor rulestypescriptturborepo+18testtesting-strategyapimonorepo29/1003 days ago
itxSaaad/medlens-plus-app.claude/skills/web-frontend/references/composition-patterns/AGENTS.md · 0AGENTS.mdtypescriptturborepo+18styleapiuido-not57/1003 days ago
itxSaaad/medlens-plus-app.claude/skills/web-frontend/references/react-best-practices/AGENTS.md · 0AGENTS.mdtypescriptturborepo+18buildstyletypessecurity+665/1003 days ago
itxSaaad/medlens-plus-app.cursor/rules/agent-discipline.mdc · 0Cursor rulestypescriptturborepo+18teststyleagent-behaviour53/1003 days ago
itxSaaad/medlens-plus-app.cursor/rules/devops-ci.mdc · 0Cursor rulestypescriptturborepo+18securitydo-not23/1003 days ago
itxSaaad/medlens-plus-app.cursor/rules/engineering-standards.mdc · 0Cursor rulestypescriptturborepo+18test35/1003 days ago
itxSaaad/medlens-plus-app.cursor/rules/fastapi-backend.mdc · 0Cursor rulestypescriptturborepo+18testlint-formatstyle66/1003 days ago
itxSaaad/medlens-plus-app.cursor/rules/frontend-quality.mdc · 0Cursor rulestypescriptturborepo+18securityui33/1003 days ago
itxSaaad/medlens-plus-app.cursor/rules/github-delivery.mdc · 0Cursor rulestypescriptturborepo+18git16/1003 days ago
itxSaaad/medlens-plus-app.cursor/rules/graphify.mdc · 0Cursor rulestypescriptturborepo+18do-not45/1003 days ago
itxSaaad/medlens-plus-app.cursor/rules/langgraph-ai-workflows.mdc · 0Cursor rulestypescriptturborepo+18do-not32/1003 days ago
itxSaaad/medlens-plus-app.cursor/rules/medical-safety.mdc · 0Cursor rulestypescriptturborepo+18do-not23/1003 days ago
itxSaaad/medlens-plus-app.cursor/rules/pr-quality-gate.mdc · 0Cursor rulestypescriptturborepo+18testgit43/1003 days ago
itxSaaad/medlens-plus-app.cursor/rules/technical-seo.mdc · 0Cursor rulestypescriptturborepo+18no sections24/1003 days ago
itxSaaad/medlens-plus-app.cursor/skills/web-frontend/references/composition-patterns/AGENTS.md · 0AGENTS.mdtypescriptturborepo+18styleapiuido-not45/1003 days ago
itxSaaad/medlens-plus-app.cursor/skills/web-frontend/references/react-best-practices/AGENTS.md · 0AGENTS.mdtypescriptturborepo+18buildstyletypessecurity+665/1003 days ago
itxSaaad/medlens-plus-app.github/copilot-instructions.md · 0Copilot instructionstypescriptturborepo+18testgitdo-notagent-behaviour+170/1003 days ago
itxSaaad/medlens-plus-appAGENTS.md · 0AGENTS.mdtypescriptturborepo+18gitdo-notagent-behaviour59/1003 days ago
itxSaaad/medlens-plus-appapps/mobile/CLAUDE.md · 0CLAUDE.mdtypescriptreact-native+18stylearchmonorepoagent-behaviour86/1003 days ago
itxSaaad/medlens-plus-appCLAUDE.md · 0CLAUDE.mdtypescriptturborepo+18testgitmonorepodo-not+176/1003 days ago
Diff against .cursor/rules/testing.mdc Diff against .claude/skills/web-frontend/references/composition-patterns/AGENTS.md Diff against .claude/skills/web-frontend/references/react-best-practices/AGENTS.md Diff against .cursor/rules/agent-discipline.mdc Diff against .cursor/rules/devops-ci.mdc Diff against .cursor/rules/engineering-standards.mdc Diff against .cursor/rules/fastapi-backend.mdc Diff against .cursor/rules/frontend-quality.mdc Diff against .cursor/rules/github-delivery.mdc Diff against .cursor/rules/graphify.mdc Diff against .cursor/rules/langgraph-ai-workflows.mdc Diff against .cursor/rules/medical-safety.mdc Diff against .cursor/rules/pr-quality-gate.mdc Diff against .cursor/rules/technical-seo.mdc Diff against .cursor/skills/web-frontend/references/composition-patterns/AGENTS.md Diff against .cursor/skills/web-frontend/references/react-best-practices/AGENTS.md Diff against .github/copilot-instructions.md Diff against AGENTS.md Diff against apps/mobile/CLAUDE.md Diff against CLAUDE.md

Similar configs

Same format, overlapping stack, ranked by quality.

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