Agent Skillsopensquilla/opensquilla › meta-issue-to-pr-autopilot

meta-issue-to-pr-autopilot

GitHub

自动处理Issue并生成PR的元技能。通过子代理修复代码,使用摘要工具撰写PR描述,并通过gh命令创建PR。适用于范围明确的小型Issue。当前已弃用,需满足特定风险控制要求后方可重新启用。

src/opensquilla/skills/exp/meta-issue-to-pr-autopilot/SKILL.md opensquilla/opensquilla

Trigger Scenarios

用户请求自动将Issue转化为Pull Request 需要自动化代码修复并提交PR的场景

Install

npx skills add opensquilla/opensquilla --skill meta-issue-to-pr-autopilot -g -y
More Options

Non-standard path

npx skills add https://github.com/opensquilla/opensquilla/tree/main/src/opensquilla/skills/exp/meta-issue-to-pr-autopilot -g -y

Use without installing

npx skills use opensquilla/opensquilla@meta-issue-to-pr-autopilot

指定 Agent (Claude Code)

npx skills add opensquilla/opensquilla --skill meta-issue-to-pr-autopilot -a claude-code -g -y

安装 repo 全部 skill

npx skills add opensquilla/opensquilla --all -g -y

预览 repo 内 skill

npx skills add opensquilla/opensquilla --list

SKILL.md

Frontmatter
{
    "kind": "meta",
    "name": "meta-issue-to-pr-autopilot",
    "always": false,
    "metadata": {
        "opensquilla": {
            "risk": "high",
            "capabilities": [
                "vcs",
                "filesystem-write",
                "network-write",
                "subprocess"
            ]
        }
    },
    "triggers": [],
    "provenance": {
        "origin": "opensquilla-original",
        "license": "Apache-2.0"
    },
    "composition": {
        "steps": [
            {
                "id": "fetch_issue",
                "with": {
                    "task": "Fetch the issue referenced in the user request and gather the relevant repo context: {{ inputs.user_message | xml_escape | truncate(512) }}"
                },
                "skill": "github"
            },
            {
                "id": "patch",
                "with": {
                    "task": "Implement a fix for this issue.",
                    "issue": "{{ outputs.fetch_issue }}"
                },
                "skill": "sub-agent",
                "depends_on": [
                    "fetch_issue"
                ]
            },
            {
                "id": "pr_body",
                "with": {
                    "text": "{{ outputs.patch }}",
                    "style": "pr_description",
                    "max_words": 400
                },
                "skill": "summarize",
                "depends_on": [
                    "patch"
                ]
            },
            {
                "id": "open_pr",
                "with": {
                    "task": "Open a pull request with the fix. Title: fix: {{ inputs.user_message | xml_escape | truncate(80) }}. Body: {{ outputs.pr_body }}"
                },
                "skill": "github",
                "depends_on": [
                    "pr_body"
                ]
            }
        ]
    },
    "description": "[DEPRECATED] Issue-to-PR autopilot — opens a PR via `gh`, runs a sub-agent fix loop, and writes to git. Disabled pending the E5 bounded sub-agent contract + side-effect ledger (plan §3.1 A8 \/ §5.3 E4): no risk metadata enforcement, no per-step budget, no rollback path. Do not re-enable without `metadata.opensquilla.risk: high` + capabilities {vcs, filesystem-write, network-write, subprocess} and a saga-style compensation step.",
    "meta_priority": 0,
    "disable-model-invocation": true
}

Issue-to-PR Autopilot (Meta-Skill)

Triages an issue, delegates the fix to sub-agent, drafts a PR description with summarize, and opens the PR via gh. Best used on small, well-scoped issues with clear acceptance criteria.

Fallback

Manually call gh issue view, code the fix, write the PR body, then gh pr create.

Version History

  • 7f72a32 Current 2026-07-05 18:41

    标记为DEPRECATED,因缺乏风险元数据执行、每步预算限制及回滚路径而暂时禁用,需满足特定安全和能力要求才能重新启用。

Same Skill Collection

src/opensquilla/skills/bundled/advanced-dubbing-studio/SKILL.md
src/opensquilla/skills/bundled/ai-video-script/SKILL.md
src/opensquilla/skills/bundled/audio-cog/SKILL.md
src/opensquilla/skills/bundled/awesome-webpage-image-download/SKILL.md
src/opensquilla/skills/bundled/awesome-webpage-research/SKILL.md
src/opensquilla/skills/bundled/AwesomeWebpageMetaSkill/SKILL.md
src/opensquilla/skills/bundled/cron/SKILL.md
src/opensquilla/skills/bundled/docx/SKILL.md
src/opensquilla/skills/bundled/filesystem/SKILL.md
src/opensquilla/skills/bundled/git-diff/SKILL.md
src/opensquilla/skills/bundled/github/SKILL.md
src/opensquilla/skills/bundled/history-explorer/SKILL.md
src/opensquilla/skills/bundled/html-coder/SKILL.md
src/opensquilla/skills/bundled/html-to-pdf/SKILL.md
src/opensquilla/skills/bundled/http-fetch/SKILL.md
src/opensquilla/skills/bundled/latex-compile/SKILL.md
src/opensquilla/skills/bundled/memory/SKILL.md
src/opensquilla/skills/bundled/music-and-singing-studio/SKILL.md
src/opensquilla/skills/bundled/nano-banana-pro-openrouter/SKILL.md
src/opensquilla/skills/bundled/nano-banana-pro/SKILL.md
src/opensquilla/skills/bundled/nano-pdf/SKILL.md
src/opensquilla/skills/bundled/openrouter-video-generator/SKILL.md
src/opensquilla/skills/bundled/paper-abstract-author/SKILL.md
src/opensquilla/skills/bundled/paper-citation-planner/SKILL.md
src/opensquilla/skills/bundled/paper-experiment-stub/SKILL.md
src/opensquilla/skills/bundled/paper-outline-author/SKILL.md
src/opensquilla/skills/bundled/paper-preference-planner/SKILL.md
src/opensquilla/skills/bundled/paper-refbib-stub/SKILL.md
src/opensquilla/skills/bundled/paper-revision-author/SKILL.md
src/opensquilla/skills/bundled/paper-section-author/SKILL.md
src/opensquilla/skills/bundled/paper-source-curator/SKILL.md
src/opensquilla/skills/bundled/pptx/SKILL.md
src/opensquilla/skills/bundled/seedance-2-prompt/SKILL.md
src/opensquilla/skills/bundled/skill-creator-linter/SKILL.md
src/opensquilla/skills/bundled/skill-creator-proposals/SKILL.md
src/opensquilla/skills/bundled/skill-creator-smoke-test/SKILL.md
src/opensquilla/skills/bundled/srt-from-script/SKILL.md
src/opensquilla/skills/bundled/stack-trace-generic-probe/SKILL.md
src/opensquilla/skills/bundled/stack-trace-go-probe/SKILL.md
src/opensquilla/skills/bundled/stack-trace-js-probe/SKILL.md
src/opensquilla/skills/bundled/stack-trace-python-probe/SKILL.md
src/opensquilla/skills/bundled/stack-trace-rust-probe/SKILL.md
src/opensquilla/skills/bundled/subtitle-burner/SKILL.md
src/opensquilla/skills/bundled/swe-bench/SKILL.md
src/opensquilla/skills/bundled/text-file-read/SKILL.md
src/opensquilla/skills/bundled/title-card-image/SKILL.md
src/opensquilla/skills/bundled/video-merger/SKILL.md
src/opensquilla/skills/bundled/video-still-animator/SKILL.md
src/opensquilla/skills/bundled/voice-clone-lab/SKILL.md
src/opensquilla/skills/bundled/voice-conversion-studio/SKILL.md

Metadata

Files
0
Version
5e8cfba
Hash
7b026ebd
Indexed
2026-07-05 18:41

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-06 14:53
浙ICP备14020137号-1 $Map of visitor$