.claude/skills/bench/SKILL.md
测试 API 模型性能 - TTFB 和吐字速度
npx skillsauth add opendcai/leonai benchInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
快速测试第三方 API 的模型性能。两个脚本,按 API 格式选择。
用户提供:API Key + Base URL
默认 → OpenAI 格式(/v1/chat/completions):
cd .claude/skills/bench && uv run python test_models.py "<API_KEY>" "<BASE_URL>"
用户说"Anthropic 格式"→ Anthropic 原生(/v1/messages):
cd .claude/skills/bench && uv run python test_anthropic.py "<API_KEY>" "<BASE_URL>"
test_models.py(OpenAI 格式)test_anthropic.py/models 端点获取可用模型并智能筛选/v1 后缀x-api-key + anthropic-version 认证/v1 都行(自动处理)uv run,不能直接 python/v1,否则 /models 返回 HTML/models 被拦截:正常,Cloudflare 保护,脚本用默认模型列表tools
Implements onboarding and help systems including product tours, interactive tutorials, tooltips, checklists, help panels, and progressive disclosure patterns. Use when building first-time experiences, feature discovery, guided walkthroughs, contextual help, setup flows, or user activation features. Provides timing strategies, accessibility patterns (keyboard, screen readers, reduced motion), and metrics for measuring onboarding success.
development
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
development
Builds token-driven React components with TypeScript and modern patterns. Use when creating React component libraries, integrating CSS custom properties, or building Next.js design system components with forwardRef and composition.
development
Design and implement event stores for event-sourced systems. Use when building event sourcing infrastructure, choosing event store technologies, or implementing event persistence patterns.