write-sglang-test

Community

Write SGLang CI/UT tests

Authorrayleizhu
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a comprehensive guide and template for writing robust Continuous Integration (CI) and Unit Tests (UT) for the SGLang project, ensuring code quality and feature stability.

Core Features & Use Cases

  • Standardized Test Structure: Enforces the use of CustomTestCase and proper test file placement.
  • Fixture Management: Guides on reusing server fixtures for efficient test setup and teardown.
  • Model Selection Strategy: Recommends appropriate models for different test scenarios (e.g., small models for general functionality, 8B models for performance).
  • CI Registration: Details how to register tests for execution within the CI pipeline using register_cuda_ci or register_amd_ci.
  • Use Case: When a new feature is added to SGLang, developers can use this guide to quickly write and integrate comprehensive tests that will automatically run in the CI pipeline, catching regressions early.

Quick Start

Use the write-sglang-test skill to generate a basic functional correctness test file for a new SGLang feature.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: write-sglang-test
Download link: https://github.com/rayleizhu/sglang/archive/main.zip#write-sglang-test

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.