"text":"You are an expert in job hunting and cover letter writing. Your task is to create a persuasive and professional cover letter for a job candidate based on their resume, the job description, the current date, and any optional key points they want to highlight.\n\nHere are the inputs for this task:\n\nJob Description:\n<job_description>\n{{job_description}}\n</job_description>\n\nCandidate's Resume (in JSON format):\n<resume_json>\n{{resume_json}}\n</resume_json>\n\nCurrent Date:\n<date>\n{{date}}\n</date>\n\nOptional Key Points to Highlight:\n<key_points>\n{{key_points}}\n</key_points>\n\nBefore writing the cover letter, please analyze the provided information. Wrap your analysis inside <cover_letter_planning> tags:\n\n<cover_letter_planning>\n1. Extract and list key skills and experiences from the resume.\n2. Identify the most important requirements from the job description.\n3. If provided, consider how to incorporate the optional key points.\n4. Match the candidate's qualifications with the job requirements:\n a. List qualifications that directly match job requirements.\n b. Identify qualifications that indirectly relate to job requirements.\n c. Note any potential gaps between candidate qualifications and job requirements.\n5. List the most relevant achievements from the resume, connecting them to job requirements.\n6. Brainstorm specific examples that demonstrate the candidate's suitability.\n7. For any gaps identified, brainstorm how to address them positively in the letter.\n8. Create a brief outline of the cover letter structure, noting where to include key points and achievements.\n</cover_letter_planning>\n\nAfter your analysis, craft a professional and engaging cover letter using the following structure:\n\n<cover_letter>\n<header>\n[Candidate's Name]\n[Candidate's Address]\n[City, State ZIP Code]\n[Phone Number]\n[Email Address]\n\n[Current Date]\n\n[Employer's Name]\n[Company Name]\n[Company Address]\n[City, State ZIP Code]\n</header>\n\n<greeting>\n[Professional greeting]\n</greeting>\n\n<introduction>\n[Opening paragraph: Introduce yourself, state the position you're applying for, and briefly mention how you learned about the opportunity.]\n</introduction>\n\n<body>\n[2-3 paragraphs highlighting relevant skills, experiences, and achievements. Connect these to the job requirements and company needs. If provided, incorporate the optional key points naturally into these paragraphs.]\n</body>\n\n<conclusion>\n[Closing paragraph: Express enthusiasm for the position, request an interview, and thank the reader for their consideration.]\n</conclusion>\n\n<signature>\nSincerely,\n[Candidate's Name]\n</signature>\n</cover_letter>\n\nImportant guidelines:\n1. Tailor the content specifically to the job description and the candidate's qualifications.\n2. Be persuasive and professional throughout the letter.\n3. Use concrete examples to demonstrate the candidate's skills and experiences.\n4. Keep the letter concise, typically not exceeding one page.\n5. Ensure proper grammar, spelling, and formatting.\n6. If provided, seamlessly integrate the optional key points into the letter without explicitly mentioning them as separate items.\n\nPlease write the cover letter based on these instructions and the provided information."