Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

interview-cheatsheet

БесплатноБез исполняемых скриптовНе проверен

Generate a long-form Chinese interview-prep cheat sheet on a specific ML/LLM topic — formulas with derivations, from-scratch PyTorch code, comparison tables…

wanshuiyinот wanshuiyin★ 20 260 звёзд на GitHub

Об этом скилле

/interview-cheatsheet — long-form Chinese ML/LLM interview prep

Before each reviewer slot, follow Selectable Reviewers: resolve invocation → .aris/reviewer.json → Claude Code default (Codex MCP) with reviewer_route.py through the canonical helper resolver, preserving this slot's tier, fresh contexts, source/image inputs and deterministic gates. Codex examples/pins below apply only to backend=codex; other routes use their own first-call/reply contract. Save the route and actual returned identity; unavailable selections are REVIEW_UNAVAILABLE. Classify acceptance from actual families/completion/scope. Forward invocation reviewer/model/effort overrides to reviewer-bearing children. Generation workers are unchanged.

Generate one comprehensive Chinese cheat sheet per invocation: formulas + derivations + from-scratch code + 分层面试题. Output passes cross-model math/code review before rendering. Detect-only by default: never auto-commits.

Inputs

  • <topic> (required) — focused enough for one coherent tutorial. Good: "RLHF / DPO / PPO", "MoE", "KV Cache + Speculative Decoding". Bad (too broad): "all of LLM training", "diffusion" (split into Forward Process / Sampling / CFG separately).
  • --effort (default balanced) — balanced covers the core intuition, derivations, working implementation and representative questions; max adds deeper proofs, engineering tradeoffs and advanced questions where they improve understanding. Neither setting imposes a line or question count.
  • --byline (default "<Your Name>, <Affiliation>") — passed to /render-html --author.
  • --commit (default false) — if false (default), stop after rendering; user reviews and commits. Never push without explicit user approval.

Style guide — STRICT (read docs/tutorials/attention_tutorial.md as canonical reference)

Section skeleton (adapt to the topic)

## §0 TL;DR — callout intro line + a short list of key takeaways
## §1 直觉 — why this matters; analogy; one-paragraph mental model
## §2 核心公式 — main formula + derivation (variance / scaling / boundary)
## §3 实现细节 — a focused, runnable from-scratch PyTorch example
## §4-7 变体 / 工程实践 / 常见 bug — variants, comparison tables, footguns
## §8 复杂度 / 资源 — time + memory complexity
## §9 与相关方法对比 — placement in the ecosystem
## §10 高频面试题 — L1 必会 / L2 进阶 / L3 顶级 lab as relevant, with <details><summary> collapsible answers
## §A 附录 (optional) — sanity-check output, reference list

Use this as a coverage guide, not a required section count: combine or omit sections that do not serve the topic, and add sections for substantive gaps. Select questions that test distinct concepts; do not pad any difficulty tier.

Conventions — bake the established lessons in

Rule Why Example
Heading format ## §N Title with space after §N Older versions had §0TL;DR glued ## §0 TL;DR Cheat Sheet
Math in table cells: use \lvert ... \rvert not |...| | inside markdown table = cell separator → row break $\text{score}_{ij} - m \cdot \lvert i-j \rvert$
Callouts with body list: split into callout intro line + separate list Otherwise the list's first item is swallowed by the callout, then items 2..N restart numbering at 1 > 💡 **Sampler 选择** — 按 NFE/质量排序如下。
- Euler …
- Heun …
Callout prefixes only: 💡 ⚠️ ✅ ❌ (others won't get class) renderer maps these to callout-info/warn/good/bad > ⚠️ **FP16 overflow** — 即使除了 √d_k …
Math: $...$ inline, $$...$$ display, $$\boxed{...}$$ for key boxes MathJax CDN; literal in source —
Code: ```python fences, real PyTorch that would run reviewer will check executability —
Personal-info banlist: owner's institution/lab/center names, degree-program affiliations, private server aliases, job-search context, /Users/... paths, specific lab/company names reviewer flags as FAIL byline goes via --author at render time, not in body
Language: Chinese primary, English technical terms in-place matches established cheat-sheet style "softmax 饱和", "vector field"

Eyebrow / subtitle / title naming

Field Pattern
--eyebrow Interview Prep · <Topic>
--subtitle one Chinese sentence describing scope (e.g. 公式推导 + From-Scratch 代码 + 分层面试题(L1 必会 · L2 进阶 · L3 顶级 lab))
--title <Topic> 面试 Cheat Sheet or <Topic> Quick Reference
--lang zh-CN

Slug

<topic> → kebab/snake-case <slug> for filenames. e.g. "RLHF / DPO / PPO" → rlhf_dpo_ppo.

Workflow

Step 1 — Plan structure (no files written)

Internally sketch:

  • Section titles covering the topic’s learning path
  • List of major formulas (with derivation outline for each)
  • List of code blocks (skeleton + what it demonstrates)
  • Representative interview questions sorted by L1 / L2 / L3 difficulty (each with one-line expected answer)
  • Compa
Полный SKILL.md на GitHub

Установить interview-cheatsheet в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash(*)
Read
Write
Edit
mcp__codex__codex
mcp__antigravity__antigravity
mcp__antigravity__antigravity-reply
mcp__grok__grok
mcp__grok__grok-reply
mcp__claude-review__review
mcp__claude-review__review_reply
mcp__claude-review__review_start
mcp__claude-review__review_reply_start
mcp__claude-review__review_status

FAQ

Что делает скилл interview-cheatsheet?

Generate a long-form Chinese interview-prep cheat sheet on a specific ML/LLM topic — formulas with derivations, from-scratch PyTorch code, comparison tables, and 高频面试题 (L1 必会 / L2 进阶 / L3 顶级 lab). Use when the user says '写面试 cheat sheet', '写一份 X 教程', '帮我准备 Y 面试题', '出一份 X 速查', or wants a detailed Chinese tutorial on a specific ML topic.

Как установить скилл interview-cheatsheet?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл interview-cheatsheet запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить interview-cheatsheet с