Documentation Index
Fetch the complete documentation index at: https://mintlify.com/SudharakaA/ai-job-search/llms.txt
Use this file to discover all available pages before exploring further.
/add-template lets you replace the stock LaTeX templates with your own. The framework ships with moderncv banking style for CVs and a custom cover.cls for cover letters. If you have a template you prefer, /add-template stores the files, captures the compile instructions and style rules, runs a mandatory test compile to verify the template works, and inserts a managed block into the guidance files that /apply reads during drafting. From that point on, every /apply run uses your template without any further configuration.
Syntax
| Invocation | Behavior |
|---|---|
/add-template | Starts the registration flow |
/add-template --list | Prints a table of all registered templates (name, type, engine, fonts, active status) |
/add-template --use <name> | Activates a previously registered template by name |
/add-template --use default | Deactivates any custom template and restores the stock moderncv / cover.cls guidance |
Registration flow
Template type and source
/add-template asks whether you are registering a CV template or a cover letter template, and where the template is. You can provide:- A path or
@-mention of a.texfile, with optional.cls/.styfiles - Pasted LaTeX content
- A directory containing the template and all its assets
/add-template confirms you have the file and asks for it if it is missing, since the template cannot compile without it.Capture template instructions
/add-template infers as much metadata as possible from the LaTeX source (documentclass, \fontspec calls, geometry, colors) and presents its inferences for you to confirm, rather than asking blind questions. The metadata it collects:| Field | Notes |
|---|---|
| Name | Short kebab-case identifier (for example, awesome-cv or classic-serif); must not collide with an existing folder in templates/ |
| Compile engine | lualatex, xelatex, or pdflatex. If the source uses fontspec or loads font files by path, it requires xelatex or lualatex, and /add-template tells you this rather than letting you pick pdflatex |
| Fonts | Which fonts the template uses and whether they are bundled .ttf/.otf files (copied into the template folder) or system/TeX-distribution fonts (must be installed on your machine) |
| Style rules | Color scheme, section order, heading style, spacing conventions, bullet formatting, and date format. Everything the drafter must preserve when filling the template |
| Page limit | Hard page count: 2 pages for a CV, 1 page for a cover letter by default |
| Known pitfalls | Optional: macros that break with certain content, characters needing escaping, sections that must not be reordered |
Store the template
The template is saved under:
- CV:
templates/cv/<name>/ - Cover letter:
templates/cover_letters/<name>/
template.tex: the template skeleton, with all personal data replaced by[PLACEHOLDER]tokens ([YOUR_NAME],[YOUR_EMAIL],[YOUR_PHONE],[YOUR_LINKEDIN_URL], etc.) so the template is profile-agnostic and shareable- Class and style files: any
.cls/.styfiles copied alongsidetemplate.tex fonts/: bundled font files, withPathvalues intemplate.texadjusted to be relative to the template folderTEMPLATE.md: the manifest, using this format:
Verify the template compiles (mandatory)
No template is registered without a successful test compile. If the compile fails,
/add-template copies template.tex to a scratch file, fills every [PLACEHOLDER] with realistic dummy data (name, contact line, one education entry, one job entry with three bullets), and compiles with the declared engine:/add-template shows the relevant error lines, diagnoses the cause (missing font file, wrong engine, missing class), and fixes what it can. If the fix requires a file only you have (a missing font or a license-restricted class), it asks and waits.On success, the compiled PDF is inspected to confirm the layout renders sensibly. Any surprises found during the test are recorded in the manifest’s “Known pitfalls” section. The scratch files and build artifacts are deleted before proceeding.Activate the template
Activation inserts a managed block immediately after the H1 title in the relevant guidance file:There is exactly one managed block per guidance file. Switching templates replaces the entire block between the
- CV templates:
.claude/skills/job-application-assistant/05-cv-templates.md - Cover letter templates:
.claude/skills/job-application-assistant/06-cover-letter-templates.md
/apply reads these files during its drafting step, so the block is all the wiring needed. The block looks like this:BEGIN/END markers. Running /add-template --use default removes the block entirely, and the stock moderncv or cover.cls guidance below it takes over again.Switching and listing templates
Related commands
/apply
Uses the active template to draft and compile your CV and cover letter
/add-portal
Add a job portal skill alongside your custom template
/setup
Populate the profile data that fills your template’s placeholders