copilot-coding-agent
GitHub Copilot Coding Agent automation. Apply the ai-copilot label to an issue → GitHub Actions auto-assigns Copilot via GraphQL → Copilot creates a Draft PR. One-click issue-to-PR pipeline.
Best use case
copilot-coding-agent is best used when you need a repeatable AI agent workflow instead of a one-off prompt. It is especially useful for teams working in multi. GitHub Copilot Coding Agent automation. Apply the ai-copilot label to an issue → GitHub Actions auto-assigns Copilot via GraphQL → Copilot creates a Draft PR. One-click issue-to-PR pipeline.
GitHub Copilot Coding Agent automation. Apply the ai-copilot label to an issue → GitHub Actions auto-assigns Copilot via GraphQL → Copilot creates a Draft PR. One-click issue-to-PR pipeline.
Users should expect a more consistent workflow output, faster repeated execution, and less time spent rewriting prompts from scratch.
Practical example
Example input
Use the "copilot-coding-agent" skill to help with this workflow task. Context: GitHub Copilot Coding Agent automation. Apply the ai-copilot label to an issue → GitHub Actions auto-assigns Copilot via GraphQL → Copilot creates a Draft PR. One-click issue-to-PR pipeline.
Example output
A structured workflow result with clearer steps, more consistent formatting, and an output that is easier to reuse in the next run.
When to use this skill
- Use this skill when you want a reusable workflow rather than writing the same prompt again and again.
When not to use this skill
- Do not use this when you only need a one-off answer and do not need a reusable workflow.
- Do not use it if you cannot install or maintain the related files, repository context, or supporting tools.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/copilot-coding-agent/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How copilot-coding-agent Compares
| Feature / Agent | copilot-coding-agent | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
GitHub Copilot Coding Agent automation. Apply the ai-copilot label to an issue → GitHub Actions auto-assigns Copilot via GraphQL → Copilot creates a Draft PR. One-click issue-to-PR pipeline.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# GitHub Copilot Coding Agent — Issue → Draft PR automation
> If you add the `ai-copilot` label to an issue, GitHub Actions automatically assigns it to Copilot,
> and Copilot creates a branch → writes code → opens a Draft PR.
## When to use this skill
- When PMs/designers create issues and Copilot starts implementation without a developer
- When offloading backlog issues (refactors/docs/tests) to Copilot
- When delegating follow-up work created by Vibe Kanban / Conductor to Copilot
- When automating pipelines like Jira → GitHub Issue → Copilot PR
---
## Prerequisites
- **GitHub plan**: Copilot Pro+, Business, or Enterprise
- **Copilot Coding Agent enabled**: Must be enabled in repo settings
- **gh CLI**: Authenticated
- **PAT**: Personal Access Token with `repo` scope
---
## One-time setup
```bash
# One-click setup (register token + deploy workflow + create label)
bash scripts/copilot-setup-workflow.sh
```
This script does:
1. Register `COPILOT_ASSIGN_TOKEN` as a repo secret
2. Deploy `.github/workflows/assign-to-copilot.yml`
3. Create the `ai-copilot` label
---
## Usage
### Option 1: GitHub Actions automation (recommended)
```bash
# 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."
```
### Option 2: Add a label to an existing issue
```bash
# Add label to issue #42 → trigger Actions
gh issue edit 42 --add-label ai-copilot
```
### Option 3: Assign directly via script
```bash
export COPILOT_ASSIGN_TOKEN=<your-pat>
bash scripts/copilot-assign-issue.sh 42
```
---
## How it works (technical)
```
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
```
---
## GitHub Actions workflows
| 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 PR limitations
> Copilot is treated like an **external contributor**.
- PRs are created as Draft by default
- Before the first Actions run, a **manual approval** from someone with write access is required
- After approval, `copilot-pr-ci.yml` CI runs normally
```bash
# Check CI after manual approval
gh pr list --search 'head:copilot/'
gh pr view <pr-number>
```
---
## planno (plannotator) integration — optional
Review the issue spec in planno before assigning to Copilot (independent skill, not required):
```text
Review and approve this issue spec in planno
```
After approval, add the `ai-copilot` label → trigger Actions.
---
## Common use cases
### 1. Label-based Copilot queue
```
PM writes an issue → add ai-copilot label
→ Actions auto-assigns → Copilot creates Draft PR
→ Team only performs PR review
```
### 2. Combined with Vibe Kanban / Conductor
```
Follow-up issues created by Vibe Kanban:
refactors/docs cleanup/add tests
→ ai-copilot label → Copilot handles
→ Team focuses on main feature development
```
### 3. External system integration
```
Jira issue → Zapier/webhook → auto-create GitHub Issue
→ ai-copilot label → Copilot PR
→ Fully automated pipeline
```
### 4. Refactoring backlog processing
```bash
# 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
```
---
## Check results
```bash
# 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>
```
---
## References
- [GitHub Copilot Coding Agent overview](https://docs.github.com/en/copilot/concepts/agents/coding-agent/about-coding-agent)
- [Ask Copilot to create a PR (GraphQL example)](https://docs.github.com/en/copilot/how-tos/use-copilot-agents/coding-agent/create-a-pr)
- [Official docs: assign Copilot to an issue](https://docs.github.com/copilot/using-github-copilot/coding-agent/asking-copilot-to-create-a-pull-request)
- [Copilot PR permissions/limitations](https://docs.github.com/en/copilot/concepts/agents/coding-agent/about-coding-agent)
- [GitHub Copilot coding agent (VSCode docs)](https://code.visualstudio.com/docs/copilot/copilot-coding-agent)
---
## Quick Reference
```
=== 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
```Related Skills
running-claude-code-via-litellm-copilot
Use when routing Claude Code through a local LiteLLM proxy to GitHub Copilot, reducing direct Anthropic spend, configuring ANTHROPIC_BASE_URL or ANTHROPIC_MODEL overrides, or troubleshooting Copilot proxy setup failures such as model-not-found, no localhost traffic, or GitHub 401/403 auth errors.
copilot-sdk
Build applications powered by GitHub Copilot using the Copilot SDK. Use when creating programmatic integrations with Copilot across Node.js/TypeScript, Python, Go, or .NET. Covers session management, custom tools, streaming, hooks, MCP servers, BYOK providers, session persistence, and custom agents. Requires GitHub Copilot CLI installed and a GitHub Copilot subscription (unless using BYOK).
cc-skill-coding-standards
Universal coding standards, best practices, and patterns for TypeScript, JavaScript, React, and Node.js development.
azure-hosted-copilot-sdk
Build and deploy GitHub Copilot SDK apps to Azure. USE FOR: build copilot app, create copilot app, copilot SDK, @github/copilot-sdk, scaffold copilot project, copilot-powered app, deploy copilot app, host on azure, azure model, BYOM, bring your own model, use my own model, azure openai model, DefaultAzureCredential, self-hosted model, copilot SDK service, chat app with copilot, copilot-sdk-service template, azd init copilot, CopilotClient, createSession, sendAndWait, GitHub Models API. DO NOT USE FOR: using Copilot (not building with it), Copilot Extensions, Azure Functions without Copilot, general web apps without copilot SDK, Foundry agent hosting (use microsoft-foundry skill), agent evaluation (use microsoft-foundry skill).
coding-with-tailiwnd
Use this skill when you need to code with tailwind css
no-hardcoding
Forbid hardcoded values in code. Use this when reviewing code, writing new features, or when magic numbers/strings are detected. Enforces constants, env variables, and config files.
global-coding-style
Maintain consistent code formatting, naming conventions, type safety, and automated code quality standards across PHP and TypeScript/JavaScript. Use this skill when writing or editing any PHP files (.php), TypeScript/JavaScript files (.ts, .tsx, .js, .jsx), when implementing type declarations and return types, when running code formatters (Laravel Pint, Ultracite) or linters, when running static analysis tools (Larastan), when naming variables, functions, classes, or files, when applying DRY principles, when removing dead code, or when preparing code for review or commit.
copilot-mcp-server
Direct access to GitHub Copilot MCP server tools for AI-powered development assistance
copilot-flow
AI collaboration workflow plugin - Implements automated collaborative development process between Claude and Copilot through structured 5-stage workflow
coding-standards
React 19 and TypeScript coding standards for Portfolio Buddy 2. Use when: writing new components, reviewing code, refactoring, or ensuring consistency. Contains component patterns, TypeScript rules, and best practices.
azure-quotas
Check/manage Azure quotas and usage across providers. For deployment planning, capacity validation, region selection. WHEN: "check quotas", "service limits", "current usage", "request quota increase", "quota exceeded", "validate capacity", "regional availability", "provisioning limits", "vCPU limit", "how many vCPUs available in my subscription".
raindrop-io
Manage Raindrop.io bookmarks with AI assistance. Save and organize bookmarks, search your collection, manage reading lists, and organize research materials. Use when working with bookmarks, web research, reading lists, or when user mentions Raindrop.io.