Agent Skills
› opensquilla/opensquilla
› meta-issue-to-pr-autopilot
meta-issue-to-pr-autopilot
GitHub自动处理Issue并生成PR的元技能。通过子代理修复代码,使用摘要工具撰写PR描述,并通过gh命令创建PR。适用于范围明确的小型Issue。当前已弃用,需满足特定风险控制要求后方可重新启用。
Trigger Scenarios
用户请求自动将Issue转化为Pull Request
需要自动化代码修复并提交PR的场景
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,因缺乏风险元数据执行、每步预算限制及回滚路径而暂时禁用,需满足特定安全和能力要求才能重新启用。


