Skill Template Generator

Description

jiayaoqijia Updated

File contents

Description

Generate a new skill skeleton with placeholders. Creates complete skill structure with README.md, SKILL.md, and scripts directory.

Inputs

{
  "skill_name": "Name of new skill",
  "track": "web3-core-operations|enterprise-skills",
  "output_path": "Path to create skill"
}

Outputs

{
  "ok": true,
  "data": {
    "skill_path": "Path to created skill",
    "files_created": []
  }
}

Usage

Demo Mode

python scripts/main.py --demo

Generate Skill

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

Examples

Example 1: Create New Skill

$ echo '{"skill_name":"token-analyzer","track":"web3-data-intelligence","output_path":"./"}' | python3 scripts/main.py
{
  "ok": true,
  "data": {
    "skill_path": "./token-analyzer",
    "files_created": ["README.md", "SKILL.md", "scripts/main.py"]
  }
}

Error Handling

When an error occurs, the skill returns:

{
  "ok": false,
  "error": "Error description",
  "details": {
    "skill_name": "Skill name already exists"
  }
}

jiayaoqijia/cryptoskill/tree/main/skills/ai-crypto/xspoonai-official-skill-template-generator commit 5c7a930ee1

Frequently asked questions

npx skillmds@latest add jiayaoqijia/skill-template-generator