diff --git a/prompts.js b/prompts.js index 8200d9b..25d1716 100644 --- a/prompts.js +++ b/prompts.js @@ -18,6 +18,14 @@ function buildPromptV2(tab, job, userProfile, language) { const co = job.company || 'this company'; const loc = job.location || 'Middle East'; + const STRICT_RULES = ` +STRICT INTEGRITY RULES — VIOLATING THESE IS FORBIDDEN: +1. NEVER invent skills, tools, frameworks, or certifications not explicitly listed in MY PROFESSIONAL PROFILE. +2. If the job requires a skill I do not have (e.g., TensorFlow, PyTorch, Scikit-learn, Spark, Hadoop, Kubernetes, deep NLP, generative AI model training), ACKNOWLEDGE THE GAP honestly. Do NOT fabricate experience. +3. My AI experience is LIMITED to: AI vision models for document processing (Musadaq), AI smart responder (Nabih), Gemini API integration (LinkedIn extension), and Python backend automation. I do NOT have MLOps pipeline experience, model training, or deep learning research. +4. My TRUE core stack is: PHP (Workerman), Node.js, NestJS, Python (FastAPI/Flask), PostgreSQL/PostGIS, Docker, Flutter — NOT data science or ML engineering. +5. Always prioritize my REAL architecture achievements (IntaleqMaps, Tripz, 25+ apps, $10K/month savings) over generic AI buzzwords.`; + const P = {}; P.analysis = `You are an elite career strategist. @@ -26,6 +34,8 @@ Evaluate this job against my profile with brutal honesty and EXTREME brevity. DO NOT recount my history, military background, or summarize my profile. Keep it actionable and short. CRITICAL RULE: The user is actively seeking to step down from Architect/CTO roles to "Senior Software Engineer" (Flutter, Backend, Full Stack) to gain corporate Agile experience. DO NOT reject jobs for being a "downgrade" if they are Senior level and match his tech stack (Flutter, Python, PHP, Node). +${STRICT_RULES} + ${prof} JOB POSTING: @@ -52,6 +62,8 @@ Respond in this EXACT concise structure: P.coverletter = `You are an expert career writer. Write a COMPLETE, READY-TO-SEND cover letter. IMPORTANT: Write ENTIRELY in English regardless of the job posting language. +${STRICT_RULES} + ${prof} JOB: @@ -82,6 +94,8 @@ CRITICAL RULES: P.cvtips = `You are a LinkedIn optimization expert and ATS specialist. IMPORTANT: Respond ENTIRELY in English regardless of the job posting language. +${STRICT_RULES} + ${prof} JOB: