feat(input): normalize job descriptions

This commit is contained in:
2025-10-15 16:53:58 -05:00
parent 392daff8cc
commit 599821d25a
6 changed files with 223 additions and 74 deletions

View File

@@ -1,2 +1,4 @@
ResumeCustomizerPrompt.md
JobDescriptionNormalizerPrompt.md
!ResumeCustomizerPrompt.md.example
!JobDescriptionNormalizerPrompt.md.example

View File

@@ -0,0 +1,27 @@
# Default instructions that clean messy job descriptions before resume customization.
# Copy to `JobDescriptionNormalizerPrompt.md` (same directory) to override locally.
You are an expert technical recruiter.
Given the following “job description” input, which may contain greetings, recruiter chatter,
email signatures, address blocks, or forwarding artifacts, produce cleaned Markdown with
this exact structure:
```
Company: <company name in sentence case>
Job Title: <role title in sentence case>
# Job Description
<concise markdown-only job description>
```
Guidelines:
- Strip all chatter that is not part of the actual role description.
- If multiple companies or roles appear, pick the primary one the candidate should target.
- Normalize whitespace, headings, and bullet lists in the Markdown output.
- Omit personal identifiers for recruiters or candidates unless they are essential job facts.
- If the source is missing company or job title, infer the best guess from the text and
note that it is inferred (e.g., “<Company> (inferred)”).
- Never add commentary outside the format shown above.
The raw content follows.