Cuda Cpp Kernel
vipshop/cache-dit
A skill your agent uses when writing, debugging, porting, reviewing, or optimizing CUDA C++ or PTX kernels; investigating CUDA Runtime or Driver API behavior; profiling kernels with Nsight Systems…
LeetCUDA 书稿 LaTeX 到 Read the Docs 站点的转换管线维护 skill(站点目录 LeetCUDA/docs/readthedocs/)。当任务涉及:改完书稿后让站点同步、改转换器 convert/、本地构建与预览 build.sh、内容核对 convert.verify、浏览器验收…
$ npx skills add xlite-dev/LeetCUDA --skill leetcuda-tex-to-readthedocs -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install xlite-dev/LeetCUDA leetcuda-tex-to-readthedocs --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/xlite-dev/LeetCUDA.git skills-src && mkdir -p .claude/skills && cp -r skills-src/docs/readthedocs/skills/leetcuda-tex-to-readthedocs .claude/skills/leetcuda-tex-to-readthedocs && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "leetcuda-tex-to-readthedocs" agent skill from https://github.com/xlite-dev/LeetCUDA/tree/main/docs/readthedocs/skills/leetcuda-tex-to-readthedocs into .claude/skills/leetcuda-tex-to-readthedocs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "leetcuda-tex-to-readthedocs", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/xlite-dev/LeetCUDA/tree/main/docs/readthedocs/skills/leetcuda-tex-to-readthedocsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add xlite-dev/LeetCUDA --skill leetcuda-tex-to-readthedocs -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install xlite-dev/LeetCUDA leetcuda-tex-to-readthedocs --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/xlite-dev/LeetCUDA.git skills-src && mkdir -p .agents/skills && cp -r skills-src/docs/readthedocs/skills/leetcuda-tex-to-readthedocs .agents/skills/leetcuda-tex-to-readthedocs && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "leetcuda-tex-to-readthedocs" agent skill from https://github.com/xlite-dev/LeetCUDA/tree/main/docs/readthedocs/skills/leetcuda-tex-to-readthedocs into .agents/skills/leetcuda-tex-to-readthedocs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "leetcuda-tex-to-readthedocs", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add xlite-dev/LeetCUDA --skill leetcuda-tex-to-readthedocs -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install xlite-dev/LeetCUDA leetcuda-tex-to-readthedocs --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/xlite-dev/LeetCUDA.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/docs/readthedocs/skills/leetcuda-tex-to-readthedocs .cursor/skills/leetcuda-tex-to-readthedocs && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "leetcuda-tex-to-readthedocs" agent skill from https://github.com/xlite-dev/LeetCUDA/tree/main/docs/readthedocs/skills/leetcuda-tex-to-readthedocs into .cursor/skills/leetcuda-tex-to-readthedocs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "leetcuda-tex-to-readthedocs", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/xlite-dev/LeetCUDA.git --path docs/readthedocs/skills/leetcuda-tex-to-readthedocs--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add xlite-dev/LeetCUDA --skill leetcuda-tex-to-readthedocs -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install xlite-dev/LeetCUDA leetcuda-tex-to-readthedocs --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/xlite-dev/LeetCUDA.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/docs/readthedocs/skills/leetcuda-tex-to-readthedocs .gemini/skills/leetcuda-tex-to-readthedocs && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "leetcuda-tex-to-readthedocs" agent skill from https://github.com/xlite-dev/LeetCUDA/tree/main/docs/readthedocs/skills/leetcuda-tex-to-readthedocs into .gemini/skills/leetcuda-tex-to-readthedocs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "leetcuda-tex-to-readthedocs", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install xlite-dev/LeetCUDA leetcuda-tex-to-readthedocsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add xlite-dev/LeetCUDA --skill leetcuda-tex-to-readthedocs -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/xlite-dev/LeetCUDA.git skills-src && mkdir -p .github/skills && cp -r skills-src/docs/readthedocs/skills/leetcuda-tex-to-readthedocs .github/skills/leetcuda-tex-to-readthedocs && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "leetcuda-tex-to-readthedocs" agent skill from https://github.com/xlite-dev/LeetCUDA/tree/main/docs/readthedocs/skills/leetcuda-tex-to-readthedocs into .github/skills/leetcuda-tex-to-readthedocs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "leetcuda-tex-to-readthedocs", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add xlite-dev/LeetCUDA --skill leetcuda-tex-to-readthedocs -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install xlite-dev/LeetCUDA leetcuda-tex-to-readthedocs --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/xlite-dev/LeetCUDA.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/docs/readthedocs/skills/leetcuda-tex-to-readthedocs .opencode/skills/leetcuda-tex-to-readthedocs && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "leetcuda-tex-to-readthedocs" agent skill from https://github.com/xlite-dev/LeetCUDA/tree/main/docs/readthedocs/skills/leetcuda-tex-to-readthedocs into .opencode/skills/leetcuda-tex-to-readthedocs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "leetcuda-tex-to-readthedocs", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
leetcuda-tex-to-readthedocsLeetCUDA 书稿 LaTeX 到 Read the Docs 站点的转换管线维护 skill(站点目录 LeetCUDA/docs/readthedocs/)。当任务涉及:改完书稿后让站点同步、改转换器 convert/、本地构建与预览 build.sh、内容核对 convert.verify、浏览器验收…
Leetcuda Tex To Readthedocs is an agent skill from xlite-dev/LeetCUDA. LeetCUDA 书稿 LaTeX 到 Read the Docs 站点的转换管线维护 skill(站点目录 LeetCUDA/docs/readthedocs/)。当任务涉及:改完书稿后让站点同步、改转换器 convert/、本地构建与预览 build.sh、内容核对 convert.verify、浏览器验收 tools.visualcheck、版式与模板(templates、static/custom.css)、中英切换与英文图集(translate.js、i18n/figures-en.json、buildcoveren)、「下载 PDF」按钮、RTD 构建失败排查、.readthedocs.yaml 或 requirements.txt 时,使用本 skill。给出改动落点、命令、三层验收与已证伪路线。
Its SKILL.md is about 900 tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including reference files (for example `references/acceptance.md`, `references/english.md` and `references/layout-frontend.md`).
It sits in Documents & Office, covering LaTeX, Internationalization and GPU and accelerator computing. It works with CUDA, LaTeX and C++. The repository describes itself as: An Open-source book with Modern CUDA learning Notes for Beginners - BF16/FP8/FP4, HGEMM, CuTe, Flash-Attention, etc. The licence is GPL-3.0.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 5dfacc8. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pythoncondapipFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
leetcuda.readthedocs.ioFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Leetcuda Tex To Readthedocs loads about 902 tokens when it runs, and up to ~13k if it reads all its reference files. Until then it costs about 98 tokens; SKILL.md has 183 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from xlite-dev/LeetCUDA at commit 5dfacc8, republished under its GPL-3.0 licence (© xlite-dev). 183 words, ~902 tokens.
.claude/skills/leetcuda-tex-to-readthedocs/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.把 kernels/interview/book/ 下的书稿 tex 逐章转换成网页:公式走 MathJax 实时渲染,TikZ 图编译成 SVG,代码清单按 linerange 从冻结源码抽出来贴进页面。站点 https://leetcuda.readthedocs.io。
原书 tex、源码、图片一律不改:转换只读原文件,产物只写进 docs/readthedocs/build/(已 gitignore)。
conda activate cdit —— 站点构建统一用这个环境(Sphinx 7.4.7 + myst-parser 4.0.0 + sphinx-rtd-theme 3.0.2,版本见 requirements.txt)。/workspace/dev/vipshop/LeetCUDA/docs/readthedocs/,下文命令都在该目录下执行。references/;不要凭直觉改转换器。| 改了什么 | 要做的事 | 细节 |
|---|---|---|
| 中文正文 / 公式 / 表格 / 数学宏 | push 即可:构建期从 tex 现转,中英文自动同步 | — |
| TikZ 图内中文文字、新增含中文的图 | 先补词典再 push,否则 RTD 的 post_build「英文图集完整」必红 | references/english.md |
| 封面文案 | 重编译入库的 figures/misc/cover.pdf 并 commit;英文封面另跑 tools.build_cover_en 并 commit 产物 | references/english.md |
转换器 convert/*.py | 改完必须跑全量 ./build.sh(含 23 项核对)+ 浏览器验收 | references/pipeline.md、references/acceptance.md |
| 版式 / 模板 / CSS / JS | 先 touch build/src/index.md 再 ./build.sh,否则静态文件不重拷、预览还是旧样式 | references/layout-frontend.md |
| 「下载 PDF」按钮(落位/样式)或其链接 | 按钮默认在「下一页」右边(顶部 + 页脚两行);链接只改仓库根 README.md 的 [leetcuda-pdf] 一行,站点与核对都跟着变 | references/layout-frontend.md |
| RTD 构建失败 | 先看 pre_build(apt 包 / pandoc 版本),再看 post_build 打印的核对项 | references/sync-and-deploy.md |
| 核对项本身 | 新增/调整 convert/verify.py 的 check_*,接入 verify() 与 main() | references/acceptance.md |
conda activate cdit
cd /workspace/dev/vipshop/LeetCUDA/docs/readthedocs
pip install -r requirements.txt # 首次或依赖变更后
./build.sh # 转换 → sphinx-build → 内容核对
python -m http.server -d build/html 8000 # 本机浏览器看 build/html/index.htmlTikZ 全量编译约 3–5 分钟,调试时务必缩短:
./build.sh --skip-tikz # 复用已有 SVG,只重跑文本转换 + 构建 + 核对
python -m convert --only ch00-profiling,ch16-fa2-splitq-mma # 只转几章
python -m convert --jobs 8 # TikZ 并行度
python -m convert --force-tikz # 忽略缓存重编全部 TikZ
python -m convert --skip-tikz --no-assemble # 只跑 tex→md远程 SSH 开发要在 VS Code 里看效果,必须做端口转发(内置浏览器在你本机渲染),见 references/acceptance.md。
python -m convert.verify --src build/src --html build/html(23 项,build.sh 已含)。python -m tools.visual_check --html build/html --out build/shots/chapters —— MathJax 报错、可见字面残迹、控制台报错、404 资源、整页截图。两条铁律:任一项不过就修 tex/转换器,不许绕过核对;0 警告 ≠ 页面正确,总数阈值会掩盖单点丢失(表格 126→125 时「≥90%」照样通过,改成逐章比对立刻暴露)。
references/pipeline.md — 转换管线全貌(编排、章号/表格、TikZ→SVG、数学宏)、命令速查、目录结构、增量构建与 gitignore 陷阱。references/layout-frontend.md — 三栏版式与居中、模板覆盖规则(page.html / layout.html / 两个整文件副本各管什么)、图片/表格/过宽公式、「下载 PDF」按钮的落位与兜底、中英切换按钮的落位。references/english.md — Google 翻译切换机制与判定阈值、英文图集(词典/掩码/校验/换图)、英文封面离线生成。references/acceptance.md — 三层验收细节、23 项核对清单、visual_check 参数、本地与远程(VS Code 端口转发)预览。references/pitfalls.md — 已证伪路线与踩坑(TikZ、公式、正文结构),附页面上可见的症状。references/sync-and-deploy.md — 内容更新与自动同步对照表、改稿检查清单、RTD 建站步骤、已知边界。© xlite-dev, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 6 other files (references) in docs/readthedocs/skills/leetcuda-tex-to-readthedocs of xlite-dev/LeetCUDA.
Open the folder on GitHubat commit 5dfacc8
Leetcuda Tex To Readthedocs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Leetcuda Tex To Readthedocs this skillxlite-dev/LeetCUDA | 12k | — | ~902 | Automated safety check: Pass | GPL-3.0 | |
| Cuda Cpp Kernelvipshop/cache-dit | 1.3k | — | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| GPU OptimizationspiriMirror/libuipc | 336 | — | ~3.6k | Automated safety check: Pass | Apache-2.0 | |
| Add Jit Kernelguqiong96/Lsglang | 144 | 1 repos | ~10k | Automated safety check: Pass | Apache-2.0 | |
| At Dispatch V2intel/torch-xpu-ops | 115 | 3 repos | ~2.2k | Automated safety check: Pass | Apache-2.0 | |
| Add Jit Kernelsgl-project/sglang | 37k | — | ~13k | Automated safety check: Pass | Apache-2.0 |
vipshop/cache-dit
A skill your agent uses when writing, debugging, porting, reviewing, or optimizing CUDA C++ or PTX kernels; investigating CUDA Runtime or Driver API behavior; profiling kernels with Nsight Systems…
spiriMirror/libuipc
GPU optimization workflow using uipc.profile, uipc.profile.nsight, and Nsight Compute CLI.
guqiong96/Lsglang
Step-by-step tutorial for adding a new lightweight JIT CUDA kernel to sglang's jitkernel module
intel/torch-xpu-ops
Convert PyTorch ATDISPATCH macros to ATDISPATCHV2 format in ATen C++ code.
sgl-project/sglang
Step-by-step tutorial for adding a new lightweight JIT CUDA kernel to sglang.kernels JIT infrastructure and public operator groups
mohitmishra786/low-level-dev-skills
CUDA C/C++ skill for NVIDIA GPU kernel programming. An agent skill from mohitmishra786/low-level-dev-skills.
xlite-dev/LeetCUDA
LeetCUDA 中文技术书(584 页,XeLaTeX 源)按需查阅 skill——写、优化、调试或 review CUDA C++/PTX kernel 时的权威参考路由层。当任务涉及:GPU 架构/Roofline/ occupancy、向量化与 coalescing、warp/block reduce、softmax(online/LSE merge)、…
xlite-dev/LeetCUDA
把 LeetCUDA kernels/interview 教学源码(base/sgemv/sgemm/hgemm/flashattn/ffpaattn/fp8gemm.cuh/fp4gemm.cuh)+ ffpa-attn CuTe sm120 源码(csrc/cuffpa/cute fp8/fp4,commit 861d75e)写成中文 CUDA 技术书(6 Part 38 章 + CuTe…
Categories
LeetCUDA 书稿 LaTeX 到 Read the Docs 站点的转换管线维护 skill(站点目录 LeetCUDA/docs/readthedocs/)。当任务涉及:改完书稿后让站点同步、改转换器 convert/、本地构建与预览 build.sh、内容核对 convert.verify、浏览器验收…. Leetcuda Tex To Readthedocs is an agent skill from xlite-dev/LeetCUDA.
Leetcuda Tex To Readthedocs fits situations like: tasks that involve LaTeX; tasks that involve Internationalization; tasks that involve GPU and accelerator computing.
Run `npx skills add xlite-dev/LeetCUDA --skill leetcuda-tex-to-readthedocs -a claude-code`. Or copy the skill folder (docs/readthedocs/skills/leetcuda-tex-to-readthedocs in xlite-dev/LeetCUDA) into .claude/skills/leetcuda-tex-to-readthedocs in your project. Claude Code loads it when a task matches its description.
Run `npx skills add xlite-dev/LeetCUDA --skill leetcuda-tex-to-readthedocs -a codex`. Or copy the skill folder (docs/readthedocs/skills/leetcuda-tex-to-readthedocs in xlite-dev/LeetCUDA) into .agents/skills/leetcuda-tex-to-readthedocs in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add xlite-dev/LeetCUDA --skill leetcuda-tex-to-readthedocs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/leetcuda-tex-to-readthedocs, .gemini/skills/leetcuda-tex-to-readthedocs, .github/skills/leetcuda-tex-to-readthedocs and .opencode/skills/leetcuda-tex-to-readthedocs in your project.
Going by SKILL.md and its folder, Leetcuda Tex To Readthedocs needs the command-line tools its instructions call (python, conda and pip). Our summary lists: Python 3.
SKILL.md names 1 domain. As links in the text: leetcuda.readthedocs.io. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Leetcuda Tex To Readthedocs is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 902 tokens (SKILL.md is roughly 3.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 12k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Leetcuda Tex To Readthedocs: Cuda Cpp Kernel (vipshop/cache-dit, 1.3k stars), GPU Optimization (spiriMirror/libuipc, 336 stars), Add Jit Kernel (guqiong96/Lsglang, 144 stars) and At Dispatch V2 (intel/torch-xpu-ops, 115 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
xlite-dev (a GitHub organization) maintains it in xlite-dev/LeetCUDA, which has 12,056 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 10, 2026.
Source: xlite-dev/LeetCUDA on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.