Skip to content
agentusehub

Fix a broken Delete button in a GitHub repo

The author had Jules clone a repo and fix a Delete button so it disables deletion of content older than two hours, with tests added unprompted; the author reviewed and published the branch.

Time saved
Not reported
Setup time
Not reported
Running cost
Not reported
Cost range
Not reported

Use case overview

The author had Jules clone a repo and fix a Delete button so it disables deletion of content older than two hours, with tests added unprompted; the author reviewed and published the branch.

Reported experience

  1. What they did

    After giving Jules access to the GitHub repo, the author picked the repo and branch and asked it to fix the broken Delete button. The requirements were to match the Delete button in another module and to disable deletion after two hours. Jules proposed a plan, and once approved it cloned the repo and made the changes. The author reviewed the diff and pushed it to a bug-fix branch.

  2. How it went

    Jules produced the code changes and the branch appeared in GitHub, and it wrote test cases that nobody asked for. The post doesn't give timings or say whether the fix worked beyond that. The author suggests checking GitHub Actions or opening a PR.

  3. Worth knowing

    Jules ran several tasks at once, for example explaining the repo while fixing the bug. Pointing it at an existing module as the spec worked for the requirements.

Example prompts

Try with Gemini
In my repo [repo URL or local path], the [feature, e.g. Delete button] is broken: it should [desired behavior, e.g. only allow deleting content older than two hours]. Find the cause, fix it on a new branch, and add tests covering the new behavior. You're done when the tests pass and you've summarized the changes; do not merge or publish the branch until I've reviewed the diff.
Software & DevOps

Port a Chrome extension to Safari

The author had ChatGPT take the Session Buddy extension source from Chrome, port it to Safari and install it, taking about 20 minutes.

ChatGPT