CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

inference-serving-sglang

Fast structured generation and serving for LLMs with RadixAttention prefix caching. Use for JSON/regex outputs, constrained decoding, agentic workflows with tool calls, or when you need 5× faster inference than vLLM with prefix sharing. Powers 300,000+ GPUs at xAI, AMD, NVIDIA, and LinkedIn.

Quality

77%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Medium

Suggest reviewing before use

Fix and improve this skill with Tessl

tessl review fix ./cli-tool/components/skills/ai-research/inference-serving-sglang/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

61%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-structured, highly actionable overview of SGLang with abundant copy-paste-ready examples and properly linked, verified reference files. Its weaknesses are length (conceptual explanations, benchmark tables, and model/hardware inventories belong in references) and the absence of any validation checkpoints in the launch-then-infer workflow.

Suggestions

Move the 'Performance benchmarks' tables, 'Supported models', and 'Hardware support' sections into the existing reference files (e.g., radix-attention.md and deployment.md) to cut SKILL.md length and token load.

Add an explicit validation step after 'launch server' — e.g., 'curl http://localhost:30000/health' returns 200 before running client examples.

Fix the OpenAI-compatible API section: split the curl command and the Python OpenAI-SDK snippet into separate bash and python code blocks so both are copy-paste executable.

DimensionReasoningScore

Conciseness

The body is mostly tight code examples, but the 'RadixAttention (Key Innovation)' conceptual walkthrough, full benchmark tables, 'Supported models' and 'Hardware support' lists are inline content that could be tightened or moved to the reference files. Version-specific details (CUDA 11.8/12.1, torch2.4 wheel URLs) add time-sensitive bulk without an 'old patterns' framing.

3 / 5

Actionability

Nearly all guidance is concrete, executable code: 'pip install "sglang[all]"', 'python -m sglang.launch_server --model-path ... --tp 4', and complete @sgl.function examples with expected outputs. Minor gaps keep it below 5: the EBNF grammar example is truncated pseudo-grammar, and the OpenAI-API bash block mixes curl and raw Python lines in one ```bash fence, so it fails if pasted as-is.

4 / 5

Workflow Clarity

The install → launch server → run inference sequence is implied by section order, but there are no validation checkpoints (e.g., curl the /health endpoint before running clients) and no error-recovery guidance. Not a destructive/batch skill, so no cap applies, but checkpoints are entirely implicit.

3 / 5

Progressive Disclosure

Good structure with clearly signaled, one-level-deep references ('[Structured Generation Guide](references/structured-generation.md)', '[RadixAttention Deep Dive](references/radix-attention.md)', '[Production Deployment](references/deployment.md)') — all three files exist in the bundle. Minor gaps: benchmarks, model lists, and hardware support are inlined in SKILL.md rather than pushed to the reference files.

4 / 5

Total

14

/

20

Passed

Description

83%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description that clearly states what the skill does and when to use it, with concrete, natural trigger terms and an explicit 'Use for...' clause. Its only deductions are minor: some marketing language ('Powers 300,000+ GPUs'), a few missing synonym triggers, and slight overlap risk from naming vLLM.

DimensionReasoningScore

Specificity

Lists several concrete capabilities — 'structured generation and serving', 'RadixAttention prefix caching', 'JSON/regex outputs', 'constrained decoding', 'agentic workflows with tool calls' — comparable to the score-4 anchor. Not a 5: 'Fast' is a claim rather than an action, 'Powers 300,000+ GPUs at xAI, AMD, NVIDIA, and LinkedIn' is marketing rather than capability, and body-covered features (OpenAI-compatible server, multi-turn, speculative decoding) are absent.

4 / 5

Completeness

Explicitly answers both: what ('Fast structured generation and serving for LLMs with RadixAttention prefix caching') and when ('Use for JSON/regex outputs, constrained decoding, agentic workflows with tool calls, or when you need 5× faster inference than vLLM with prefix sharing') with concrete trigger phrases, matching the score-5 anchor; the score-4 anchor's 'when could be more explicit' does not apply.

5 / 5

Trigger Term Quality

Good natural keyword coverage: 'JSON/regex outputs', 'constrained decoding', 'agentic workflows', 'tool calls', 'inference', 'prefix sharing' are phrases users would actually say. A few natural variants are missing ('structured output', 'grammar', 'LLM serving'), matching the score-4 anchor rather than comprehensive synonym coverage.

4 / 5

Distinctiveness Conflict Risk

Mostly distinct niche (structured generation + prefix caching names a specific framework role), but explicitly naming 'vLLM' creates minor overlap risk — a user asking generally about vLLM or inference serving could trigger it, fitting the score-4 'minor overlap risk with closely related skills' anchor rather than the score-5 'clear niche with distinct triggers'.

4 / 5

Total

17

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

15

/

16

Passed

Repository

davila7/claude-code-templates

Path

cli-tool/components/skills/ai-research/inference-serving-sglang/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.