Sync workflow templates into the target repo
From the AI-Implement repository, run the This opens a pull request in the target repo that adds the following files to
sync-workflow.yml workflow against your target repo:.github/workflows/ and the repo root:claude-implement.yml— the main implementation workflowclaude-plan.yml— the planning workflowcomment-trigger.yml— the/ai-implementcomment triggerWORKFLOW.md— the Claude implementation prompt templatePLANNING.md— the Claude planning prompt template
WORKFLOW.md and PLANNING.md are seeded once and never overwritten by subsequent syncs. After the initial setup, each repo owns its own prompt templates — you can edit them freely without them being reset by a future sync.Review and merge the PR in the target repo
Open the pull request that was created in your target repo and review the added files. Merge the PR when you are ready. Once merged, the workflow files are active and GitHub Actions can dispatch runs against that repo.
Enable pull request creation in the target repo
In the target repo, go to Settings → Actions → General and enable Allow GitHub Actions to create and approve pull requests.Without this setting, the implementation workflow will fail when it attempts to open a PR.
Install the GitHub App on the target repo
If you did not install the GitHub App on all repositories during the GitHub App setup, install it on this repo now. Go to your GitHub App’s settings page, open the Install App tab, and add the target repo to the App’s installation.
Add the team-to-repo mapping in the admin UI
Open the admin UI at
Save the mapping. The orchestrator will begin dispatching issues from that Linear team to that repo on its next poll cycle.
http://localhost:8080/admin (or your Fly.io app URL) and add a new mapping. Fill in the following fields:| Field | Description |
|---|---|
| Team key | Your Linear team key (the short identifier shown in Linear, e.g. ENG) |
| Owner | The GitHub organization or user that owns the repo |
| Repo | The repository name without the owner prefix |
| Execution mode | github-actions (default) to dispatch via GitHub Actions |
| Concurrency limit | Maximum number of issues AI-Implement will work on in parallel for this team (default: 3) |
| Provider | anthropic (default) or bedrock |
Create the AI-Implement label in Linear
In your Linear workspace, create a label named exactly
AI-Implement. The orchestrator matches on this exact string — capitalisation matters.You can create labels from Settings → Labels in your Linear workspace.Label an issue and watch it run
Apply the
AI-Implement label to any Linear issue in the mapped team. Within 60 seconds (one poll cycle), the orchestrator picks it up, dispatches the workflow, and Claude Code starts working on the implementation.The issue moves to In Progress in Linear while Claude works, then to Ready for Review once the PR is open, with a comment linking to the PR.After your first run
Once the PR appears, you can:- Review the gap analysis comment that Claude posts automatically, showing what was implemented and what (if anything) still needs attention
- Comment
/ai-implementon the PR to send Claude back in for a gap-fill pass on the same branch - Merge the PR to close the Linear issue automatically (the PR body includes a
Fixesreference to the issue identifier)
Customize WORKFLOW.md
Edit the Claude prompt template to match your repo’s stack and conventions.
Admin UI reference
Full reference for all fields available in the team-to-repo mapping form.