Render a CV tailored to an offer
render_cvGenerates a one-page CV tailored to a job offer from existing profile data, choosing and ordering projects, experience, bullets, and tags without inventing content.
Instructions
Writes output/cv-.html, a version of the CV tailored to one offer: it chooses which projects, which lines of each project, which bullets and which tags go in, and in what order. If not everything fits, trim lines inside each project before dropping a whole project. It CANNOT invent content: everything must already exist in profile/cv-data.json, and the whole call fails if you cite an id or tag that is not there. Only headline, summary and location accept free text, because they are framing. Omit any section to keep it complete as is. Do NOT call it on your own after an analysis: propose the tailoring and wait for the user to ask for it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Why these choices for this offer. Stored as a comment inside the HTML, invisible when printed. | |
| stack | No | Tech Stack groups to show, in order. Omit it to include them all unchanged. | |
| offerId | Yes | Id of the offer this CV is tailored to, format YYYY-MM-company. It names the output file. | |
| summary | No | Sidebar summary. Free text, but it may only reorder and emphasise what is already true in cv-data.json: do not add technologies or experience that are not there. About 300 characters; longer pushes the rest of the column off the page. | |
| headline | No | Headline under the name. Free text (accepts <br>): it is framing, not a factual claim. Never claim a job title the person has not held. Omit it to keep the one in cv-data.json. | |
| location | No | Location line in the contact block. Free text: where the person lives and where they can work. E.g. 'Northbridge · Open to remote'. Omit it to keep the one in cv-data.json. | |
| projects | No | Projects to show, in order: the bare id for the whole project, or {id, lines} to keep only the lines that matter for this offer. This is where tailoring pays off most: put first the ones that touch the offer and, if it does not fit, trim lines before dropping a whole project. Omit it to include them all. | |
| education | No | Education ids, in order. Omit it to include them all. | |
| experience | No | Jobs to show, in order. Omit it to include them all. |