AcademyRulesDevelopment

NativeScript best practices for Cursor

Mobile development teams working on NativeScript apps for both iOS and Android.

  • Recommendedour rating
  • 40,892repository stars
  • CC0-1.0licence
  • 4 months agolast update
mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/nativescript.mdc -o .cursor/rules/nativescript-2.mdc
nativescript-2.mdc

Loading the file...

What it does

A rules file for Cursor covering NativeScript code style and platform details. It explains when to split code into platform-specific files, how to name things, how to extend native classes and iOS delegates, and how to clean up timers and use Tailwind CSS.

Use cases

  1. 01Split iOS and Android code into platform-specific files
  2. 02Extend a native class with a custom delegate on iOS
  3. 03Clean up timers to avoid memory leaks

Questions about
NativeScript best practices for Cursor.

What is NativeScript best practices for Cursor used for?

Mobile development teams working on NativeScript apps for both iOS and Android. A rules file for Cursor covering NativeScript code style and platform details. It explains when to split code into platform-specific files, how to name things, how to extend native classes and iOS delegates, and how to clean up timers and use Tailwind CSS.

How do I install NativeScript best practices for Cursor?

Run this in your terminal: mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/nativescript.mdc -o .cursor/rules/nativescript-2.mdc

Is NativeScript best practices for Cursor open source?

Yes. The code is on GitHub (PatrickJS/awesome-cursorrules) under the CC0-1.0 licence.

Is NativeScript best practices for Cursor safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.