Agent Skillspony-maggie/code_minions › open-github-pr

open-github-pr

GitHub

将当前工作区分支推送到 GitHub 并创建 Pull Request,集成 Jira 和 TDD 实施结果。

src/code_minions/builtin/skills/open-github-pr/SKILL.md pony-maggie/code_minions

Trigger Scenarios

需要提交代码到 GitHub 创建新的 PR

Install

npx skills add pony-maggie/code_minions --skill open-github-pr -g -y
More Options

Non-standard path

npx skills add https://github.com/pony-maggie/code_minions/tree/main/src/code_minions/builtin/skills/open-github-pr -g -y

Use without installing

npx skills use pony-maggie/code_minions@open-github-pr

指定 Agent (Claude Code)

npx skills add pony-maggie/code_minions --skill open-github-pr -a claude-code -g -y

安装 repo 全部 skill

npx skills add pony-maggie/code_minions --all -g -y

预览 repo 内 skill

npx skills add pony-maggie/code_minions --list

SKILL.md

Frontmatter
{
    "name": "open-github-pr",
    "inputs": {
        "prd": {
            "type": "string",
            "required": true
        },
        "epic_title": {
            "type": "string",
            "required": true
        },
        "report_path": {
            "type": "string",
            "required": true
        },
        "tickets_output": {
            "type": "object",
            "required": true
        },
        "implement_results": {
            "type": "array",
            "required": true
        }
    },
    "outputs": {
        "error": {
            "type": "string"
        },
        "title": {
            "type": "string"
        },
        "branch": {
            "type": "string"
        },
        "pr_url": {
            "type": "string"
        },
        "pushed": {
            "type": "boolean"
        },
        "pr_number": {
            "type": "integer"
        },
        "repo_name": {
            "type": "string"
        },
        "origin_url": {
            "type": "string"
        },
        "repo_owner": {
            "type": "string"
        },
        "base_branch": {
            "type": "string"
        },
        "body_preview": {
            "type": "string"
        }
    },
    "description": "Push the current worktree branch and create a GitHub pull request.",
    "allowed-tools": [],
    "required-mcps": [
        "github"
    ],
    "entrypoint-script": "scripts\/run.py"
}

open-github-pr

Push the current worktree branch to origin and create a GitHub pull request.

Inputs

  • prd (string, required): path to the PRD file used for this run.
  • epic_title (string, required): Jira Epic title; used to build the PR title.
  • tickets_output (object, required): output of create-jira-tickets.
  • implement_results (array, required): output items from implement-with-tdd.
  • report_path (string, required): relative path to the final report file in the worktree.

Outputs

  • branch (string)
  • base_branch (string)
  • origin_url (string)
  • repo_owner (string)
  • repo_name (string)
  • pushed (boolean)
  • pr_url (string)
  • pr_number (integer)
  • title (string)
  • body_preview (string)
  • error (string)

Instructions

  • This skill is deterministic and handled by entrypoint-script.
  • Use local git state from the worktree.
  • Use the github MCP server only for PR creation.
  • Fail clearly if origin is missing, not GitHub, or if the GitHub MCP server does not expose a PR creation tool.

Version History

  • ac75593 Current 2026-07-24 17:41

Same Skill Collection

src/code_minions/builtin/skills/ai-code-review/SKILL.md
src/code_minions/builtin/skills/create-jira-tickets/SKILL.md
src/code_minions/builtin/skills/hello-world/SKILL.md
src/code_minions/builtin/skills/implement-with-tdd/SKILL.md
src/code_minions/builtin/skills/parse-prd/SKILL.md
src/code_minions/builtin/skills/plan-tasks/SKILL.md
src/code_minions/builtin/skills/product-acceptance-review/SKILL.md
src/code_minions/builtin/skills/python-web-plan-tasks/SKILL.md
src/code_minions/builtin/skills/summarize-file/SKILL.md
src/code_minions/builtin/skills/compile-report/SKILL.md

Metadata

Files
0
Version
ac75593
Hash
0a30194d
Indexed
2026-07-24 17:41

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-16 18:03
浙ICP备14020137号-1 $mapa de visitantes$