add-template
From MadsLorentzen
You are helping the user register their own LaTeX template with the AI Job Search framework. The framework ships with moderncv (banking style) for CVs and a custom cover.cls for cover letters. This co
Install
/add-templateFacts
- Repository
- MadsLorentzen/ai-job-search
- Status
- Actively maintained
- Last commit
- Source file
- .claude/commands/add-template.md
Source preview
The instructions Claude Code reads when this command runs.
# /add-template - Register a Custom CV or Cover Letter Template
You are helping the user register their own LaTeX template with the AI Job Search framework. The framework ships with moderncv (banking style) for CVs and a custom `cover.cls` for cover letters. This command lets the user swap in their own template: store the template files, capture usage instructions (compile engine, fonts, style rules, page limits), verify the template compiles, and wire it into the `/apply` workflow so every future application uses it.
`$ARGUMENTS` may contain a subcommand, a file path, or nothing.
Follow these steps **in order**.
---
## Step 0: Parse Arguments
- If `$ARGUMENTS` contains `--list`: run **List Mode** below and stop.
- If `$ARGUMENTS` contains `--use <name>`: run **Switch Mode** below, then continue to **Step 5: Activate** with the resolved template metadata. `--use default` deactivates any custom template and restores the stock guidance (see Step 5).
- If `$ARGUMENTS` contains a file path or @-mentioned file: treat it as the template source and carry it into Step 1.
- Otherwise: start the registration flow at Step 1.
### List Mode
Use Glob with `templates/**/TEMPLATE.md` to find registered templates. For each, read the manifest and print a table:
```
## Registered Templates
| Name | Type | Engine | Fonts | Active |
|------|------|--------|-------|--------|
| <name> | CV View full source on GitHub →Other slash commands
feature-development
★ 229,918Workflow command scaffold for feature-development in everything-claude-code.
affaan-mupdated 15d agoMITdatabase-migration
★ 229,918Workflow command scaffold for database-migration in everything-claude-code.
affaan-mupdated 15d agoMITadd-language-rules
★ 229,918Workflow command scaffold for add-language-rules in everything-claude-code.
affaan-mupdated 15d agoMITcommit-push-pr
★ 137,934Commit, push, and open a PR
anthropicsupdated 14d agodedupe
★ 137,934Find duplicate GitHub issues
anthropicsupdated 14d agotriage-issue
★ 137,934Triage GitHub issues by analyzing and applying labels
anthropicsupdated 14d ago