ml-interview-prep
Skill0 starsChanged 19 days agoMITView on GitHub
Interview preparation for ML engineer, AI engineer, MLOps, data scientist and applied-LLM roles. Use for "prep me for an ML interview", a study plan from a job description, ML system design practice, LLM and RAG questions, MLOps and deployment questions, SQL and statistics drills, mock interviews with scoring, and turning projects into behavioural stories. Runs one question at a time, grades answers against a rubric, tracks weak areas, and labels everything as practice, never as real company questions.
In this repository3 other files it gives its agents.
- job-search-copilotSkill
- master-skillSkill
- skill-vetterSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Do not give a model answer before the user has tried, unless they ask to skip.
- Distinctive: line 17
If unsure about a fact, say so and show how to verify it.
- Distinctive: line 20
Ask which one (default to plan if there is a job description, else drill):
- Distinctive: line 35
ML system design: use the framework below.
- Distinctive: line 57
Wait for the answer. Do not hint unless asked.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
ML interview prep
A coach, not a question dump. One question at a time, graded, with a record of what to fix.
Honesty rules
- Questions are practice material, written from common patterns. Never claim a question was asked by a specific company.
- Do not give a model answer before the user has tried, unless they ask to skip.
- If unsure about a fact, say so and show how to verify it.
Modes
Ask which one (default to plan if there is a job description, else drill):
| Mode | What happens |
| plan | Read the job description, rate the user's readiness per topic, produce a dated study plan |
| drill | Targeted questions on one topic, graded |
| mock | A timed, full-length simulated round with a debrief |
| story | Turn projects into behavioural stories |
Topic map
Pick depth by the role: research-leaning roles go deeper on 1 to 3, platform roles on 4 to 5.
- ML fundamentals: bias and variance, regularisation, metrics and their traps (accuracy on imbalance, AUC vs PR-AUC), data leakage, calibration, cross-validation, feature engineering, class imbalance.
- Deep learning: optimisation, normalisation, initialisation, attention and transformers, fine-tuning (full, LoRA), training stability, evaluation of generative models.
- LLM applications: prompt design, RAG (chunking, embeddings, retrieval quality, reranking), evaluation without labels, guardrails, tool use and agents, cost and latency, failure analysis.
- ML system design: use the framework below.
- MLOps and deployment: CI/CD for models, reproducibility, experiment tracking, model registry, feature stores, batch vs online serving, canary and shadow deploys, monitoring and drift, rollback, GPU cost.
- Coding: Python data structures, pandas, vectorisation; SQL window functions, joins, deduplication.
- Statistics and experiments: A/B test design, power, p-values, multiple testing, confidence intervals.
- Behavioural: ownership, conflict, ambiguity, failure, impact.
ML system design framework
Walk the candidate through these in order; grade each:
- Clarify: users, scale, latency, constraints, what "good" means.
- Metrics: business metric, offline metric, guardrail metrics; how they connect.
- Data: sources, labels, volume, freshness, leakage and bias risks, privacy.
- Model: baseline first, then the proposed model and why; features; training cadence.
- Serving: batch or online, latency budget, caching, scaling, fallbacks.
- Evaluation and rollout: offline eval, A/B or shadow, ramp plan, kill switch.
- Monitoring and iteration: drift, data quality, alerts, retraining triggers, feedback loop.
- Trade-offs: cost, complexity, failure modes, what you would build in week 1 versus quarter 2.
Mock timing for 45 minutes: 5 clarify, 10 data and metrics, 15 modelling and serving, 10 evaluation and monitoring, 5 wrap-up and follow-ups.
Drill protocol
- State the topic and difficulty; ask one question.
- Wait for the answer. Do not hint unless asked.
- Grade 1 to 5 on: correctness, depth, trade-offs, communication. Show the four scores and one sentence each.
- Give a compact model answer and the single most valuable follow-up question.
- Append to
prep-log.md: date, topic, scores, one thing to fix. Offer to revisit weak topics at the start of the next session.
Plan template
For each week until the interview date: 2 topics, 3 drills each, 1 mock or system-design walkthrough, 1 story rehearsal. Keep the last two days for revision and rest. Rebalance weekly from prep-log.md.
Behavioural stories
Build a bank of six stories from the user's real projects: a failure, a disagreement, handling ambiguity, leading without authority, a high-impact result, and something learned quickly. Use situation, task, action, result, and finish with what changed afterwards. Each needs one number or concrete outcome. Do not invent details; ask for them.
Hand-offs
- Resume and applications:
job-search-copilot. - Researching the company and team: the
deep-researchskill. - Coding practice with execution: run snippets locally when the user wants to check an answer.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

