Skill Coverage Map

Description

XSpoonAi c8b199e 3 files · 13.9 KB Updated

File contents

Description

Map skills coverage versus track goals. Analyzes which categories have sufficient skill implementations and identifies gaps.

Inputs

{
  "track": "web3-core-operations|enterprise-skills",
  "goals": ["List of category goals"]
}

Outputs

{
  "ok": true,
  "data": {
    "coverage": "45%",
    "gaps": ["Missing category"]
  }
}

Usage

Demo Mode

python scripts/main.py --demo

Check Coverage

echo '{"track":"web3-core-operations"}' | python3 scripts/main.py

Examples

Example 1: Coverage Analysis

$ echo '{"track":"web3-core-operations","goals":["DeFi","NFT","Bridge"]}' | python3 scripts/main.py
{
  "ok": true,
  "data": {
    "coverage": "67%",
    "gaps": ["Security"]
  }
}

Error Handling

When an error occurs, the skill returns:

{
  "ok": false,
  "error": "Error description",
  "details": {
    "track": "Unknown track"
  }
}

XSpoonAi/spoon-awesome-skill/tree/main/platform-challenge/skill-coverage-map commit c8b199e42b

Frequently asked questions

npx skillmds@latest add xspoonai/skill-coverage-map