cover-letterlisted
Install: claude install-skill Mahashwetha/Job-search-email-system-claude
# Cover Letter Generator
Generate a tailored cover letter using `cover_letter.py`.
## How to invoke
Slash command (preferred):
```
/cover-letter https://job-url
/cover-letter https://job-url Company Name
/cover-letter https://job-url Company Name "Role Title"
```
Or natural language: `cover letter <url>`, `generate cover letter for Constructor`
## How to run
```
python cover_letter.py "https://job-url" "Company Name" "Role Title"
python cover_letter.py "https://job-url" "Company Name" # role extracted from JD
python cover_letter.py "https://job-url" "Company Name" "Role Title" --referral "Name, their role"
```
Use `--referral` whenever the user mentions a referral (someone at the company recommended her): the opening line then names the referrer.
## What it does
1. Fetches the job description from the URL (same scraper as resume_tailor.py)
2. Calls Gemini to generate three tailored paragraphs:
- **Opening paragraph** — 2 sentences, never "I am writing to express my interest". Gemini picks the strongest type for the job: referral, specific achievement (only from the verified CANDIDATE ACHIEVEMENTS list in the prompt), company-specific observation, or direct capability. The code rejects banned phrases and false domain claims (NASDAQ = trade surveillance, not payments/banking) and falls back to a safe achievement-led opening; the console prints the opening type and any rejection reason.
- **Matched skills paragraph** — specific tech/tools from the JD that the ca