by supercent-io
此技能自动化 GitHub Copilot Coding Agent,将 Issue 转化为草稿 Pull Request,只需添加一个标签即可。团队成员添加 ai-copilot 标签,Copilot 会自动处理实现。
1. 打开 Claude 聊天界面
2. 点击下方 "📋 复制" 按钮
3. 粘贴到 Claude 聊天框中并发送
4. 输入 "使用 copilot-coding-agent 技能" 开始使用
=== copilot-coding-agent 技能 === 作者: supercent-io 描述: 此技能自动化 GitHub Copilot Coding Agent,将 Issue 转化为草稿 Pull Request,只需添加一个标签即可。团队成员添加 ai-copilot 标签,Copilot 会自动处理实现。 使用方法: 1. 调用技能: "使用 copilot-coding-agent 技能" 2. 提供相关信息: 根据技能要求提供必要参数 3. 查看结果: 技能会返回处理结果 示例: "使用 copilot-coding-agent 技能,帮我分析一下这段代码"
这种方法适用于所有 Claude 用户,不需要安装额外工具。
productivity
safe
If you add the
ai-copilotlabel to an issue, GitHub Actions automatically assigns it to Copilot, and Copilot creates a branch → writes code → opens a Draft PR.
repo scope# One-click setup (register token + deploy workflow + create label)
bash scripts/copilot-setup-workflow.sh
This script does:
COPILOT_ASSIGN_TOKEN as a repo secret.github/workflows/assign-to-copilot.ymlai-copilot label# Create issue + ai-copilot label → auto-assign Copilot
gh issue create \
--label ai-copilot \
--title "Add user authentication" \
--body "Implement JWT-based auth with refresh tokens. Include login, logout, refresh endpoints."
# Add label to issue #42 → trigger Actions
gh issue edit 42 --add-label ai-copilot
export COPILOT_ASSIGN_TOKEN=<your-pat>
bash scripts/copilot-assign-issue.sh 42
Issue created/labeled
↓
GitHub Actions triggered (assign-to-copilot.yml)
↓
Look up Copilot bot ID via GraphQL
↓
replaceActorsForAssignable → set Copilot as assignee
↓
Copilot Coding Agent starts processing the issue
↓
Create branch → write code → open Draft PR
↓
Auto-assign you as PR reviewer
Required GraphQL header:
GraphQL-Features: issues_copilot_assignment_api_support,coding_agent_model_selection
| Workflow | Trigger | Purpose |
|---|---|---|
assign-to-copilot.yml | Issue labeled ai-copilot | Auto-assign to Copilot |
copilot-pr-ci.yml | PR open/update | Run CI (build + tests) |
Copilot is treated like an external contributor.
copilot-pr-ci.yml CI runs normally# Check CI after manual approval
gh pr list --search 'head:copilot/'
gh pr view <pr-number>
Review the issue spec in planno before assigning to Copilot (independent skill, not required):
Review and approve this issue spec in planno
After approval, add the ai-copilot label → trigger Actions.
PM writes an issue → add ai-copilot label
→ Actions auto-assigns → Copilot creates Draft PR
→ Team only performs PR review
Follow-up issues created by Vibe Kanban:
refactors/docs cleanup/add tests
→ ai-copilot label → Copilot handles
→ Team focuses on main feature development
Jira issue → Zapier/webhook → auto-create GitHub Issue
→ ai-copilot label → Copilot PR
→ Fully automated pipeline
# Bulk-add label to backlog issues
gh issue list --label "tech-debt" --json number \
| jq '.[].number' \
| xargs -I{} gh issue edit {} --add-label ai-copilot
# List PRs created by Copilot
gh pr list --search 'head:copilot/'
# Specific issue status
gh issue view 42
# PR CI status
gh pr checks <pr-number>
=== Setup ===
bash scripts/copilot-setup-workflow.sh one-time setup
=== Issue assignment ===
gh issue create --label ai-copilot ... new issue + auto-assign
gh issue edit <num> --add-label ai-copilot existing issue
bash scripts/copilot-assign-issue.sh <num> manual assign
=== Verify results ===
gh pr list --search 'head:copilot/' Copilot PR list
gh pr view <num> PR details
gh pr checks <num> CI status
=== Constraints ===
Copilot Pro+/Business/Enterprise required
First PR requires manual approval (treated as an external contributor)
PAT: repo scope required
View Count
0
Download Count
0
Favorite Count
0
Quality Score
73