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.
Done withGemini
- 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.
- 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.
- 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.
Try it yourself 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.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
2 more accounts of this
Source: calvin.my · Undated
Related use cases
Orchestrate a multi-phase RAG migration
A walkthrough of using Gemini CLI to coordinate a complex, multi-phase cloud migration project.
Sort waste using local recycling rules
Gemini Robotics-ER 1.5 looks up local recycling rules online, then plans and sorts objects into compost, recycling and trash bins.
Automate browser work with Gemini's Chrome agent in the background
The poster uses Gemini's Chrome browser agent to automate browser tasks, and it keeps working while the tab is closed and they do other things.
Build a C compiler with a team of parallel agents
Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler.
Audit a feature's issues and hand them to an engineer's agent
An AI agent listed all issues with a feature and sent them to an engineer, whose own agent then addressed most of them automatically.
Custom agent
Build a local knowledge app for agent outputs with Codex
The author built Mianotes using four Codex agents across 30+ sessions to centralize scattered files agents produced, and the agents documented the product inside it.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.