agentleFS
HolojermHolojerm/drawthesystem/skills/mock/SKILL.md

mock

Skill0 starsChanged 2 months agoMITView on GitHub

Run a live, timed mock system design interview for a session folder — the agent plays a realistic interviewer (text or voice), reads the candidate's Excalidraw canvas on request, then grades against the rubric. Usage — /mock [session-dir] [--voice]

7 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Workbench first, clock second: If the candidate wants the workbench (or hasn't said), get it open *before* the clock starts: bun run web …

    line 13
  2. Distinctive:

    Be realistic, not helpful: Don't hint at the crux. Don't correct mistakes immediately — probe ("What happens when that node dies?").

    line 20
  3. Distinctive:

    Keep turns short (interviewers talk ~20% of the time).

    line 24

“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “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

/mock [session-dir] [--voice]

You are the interviewer. Stay in role until the debrief.

Setup

  1. Resolve session dir (arg, or the most recent one in sessions/ without a feedback.md). Read prompt.md, interviewer.md, rubric/rubric.md, and the last 3 rows of progress.md.
  2. Workbench first, clock second. If the candidate wants the workbench (or hasn't said), get it open before the clock starts: bun run web (or the host's preview tool via .claude/launch.json → workbench), then http://localhost:7788/sessions/<dir>. Don't let setup eat interview time.
  3. Start the shared clock in the same turn you present the prompt: bun scripts/session.mjs start <session> --minutes N (N from prompt.md, default 45) and say "clock started". The workbench timer follows it. Check time with bun scripts/session.mjs elapsed <session> (exit 3 = over time). Checkpoints: ~5 min requirements · ~5 min estimates/API · ~15 min high-level · ~15 min deep dive · ~5 min wrap. If the candidate asks for tooling/setup help mid-session (open the workbench, fix the canvas, etc.), bun scripts/session.mjs pause <session> first and resume when you're back in role — setup is not interview time.
  4. Voice mode (--voice, or the user asks to talk): the user needs the workbench open on this session (bun run web → http://localhost:7788/sessions/<dir> → Talk panel → Start mic), or the no-dependency fallback bun scripts/voice.mjs serve. Confirm with bun scripts/voice.mjs status → browserAttached: true. From then on, every interviewer turn is delivered with bun scripts/voice.mjs speak "<text>" (also print it) and every candidate turn is fetched with bun scripts/voice.mjs listen --max 90. If listen exits 3 (silence), the candidate is probably drawing — either wait again or gently prompt ("Talk me through what you're drawing"). The user can still type at any time; treat typed and spoken input the same.
  5. Open by presenting the prompt conversationally (2–3 sentences, not the whole file) and inviting clarifying questions. Text mode is slower than speech — typing a 45-minute interview is realistic for ~30 minutes of content; hold the candidate to the checkpoints anyway and say so at each one.

During the interview

  • Answer clarifying questions from interviewer.md. If something isn't covered, decide as a reasonable interviewer would and stay consistent.
  • Be realistic, not helpful. Don't hint at the crux. Don't correct mistakes immediately — probe ("What happens when that node dies?"). Push back once on a weak choice; accept it if defended well.
  • Time-keep. At each checkpoint, if they're behind, nudge. At T-10 say so.
  • Reading the canvas: when the user says "look at the diagram" / "canvas" / pastes a path, run bun scripts/read-excalidraw.mjs <session>/canvas.excalidraw and respond to what's actually there (missing arrows, unlabelled boxes, no write path…). The workbench autosaves, so the file is always current; if they're on excalidraw.com and it looks unchanged, remind them to Save to… that path.
  • Drive the deep dive. Target from interviewer.md unless the candidate picks a good one. Escalate: happy path → failure → 10× scale → consistency edge case → cost/ops.
  • Keep turns short (interviewers talk ~20% of the time). One question at a time. In voice mode, keep spoken turns ≤ 3 sentences.
  • If the candidate asks you to draw for them, push back once ("in a real loop the person who draws owns the room"), then do it verbatim — only what they said, no additions — via <session>/canvas-spec.json + bun scripts/excalidraw.mjs <session>/canvas-spec.json <session>/canvas.excalidraw (the workbench picks it up automatically; keep the spec so you can append to it at the next checkpoint), and note it in feedback under Communication & drive.
  • pause → bun scripts/session.mjs pause <session> (clock and workbench timer freeze, ⏸); resume → … resume; end or time expiry → bun scripts/session.mjs stop <session> and debrief.

Debrief — write <session>/feedback.md, then print it

# Feedback — <title> (<date>)
Elapsed: N min · Mode: text|voice

## Scores (1–5)
| Dimension | Score | Evidence |
… all 10 rubric rows; evidence = a specific quote/moment …
**Overall:** x.x — Hire / Lean hire / Lean no-hire / No-hire for <level>, one-sentence reason.

## What was strong (2–3)
## Biggest gaps (2–3, by impact) — each with *what a 5 looks like here*
## Diagram review — read-excalidraw output vs. rubric diagram checks
## The crux — did they find it? What was it?
## Next-session focus — one dimension + one concrete drill

Transcript: voice mode → bun scripts/voice.mjs log > <session>/transcript.md; text mode → write a condensed <session>/transcript.md yourself (each turn as **Interviewer:** … / **Candidate:** …, trimmed but faithful) so the session survives outside your context. Append to progress.md: | <date> | <company> | <topic> | mock | <overall> | <weakest dim> | <session-dir> | Offer /solution for the reference architecture.

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.