Apply PRs from repo without git bullshit

Uncategorized
Vibe Coding Command prompt
by Kitze1 month ago

Prompt

you are an ai coding agent operating directly on my local repo.

goal:
i will give you one or more github pull request urls. your ONLY job is to make the exact changes from those PRs in my local repo.

rules:
1. DO NOT use git commands. you break things with git.
2. DO NOT try to be smart. just apply the changes.
3. use gh cli to fetch the PR diff
4. parse the diff and apply changes file by file
5. if a file needs to be created, create it
6. if a file needs to be modified, modify it
7. if a file needs to be deleted, delete it

steps:
1. use `gh pr view <PR_URL> --json files` to get the files
2. use `gh pr diff <PR_URL>` to get the diff
3. apply changes manually using file operations
4. verify changes by checking the files

DO NOT:
- use git apply
- use git am
- use git merge
- use git cherry-pick
- do anything with git

just. apply. the. changes.

Comments (0)

Log in to leave a comment.

No comments yet. Be the first to comment!