Skill Pr Prep

Description

jiayaoqijia Updated

File contents

Description

Bundle pull.md and screenshot placeholders for pull request submission. Prepares all required PR documentation and assets.

Inputs

{
  "skill_path": "Path to skill directory",
  "output_path": "Path to save PR bundle"
}

Outputs

{
  "ok": true,
  "data": {
    "bundle_path": "Path to PR bundle",
    "files": []
  }
}

Usage

Demo Mode

python scripts/main.py --demo

Prepare PR

echo '{"skill_path":"./my-skill","output_path":"./pr-ready"}' | python3 scripts/main.py

Examples

Example 1: Prepare PR Bundle

$ echo '{"skill_path":"dao-proposal-starter","output_path":"./pr"}' | python3 scripts/main.py
{
  "ok": true,
  "data": {
    "bundle_path": "./pr",
    "files": ["pull.md", "screenshot1.png", "screenshot2.png"]
  }
}

Error Handling

When an error occurs, the skill returns:

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

jiayaoqijia/cryptoskill/tree/main/skills/ai-crypto/xspoonai-official-skill-pr-prep commit 3a6068511d

Frequently asked questions

npx skillmds@latest add jiayaoqijia/skill-pr-prep