interview-cheatsheet
What it does
This skill writes a long study guide in Chinese on a machine learning or large language model topic. It is for people preparing for AI interviews.
When to use it
- ✓When you want a study guide for an ML or LLM topic before an interview.
- ✓When you need practice interview questions grouped by difficulty.
- ✓When you want formulas and from-scratch code explained in one document.
Skill link
https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/interview-cheatsheet/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“I need an interview prep cheat sheet in Chinese on DPO, PPO, and RLHF.”
5 new skills a week. 1 minute to read.
How it works
The agent writes a long tutorial on the topic with formulas, derivations, code, comparison tables, and interview questions. A reviewer checks the math and code before the result is shown.
Technical content (original SKILL.md)
Original text by the author, straight from 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) withreviewer_route.pythrough the canonical helper resolver, preserving this slot's tier, fresh contexts, source/image inputs and deterministic gates. Codex examples/pins below apply only tobackend=codex; other routes use their own first-call/reply contract. Save the route and actual returned identity; unavailable selections areREVIEW_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 + 25 高频题. Output passes cross-model math/code review before rendering. Detect-only by default: never auto-commits.
Inputs
<topic>(required) — narrow enough for one 600-1000 line 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(defaultbalanced) —balanced≈ 600 lines,max≈ 1000 lines with deeper proofs and more L3 questions.--byline(default"<Your Name>, <Affiliation>") — passed to/render-html --author.--commit(defaultfalse) — iffalse(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 (12-14 sections)
## §0 TL;DR — callout intro line + numbered list of 5-7 takeaways
## §1 直觉 — why this matters; analogy; one-paragraph mental model
## §2 核心公式 — main formula + derivation (variance / scaling / boundary)
## §3 实现细节 — 50-80 line from-scratch PyTorch
## §4-7 变体 / 工程实践 / 常见 bug — variants, comparison tables, footguns
## §8 复杂度 / 资源 — time + memory complexity
## §9 与相关方法对比 — placement in the ecosystem
## §10 25 高频面试题 — L1 (10 必会) + L2 (10 进阶) + L3 (5 顶级 lab), all with <details><summary> collapsible answers
## §A 附录 (optional) — sanity-check output, reference list
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/质量排序如下。<br/>- Euler …<br/>- 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 代码 + 25 高频题(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:
- 12-14 section titles
- List of major formulas (with derivation outline for each)
- List of code blocks (skeleton + what it demonstrates)
- 25 interview questions sorted by L1 / L2 / L3 difficu
FAQ
How long is the guide?
It is designed to be about 600 to 1000 lines, depending on the effort level you choose.
Does it save changes to my files on its own?
The skill is detect-only by default and does not auto-commit changes.
Which topics fit best?
Narrow topics, such as one method or model type, work best, because very broad topics are too large for one guide.
Details
Original description by the author
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 25 高频面试题 (L1 必会 / L2 进阶 / L3 顶级 lab). Use when the user says '写面试 cheat sheet', '写一份 X 教程', '帮我准备 Y 面试题', '出一份 X 速查', or wants a 600-1000 line Chinese tutorial on a specific ML topic.
Popularity
- GitHub stars
- 18k
- Ranking position
- #10547
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
ablation-planner
18kHelps your agent plan ablation studies for a paper, choosing the tests reviewers are likely to ask for once the main results look good.
alphaxiv
18kLets your agent quickly read one research paper using AlphaXiv summaries, with full text or LaTeX source as backup, from an arXiv link or ID.
analyze-results
18kHelps your agent analyze machine learning experiment results, compare runs against a baseline, and turn the numbers into clear findings and next steps.
arxiv
18kLets your agent search arXiv for academic papers, read their details, and save PDFs to your library for a research topic.
Similar skills
blucli
394kHelps your agent find, play, pause, group, and adjust the volume of Bluesound and NAD speakers through the blu command.
camsnap
394kHelps your agent grab snapshots, short clips, or motion events from network cameras and local webcams that you have set up.
eightctl
394kHelps your agent check and control an Eight Sleep pod, including its temperature, alarms, and sleep schedules.