Skip to content
Skillpedia
Misc18k · #10547

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.md

Copy 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

Use this skill to help me: https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/interview-cheatsheet/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

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) 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 + 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 (default balanced) — balanced ≈ 600 lines, max ≈ 1000 lines with deeper proofs and more L3 questions.
  • --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 (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.

repo: wanshuiyin/Auto-claude-code-research-in-sleep

Popularity

GitHub stars
18k
Ranking position
#10547
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills