Files
Bewerbungszauberer/openspec/changes/archive/2025-11-03-add-cover-letter-pdf-conversion/proposal.md
T

25 lines
1.5 KiB
Markdown
Raw Normal View History

# Add Cover Letter PDF Conversion
## Why
The current system generates cover letters in markdown format, but many job applications require PDF submissions. This creates a gap in the workflow where users must manually convert their generated cover letters to PDF format using external tools. Adding native PDF conversion will complete the job application workflow by providing professionally formatted Swiss-style business letters ready for submission.
## What Changes
- Add new slash command `/convert-cover-letter` for converting markdown cover letters to PDF
- Implement environment validation to check for required tools (Pandoc, LaTeX)
- Create Swiss letter template (scrlttr2) with proper formatting for Swiss business correspondence
- Support automatic extraction of metadata from markdown frontmatter (sender, recipient, date, subject, etc.)
- Generate PDF output in the same directory as the markdown source
- Provide helpful error messages and setup guidance when tools are missing
## Impact
- **Affected specs**: New capability `cover-letter-pdf-conversion`
- **Affected code**:
- New slash command: `src/.claude/commands/convert-cover-letter.md`
- New LaTeX template: `src/.claude/templates/swiss-letter.tex`
- Test environment: Will need to update test directory with new command
- **Dependencies**: Requires Pandoc and LaTeX (texlive-latex-base, texlive-lang-german) to be installed on the user's system
- **User workflow**: Completes step 7 "Generate PDFs" in the project workflow (see project.md:51)