Undergraduate research CV
Undergraduate research CV
Purpose
This prompt makes a one-page A4 CV for applying to a lab as an undergraduate researcher, plus the email to the professor. The CV is set in LaTeX; the email is plain text you can paste. Only facts from your own notes go in, and a script checks the CV's numbers, tools and papers against those notes.
The AI picks items, edits wording, typesets, cross-checks and drafts the email. It does not add work you did not do, tools you never used, awards you did not get or papers you did not read. GPA, awards and scores stay exactly as given, never rounded or upgraded.
Input
- Required: the lab you are applying to and your notes (program, GPA, courses, what you did and got in each project, tools you have used, contact details). If they are missing, the AI asks one thing only: "Which lab are you applying to, and what goes in the CV (GPA, projects, tools you have used)?"
- Helpful: the posting (dates, hours per week, required documents), the lab's research topics, the lab papers you have read and which parts, your available hours, the professor's name and email.
- If your school or instructor gave you a template, that template comes first. A form required by the posting (a Word file, fixed fields) also comes first.
- If a project result has no number, the AI does not invent one. It asks once: "Is there a number from the result (capacity, accuracy, score)?" If not, the result line names the deliverable (report, code, talk).
- Sentences you mark "keep as is" are not edited.
Output
1. `profile.md` (your notes, organized), `cv.tex`, the compiled `cv.pdf` (one A4 page), `check_cv.py` (cross-check), and the email text in the chat.
2. In the chat, a "Please check" list of 3 to 7 lines: the cross-check result (n mismatches), items left out and why, numbers to ask you about, the basis for the lab-paper link (which part you read), and the page count.
3. If the AI cannot run code where you are, it gives the files and how to run them. It does not say it built the PDF or ran the check.
Rules
1. Steps
1) Read the posting: required documents, deadline, form, hours per week.
2) Organize your notes into `profile.md`. Keep "Used", "Not used" and "Lab papers read" as separate sections.
3) Put the project closest to the lab's topic first. Within a section, newest first.
4) Fill in `cv.tex` and run `python check_cv.py`. Fix until it reports 0 mismatches.
5) Compile twice. If the CV runs past one page, the build stops. Cut items, not the font size or margins.
6) Write the email (section 7).
7) Look at the PDF, then rename it, for example `Kim_Alex_CV_2026.pdf`.
2. Page layout
- A4, one page, margins 16 mm (14 mm top and bottom). Sans serif (Helvetica) 10 pt, dates and labels 9 pt, name 22 pt.
- Header: name → program and year, email, phone on one line → the lab you are applying to and your availability on one gray line.
- Section order: Research interests → Education → Research and project experience → Awards and scholarships → Tools and lab skills. Add Languages only with a test score or a course record. If the posting sets an order, follow it.
- Dates in a 31 mm left column; the type (course, team size) at the right edge. One accent color (navy) plus gray.
- No photo, date of birth, home address or gender unless the posting asks for them.
- Lines start with a past-tense verb or a noun: "Assembled 6 coin cells", not "I was responsible for the assembly of coin cells".
3. Each project in three lines
- What: the problem and the method, one line.
- My part: in a team, only what you did. Team size goes at the right edge.
- Result: a number with its unit. Without a number, the deliverable.
- Before → after
- "Worked on a battery-related project" → "My part: assembled 6 coin cells (glovebox), set charge/discharge conditions / Result: mean discharge capacity at 0.1C 152 mAh/g"
- "Successfully led the team as team leader" → "My part: cleaned 1 year of inverter CSV logs (8,760 rows), interpolated gaps, wrote Python for daily and monthly totals"
- "Gained a deep understanding of heat transfer through heat sink design" → "Result: target 15 W, calculated 16.2 W; report graded A"
4. Numbers and formats
- GPA exactly as on your transcript (3.87/4.3). Do not change the scale or convert it to a percentage or to a 4.0 scale. Give overall and major GPA separately, with the term they run through.
- Awards: competition, award name, date, team size. Do not upgrade the name: an Honorable Mention is not a "finalist" or a "prize".
- Dates as "Sep 2026", ranges with an en dash (Mar 2026 – Jun 2026), ongoing as "present".
- One email you check daily and one phone number.
- Every number in the CV must appear in `profile.md`. `check_cv.py` looks up each one and lists any it cannot find.
5. Tools and lab skills
- Only what you have used, each with one line on where. Tools you only watched a lecture about or opened once stay out.
- No level labels ("proficient", "advanced"). Where you used a tool shows the level.
- Before → after
- "Proficient in Python, MATLAB, COMSOL" → "Python (pandas, matplotlib): solar dashboard data, coin-cell cycling data". MATLAB was opened once and COMSOL only seen in lecture videos, so both are left out.
6. The link to the lab
- One or two lines under Research interests. Name one lab paper you actually read and the part you read ("Section 3"), and tie it to one question from your own work.
- If you have not read one, leave this line out. If you could not confirm the title and year, add `[check needed]`.
- No praise of the lab or the professor.
- Before → after
- "I was deeply impressed by the professor's outstanding research." → "After reading Section 3 of the lab's paper "…" (2025), I want to test whether the spread in 2C retention across my 6 coin cells (64–76 %) comes from differences in loading."
7. The email
- Subject: "Undergraduate research application: name, year, program".
- Body, 6–9 sentences: greeting and who you are → why you are writing (the posting) → what you did, with numbers, 2 sentences → the link to the lab, 1 sentence (only if you read a paper) → hours available → attachment and a request to meet.
- One attachment, the CV PDF, named `Family_Given_CV_year.pdf`.
- Schedule it to arrive on a weekday between 9:00 and 18:00. If there is no reply in a week, follow up once, as a reply to the same email.
- The email from the hypothetical case:
```text
Subject: Undergraduate research application: Alex Kim, third year, Energy Engineering
Attachment: Kim_Alex_CV_2026.pdf
Dear Professor Lee,
My name is Alex Kim, and I am a third-year student in the School of Energy Engineering. I am writing to apply for the undergraduate research position for spring 2027 that your lab posted.
This semester, in the Electrochemistry Lab course, I assembled six LFP half-cell coin cells and measured their discharge capacity from 0.1C to 2C. At 2C, capacity retention relative to 0.1C ranged from 64 to 76 % across the cells.
After reading Section 3 of your lab's paper [hypothetical] "Effect of electrode loading on the high-rate performance of LFP cathodes" (2025), I would like to find out whether this spread comes from differences in electrode loading.
I can commit 10 hours per week starting in January 2027. My one-page CV is attached, and I would be glad to meet at a time that suits you.
Best regards,
Alex Kim
School of Energy Engineering, third year | alex.kim@example.com | +1 555-555-0100
```
8. The two files
The two files below were run end to end on a hypothetical case: Alex Kim, a third-year energy engineering student, applies to the Electrochemical Energy Storage Lab at XX University, with the notes in `profile.md`. COMSOL and MATLAB were in the notes with no record of use, so they were left out, and `check_cv.py` confirms they stay out.
- `cv.tex`: `pdflatex cv.tex` twice. Overleaf's default compiler (pdfLaTeX) works.
- `check_cv.py`: `python check_cv.py` in the folder with `cv.tex` and `profile.md`.
- Why not moderncv: moderncv 2.3 always loads the icon packages fontawesome5 and academicons, and it does not compile where they are missing. Plain article gives the same result on Overleaf and on a local install.
9. Final check
- One page? Newest first within each section?
- `check_cv.py` reports 0 mismatches?
- Each project has What, My part and Result, with a number or a deliverable?
- GPA and awards exactly as given?
- The lab-paper link rests only on a paper you read and the part you read?
- Email subject in the form above, attachment named correctly?
- No errors or Overfull boxes in the log? Did the AI say whether it compiled and cross-checked, or only wrote the files?
Attachment 1 · cv.tex (LaTeX)
```latex
% cv.tex - one-page A4 CV for an undergraduate research position. Only facts from profile.md.
% Build: pdflatex cv.tex twice (Overleaf default compiler pdfLaTeX works). Cross-check: python check_cv.py
% The build stops if the CV runs past one page. Cut items, not the font size.
\documentclass[10pt,a4paper]{article}
\usepackage[margin=16mm,top=14mm,bottom=14mm]{geometry}
\usepackage[T1]{fontenc}
\usepackage[scaled=0.92]{helvet}
\usepackage{array,xcolor}
\renewcommand{\familydefault}{\sfdefault} % sans serif for the whole CV
\definecolor{acc}{HTML}{1F4E79}\definecolor{lab}{gray}{0.38}
\pagestyle{empty}\setlength{\parindent}{0pt}\linespread{1.12}
\newlength{\datew}\setlength{\datew}{31mm}\newlength{\labw}\setlength{\labw}{17mm}
\newcommand{\sect}[1]{\par\vspace{5mm}{\color{acc}\large\bfseries #1}\par\vspace{0.6mm}{\color{acc}\hrule height 0.6pt}\vspace{1.8mm}}
% one-line item: date, text, small note at the right edge
\newcommand{\row}[3]{\begin{tabular}{@{}>{\leavevmode\small\color{lab}}p{\datew}@{}p{\dimexpr\linewidth-\datew}@{}}#1 & #2\hfill{\small #3}\end{tabular}\par\vspace{0.8mm}}
% two-line item: date, title, note at the right edge (type), content below
\newcommand{\entry}[4]{\begin{tabular}{@{}>{\leavevmode\small\color{lab}}p{\datew}@{}p{\dimexpr\linewidth-\datew}@{}}
#1 & \textbf{#2}\hfill{\small #3}\\ & #4\end{tabular}\par\vspace{2.4mm}}
% project: dates, title, type (course, team size), what, my part, result (a number)
\newcommand{\proj}[6]{\entry{#1}{#2}{#3}{\begin{tabular}[t]{@{}>{\leavevmode\small\color{lab}}p{\labw}@{}>{\raggedright\arraybackslash}p{\dimexpr\linewidth-\labw}@{}}
What\\ My part\\ Result\end{tabular}}}
\newcommand{\skill}[2]{\row{}{\textbf{#1}\enspace{\small\color{lab}#2}}{}} % only tools actually used, with where
\newcommand{\lablink}[1]{#1} % link to the lab's work: only if the student actually read the paper
\AtEndDocument{\ifnum\value{page}>1 \errmessage{CV runs past one page. Cut items, not the font size}\fi}
\begin{document}
{\fontsize{22}{26}\selectfont\bfseries Alex Kim}\par\vspace{1.5mm}
School of Energy Engineering, third year\quad|\quad alex.kim@example.com\quad|\quad +1 555-555-0100\par\vspace{0.6mm}
{\small\color{lab}Applying to: Electrochemical Energy Storage Lab, XX University, spring 2027\quad Available: 10 h/week from Jan 2027}
\sect{Research interests}
High-rate (high C-rate) behavior of Li-ion battery electrodes. \lablink{After reading Section 3 of the lab's paper [hypothetical] ``Effect of electrode loading on the high-rate performance of LFP cathodes'' (2025), I want to test whether the spread in 2C retention across my 6 coin cells (64--76\,\%) comes from differences in loading.}
\sect{Education}
\entry{Mar 2024 -- present}{B.S. in Energy Engineering, XX University, third year}{expected Feb 2028}{Overall GPA 3.87/4.3, major GPA 3.92/4.3 (through spring 2026)}
\row{Courses}{\raggedright\mbox{Electrochemistry A+} \,$\cdot$\, \mbox{Heat Transfer A} \,$\cdot$\, \mbox{Thermodynamics A} \,$\cdot$\, \mbox{Intro.\ to Materials Science A} \,$\cdot$\, \mbox{Numerical Methods B+}}{}
\sect{Research and project experience}
\proj{Sep 2026 -- present}{Capacity of LFP half cells vs.\ C-rate}{Electrochemistry Lab course, team of 3}
{Compared the discharge capacity of LFP coin cells from 0.1C to 2C}
{Assembled 6 coin cells (glovebox), set charge/discharge conditions, plotted capacity--voltage curves in Python}
{Mean discharge capacity at 0.1C 152~mAh/g; 2C retention 64--76\,\% (vs.\ 0.1C, 6 cells)}
\proj{Mar 2026 -- Jun 2026}{Campus solar web dashboard}{Renewable Energy course, team of 4}
{Web dashboard showing PV generation from inverter logs}
{Cleaned 1 year of inverter CSV logs (8,760 rows), interpolated gaps, wrote Python for daily and monthly totals}
{3.1\,\% missing data interpolated; monthly generation chart on the dashboard; team presentation graded A}
\proj{Sep 2025 -- Dec 2025}{Heat sink fin design report}{Heat Transfer course, individual, 3 weeks}
{Rectangular-fin heat sink design}
{Designed a 12-fin array, calculated fin efficiency, wrote the report in LaTeX}
{Target 15~W, calculated 16.2~W; report graded A}
\sect{Awards and scholarships}
\row{Nov 2025}{Honorable Mention, XX University Energy Idea Competition}{team of 4}
\row{2025}{Academic Excellence Scholarship}{fall semester}
\sect{Tools and lab skills}
\skill{Python (pandas, matplotlib)}{solar dashboard data, coin-cell cycling data}
\skill{Coin-cell assembly (glovebox), battery cycler}{Electrochemistry Lab course}
\skill{LaTeX}{6 lab reports, heat sink design report}
\skill{Excel}{course assignments}
\end{document}
```
Attachment 2 · check_cv.py (Python)
```python
check_cv.py - cross-checks the facts in the CV (cv.tex) against the student's notes (profile.md).
Exit code 1 if anything does not match.
1) Every number in the CV body (GPA, dates, results) appears in profile.md: catches made-up numbers
2) Every tool written with \skill is under "Used", and nothing under "Not used" is in the CV
3) The link to the lab's paper (\lablink) is there only if "Lab papers read" records a reading
Run: python check_cv.py
import re
import sys
tex = open("cv.tex", encoding="utf-8").read()
prof = open("profile.md", encoding="utf-8").read()
body = tex.split("\\begin{document}")[1].split("\\end{document}")[0]
body = re.sub(r"\\(fontsize|vspace|hspace|rule)\*?(\{[^{}]*\})+", "", body) # drop font-size and spacing numbers
bad = 0
nums = sorted(set(re.findall(r"\d+(?:[.,]\d+)*", body)), key=lambda s: (len(s), s))
missing = [n for n in nums if not re.search(r"(?<![\d.,])" + re.escape(n) + r"(?!\d)", prof)]
print(f"{len(nums)} numbers, not found in profile.md: {missing or 'none'}")
bad += len(missing)
used = prof.split("## Used")[1].split("## Not used")[0]
unused = prof.split("## Not used")[1].split("##")[0]
for name in re.findall(r"\\skill\{([^}]*)\}", body):
ok = re.split(r"[ (]", name)[0] in used
bad += not ok
print(f"tool {name}: {'listed under Used' if ok else 'no record of use - remove it or ask the student'}")
for name in re.findall(r"^- ([^:]+):", unused, re.M):
ok = name not in body
bad += not ok
print(f"not used {name}: {'not in the CV' if ok else 'in the CV - remove it'}")
if "\\lablink{" in body:
ok = "## Lab papers read" in prof and "Read:" in prof.split("## Lab papers read")[1]
bad += not ok
print("link to the lab's paper:", "reading recorded" if ok else "no reading recorded - delete the line")
print(f"mismatches: {bad}")
sys.exit(1 if bad else 0)
```
Connect ChatGPT or Claude and use this prompt now · More prompts