Agent Skills
› opensquilla/opensquilla
› meta-issue-to-pr-autopilot
meta-issue-to-pr-autopilot
GitHub已废弃的Issue转PR自动化技能,通过gh工具、子代理修复循环和git写入实现PR创建。因缺乏风险控制、预算限制及回滚机制而被禁用,需满足高风险元数据要求方可重新启用。
Trigger Scenarios
处理范围明确且验收标准清晰的小型Issue
需要自动将Issue转化为Pull Request的场景
Install
npx skills add opensquilla/opensquilla --skill meta-issue-to-pr-autopilot -g -y
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,因缺乏风险元数据执行、每步预算限制及回滚路径而暂时禁用,需满足特定安全和能力要求才能重新启用。


