Skip to content

The job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.

fix(templates): correct 06 structure-block antipattern and 05 needspace scope (#183)

Mads Lorentzen12717d2c12d3
diff --git a/.claude/skills/job-application-assistant/05-cv-templates.md b/.claude/skills/job-application-assistant/05-cv-templates.md
index 1483c23a..ffaa902f 100644
--- a/.claude/skills/job-application-assistant/05-cv-templates.md
+++ b/.claude/skills/job-application-assistant/05-cv-templates.md
@@ -1,5 +1,5 @@
---
-framework_version: 1.1.0
+framework_version: 1.1.1
---
# CV Templates and Tailoring Guide
@@ -171,6 +171,8 @@ Add `\needspace{5\baselineskip}` immediately before the problematic `\cventry`:
```
Include `\usepackage{needspace}` in the preamble.
+**Caveat - use `\needspace` before entries, never before `\section` headings.** A section-level `\needspace` pushes the entire section (heading plus content) to the next page whenever the request does not fit, stranding empty space above and typically *adding* a page instead of saving one. Apply it only to the individual `\cventry` that actually orphans, and only after a compile shows the orphan.
+
**Problem: one trailing section spills to page 3 (e.g., References alone on page 3)**
Add `\enlargethispage{2-3\baselineskip}` before a late section (e.g., before `\section{Honors and Awards}`) to stretch page 2 by a few lines. This is the standard LaTeX rescue for near-miss overflows.
diff --git a/.claude/skills/job-application-assistant/06-cover-letter-templates.md b/.claude/skills/job-application-assistant/06-cover-letter-templates.md
index 0a0223c8..1d1f8c23 100644
--- a/.claude/skills/job-application-assistant/06-cover-letter-templates.md
+++ b/.claude/skills/job-application-assistant/06-cover-letter-templates.md
@@ -1,5 +1,5 @@
---
-framework_version: 1.0.0
+framework_version: 1.0.1
---
# Cover Letter Templates and Tailoring Guide
@@ -88,15 +88,16 @@ The font wrapper is mandatory — if you just move `\begin{itemize}` outside `\l
\lettercontent{[Opening paragraph - role, connection to background, 2-3 sentences]}
-\lettercontent{[Body paragraph - most relevant experience, then bullet list]
+\lettercontent{[Body paragraph - most relevant experience, introducing the bullet list]}
+{\raggedright\fontspec[Path = OpenFonts/fonts/raleway/]{Raleway-Medium}\fontsize{11pt}{13pt}\selectfont
\begin{itemize}
\item [Concrete achievement/skill 1]
\item [Concrete achievement/skill 2]
\item [Concrete achievement/skill 3]
-\end{itemize}
+\end{itemize}\par}
-[Connection to company - why this role, why this company specifically]}
+\lettercontent{[Connection to company - why this role, why this company specifically]}
\lettercontent{[Personal fit paragraph - behavioral strengths, team contribution, 2-3 sentences]}