bilibili-render-pdf
Generate a professional, detailed, figure-rich LaTeX course note and final PDF from a Bilibili lecture, tutorial, or technical talk. Use when the user provides…
Create or refine clean, shape-aware visualizations for tensor, matrix, and vector formulas or tensor code. Use for matrix-block diagrams, entry heatmaps, row/column shard stripes, stacked 3D/4D tensors, attention, tensor parallelism, broadcasting, reductions, contractions, and
$ npx -y skills add wdkns/wdkns-skills --skill tensor-formula-viz --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/tensor-formula-vizContext preview
The summary Claude sees to decide when to auto-load this skill.
Create or refine clean, shape-aware visualizations for tensor, matrix, and vector formulas or tensor code. Use for matrix-block diagrams, entry heatmaps, row/column shard stripes, stacked 3D/4D tensors, attention, tensor parallelism, broadcasting, reductions, contractions, and
name: tensor-formula-viz description: Create or refine clean, shape-aware visualizations for tensor, matrix, and vector formulas or tensor code. Use for matrix-block diagrams, entry heatmaps, row/column shard stripes, stacked 3D/4D tensors, attention, tensor parallelism, broadcasting, reductions, contractions, and any explanation where tensor shapes or dimension meanings should be visually aligned with the computation.
Turn a formula or tensor-code path into one dense, slide-ready figure with three zones:
1. **Top — formula:** clean mathematical definition, without shape underbraces. 2. **Middle — computation:** colored blocks, stripes, slices, operators, and communication. 3. **Bottom — meaning:** compact explanation of every shape dimension and non-obvious operation.
1. Reduce the input to one primary computation path. Omit equivalent objectives, diagnostics, and secondary metrics unless requested. 2. Build a shape-and-semantics ledger: symbol/code name, semantic kind, dtype/domain, global and local shape, axis meanings, range when meaningful, shape-equivalence class, producer/consumer, and contracted/broadcast/reduced axes. 3. Choose the smallest visual grammar that exposes the mechanism. 4. Reserve non-overlapping stage lanes and object bounding boxes, then draw the three-zone layout. 5. Render, inspect, and correct both mathematical and visual alignment.
For code input, trace concrete `matmul`, `einsum`, `reshape/view`, `transpose/permute`, concat, broadcast, and collective operations. Preserve code variable names when useful; state any inferred shapes or conventions.
Combine grammars only when each adds information. Cell variation may give dense tensors visual texture, but known zeros stay unfilled and masks, diagonals, sparsity, and partitions must encode their exact structure.
\[ (m\times k)(k\times n)\rightarrow(m\times n). \]
\[ (B\times T\times d_{\mathrm{in}}) (d_{\mathrm{in}}\times d_{\mathrm{out}}) \rightarrow B\times T\times d_{\mathrm{out}}. \]
Generate a professional, detailed, figure-rich LaTeX course note and final PDF from a Bilibili lecture, tutorial, or technical talk. Use when the user provides…
中文 SRT 字幕上线发布专业级精修与校验。用于把基于 ASR 的原始字幕清洗为可上线版本,只做字幕级清洗和纠错,不做书面化改写、总结或扩写;同时保持与原音频严格同步,必要时仅在原字幕时间范围内拆分条目,并输出一份完整的 clean…
Generate a professional, detailed, figure-rich LaTeX course note and final PDF from a YouTube lecture, tutorial, or technical talk. Use when the user provides…