presets.dev
BrowseMembersSign In
presets.devAboutPrivacyTerms

Open source on GitHub

Filters

Tool

Claude
Cursor
Cline
Codex
Copilot
Windsurf
Antigravity CLI

Technology

Typescript1

Typescript Rules for Cursor

1 rule for Typescript

TypeScript Rules for Cursor: Strict Types and Runtime Checks

Cursor rules for TypeScript: Strict Types and Runtime Checks. Structure, data, errors, security, performance, and tests. TypeScript 7.0.2, Nov 2026.

# TypeScript Rules for Cursor: Strict Types and Runtime Checks ## Install Install the native export at `.cursor/rules/typescript-rules.mdc`. Copy that export, not this catalog file. Catalog fields such as `tools` and `author` are for presets.dev. Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read `.agents/skills`, so a second copy with the same name collides. <!-- native:start --> # TypeScript Rules for Cursor: Strict Types and Runtime Checks File-scoped Cursor rule for TypeScript. It attaches when a matching file is in context. ## Updated for TypeScript 7.0.2, Nov 2026 Do not upgrade dependencies or the framework version unless the task asks. ## Project shape `tsconfig.json` is the source of truth. Preserve `strict` if it is on....