Kliff Implement
Hand an issue to Kliff with a mention or a label, and get a draft pull request back.
Kliff Implement works on an issue in its own branch and opens a draft pull request with the change. Start it with a mention, or set a label that starts it when an issue gets it. It works the same way on GitLab issues, with draft merge requests. Kliff Implement is under From Kliff on the Automations page.
Starting it with a mention
Comment @kliff implement on an issue. On an issue, a plain @kliff works too. @kliff implement also works in a pull request comment, where it starts the work in a new branch.
To start it, you need a linked GitHub account and write access to the repository. On GitLab, you need a linked GitLab account and the Developer role or higher. A mention from a bot, or one longer than 8,000 characters, is ignored.
Starting it with a label
Set a Label in the automation's settings, and turn on the repositories under Repositories. An issue that gets that label in one of those repositories starts a run, when the issue was opened by someone who can write to the repository. Leave the label empty to start only on mentions.
Settings
Owners and admins change these on the automation's page.
| Setting | Options | Default |
|---|---|---|
| Label | Any label name, up to 50 characters | Empty (mentions only) |
| Labelled issues a day | 10, 25, 50, or 100 | 50 |
| Repositories | Turn labelled issues on for each repository. | Off |
| Model | A Cloudflare Workers AI model that can call tools. | The default run model |
Past the daily number in a UTC day, labelled issues are not worked on. Mentions always are.
What you get
The run works in its own branch and opens a draft pull request into the default branch when it is done. If there is nothing to change, it finishes without one. Review and merge the pull request yourself.
Related
- Run history for the pull requests it opened.
- Turn issues into pull requests with Kliff Implement in the help center.