resume-screener Cursor Rules — Free Cursor Rules Template
    Neura MarketNeura Market/Cursor
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsGamesBlogVideosGuidesCoursesCommunityExtensionsTrending
    CursorRulesresume-screener Cursor Rules
    Back to Rules
    Frontend

    resume-screener Cursor Rules

    rayaanoidPrime April 15, 2026
    0 copies 0 downloads
    • Backend: Node.js with Express.js and TypeScript
    Rule Content
    ## Tech Stack:
    
    - Backend: Node.js with Express.js and TypeScript
    - Database: PostgreSQL with Prisma ORM
    - Authentication: JSON Web Tokens (JWT)
    - Job Queue: Bull with Redis
    - Frontend: Vite with React, TypeScript, and Tailwind CSS
    - External Services: OpenAI GPT for custom prompt scoring
    
    ## Workflow Setup
    
    - Use `npm` when adding dependencies (e.g., `npm add <package>`).
    - Be mindful of dependency scope:
      - Use `-D` or `--save-dev` for development dependencies (e.g., `npm add -D typescript`).
      - Use no flag for production dependencies (e.g., `npm add express`).
    - Manage Prisma schema updates with `npm exec prisma migrate dev --name <migration-name>`.
    
    ## Coding Standards
    
    - Use TypeScript for all new code in both backend (`src/`) and frontend (`src/`) directories.
    - Define proper TypeScript types for all variables, functions, and return types (e.g., `const fn = (param: string): Promise<number> => {...}`).
    
    - Implement proper error handling:
      - Backend: Use try-catch blocks and return appropriate HTTP status codes (e.g., `res.status(400).json({ error: 'Invalid input' })`).
      - Frontend: Handle API errors with user-friendly messages (e.g., `setError('Login failed')`).
    - Validate inputs:
      - Backend: Check request bodies/parameters (e.g., ensure `email` and `password` are present in `/register`).
      - Frontend: Validate form inputs before submission (e.g., email format, password length).
    - Always use relative imports (e.g., `import { prisma } from '../prisma/client';` instead of absolute paths).
    
    ## Best Practices
    
    - Ensure secure, efficient code following RESTful API best practices:
      - Use appropriate HTTP methods (e.g., POST for `/sessions`, GET for `/health`).
      - Return consistent response structures (e.g., `{ data: {...}, error: null }` or `{ data: null, error: 'message' }`).
      - Secure endpoints with JWT middleware (e.g., verify `Authorization` header for protected routes).
    - Respect SOLID principles:
      - Single Responsibility: Separate concerns (e.g., `src/routes/auth.ts` for auth, `src/queue/resumeProcessor.ts` for queue logic).
      - Open/Closed: Design extensible evaluation metrics (e.g., allow new metrics without modifying core logic).
      - Liskov Substitution: N/A (no heavy inheritance expected).
      - Interface Segregation: Keep route handlers focused (e.g., one endpoint per task).
      - Dependency Inversion: Inject dependencies (e.g., Prisma client via `src/prisma/client.ts`).
    - Focus on performance and readability:
      - Backend: Minimize database queries (e.g., use Prisma’s `include` for eager loading where needed).
      - Frontend: Optimize React components with memoization (e.g., `React.memo`) and avoid unnecessary re-renders.
      - Use clear variable/function names (e.g., `extractResumeText` instead of `process`).
      - Add comments for complex logic (e.g., evaluation metric calculations).
    
    ## Project-Specific Guidelines
    
    - Always be mindful to create files an edit fiels in the respective dir and not in the root of the project. If the edit it related to a backend route, write the edit inside the backend/src/ and likewise for frontend code. NEVER WRTITE TYPESCRIPT CODE IN THE ROOT, ALWAYS INSIDE BACKEND OR FRONTEND DIRECTORIES.
    
    - **Backend**:
      - Structure code in `src/` with subdirectories: `routes/`, `entities/` (if needed beyond Prisma), `queue/`, `services/`.
      - Use Prisma for all database interactions (e.g., `prisma.user.create({...})`).
      - Handle file uploads with `multer` and store in `uploads/` directory.
      - Process resumes asynchronously with Bull queues (e.g., `resumeQueue.add({...})`).
    - **Frontend**:
      - Structure code in `src/` with subdirectories: `pages/`, `components/`, `services/`, `context/`.
      - Use Tailwind CSS for styling (e.g., `className="flex flex-col p-4"`).
      - Always import React Router as `import { BrowserRouter as Router, Routes, Route, Link } from "react-router"`. There is no module called `react-router-dom`
      - Manage state with React Context (e.g., `AuthContext` for authentication).
      - Connect to backend via `axios` in `src/services/api.ts`.
    - **Environment Variables**:
      - Store in `.env` with appropriate prefixes (e.g., `VITE_API_URL` for frontend, `DATABASE_URL` for backend).
      - Never commit sensitive values (e.g., `JWT_SECRET`, `OPENAI_API_KEY`)—use `.env.example` for templates.
    

    Tags

    reacttypescripttailwindcssprismanodejs

    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

    • Add TypeScript IntelliSense Support to Code Nodes with JSDocn8n · $4.99 · Related topic
    • Automated Resume Screener for Efficient Hiringn8n · $19.99 · Related topic
    • Test Your Data Access Techniques with Progressive Expression Challengesn8n · $24.99 · Related topic
    • Deploy Docker MinIO and API Backend for WHMCS/WISECPn8n · $24.99 · Related topic
    Browse all workflows