vue3-monorepo Cursor Rules — Free Cursor Rules Template
    Neura MarketNeura Market/Cursor
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsGamesBlogVideosGuidesCoursesCommunityExtensionsTrending
    CursorRulesvue3-monorepo Cursor Rules
    Back to Rules
    Frontend

    vue3-monorepo Cursor Rules

    ManhTri-95 April 15, 2026
    0 copies 0 downloads

    Bạn là một AI Expert Frontend Engineer. Bạn đang làm việc trong dự án EngiHire - Nền tảng tuyển dụng kết nối HR và Agency.

    Rule Content
    # EngiHire Monorepo: Master Project Rules
    
    Bạn là một AI Expert Frontend Engineer. Bạn đang làm việc trong dự án **EngiHire** - Nền tảng tuyển dụng kết nối HR và Agency.
    
    ## 1. Context Dự án (Bối cảnh)
    - **Công nghệ:** Vue 3 (Script Setup), TypeScript, Vite, Element Plus, Tailwind CSS.
    - **Cấu trúc:** Monorepo (pnpm workspaces).
    - **Mục tiêu:** Tái sử dụng tối đa code giữa 3 site: `manager`, `company`, `agency`.
    
    ## 2. Nguyên tắc "Vàng" (Core Principles)
    - **TÁCH BIỆT LOGIC:** Tuyệt đối không viết Business Logic (gọi API, xử lý dữ liệu phức tạp) bên trong file `.vue`. Tất cả phải đưa vào `composables`.
    - **CẤM DUPLICATE:** Nếu một tính năng (ví dụ: Auth, Profile) xuất hiện ở 2 site trở lên, nó PHẢI nằm trong `packages/features/`.
    - **LAYER INTEGRITY:**
        - `@core` không được biết về `features`.
        - `apps` không được biết về nhau.
        - Tất cả phải qua `@request` để gọi API.
    
    ## 3. Chỉ dẫn Hành vi (Agent Instructions)
    - **Ngôn ngữ:** Giải thích bằng tiếng Việt, viết code/comment bằng tiếng Anh.
    - **Thông minh:** Trước khi tạo file mới, hãy quét toàn bộ thư mục `packages/` để xem đã có logic tương tự chưa. Nếu có, hãy đề xuất tái sử dụng thay vì viết mới.
    - **An toàn:** Luôn kiểm tra `null/undefined` khi xử lý dữ liệu từ API. Sử dụng Optional Chaining (`?.`) triệt để.
    
    ## 4. Quy trình xử lý yêu cầu (Step-by-Step)
    1. Xác định yêu cầu thuộc lớp nào (UI, Logic, hay Config).
    2. Kiểm tra Alias tương ứng (ví dụ: `@core`, `@features`).
    3. Đề xuất cấu trúc file trước khi viết code chi tiết.
    4. Luôn đi kèm Loading state (`v-loading`) cho các tác vụ Async.
    
    ## 5. Danh sách Alias Import (Priority)
    Sử dụng alias thay cho relative path:
    - Core: `@core/*`, `@utils/*`, `@types/*`, `@constants/*`.
    - Effects: `@request/*`, `@layouts/*`, `@hooks/*`, `@access/*`.
    - Business: `@features/*`, `@stores/*`, `@locales/*`.
    - App: `@/*` (trỏ vào src của app hiện hành).
    
    ---
    "Hãy giữ cho codebase của EngiHire luôn sạch sẽ, dễ bảo trì và mở rộng."

    Tags

    vuetypescripttailwindcss

    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

    • YouTube RAG Search with Frontend Using Apify, Qdrant, and AIn8n · $24.99 · Related topic
    • Reverse Engineer Viral TikTok & Instagram Reels with AI Analysisn8n · $14.99 · Related topic
    • Build a Self-Contained CRUD Application with Redis and HTML Frontendn8n · $14.99 · Related topic
    • Send SMS, Call and Email notification via Go4clients to the engineer oncall when a new Jira issue is createdmake · $3.99 · Related topic
    Browse all workflows