agentleFS
Soum-CodeSoum-Code/master-skill-hub/skills/ml-interview-prep/SKILL.md

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.

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
  1. Distinctive:

    Do not give a model answer before the user has tried, unless they ask to skip.

    line 16
  2. Distinctive:

    If unsure about a fact, say so and show how to verify it.

    line 17
  3. Distinctive:

    Ask which one (default to plan if there is a job description, else drill):

    line 20
  4. Distinctive:

    ML system design: use the framework below.

    line 35
  5. Distinctive:

    Wait for the answer. Do not hint unless asked.

    line 57

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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):

ModeWhat happens
planRead the job description, rate the user's readiness per topic, produce a dated study plan
drillTargeted questions on one topic, graded
mockA timed, full-length simulated round with a debrief
storyTurn 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.

  1. 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.
  2. Deep learning: optimisation, normalisation, initialisation, attention and transformers, fine-tuning (full, LoRA), training stability, evaluation of generative models.
  3. LLM applications: prompt design, RAG (chunking, embeddings, retrieval quality, reranking), evaluation without labels, guardrails, tool use and agents, cost and latency, failure analysis.
  4. ML system design: use the framework below.
  5. 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.
  6. Coding: Python data structures, pandas, vectorisation; SQL window functions, joins, deduplication.
  7. Statistics and experiments: A/B test design, power, p-values, multiple testing, confidence intervals.
  8. Behavioural: ownership, conflict, ambiguity, failure, impact.

ML system design framework

Walk the candidate through these in order; grade each:

  1. Clarify: users, scale, latency, constraints, what "good" means.
  2. Metrics: business metric, offline metric, guardrail metrics; how they connect.
  3. Data: sources, labels, volume, freshness, leakage and bias risks, privacy.
  4. Model: baseline first, then the proposed model and why; features; training cadence.
  5. Serving: batch or online, latency budget, caching, scaling, fallbacks.
  6. Evaluation and rollout: offline eval, A/B or shadow, ramp plan, kill switch.
  7. Monitoring and iteration: drift, data quality, alerts, retraining triggers, feedback loop.
  8. 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

  1. State the topic and difficulty; ask one question.
  2. Wait for the answer. Do not hint unless asked.
  3. Grade 1 to 5 on: correctness, depth, trade-offs, communication. Show the four scores and one sentence each.
  4. Give a compact model answer and the single most valuable follow-up question.
  5. 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-research skill.
  • Coding practice with execution: run snippets locally when the user wants to check an answer.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.