Skip to content

Job application tracker and AI-powered job search assistant. Helps job seekers manage their search journey with AI resume review, job matching, task logging, and application analytics, all while keeping your data private.

497 B
Raw Blame
/**
 * Cover Letter User Prompts
 */

export function buildCoverLetterPrompt(
  resumeText: string,
  jobText: string,
  guidance: string | null,
): string {
  const guidanceBlock = guidance
    ? `\n\nPRIOR MATCH ANALYSIS (emphasise these keywords and act on these tips):\n${guidance}`
    : "";

  return `Write a cover letter for this candidate applying to this job.

RESUME:
${resumeText}

JOB DESCRIPTION:
${jobText}${guidanceBlock}

Output only the letter, starting with the salutation.`;
}