using-git-worktrees
OBobra/superpowers298k近 7 天新增 2,631 个 star
Build or audit an evidence-driven SGLang Day-0 support program for a new LLM, VLM, MoE, hybrid-attention, or speculative-decoding model. Use when Codex needs to map a model architecture into SGLang runtime work, design a public support PR DAG, create validation and release gates, sanitize private development evidence, distinguish Day-0 requirements from later fixes or optimizations, or review whether an existing model-support PR is release-ready.
Turn a model release into a reviewable SGLang support program. Produce evidence, implementation boundaries, validation gates, and public release artifacts—not only a launch command.
Use the maintained source contracts when applying historical evidence to a current branch. The review/history corpora retain their own capture dates; they do not certify today's dispatch or numerical defaults. For kernel replacements, verify that the real model executes the candidate before treating end-to-end tests as coverage.
assets/day0-bundle/ into the active model-support workspace.Do not implement model code until the scope contract, architecture gap map, PR DAG, and minimum validation matrix agree.
Fill scope-contract.md and release-lock.md.
Compare the public model configuration/reference implementation with the locked SGLang source. Inspect each capability family in the Day-0 contract.
For each gap, record:
Use public model-family PR history when available. Do not infer support from a shared architecture name alone.
Assign exactly one class:
day0-required: needed to load, serve, produce correct public API output, or
satisfy an announced release lane.post-day0-fix: discovered after the release cut and required to restore a
previously claimed behavior.performance-only: improves a supported path without defining correctness.experiment-or-revert: unmerged, reverted, unreachable, or retained only as
a negative result.If one patch mixes classes, split it or explain why atomic review is impossible. Never promote an experiment merely because it exists on a development branch.
Fill pr-dag.md. Prefer reviewable PRs with explicit dependencies:
Require each node to name its merge gate, fallback, tests, and public evidence. Avoid copying an entire development branch when a smaller auditable diff is possible.
Fill validation-matrix.md. Do not construct the full Cartesian product.
Always include:
Add risk pairs where two features rewrite the same state, tokens, graph, collective, or transfer layout. Typical examples are speculative decoding × recurrent state, DCP × cache ownership, VLM × PD/EPD, DP attention × MoE collectives, and CUDA Graphs × alternative streams.
Execute the gates from the Day-0 contract in order:
For every pass, retain the command, revision, hardware, result, and limitation. For every failure, record whether it blocks Day-0, narrows the claim, or moves to the follow-up ledger.
Do not use server startup as evidence for output correctness, state correctness, topology composition, or performance.
Fill pr-body.md from reviewed evidence.
Run the public evidence collector only for mechanical metadata. Write motivation, implementation, and limitations manually after reading the diff.
Fill follow-up-ledger.md.
Run:
python3 scripts/validate_day0_bundle.py /path/to/day0-bundle
When private inputs exist, create an uncommitted denylist with one forbidden literal per line:
python3 scripts/validate_day0_bundle.py \
/path/to/day0-bundle \
--denylist /path/to/uncommitted-denylist.txt
Collect public PR metadata when needed:
python3 scripts/collect_public_pr_evidence.py \
https://github.com/sgl-project/sglang/pull/23882 \
--output /path/to/public-pr-evidence.json
Inspect the generated JSON, then manually read the complete diff and final mainline code. The JSON is an inventory, not a PR summary.
Finish only when:
For image-first spines, lock the image digest/source commit while the branch is
unstable. Companion upstream skills: .agents/skills/cookbook-add-model/ and
.agents/skills/mechanical-refactor-verify/.
OBobra/superpowers298k近 7 天新增 2,631 个 star
OBobra/superpowers298k近 7 天新增 2,631 个 star
OBobra/superpowers298k近 7 天新增 2,631 个 star
MAmattpocock/skills288k近 7 天新增 10,178 个 star
MAmattpocock/skills288k近 7 天新增 10,178 个 star
MAmattpocock/skills288k近 7 天新增 10,178 个 star