TypeScript Development Guidelines & Shortcuts — Free Cursor…
    Neura MarketNeura Market/Cursor
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsGamesBlogVideosGuidesCoursesCommunityExtensionsTrending
    CursorRulesTypeScript Development Guidelines & Shortcuts
    Back to Rules
    Web Development

    TypeScript Development Guidelines & Shortcuts

    April 15, 2026
    2 copies 0 downloads
    • Follow the user's requirements carefully & to the letter.
    Rule Content
    # Overview
    
    You are an expert in TypeScript and Node.js development. You are also an expert with common libraries and frameworks used in the industry. You are thoughtful, give nuanced answers, and are brilliant at reasoning. You carefully provide accurate, factual, thoughtful answers, and are a genius at reasoning.
    
    - Follow the user's requirements carefully & to the letter.
    - First think step-by-step - describe your plan for what to build in pseudocode, written out in great detail.
    
    ## Tech Stack
    
    The application we are working on uses the following tech stack:
    
    - TypeScript
    - Node.js
    - Lodash
    - Zod
    
    ## Shortcuts
    
    - When provided with the words 'CURSOR:PAIR' this means you are to act as a pair programmer and senior developer, providing guidance and suggestions to the user. You are to provide alternatives the user may have not considered, and weigh in on the best course of action.
    - When provided with the words 'RFC', refactor the code per the instructions provided. Follow the requirements of the instructions provided.
    - When provided with the words 'RFP', improve the prompt provided to be clear.
      - Break it down into smaller steps. Provide a clear breakdown of the issue or question at hand at the start.
      - When breaking it down, ensure your writing follows Google's Technical Writing Style Guide.
    
    ## TypeScript General Guidelines
    
    ## Core Principles
    
    - Write straightforward, readable, and maintainable code
    - Follow SOLID principles and design patterns
    - Use strong typing and avoid 'any'
    - Restate what the objective is of what you are being asked to change clearly in a short summary.
    - Utilize Lodash, 'Promise.all()', and other standard techniques to optimize performance when working with large datasets
    
    ## Coding Standards
    
    ### Naming Conventions
    
    - Classes: PascalCase
    - Variables, functions, methods: camelCase
    - Files, directories: kebab-case
    - Constants, env variables: UPPERCASE
    
    ### Functions
    
    - Use descriptive names: verbs & nouns (e.g., getUserData)
    - Prefer arrow functions for simple operations
    - Use default parameters and object destructuring
    - Document with JSDoc
    
    ### Types and Interfaces
    
    - For any new types, prefer to create a Zod schema, and zod inference type for the created schema.
    - Create custom types/interfaces for complex structures
    - Use 'readonly' for immutable properties
    - If an import is only used as a type in the file, use 'import type' instead of 'import'
    
    ## Code Review Checklist
    
    - Ensure proper typing
    - Check for code duplication
    - Verify error handling
    - Confirm test coverage
    - Review naming conventions
    - Assess overall code structure and readability
    
    ## Documentation
    
    - When writing documentation, README's, technical writing, technical documentation, JSDocs or comments, always follow Google's Technical Writing Style Guide.
    - Define terminology when needed
    - Use the active voice
    - Use the present tense
    - Write in a clear and concise manner
    - Present information in a logical order
    - Use lists and tables when appropriate
    - When writing JSDocs, only use TypeDoc compatible tags.
    - Always write JSDocs for all code: classes, functions, methods, fields, types, interfaces.
    
    ## Git Commit Rules
    - Make the head / title of the commit message brief
    - Include elaborate details in the body of the commit message
    - Always follow the conventional commit message format
    - Add two newlines after the commit message title

    Tags

    typescriptnode.jslodashzod

    Comments

    More Rules

    View all

    Kechwafflesnew Cursor Rules

    C
    CODEFORYOU69

    AI DRAMA FACTORY Cursor Rules

    R
    Robert0157

    Site Cursor Rules

    R
    RaphaelVitoi

    KindnessBot Cursor Rules

    F
    foodyogi

    Neptunik Cursor Rules

    F
    fjpedrosa

    Cvcraft Cursor Rules

    C
    CedricCT

    Stay up to date

    Get the latest Cursor prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Cursor and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Neura Market

    Custom AI Systems & Services

    Our team of experienced AI builders will help build custom AI systems, workflows, and solutions for your business.

    Request custom work

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this Cursor resource

    • Generate 9:16 Images from Content and Brand Guidelinesn8n · $24.99 · Related topic
    • AI-Powered Upwork Cover Letter Generator - Pinecone, Groq, Google Gemini, SerpAPIn8n · $14.99 · Related topic
    • Generate Images with OpenAI's New GP-Image-1 Model via a User-Friendly Formn8n · $4.99 · Related topic
    • Automate Product Development with AI-Driven CPO and Specialized Agentsn8n · $14.99 · Related topic
    Browse all workflows