{
  "id": "issue-to-pr-copilot",
  "title": "Assign GitHub issues to an agent",
  "category": "coding-agents",
  "job": "Turn issues into draft PRs without leaving GitHub.",
  "difficulty": "Beginner",
  "tools": [
    {
      "id": "copilot",
      "name": "GitHub Copilot",
      "url": "https://github.com/features/copilot",
      "kind": "ide",
      "summary": "GitHub's AI pair programmer and coding agent across IDEs, GitHub.com and the Copilot CLI. Usage-based AI credits since June 1, 2026.",
      "open_source": false,
      "pricing": {
        "plans": [
          {
            "name": "Free",
            "usd_month": 0,
            "note": "2,000 completions/month, limited chat and agent"
          },
          {
            "name": "Pro",
            "usd_month": 10,
            "note": "1,500 AI credits/month (1,000 base + 500 flex)"
          },
          {
            "name": "Pro+",
            "usd_month": 39,
            "note": "7,000 AI credits/month"
          },
          {
            "name": "Max",
            "usd_month": 100,
            "note": "20,000 AI credits/month"
          }
        ],
        "source": "https://docs.github.com/en/copilot/get-started/plans",
        "status": "verified",
        "notes": "Code completions don't consume AI credits. 1 AI credit = $0.01."
      },
      "last_checked": "2026-10-21"
    }
  ],
  "model": "Auto model selection or premium models (plan-dependent)",
  "mcp_servers": [],
  "config": {
    "filename": ".github/copilot-instructions.md",
    "language": "markdown",
    "code": "- Run `npm test` before opening a PR.\n- Follow the existing folder structure.\n- Keep PRs under 300 changed lines; split otherwise."
  },
  "starter_prompt": "(In the issue) Acceptance criteria: <list>. Tests to add: <list>. Assign to Copilot.",
  "monthly_cost": {
    "min_usd": 10,
    "max_usd": 39,
    "note": "Copilot Pro $10 (1,500 AI credits/month) or Pro+ $39 (7,000). Agent usage consumes AI credits."
  },
  "steps": [
    "Add repository instructions.",
    "Write issues with acceptance criteria.",
    "Assign to Copilot and review the draft PR."
  ],
  "why_this_works": "Lives where your issues already are.",
  "watch_out": "Since June 2026 usage is credit-based; heavy agent use can exhaust a Pro plan.",
  "unverified": [],
  "tested": false,
  "last_checked": "2026-10-21"
}