Working with Coding Agents on GitHub — End-to-End Playbook

A hands-on, bookmark-it walkthrough for getting the most out of iKanban's coding agents: turn any task into a merged pull request by handing it to @claude, @copilot, or @gemini — and drive the whole thing (kick off → watch → review → merge → iterate) without leaving iKanban.

New here? Start with Coding Agents (GitHub PRs) for the one-time repo setup, and Agent Lifecycle (Issue → Merge) for the big-picture flow. This page is the practical playbook — what to type, what you'll see, and how to get a great result every time.


What you can do with this


Before you start (one-time)

You need this set up once per repo (details in Coding Agents):

  1. Connect GitHub to your workspace and pick the repository for the team.
  2. Enable the agent you want:
    • Copilot — nothing to install; it's GitHub-native.
    • Claude / Gemini — configure the provider's maintained workflow for the repository. Review its permissions and event handling; the iKanban guide does not ship copy-paste workflow YAML.
  3. (Recommended) Install the iKanban GitHub App on the repo so status updates arrive in real time.

Once that's done, you never touch it again — the rest is per-task.


Step 1 — Kick off an agent

On any task, do either:

The moment you do, iKanban opens a GitHub issue for the work and the task shows an Agent Activity card. The board moves the task to In Progress automatically.

Which agent?

Pick…When
ClaudeGeneral implementation, refactors, multi-file changes, following detailed instructions.
GeminiSimilar scope; its workflow also runs lint/build checks before opening the PR.
CopilotYou want GitHub's native agent and its own PR flow.

You can use different agents on different tasks in parallel — each task tracks its own run.


Step 2 — Write instructions that get a great result

The agent only knows what the task tells it. A few minutes here saves a round-trip:


Step 3 — Watch it work (the Agent Activity card)

The card updates itself (it refreshes every few seconds while the agent is active). You'll see the chip and checklist move through:

Card showsWhat it meansWhat you do
Queued — waiting for the agent to pick upThe issue is created; the agent hasn't started yet.Nothing — just wait.
Working — agent is working on this issueThe agent is writing code.Nothing yet.
✅ Pull request openedA PR is up with the changes.Review it (next step).
Merged — pull request mergedThe change is in; the task moves to Done.Done 🎉
Failed / did not completeThe run ended without a PR.Check the task comments, refine the instructions, and mention the agent again.

There's a GitHub issue link on the card if you ever want the raw thread.


Step 4 — Review & merge (without leaving iKanban)

When the card shows Pull request opened:

  1. Open the PR from the card to see the diff and the agent's summary.
  2. Approve it, or request changes.
  3. Merge — from the card or GitHub.

On merge, the PR's Closes #… reference closes the GitHub issue and marks the iKanban task Done, and the agent gets credit on Insights → Agent Activity.

Tip — let the merge close the task. If you click Done by hand before the PR merges, that move is logged as you, not the agent. Let the merge do it and the agent earns the credit.


Step 5 — Iterate on the same PR

Not quite right? Reply with another mention on the task — @claude also handle the empty-state case — and the follow-up goes to the existing PR, not a new run. Keep iterating in the same thread until it's ready to merge.


When CI fails

If the checks on an agent's PR fail, iKanban posts an automatic triage comment — a short, plain-English root-cause hypothesis pulled from the failed job's log, plus the most useful next check. Read it, decide, and either fix-forward (a follow-up mention) or close the PR. You'll also get an inbox notification that CI failed. More in CI Failure Triage.


Get the most out of it (power tips)


Troubleshooting

SymptomWhat to do
Card stuck on Queued for a whileThe agent hasn't picked up yet, or the repo isn't fully set up — confirm GitHub is connected and the workflow/App is installed (setup).
Card Working, no PR after a whileThe agent may still be running, or its run ended without changes — check the task comments; refine and mention it again.
PR opened but won't auto-mergeMerge it from the card — auto-merge needs an extra repo token; the change still closes the task correctly on merge.
Agent shows FailedThe run didn't finish — read the task comments for why, tighten the instructions, and re-mention the agent.
Merge counted as you, not the agentYou moved the task to Done manually before the PR merged. Let the merge do it next time.

Quick reference (bookmark this)