TopRank Skills

Home / Claw Skills / Autres / Auto Test Generator
Official OpenClaw rules 15%

Auto Test Generator

Auto Test Generator

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Auto Test Generator 技能。 若已安装,则直接安装 Auto Test Generator 技能。

Overview

Skill Key
autogame-17/auto-test-generator
Author
autogame-17
Source Repo
openclaw/skills
Version
-
Source Path
skills/autogame-17/auto-test-generator
Latest Commit SHA
9b88242053a453071126f42eabd2b128dfd1ab76

Extracted Content

SKILL.md excerpt

# Auto Test Generator

Automatically generate basic unit/integration tests for OpenClaw skills.
Use this to improve code quality and prevent regressions during evolution.

## Usage

```bash
node skills/auto-test-generator/index.js <skill-name>
```

## How It Works

1. Scans the target skill directory.
2. Analyzes `index.js` for exports.
3. Generates a `test.js` file with basic assertions (module loads, --help works).
4. Runs the generated test immediately.

## Example

```bash
node skills/auto-test-generator/index.js skill-health-monitor
```

Output:
- Creates `skills/skill-health-monitor/test.js`
- Runs it
- Reports success/failure

Related Claw Skills