Integrations

Using Fine with GitHub

Use Fine AI agents to streamline your work on GitHub.

Images

Fine GitHub App

Fine GitHub App lets you trigger AI agents directly from GitHub pull requests. With Fine you can:

  • Turn issues into pull requests.
  • Automatically handle review comments.
  • Perform repository-wide changes based on a single comment.
  • Explain code changes.
  • Resolve merge conflicts.

Install Fine on GitHub

If you haven't already, on the Fine platform, navigate to Workspace Settings > Integrations > GitHub. Click the "Install" button next to the repository you want to integrate with Fine.

To view the status of your GitHub repositories, navigate to Projects. You can then click the menu on the relevant repository to reindex, delete or add custom settings. If you've recently added a new repository in GitHub, navigate to Projects > Import from GitHub to add it to Fine.

Note

If you're adding Fine to a GitHub Organisation, you'll need to have Admin privileges in GitHub to authorise Fine.

Fine AI for GitHub Issues

Start Coding from GitHub Issues (/code)

You can have Fine's AI agent to work on a GitHub issue by leaving a comment on the issue with the /code keyword or adding the "Fine" label to the issue.

Fine will pick up on your comment and start working on the issue. After completion, Fine will leave a comment on the issue with a link to the pull request.

Images

For best results, provide as much guidence as possible in the issue description. Try to provide the same information a human developer would need to complete the task.

For more information, check out Implement.

Get Guidance and Answers (/guideme and /ask)

Comment /ask followed by your question on a GitHub issue and Fine will reply with an answer, having searched and analysed the codebase for you.

If you've been tasked with solving an issue and want pointers on how to get started, comment /guideme. Fine will try to understand the issue at hand, search the codebase for the changes that need to be made and suggest a plan for you.

AI in GitHub Issues

Fine AI for GitHub PRs

Revise: Use Fine to edit & fix PRs

If you want Fine to make an edit to an existing pull-request (regardless of who created the pull-request), you can leave a review comment that starts with the /revise keyword on the pull-request. For example:

Images

This will trigger Fine's AI Agents, and they will get to work on your request. After completion, they will leave a comment on your PR for you review:

Single-file revisions

Use single-file revisions when you want to make fast, small changes to a specific file (e.g: fixing a typo, adding a missing import, refactoring a function in the same file).

To trigger a single-file revision, leave a review comment on the file you want to change, in the following format:

/revise <revision instructions>

Fine will then make the changes and push a new commit to the branch.

You can also ask Fine to work on multiple files at once. To do so, leave a review comment on the files you want to change, and then submit your review with /revise command.

Images

Summary: What am I looking at?

If you're performing a PR review for a colleague, getting started can sometimes be the hardest part. Comment /summary to receive a summary of the changes in the PR to help you along with your review.

Ask Fine to explain code changes (/ask)

If you want to understand why a specific change was made, you can ask Fine to explain it. To do so, leave a review comment that starts with /ask keyword on the pull-request.


Moving forward

Now, Fine is much more integrated into your workflow. That being said, there's still room for improvement. Let's understand how you can trigger the AI agents directly from your task management platform.

Previous
AI Workflows