Cursor-rules
PromptBeginner5 minmarkdown
.cursorrules
.llmrules
0
globs:
Sign in to like and favorite skills
.llmrules
Code Style and Structure
Here are some pieces of information you need to know about this project:
description: "StackTracker – General development & architecture rules for AI collaborators" globs:
These rules apply to every file in the repository and are always injected into the AI's context. They encode our core conventions so that automated edits stay aligned with human expectations.
/client/src/components, pages in /client/src/pages.import x from 'y';), .js extensions in compiled imports./server/openai.ts; never instantiate the SDK elsewhere.server/tests and use the helpers in test/setup.ts.YYYYMMDD_<description>.ts.npx tsx to run migrations; clean up connections with await client.end() in finally.labResults, biomarkerResults).Select prefix for types used when selecting records (e.g., SelectLabResult)Insert prefix for types used when inserting records (e.g., InsertBiomarkerResult)import type { SelectLabResult, InsertBiomarkerResult } from '../../db/schema'LabResults, use SelectLabResult instead).env; update .env.example instead.process.env./server./components/charts.docs/biomarkers.md.@development.md @db/migrations/migration_template.ts @client/src/components/component_template.tsx