interview-cheatsheet
できること
このスキルは、機械学習やLLMのテーマについて、中国語で長い学習ガイドを書きます。AIの面接に備える人向けです。
使う場面
- ✓面接の前に、MLやLLMのテーマの学習ガイドがほしいとき。
- ✓難易度ごとにまとめられた練習の面接問題がほしいとき。
- ✓数式とゼロから書くコードを1つの文書で説明してほしいとき。
スキルのリンク
https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/interview-cheatsheet/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“DPO、PPO、RLHFについて、中国語の面接対策シートを作ってください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、数式、導出、コード、比較表、面接問題を含む長いチュートリアルを書きます。レビュアーが、結果を表示する前に数学とコードを確認します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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
よくある質問
ガイドはどのくらいの長さですか?
選んだ努力レベルに応じて、およそ600〜1000行になるよう設計されています。
ファイルの変更を自動で保存しますか?
既定では検出のみで、変更を自動でコミットしません。
どのテーマが適していますか?
狭いテーマ、たとえば一つの手法やモデルの種類が最も適しています。非常に広いテーマは、一つのガイドには大きすぎます。
詳細
作者による元の説明
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.
人気
- GitHubのスター
- 18k
- ランキング
- #10547
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
ablation-planner
18kエージェントが論文のアブレーション研究を計画し、主要な結果が良好に見えた後に、査読者が求めそうな試験を選ぶよう支援します。
alphaxiv
18kエージェントが、AlphaXivの要約を使って1本の研究論文を素早く読めるよう支援します。arXivのリンクやIDから読み込みます。
analyze-results
18kエージェントが機械学習の実験結果を分析し、実行結果をベースラインと比較して、数値を明確な所見と次の作業につなげるよう支援します。
arxiv
18kエージェントが、arXivで学術論文を検索し、詳細を読んで、研究テーマに合わせてPDFをライブラリに保存できるよう支援します。