Skip to content

Comments

feat: add AI Cover Letter Generator from Resume (#411)#415

Open
sanju234-san wants to merge 1 commit intoMuneerali199:mainfrom
sanju234-san:feat/cover-letter-from-resume
Open

feat: add AI Cover Letter Generator from Resume (#411)#415
sanju234-san wants to merge 1 commit intoMuneerali199:mainfrom
sanju234-san:feat/cover-letter-from-resume

Conversation

@sanju234-san
Copy link

Description

Adds an AI-powered "Cover Letter from Resume" flow that takes a user's existing
resume and a job description as inputs, then generates a tailored,
keyword-matched cover letter using the existing Gemini AI client in a single
API call.

Fixes #411

Type of Change

  • New feature (e.g., new page, component, or functionality)
  • Bug fix (non-breaking change that fixes an issue)
  • UI/UX improvement (design, layout, or styling updates)
  • Performance optimization (e.g., code splitting, caching)
  • Documentation update (README, contribution guidelines, etc.)
  • Other (please specify): ____________________

Changes Made

  • Added new API route at app/api/generate/cover-letter-from-resume/route.ts
    — accepts resume, jobDescription, and optional tone, calls the existing
    Gemini client, and returns the generated letter as JSON.
  • Added new UI component at components/letter/CoverLetterFromResume.tsx
    — two text inputs (Resume + Job Description), an optional Tone field,
    a Generate button, and a polished output area.
  • Added new page at app/letter/cover-letter-from-resume/page.tsx
    — exposes the feature at the /letter/cover-letter-from-resume route
    by rendering the above component.

Dependencies

  • No new dependencies added.
  • Reuses the existing lib/gemini.ts Gemini AI client via dynamic import
    — no version updates or configuration changes required.

Screenshots

UI changes included (resume input, JD input, tone selector, generated output
field). Screenshots to be added after local testing.

Checklist

  • My code follows the style guidelines of this project.
  • I have tested my changes across major browsers/devices
  • I have tested my changes in development mode (npm run dev)
  • I have written or updated related tests, if necessary
  • This is already assigned Issue to me, not an unassigned issue.

- Add API route at /api/generate/cover-letter-from-resume
- Add CoverLetterFromResume UI component with resume, JD, and tone inputs
- Add page at /letter/cover-letter-from-resume
- Reuses existing lib/gemini.ts client, no new dependencies
@vercel
Copy link

vercel bot commented Feb 22, 2026

@sanju234-san is attempting to deploy a commit to the muneerali199's projects Team on Vercel.

A member of the Team first needs to authorize it.

@netlify
Copy link

netlify bot commented Feb 22, 2026

👷 Deploy request for docmagic1 pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit cd59e4c

@netlify
Copy link

netlify bot commented Feb 22, 2026

👷 Deploy request for docmagic-muneer pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit cd59e4c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🎯 AI Cover Letter Generator from Resume

1 participant