# Test Suite

> SmartBot Skill系统能力测试套件。用于验证路由、执行、错误处理等核心能力。 Use when this capability is needed.

- Skill: `tomevault-io/test-suite-2` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/test-suite-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/test-suite-2/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/test-suite-2

---


# Test Suite - Skill能力测试套件

这是一个元测试skill，用于验证SmartBot的skill系统能力。

## 测试维度

### 1. 路由能力测试
- 触发词精确匹配
- 触发词模糊匹配
- 语义召回
- 硬触发（$skill_name）
- 优先级排序

### 2. 执行能力测试
- instruction类型执行
- script类型执行
- openclaw类型执行
- 参数传递
- 上下文传递

### 3. 错误处理测试
- 可重试错误
- 致命错误
- Fallback链
- 修复循环

### 4. 边界测试
- 空输入处理
- 超长输入处理
- 特殊字符处理

## 使用方法

```bash
# 运行完整测试套件
smart_bot agent -m "test_suite run all"

# 运行路由测试
smart_bot agent -m "test_suite run routing"

# 运行错误处理测试
smart_bot agent -m "test_suite run error_handling"
```

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/zhuangbiaowei) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-13 -->

