PluginBench
Rule

nativescript

via PatrickJS/awesome-cursorrules

NativeScript development guidance with core APIs, TypeScript, and mobile best practices.

What is nativescript?

Provides best practices for NativeScript mobile app development, including proper use of @nativescript/core APIs, navigation patterns, and project structure. Use this rule when building cross-platform mobile applications with NativeScript.

  • Enforce TypeScript for type safety across the project
  • Guide use of @nativescript/core features and common web APIs
  • Implement proper NativeScript Navigation patterns
  • Organize assets, components, services, and utilities in a standard folder structure
  • Secure sensitive data with @nativescript/secure-storage
  • Integrate biometric authentication via @nativescript/biometrics

Applies to

File patterns this rule matches.

**/*
Rule definition (reference)

Source of truth, from the repository.

// NativeScript .cursorrules

// NativeScript best practices

const nativeScriptBestPractices = [ "Utilize @nativescript/core features and APIs where applicable", "Utilize common web APIs where applicable", "Implement proper navigation using NativeScript Navigation", "Use NativeScript's assets folder for images, sounds or videos and use the fonts folder for custom fonts", "Implement proper error handling where possible" ];

// Folder structure

const folderStructure = src/ assets/ components/ services/ utils/;

// Additional instructions

const additionalInstructions = `

  1. Use TypeScript for type safety
  2. Use @nativescript/secure-storage for sensitive data
  3. Use @nativescript/biometrics for anything related to biometrics
  4. Always use nativescript-fonticon for font icons
  5. Follow NativeScript best practices for performance `;

Related rules

Senior full-stack TypeScript, React, Node.js guidance with clean architecture, testing, and WHY-oriented reasoning.

**/*
41k
via PatrickJS/awesome-cursorrules

Quantitative factor research skills for designing, evaluating, and mining alpha factors in equities markets.

**/*
41k
via PatrickJS/awesome-cursorrules

Android development with Jetpack Compose, clean architecture, and Material Design 3.

**/*
41k
via PatrickJS/awesome-cursorrules

Angular development with Novo Elements UI library using standalone components.

**/*
41k
via PatrickJS/awesome-cursorrules

Expert Angular 18 + TypeScript development with Jest, emphasizing clean code and performance.

**/*
41k
via PatrickJS/awesome-cursorrules

Manage Kubernetes clusters, add-ons, stacks, and credentials via the Ankra CLI platform.

**/*.sh +5
41k
via PatrickJS/awesome-cursorrules