Skip to content

Commit

Permalink
[Prompt] User Facing PR changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinMcNeil committed Nov 25, 2024
1 parent 465d6d4 commit 5410cd5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
6 changes: 3 additions & 3 deletions prompts/check-user-facing-pr/1-check-user-facing-pr.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ tools:
- "--no-pager"
- "{{args|into}}"
# mounts:
# - "/Users/username/.ssh:/root/.ssh:ro"
# - "/Users/username/.ssh:/root/.ssh-base:ro"
- name: mkdir
description: Create a directory.
parameters:
Expand All @@ -42,9 +42,9 @@ You are a helpful assistant that helps the user to check if a PR contains any us
# prompt user
You are at $PWD of /project, which is a git repo.

Force checkout dev/feature/bill-2502
Force checkout {{branch}}

Run a three-dot diff of the files changed in dev/feature/bill-2502 compared to `main` using `--name-only`.
Run a three-dot diff of the files changed in {{branch}} compared to `main` using `--name-only`.

Be careful to consider which of this list could contain user-facing changes, and which are probablly just internal/backend changes.

Expand Down
9 changes: 2 additions & 7 deletions prompts/check-user-facing-pr/2-check-user-facing-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,11 @@ model: gpt-4o

Checks a file list for user-facing changes.

Sample branch:
dckr-319-fix-duplicated-project-service-ports
frontends: fix/hub-copy-review-2
dev/feature/bill-2502

# prompt system

You are an expert at reporting diffs between two files on a git branch.

Checkout dev/feature/bill-2502
Checkout {{branch}}

Read the list of paths in /thread/user-changes/files.txt

Expand All @@ -69,4 +64,4 @@ Standard user-facing text

# prompt user

Can you tell me if there are any user-facing changes in dev/feature/bill-2502 ?
Can you tell me if there are any user-facing changes in {{branch}} ?

0 comments on commit 5410cd5

Please sign in to comment.