Step-by-step tutorial for adding a new lightweight JIT CUDA kernel to sglang.kernels JIT infrastructure and public operator groups
日本語の概要は準備中です。原文の説明を表示しています。
Make mechanical refactoring (file splits, function moves, module extractions, renames) machine-checkable instead of eyeballed. Reproduce a relocation commit byte-for-byte from faithful primitives, and split an extraction into a verifiable prepare + move + postpare. Use when doing or reviewing such changes.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
guide-split.md).The skill takes an argument naming one of three commands; invoked without one, pick the row matching your task.
split <base>..<tip> — author a compliant refactor branch: split it into commits,
satisfy the contract (extract, move, file split) → guide-split.md: §1 splits the PR
into classified pieces (the chain contract: classification format, correct labeling,
proofs PASS, non-mechanical commits correctness-reviewed); §2 splits one piece into
prepare + move + postpare (the case recipes and the anti-patterns). The argument is the
chain to author (or a single commit / a description of the change to split).construct <base>..<tip> [--match REGEX] [--out DIR] — construct the proof, for
the chain or one commit → guide-construct-proof.md: §1 generates + publishes the
whole chain's proof folder (the flags are the generator's:
scripts/mechanical_refactor_proof_generator.py <base>..<tip> --match REGEX --out DIR);
§2 proves a single commit — pass just <commit> (the generator, or a hand-written
Repro when it reports UNSUPPORTED).verify --base <base> --branch <branch> --proof <folder> [--jobs N] [--skip-passed]
— verify someone's proof: a whole chain / PR branch → guide-verify-proof.md: run the
chain verifier with exactly these flags
(scripts/mechanical_refactor_reproduction_cli.py) — it checks every commit declares
mechanical_provable or non_mechanical_provable, runs every provable commit's
proof (never a sample), and writes one full report; then audit the authored surfaces
and the HUMAN_REVIEW rows. Re-running one commit's script is for diagnosis only.spec-reproduction-utils.md: the
property, the whole whitelist / not-allowed list, and each primitive's contract. The
source of truth for the reproduction module; if any other file disagrees, it wins.guide-modify-skill.md: the spec-leads rule, the faithfulness invariant, and the testing
bar a change must clear before it is trusted.guide-split.md — split the PR into classified pieces (§1, the
chain contract) and each piece into prepare + move + postpare (§2: case recipes, what
stays mechanical, anti-patterns).guide-construct-proof.md — produce the proof: the whole
chain's proof folder + publishing (§1), and a single commit's proof — generator or
hand-written Repro (§2).guide-verify-proof.md — consume the proof: the whole-chain
verifier, single-commit re-runs, verdicts, and the audit checklist for authored
surfaces.spec-reproduction-utils.md — the normative spec of the
clean-move property and the reproduction primitives.spec-reproduction-cli.md — the normative spec of the
verified-chain property: the classification word rule, the proof obligation, the report,
and the exit codes.guide-modify-skill.md — change the engine, the generator, or
the spec: the spec-leads rule, the byte-faithfulness invariant, and the testing bar.scripts/mechanical_refactor_proof_generator.py —
the generator: infers a reproduce recipe from a commit's diff and emits/runs a
standalone, auditable script per commit, with a PASS / RESIDUAL / UNSUPPORTED verdict.scripts/mechanical_refactor_reproduction_utils.py — the
proof engine: the Repro builder's faithful relocation primitives plus the worktree +
pre-commit + byte-diff scaffold. Self-contained — only git and the standard library.scripts/mechanical_refactor_reproduction_cli.py — the
chain verifier: classifies every commit in base..branch, runs every provable
commit's proof from the proof folder, and emits the full chain report.scripts/tests/ — pytest suites, one folder per module:
reproduction_utils/ for the proof engine, proof_generator/ for the generator,
reproduction_cli/ for the chain verifier.まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Step-by-step tutorial for adding a new lightweight JIT CUDA kernel to sglang.kernels JIT infrastructure and public operator groups
日本語の概要は準備中です。原文の説明を表示しています。
Step-by-step tutorial for adding a heavyweight AOT CUDA/C++ kernel to sgl-kernel (including tests & benchmarks)
日本語の概要は準備中です。原文の説明を表示しています。
Start and persistently pursue a goal to babysit an SGLang pull request until selected GitHub Actions workflows pass on the latest PR head. Use when asked to monitor, babysit, retry, or fix PR CI for lint.yml, pr-test.yml, pr-test-extra.yml, AMD, or other named workflows; classify failures as PR-related versus flaky or infrastructural, auto-fix and push only small clean fixes, rerun failed jobs only up to 10 times, and ignore unselected workflows.
日本語の概要は準備中です。原文の説明を表示しています。
Audit the existing test tree and CI configuration for improvements, using a catalog of patterns previously applied in this repo. Use when asked to audit tests or CI, shrink CI time or cost, find redundant or misplaced tests, clean up a test group, or review whether a CI change follows established practice.
日本語の概要は準備中です。原文の説明を表示しています。
Guide to SGLang CI workflow orchestration — stage ordering, fail-fast, gating, partitioning, execution modes, and debugging CI failures. Use when modifying CI workflows, adding stages, debugging CI pipeline issues, or understanding how tests are dispatched and gated across stages.
日本語の概要は準備中です。原文の説明を表示しています。
Audit SGLang startup logs, save evidence, and propose cleanup for user review. With no arguments, run Qwen3-8B at TP1 and TP2 plus gpt-oss-20b at TP1.
日本語の概要は準備中です。原文の説明を表示しています。