Agent Skills › sgl-project/sglang › ci-test-audit

ci-test-audit

GitHub

审计现有测试树和 CI 配置,利用模式目录优化测试结构、缩短 CI 时间或降低成本。适用于审查测试、CI 变更合规性及清理冗余测试等场景。

.claude/skills/ci-test-audit/SKILL.md sgl-project/sglang

Trigger Scenarios

审查测试或 CI 配置 缩减 CI 时间和成本 查找或清理冗余/ misplaced 测试 检查 CI 变更是否符合既定实践

Install

npx skills add sgl-project/sglang --skill ci-test-audit -g -y
More Options

Non-standard path

npx skills add https://github.com/sgl-project/sglang/tree/main/.claude/skills/ci-test-audit -g -y

Use without installing

npx skills use sgl-project/sglang@ci-test-audit

指定 Agent (Claude Code)

npx skills add sgl-project/sglang --skill ci-test-audit -a claude-code -g -y

安装 repo 全部 skill

npx skills add sgl-project/sglang --all -g -y

预览 repo 内 skill

npx skills add sgl-project/sglang --list

SKILL.md

Frontmatter
{
    "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; for how the pipeline dispatches and gates work see ci-workflow-guide.

How to use it

Read 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.

Version History

  • 4a1b69a Current 2026-09-22 21:40

Same Skill Collection

.claude/skills/add-jit-kernel/SKILL.md
.claude/skills/add-sgl-kernel/SKILL.md
.claude/skills/babysit-pr-to-pass-ci/SKILL.md
.claude/skills/ci-workflow-guide/SKILL.md
.claude/skills/clean-startup-log/SKILL.md
.claude/skills/compute-mamba-ratio/SKILL.md
.claude/skills/cookbook-add-model/SKILL.md
.claude/skills/cookbook-migrate-model/SKILL.md
.claude/skills/cookbook-review-pr/SKILL.md
.claude/skills/debug-cuda-crash/SKILL.md
.claude/skills/debug-distributed-hang/SKILL.md
.claude/skills/env-var-conventions/SKILL.md
.claude/skills/generate-profile/SKILL.md
.claude/skills/kernel-organization/SKILL.md
.claude/skills/kl-consistency-test/SKILL.md
.claude/skills/large-class-style/SKILL.md
.claude/skills/llm-torch-profiler-analysis/SKILL.md
.claude/skills/mechanical-refactor-verify/SKILL.md
.claude/skills/scripted-runtime-notes/SKILL.md
.claude/skills/sglang-bisect-ci-regression/SKILL.md
.claude/skills/sglang-cherrypick/SKILL.md
.claude/skills/sglang-prod-incident-triage/SKILL.md
.claude/skills/sglang-runtime-context/SKILL.md
.claude/skills/speculative-naming/SKILL.md
.claude/skills/write-sglang-test/SKILL.md

Metadata

Files
0
Version
81f27fb
Hash
4e9141cb
Indexed
2026-09-22 21:40

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-05 09:30
浙ICP备14020137号-1