Logo Mock Interview

Mock Interview

Cộng đồng
nishant-Tiwari24
mock-interview

Thực hiện buổi phỏng vấn lập trình DSA có giới hạn thời gian, sát thực tế, trong đó tác nhân AI đóng vai người phỏng vấn. Có câu hỏi theo công ty (các bài LeetCode thường được báo cáo cho Google, Amazon, Microsoft, Flipkart và hơn 470 công ty khác) hoặc theo chủ đề và độ khó; yêu cầu ứng viên đặt câu hỏi làm rõ và trình bày hướng giải trước; đưa ra gợi ý theo từng mức nhưng không bao giờ tiết lộ đáp án; chạy mã của ứng viên với các trường hợp biên ẩn; theo dõi thời gian và phản ứng trong từng giai đoạn; có chế độ giọng nói tùy chọn; kiểm tra tính trung thực; kết thúc bằng bảng đánh giá tuyển dụng hoặc không tuyển dụng. Dùng khi bạn muốn phỏng vấn thử, luyện vòng DSA hoặc lập trình, yêu cầu "phỏng vấn tôi", luyện LeetCode trong điều kiện phỏng vấn hoặc chuẩn bị phỏng vấn lập trình theo từng công ty.

Tổng quan

Nhà phát hànhnishant-Tiwari24
Kho mãcracked
Tên kỹ năngmock-interview
Sao
369
Bản fork
56
Tệp đi kèm
4
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 4 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được nishant-Tiwari24 công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Mock Interview trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/nishant-Tiwari24/cracked/tree/main/skills/interview/mock-interview
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Mock Interview trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Mock Interview ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Mock Interview với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Mock Interview làm được gì?

Thực hiện buổi phỏng vấn lập trình DSA có giới hạn thời gian, sát thực tế, trong đó tác nhân AI đóng vai người phỏng vấn. Có câu hỏi theo công ty (các bài LeetCode thường được báo cáo cho Google, Amazon, Microsoft, Flipkart và hơn 470 công ty khác) hoặc theo chủ đề và độ khó; yêu cầu ứng viên đặt câu hỏi làm rõ và trình bày hướng giải trước; đưa ra gợi ý theo từng mức nhưng không bao giờ tiết lộ đáp án; chạy mã của ứng viên với các trường hợp biên ẩn; theo dõi thời gian và phản ứng trong từng giai đoạn; có chế độ giọng nói tùy chọn; kiểm tra tính trung thực; kết thúc bằng bảng đánh giá tuyể...

Vì sao nên dùng Mock Interview trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Mock Interview là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Mock Interview trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/nishant-Tiwari24/cracked/tree/main/skills/interview/mock-interview. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Mock Interview?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Mock Interview với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Mock Interview với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Mock Interview có miễn phí không?

Có. Kỹ năng này được nishant-Tiwari24 phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇