
Software
LandedTheJob
An LLM pipeline that turns messy inputs (PDF resumes, scraped job pages) into structured data, then generates job-specific resumes under truthfulness and style constraints.
- LLM application
- Claude API
- Structured extraction
- Multimodal input
- Prompt constraints
- TypeScript
- Model call sites
- 5
- Job posting to structured JSON
- 3.8 s
- Tailored resume JSON
- 14.7 s
- Cover letter
- 9.1 s
Timings are from one run on my local machine with claude-sonnet-4-6, on a fictional candidate and a fictional job posting. Not a benchmark.
LandedTheJob is a deployed web app. It takes a job seeker's career history and a job posting, and produces a resume and cover letter rewritten for that posting.
The resume above is real output from the pipeline, for a made-up candidate and a made-up job posting. It also breaks my own no-fabrication rule. I ran the pipeline once to see what it did, and that run is the center of this page.
This is prompt design, structured extraction, multimodal input handling and output constraint around a hosted model. I did not train or fine-tune anything.
01
Spec
| Lane | Software |
|---|---|
| Status | In progress |
| Role | Sole developer. Built with heavy AI pair-programming (Claude Code), and the commit history shows that. |
| Built | First working version shipped in two days, 16 to 17 April 2026 |
| Model | claude-sonnet-4-6 through the Anthropic SDK |
| Stack | Next.js 15 (App Router, React 19), TypeScript, Prisma 6 on Postgres (Neon), Clerk auth, Stripe billing, Tailwind |
| Hosting | Vercel |
| Code | About 5,200 lines of TypeScript |
| Tests | No automated tests or evaluation harness yet |
02
Pipeline
How it works
The app has five separate model call sites. Two turn messy input into structured data. Two generate documents from that data. One rewrites a single bullet.
The model emits JSON and code emits the document. Resume tailoring returns a ResumeData object against a fixed schema. A hand-written renderer escapes every string and places it into a fixed template. The model never writes HTML. That keeps the layout identical across generations, and it means text in a job posting, which is untrusted input, cannot inject markup or change the document structure.
Resume file
PDF, image, DOCX or text.
Job URL or pasted text
HTML is stripped to text first.
Then, one extraction call each:
1Profile extraction
Structured profile, merged into Postgres.
2Job parsing
Structured Job row.
Then, profile plus job:
3Resume tailoring
Returns ResumeData JSON.
4Cover letter
Returns plain text. Also given text from the company site.
Call 5, bullet rewrite, sits outside this flow. It takes one bullet at a time.
Then, JSON and plain text, never HTML:
Deterministic renderer
Code escapes every string and places it in a fixed template.
03
Inputs
Messy inputs, one schema
Resume import is routed by file type. PDFs go to the model as native document blocks. Images go through vision. DOCX is converted to text first with mammoth. Everything else is sent as text. One extraction prompt and one schema serve all four paths. The merge into the database is additive: it only fills blank personal fields and dedupes skills case-insensitively, so a bad extraction cannot overwrite what the user typed.
The first job importer parsed JSON-LD and OpenGraph tags. It broke on entity-encoded company names and on sites without structured data. I replaced it with LLM extraction. Now the URL path and the paste path both strip HTML to text and send it through the same extraction prompt and schema, so there is one code path to maintain. Text from a fetched page is cut at 60,000 characters. Pages that return under 100 characters of text are rejected with a message telling the user to paste the listing instead.
04
Constraints
Constraining the model
The resume prompt carries four sets of rules. Truthfulness: never invent employers, dates, tools or credentials, and omit a required skill rather than claim it. Keyword fidelity: reuse the posting's exact noun phrases, such as "Kubernetes" and not "k8s", where the candidate has the experience. Seniority: match the posting's verb tier, but never over-level. Voice: a banned-word list, no em dashes, varied bullet length and opening verbs. The cover letter prompt adds banned stock openings and asks for uneven sentence lengths.
Where a rule is cheap to check in code, I check it in code. The punctuation rules are enforced after generation by a regex scrub. The template is a single column with plain-text separators, neutral class names and standard section headings, because multi-column grids and styled separators parse badly in applicant tracking systems.
These two excerpts are the rules that the run below broke.
Truthfulness rules (non-negotiable):
- Never fabricate experience, employers, dates, tools, or credentials.
- Reuse the candidate's real role titles, companies, and dates exactly.
- If the JD requires a skill the candidate does NOT have in their profile, do not claim it. Omit rather than invent.
[...]
- Match your bullet verbs to the JD's tier, but ONLY when the candidate's actual experience supports that level. Never over-level: if the source material says "helped build", do not write "led the architecture of". When in doubt, stay one tier below the JD rather than inflate.05
Measured
What I measured, and what failed
I ran the production pipeline once. The candidate is fictional: "Jordan Rivera", a backend engineer. The posting is fictional too: an ML platform role that requires Kubernetes, Kafka and PyTorch. None of the three appear in the candidate's profile. The employers and the company in the posting are also made up.
The resume output broke the truthfulness rules in three ways. The prompt says to omit a skill the candidate lacks. The model hedged with "(familiar)" instead. It also turned "helped maintain" into "owned" and invented deploy gates. And it added "improving model quality", a phrase lifted from the posting, to a bullet about catching outages.
This is one run. It shows the failure exists. It does not give a rate, and I have not measured how often it happens.
Prompt instructions are a request, not an enforcement mechanism, and the pressure to match a job description pulls directly against a no-fabrication rule.
| Failure | What the fictional candidate's profile had | What the output claimed |
|---|---|---|
| Claimed tools | Skills: Python, SQL, FastAPI, scikit-learn, PostgreSQL, Docker, GitHub Actions, Grafana, RabbitMQ, AWS. No PyTorch, Kubernetes or Kafka. | "PyTorch (familiar)", "Kubernetes (familiar)", "Kafka (familiar)", plus "data drift detection" and "evaluation gates" |
| Over-leveling | "Helped maintain the deploy pipeline in GitHub Actions and Docker" | "Owned CI/CD pipelines in GitHub Actions and Docker, including automated deploy gates that prevented bad builds from reaching production" |
| Keyword bleed | "Added dashboards and alerts in Grafana that caught 3 outages before customers reported them" | "Added monitoring and alerting in Grafana that caught 3 outages before customers reported them, improving model quality and service health visibility" |
Some things worked in the same run. Job parsing separated the description from the requirements, kept salary and location, and dropped the nav, "Apply now" and recruiter-contact boilerplate. The resume reused the posting's phrasing where the candidate had real backing: "p95 latency", "Amazon Web Services (AWS)", "message queue", "data pipeline". Neither document contained a banned word or an em dash.
The cover letter stated the gap honestly: "I haven't yet worked inside a PyTorch training cluster or written drift detection from scratch."
The full inputs and outputs of the run are in the repo, at docs/portfolio/sample-output/pipeline-run.json.
06
Next
What I would build next
None of this is built. There are no automated tests and no evaluation harness yet. These are the four pieces I would add, in this order.
Grounding check
Planned, not built
A deterministic check. Every tool or skill term in the output must trace to a term in the stored profile. Otherwise it is removed, or the generation is retried.
Evaluation set
Planned, not built
A small set of profile and posting pairs with deliberate skill gaps, scored for fabricated terms and for posting-keyword coverage. Then prompt changes can be compared by number instead of by reading.
Keyword match and gap report
Planned, not built
Structured keyword extraction from the posting, with a match score and a gap report shown to the user.
Structured output
Planned, not built
Move from parsing JSON out of text to the API's structured output support, so schema violations cannot occur.
07
Around the model
Engineering around the model
Credits are spent with an atomic conditional update, so two concurrent requests cannot overspend. A failed model call refunds the credit. The Stripe webhook is the single writer of billing state.
Per-user rate limits sit on every model route: 10 resume generations per minute, 5 profile imports per hour, 30 bullet rewrites per minute. The rate limiter is in-memory, which is a known single-instance limitation.
The company context for cover letters is a single fetched page truncated to 6,000 characters. It is not retrieval.
08
Product
The live product
The app is live at landedthejob.com and the repo is public. I have no user, signup or revenue numbers to report, so I state none.
I am Atreyu Sutton. I am studying for an M.S. in Engineering at the ATLAS Institute, CU Boulder, after a B.A. in Computer Science at Rollins College, and I am looking for AI/ML engineering internships.
09
Next