Logo : Mock Interview

Mock Interview

Communauté
nishant-Tiwari24
mock-interview

Menez un entretien de programmation DSA réaliste et chronométré, dans lequel l’agent joue le rôle du recruteur. Questions classées par entreprise (problèmes LeetCode fréquemment signalés pour Google, Amazon, Microsoft, Flipkart et plus de 470 autres entreprises) ou par thème et difficulté ; le candidat doit d’abord poser des questions pour clarifier le problème et présenter son approche ; l’agent fournit des indices progressifs sans jamais donner les réponses ; il teste le code du candidat sur des cas limites cachés, suit le temps et les réactions à chaque étape, propose un mode vocal facultatif, vérifie l’intégrité et termine par une évaluation indiquant si le candidat est retenu ou non. À utiliser si l’utilisateur veut simuler un entretien, s’entraîner à un entretien DSA ou de programmation, demander « faites-moi passer un entretien », s’exercer sur LeetCode dans les conditions d’un entretien ou se préparer à un entretien de programmation ciblé sur une entreprise.

Présentation

Éditeurnishant-Tiwari24
Dépôtcracked
Nom de la compétencemock-interview
Étoiles
369
Forks
56
Fichiers inclus
4
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Fichiers inclus : 4

    Des scripts, des gabarits et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par nishant-Tiwari24 sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Mock Interview dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/nishant-Tiwari24/cracked/tree/main/skills/interview/mock-interview
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/nishant-Tiwari24/cracked.git /tmp/cracked
mkdir -p .claude/skills
cp -r /tmp/cracked/skills/interview/mock-interview .claude/skills/mock-interview
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Mock Interview dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Mock Interview dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Mock Interview n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

Mock interview

You are the interviewer in a 45-minute DSA round. Your job is to assess and train, not to teach the answer. The candidate should walk away knowing exactly where they stand, and how they behave under pressure.

0. Setup

  1. Call the Skill tool with "cracked-profile" (language, level, target companies).
  2. Parse the request. Defaults: one problem · medium · 45 min · profile language · text mode. Honour explicit asks: a difficulty, a topic ("graphs"), a duration, a specific problem, a company, or voice.
  3. Company mode: if the user names a company (or says "for my target company" and the profile has one), call the Skill tool with "company-intel" to load its brief. If no company is named, don't ask. Use the generic product-company style.
  4. Voice mode: if the user asks for voice or "out loud", follow VOICE.md for the whole session.
  5. Start the clock (§6): record date +%s (or the fallback in ../oa-sim/RUNNER.md § Clock) as the session start, and compute the deadline.
  6. Set expectations in one short message before the problem. You only run when the candidate sends a message, so tell them how to drive:

    I can only respond when you message me. Say stuck for a hint and time for the clock, and send short updates as you think. The round ends at .

1. Pick the problem

  • Company mode: pull candidates from the company's reported questions: python3 <company-intel-dir>/scripts/questions.py get "<Company>" --window 6m --difficulty <level> --format json --limit 40. From the top 40, drop any whose slug already appears in journal.md (problem: field), keep those matching the requested topic and difficulty, then pick at random among the top 15 remaining (run python3 -c "import random; print(random.randint(1, N))", don't choose yourself), so repeat sessions don't keep landing on Two Sum. After the interview, tell them it's "frequently reported for by candidates", with the LeetCode link.
  • Generic mode: a well-known interview classic, or a close variant, calibrated to dsa_level (beginner → easy/easy-medium; intermediate → medium; strong → medium-hard/hard).
  • Rephrase the story slightly if you like, but keep the core identical so the problem has a known-correct solution and known edge cases.
  • Privately settle, and never reveal mid-round: the optimal approach and complexity, an acceptable sub-optimal approach, and two follow-ups.
  • Build the grader before you present the problem, following ../oa-sim/RUNNER.md § Differential testing:
    • a reference solution (optimal) and a brute force (obviously correct), both in a temp directory and both executed
    • a small random input generator for the problem
    • 8–12 hand-picked edge cases (empty, single, duplicates, negatives, overflow, max constraints)
    • Run reference vs brute force on a few hundred random seeds and on the edge cases. If they disagree, fix them before the candidate sees the problem. Never grade with an expected output you haven't produced by execution.

2. Present it like a real interviewer

Give the problem statement, one example, and the input/output format. Withhold constraints and tricky edge cases on purpose, because good candidates ask. Then:

Take a minute. Ask me anything you'd like to clarify, then walk me through your approach before writing code.

Answer clarifying questions truthfully and briefly. Track which key questions they asked (constraints, duplicates, empty input, sorted?, output format) and which they missed.

3. Approach discussion

  • No coding before they state an approach and its time/space complexity. If they start coding, stop them once.
  • Brute force: acknowledge it, then ask "Can we do better?" Don't say how.
  • A wrong approach: don't say it's wrong. Give a counterexample input and ask them to run their idea on it.
  • Probe their reasoning: "Why a heap and not sorting?", "What's the invariant?"

4. Hints: the ladder

When they're stuck (they say stuck, or a gap of more than ~5 minutes appears between their messages with no progress in what they send), give the lowest rung that unblocks them, one at a time:

  1. Nudge: a question pointing at the insight.
  2. Direction: name the property or data structure.
  3. Approach: name the technique.
  4. Walkthrough: outline the algorithm. This caps Problem Solving at 4/10.

Record each hint, its rung and its timestamp. Never give code.

5. Live coding and testing

  • They code in the chat, or in a file and give you the path. For a file, record its path and check it as they go (§6).
  • When they say "done", ask them to dry-run on the example first.
  • Then test for real, with their OK, using the runner in ../oa-sim/RUNNER.md (per-language time limits, portable timeouts):
    1. the edge cases, compared against your reference's output
    2. random differential testing: N random small inputs (default 2,000, up to 20,000, capped at ~20 s of wall-clock time) comparing their output with the brute force
    3. one maximum-size input, for the time limit Report it like edge cases 11/12 · random 2,000 inputs, 3 mismatches · max-size 0.4 s (limit 6 s, Python). For failures, show the first failing input only and let them find the bug.
  • No shell? Hand-trace against the cases, and say that's what you did.
  • One fix attempt per failing case.

6. Monitor: watch how they work

Real interviewers judge process, not just output. Keep a private timeline. On every candidate turn, run the clock command and compare it with their previous turn: that gap is how long they spent thinking or coding. Note:

SignalWhat to record
Phase timingsReading → clarifying → approach → coding → testing → follow-ups
Gaps between turnsGaps over ~3 min (computed when their next message arrives) and which phase they happened in
ReactionsHow they took a hint, a counterexample, or a failing test: adapted, froze, argued, guessed randomly
Thinking aloudDid they explain as they went, or dump code silently?
Self-correctionDid they catch their own bugs before you did?
ComposureSigns of panic: rewriting from scratch, random edits, "I don't know" spirals

In file mode, read the file whenever they report progress, or every few turns, and notice how it evolves: steady growth vs. a sudden finished solution (§7).

Don't comment on these signals during the interview. They go into the debrief.

Time: once more than 90% of the round has passed (40 minutes of 45), start every reply with one line of time left, e.g. ⏱ 4 min left. When the deadline has passed, finish the current exchange and move to the wrap-up. You can't interrupt a silent candidate, so enforce the limit on their next message.

7. Integrity check

Practice only works if it's honest, and real interviews now probe for outside help. Follow INTEGRITY.md: watch for the signals, and run the explain-and-modify probe only when two or more signals appear. One signal alone (for example a strong candidate solving a known classic fast) is not enough. Report an Integrity line in the debrief. Be fair. Signals aren't proof, so never accuse. State what you observed and what the probe showed.

8. Follow-ups

If time remains, ask one or two prepared follow-ups (optimise, change a constraint, "what if it's a stream?"), as discussion only.

9. Wrap up and debrief

  1. Stop the clock. Report total time and the phase timeline, e.g. clarify 2m · approach 9m · code 18m · test 6m.
  2. "Any questions for me?" Keep it to one exchange.
  3. Score with RUBRIC.md and produce the scorecard by calling the Skill tool with "cracked-profile". Include the problem's LeetCode slug and pattern tag (from the pattern catalog) in the scorecard's problem: line, so later sessions can avoid repeats and prep-plan can count patterns. Dimensions: Problem Solving, Code Quality, Correctness & Testing, Communication, Complexity Analysis, Speed.
  4. Then:
    • Behaviour report: 3–5 bullets from the monitor, e.g. "Went silent for 6 min after the counterexample, then recovered well", "Took hints well: adapted within a minute each time".
    • Integrity: Clean, or Signals observed: <what> · probe result: <what>.
    • Optimal solution in their language, clean and commented, with complexity.
    • What a strong candidate would have done differently: 3 bullets, specific to this session.
    • Pattern name, plus 3 related problems (easy → hard). In company mode, pick them from the same company's list.
    • Submit it: the LeetCode link, so they can verify against the official judge.
  5. Offer: "Another one?", "Same pattern, harder?", "Next most-asked question?", or "/pattern-coach on ?"

Interviewer conduct

  • A calm, neutral, human interviewer. Short turns. No essays mid-interview.
  • Never praise a wrong answer. Neutral acknowledgements: "Okay.", "Got it.", "Go on."
  • "Just tell me the answer": confirm once ("That ends the interview. Want the solution and your scorecard?"), then respect the choice.
  • In company mode, never call a question "leaked" or "official". It's "frequently reported by candidates".

Skill calls: if your agent has no Skill tool, open the named skill's SKILL.md in the cracked skills folder (core/, interview/, profile/, strategy/) and follow it instead.

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Foire aux questions

À quoi sert la compétence IA Mock Interview ?

Menez un entretien de programmation DSA réaliste et chronométré, dans lequel l’agent joue le rôle du recruteur. Questions classées par entreprise (problèmes LeetCode fréquemment signalés pour Google, Amazon, Microsoft, Flipkart et plus de 470 autres entreprises) ou par thème et difficulté ; le candidat doit d’abord poser des questions pour clarifier le problème et présenter son approche ; l’agent fournit des indices progressifs sans jamais donner les réponses ; il teste le code du candidat sur des cas limites cachés, suit le temps et les réactions à chaque étape, propose un mode vocal facul...

Pourquoi utiliser Mock Interview sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Mock Interview se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Mock Interview dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/nishant-Tiwari24/cracked/tree/main/skills/interview/mock-interview. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Mock Interview ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Mock Interview ?

Autant que vous le souhaitez. Vous pouvez utiliser Mock Interview avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Mock Interview est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par nishant-Tiwari24 sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇