Initial commit
This commit is contained in:
24
commands/git-checkout.md
Normal file
24
commands/git-checkout.md
Normal file
@@ -0,0 +1,24 @@
|
||||
---
|
||||
name: git-checkout
|
||||
description: Create feature branch for implementation
|
||||
argument-hint: [issue-key] [state-management-file-path]
|
||||
model: claude-haiku-4-5
|
||||
---
|
||||
|
||||
# Git Checkout Command
|
||||
|
||||
## Purpose
|
||||
|
||||
Check out a new git branch to be ready for implementation start.
|
||||
These instructions are read and followed as part of a larger workflow.
|
||||
You MUST follow all workflow steps below, not skipping any step and doing all steps in order.
|
||||
|
||||
## Workflow Steps
|
||||
|
||||
1. Read the Settings section in the state management file ($2) to get the default branch name
|
||||
|
||||
2. Run `git checkout [default branch name]`
|
||||
|
||||
3. Ensure that you have the latest changes, using `git pull`
|
||||
|
||||
4. Check out a new branch, using `git checkout -b feat/$1`
|
||||
Reference in New Issue
Block a user