Cursor rule
.cursor/rules/nextjs-frontend.mdcNext.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 blocksRepository
0
— · pushed 1 days agoLast changed
3 days ago
First indexed 3 days ago.1234567# Next.js Frontend89Stack: Next.js 16 App Router, React 19, TypeScript strict, Tailwind 4, Vitest + Testing Library.1011## Structure1213- 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`1718## Conventions1920- 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.2526## Commands2728```bash29pnpm --filter @medlens/web lint30pnpm --filter @medlens/web typecheck31pnpm --filter @medlens/web test:unit32```3334Skill: `.cursor/skills/web-frontend/SKILL.md`35
Also in itxSaaad/medlens-plus-app
Diff this repo’s formatsOne 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?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| itxSaaad/medlens-plus-app.cursor/rules/testing.mdc · 0 | Cursor rules | testtesting-strategyapimonorepo | 29/100 | 3 days ago | |
| itxSaaad/medlens-plus-app.claude/skills/web-frontend/references/composition-patterns/AGENTS.md · 0 | AGENTS.md | styleapiuido-not | 57/100 | 3 days ago | |
| itxSaaad/medlens-plus-app.claude/skills/web-frontend/references/react-best-practices/AGENTS.md · 0 | AGENTS.md | buildstyletypessecurity+6 | 65/100 | 3 days ago | |
| itxSaaad/medlens-plus-app.cursor/rules/agent-discipline.mdc · 0 | Cursor rules | teststyleagent-behaviour | 53/100 | 3 days ago | |
| itxSaaad/medlens-plus-app.cursor/rules/devops-ci.mdc · 0 | Cursor rules | securitydo-not | 23/100 | 3 days ago | |
| itxSaaad/medlens-plus-app.cursor/rules/engineering-standards.mdc · 0 | Cursor rules | test | 35/100 | 3 days ago | |
| itxSaaad/medlens-plus-app.cursor/rules/fastapi-backend.mdc · 0 | Cursor rules | testlint-formatstyle | 66/100 | 3 days ago | |
| itxSaaad/medlens-plus-app.cursor/rules/frontend-quality.mdc · 0 | Cursor rules | securityui | 33/100 | 3 days ago | |
| itxSaaad/medlens-plus-app.cursor/rules/github-delivery.mdc · 0 | Cursor rules | git | 16/100 | 3 days ago | |
| itxSaaad/medlens-plus-app.cursor/rules/graphify.mdc · 0 | Cursor rules | do-not | 45/100 | 3 days ago | |
| itxSaaad/medlens-plus-app.cursor/rules/langgraph-ai-workflows.mdc · 0 | Cursor rules | do-not | 32/100 | 3 days ago | |
| itxSaaad/medlens-plus-app.cursor/rules/medical-safety.mdc · 0 | Cursor rules | do-not | 23/100 | 3 days ago | |
| itxSaaad/medlens-plus-app.cursor/rules/pr-quality-gate.mdc · 0 | Cursor rules | testgit | 43/100 | 3 days ago | |
| itxSaaad/medlens-plus-app.cursor/rules/technical-seo.mdc · 0 | Cursor rules | no sections | 24/100 | 3 days ago | |
| itxSaaad/medlens-plus-app.cursor/skills/web-frontend/references/composition-patterns/AGENTS.md · 0 | AGENTS.md | styleapiuido-not | 45/100 | 3 days ago | |
| itxSaaad/medlens-plus-app.cursor/skills/web-frontend/references/react-best-practices/AGENTS.md · 0 | AGENTS.md | buildstyletypessecurity+6 | 65/100 | 3 days ago | |
| itxSaaad/medlens-plus-app.github/copilot-instructions.md · 0 | Copilot instructions | testgitdo-notagent-behaviour+1 | 70/100 | 3 days ago | |
| itxSaaad/medlens-plus-appAGENTS.md · 0 | AGENTS.md | gitdo-notagent-behaviour | 59/100 | 3 days ago | |
| itxSaaad/medlens-plus-appapps/mobile/CLAUDE.md · 0 | CLAUDE.md | stylearchmonorepoagent-behaviour | 86/100 | 3 days ago | |
| itxSaaad/medlens-plus-appCLAUDE.md · 0 | CLAUDE.md | testgitmonorepodo-not+1 | 76/100 | 3 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.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 3 days ago | |
| markstev/mark-starter.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+6 | 99/100 | 3 days ago | |
| Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45 | Cursor rules | teststyletesting-strategysecurity+3 | 97/100 | 3 days ago |
