ci-test-audit
sgl-project/sglang/.agents/skills/ci-test-audit/SKILL.md
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.
Skill37k starsChanged today
What's in it
- CI / Test Audit
- How to use it
- Reporting
- Keeping the catalog current
--- name: ci-test-audit description: 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. --- # CI / Test Audit Audits what is already in `test/`, `.github/` and `scripts/ci/`. For writing a new test see [write-sglang-test](../write-sglang-test/SKILL.md); for how the pipeline dispatches and gates work see [ci-workflow-guide](../ci-workflow-guide/SKILL.md). ## How to use it Read [action-items.md](action-items.md) first. It is a catalog of patterns that have been applied to this repo, each with a way to spot it and example PRs. The catalog is the substance of this skill; everything below is only scaffolding. The user says what to audit -- a test group, a stage, a workflow file, or a complaint like "this suite is slow" -- and how thoroughly. Read that scope and decide which patterns apply. An audit is only useful if it is specific. "This suite could be trimmed" is not a finding; "`TestFooLargePage` is a strict subset of `TestFooRetractLargePage`, drop it" is. Every finding needs the file, the pattern it matches, and what to do. ## Reporting Group findings by confidence in the claim, not by pattern id. Lead with the ones where the evidence is in the file you just read; keep the speculative ones separate and say what you would need to check. Skip anything you are not reasonably sure about -- a long list of maybes costs more to triage than it saves. Propose, do not apply. Deleting a test, moving a registration to another stage, and changing a threshold are all decisions for the user. Land them as separate changes, since a trim and a threshold change fail for different reasons. ## Keeping the catalog current Example PRs age. When a pattern shows up in newer work, or a new pattern recurs, update `action-items.md`: the pattern text should stay general, the examples are replaceable evidence.
More agent context in sgl-project/sglang
27 other files this repository gives its agents.
AGENTS.md
- sglang-docs-mintlifydocs/AGENTS.md
Skill
- add-jit-kernel.agents/skills/add-jit-kernel/SKILL.md
- add-sgl-kernel.agents/skills/add-sgl-kernel/SKILL.md
- babysit-pr-to-pass-ci.agents/skills/babysit-pr-to-pass-ci/SKILL.md
- ci-workflow-guide.agents/skills/ci-workflow-guide/SKILL.md
- clean-startup-log.agents/skills/clean-startup-log/SKILL.md
- compute-mamba-ratio.agents/skills/compute-mamba-ratio/SKILL.md
- cookbook-add-model.agents/skills/cookbook-add-model/SKILL.md
- cookbook-migrate-model.agents/skills/cookbook-migrate-model/SKILL.md
- cookbook-review-pr.agents/skills/cookbook-review-pr/SKILL.md
- debug-cuda-crash.agents/skills/debug-cuda-crash/SKILL.md
- debug-distributed-hang.agents/skills/debug-distributed-hang/SKILL.md
- env-var-conventions.agents/skills/env-var-conventions/SKILL.md
- generate-profile.agents/skills/generate-profile/SKILL.md
- kernel-organization.agents/skills/kernel-organization/SKILL.md
- kl-consistency-test.agents/skills/kl-consistency-test/SKILL.md
- large-class-style.agents/skills/large-class-style/SKILL.md
- llm-torch-profiler-analysis.agents/skills/llm-torch-profiler-analysis/SKILL.md
- mechanical-refactor-verify.agents/skills/mechanical-refactor-verify/SKILL.md
- processor-model-parity.agents/skills/processor-model-parity/SKILL.md
- scripted-runtime-notes.agents/skills/scripted-runtime-notes/SKILL.md
- sglang-bisect-ci-regression.agents/skills/sglang-bisect-ci-regression/SKILL.md
- sglang-cherrypick.agents/skills/sglang-cherrypick/SKILL.md
- sglang-prod-incident-triage.agents/skills/sglang-prod-incident-triage/SKILL.md
- sglang-runtime-context.agents/skills/sglang-runtime-context/SKILL.md
- speculative-naming.agents/skills/speculative-naming/SKILL.md
- write-sglang-test.agents/skills/write-sglang-test/SKILL.md
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
Reports can't be read right now.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool registry_write, action report. How to connect one.

