Skill Scripts Tester

Description

XSpoonAi 9819492 3 files · 10.4 KB Updated

File contents

Description

Run demo mode for all skills and generate comprehensive test report. Validates all skill implementations work correctly.

Inputs

{
  "skills_path": "Path to skills directory",
  "generate_report": true
}

Outputs

{
  "ok": true,
  "data": {
    "total": 50,
    "passed": 49,
    "failed": 1,
    "report": "Test report path"
  }
}

Usage

Demo Mode

python scripts/main.py --demo

Test All Skills

echo '{"skills_path":"./","generate_report":true}' | python3 scripts/main.py

Examples

Example 1: Run Test Suite

$ echo '{"skills_path":".","generate_report":true}' | python3 scripts/main.py
{
  "ok": true,
  "data": {
    "total": 50,
    "passed": 49,
    "failed": 1,
    "report": "test_report_2026_02_06.md"
  }
}

Error Handling

When an error occurs, the skill returns:

{
  "ok": false,
  "error": "Error description",
  "details": {
    "skills_path": "Directory not found"
  }
}

XSpoonAi/spoon-awesome-skill/tree/main/platform-challenge/skill-scripts-tester commit 9819492511

Frequently asked questions

npx skillmds@latest add xspoonai/skill-scripts-tester