Jules is a coding agent created by Google. It integrates with Github and runs on the Cloud. This article demonstrates how to use Google Jules to fix a bug.
Pre-requisites
-
Sign up Jules here.
-
Jules is given access to your GitHub repository.

The Plan
-
The task:
In this demo, Jules should fix the nonfunctional Delete button. Jules is also informed that the requirements are the same as those for the Delete button in another module. -
The expectations:
- A functional delete button.
- A delete button will be disabled if the content was created more than 2 hours ago.
- A meaningful commit message that explains the change.
- All changes are placed in a bug fix branch.
The Steps
-
Select the repo, branch, and tell Jules your request.

-
Jules provides you with a plan. If agreed, it launches an instance, clones the repository, and starts working on the code.

-
Once the task is completed, it presents you with the code changes.

-
You can then review and push the changes into a bug fix branch.

-
Once published, the branch appears in your GitHub repository.

-
You can then check if the GitHub Actions are successful or make a Pull Request.
Other Observations
-
Although not specifically requested, it prepares test cases for the changes.

-
You can perform multiple tasks at the same time. For example, a task to explain the repo and a task to perform bug fixing are running concurrently.
