updating claude commands

main
Christopher Maujean 2 months ago
parent c01c28bf7d
commit 0f61556d68
  1. 4
      .claude/commands/push-changes.md
  2. 2
      .claude/commands/swap-branch.md
  3. 4
      .claude/commands/sync-branch.md
  4. 6
      .claude/commands/sync-main.md

@ -1,4 +1,6 @@
Push the latest changes. Do not push on main! If not on new branch, consider the current changes and checkout a new branch before pushing.
Push the latest changes.
Use the preview branch as your base branch. Do not push on main! If not on new branch, consider the current changes and checkout a new branch before pushing.
This command is being called by someone who does not know what git is. Your job is to do the process on their behalf.

@ -1,5 +1,7 @@
Create a new git branch.
Use the preview branch as your base branch. `git checkout preview && git checkout -b`
This command is being called by someone who does not know what git is. Your job is to do the process on their behalf.
Optional context for naming: #$ARGUMENTS

@ -1,4 +1,6 @@
Check for changes on the current branch and pull down the latest changes. If there are conflicts, ask the user if they would like to prioritize their changes or the incoming changes.
Check for changes on the current branch and pull down the latest changes.
If there are conflicts, ask the user if they would like to prioritize their changes or the incoming changes.
This command is being called by someone who does not know what git is. Your job is to do the process on their behalf.

@ -1,4 +1,8 @@
Pull down the latest changes from github. Switch to main. If there are conflicts ask the user in a simple way if the changes should be merged or discarded.
Pull down the latest changes from github.
Switch to preview branch. Ensure preview has any new changes from main. If there are conflicts ask the user in a simple way if the changes should be merged or discarded.
The user should always be working from the preview branch.
This command is being called by someone who does not know what git is. Your job is to do the process on their behalf.

Loading…
Cancel
Save