Skill Pr Prep

Description

XSpoonAi 3a60685 3 files · 12.3 KB 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"
  }
}

XSpoonAi/spoon-awesome-skill/tree/main/platform-challenge/skill-pr-prep commit 3a6068511d

Frequently asked questions

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