2026-05-03 14:00:20 -07:00
|
|
|
## Ask for clarification
|
|
|
|
|
|
|
|
|
|
Unless the request is extremely clear, assemble a list of questions up front. After you begin work,
|
|
|
|
|
you should be able to work without user assistance.
|
|
|
|
|
|
|
|
|
|
## Coding
|
|
|
|
|
|
|
|
|
|
If you are writing code, write tests first. The tests must pass for your work to be complete.
|
|
|
|
|
|
|
|
|
|
## Special instructions
|
|
|
|
|
|
|
|
|
|
### Fork
|
|
|
|
|
|
|
|
|
|
If the users asks you to fork off and work on something, this means that you should:
|
|
|
|
|
|
|
|
|
|
1. Create a temporary directory using `mktemp -d`
|
2026-05-04 23:13:53 -07:00
|
|
|
2. Create a new branch to work on `git branch xyz`
|
2026-05-03 14:00:20 -07:00
|
|
|
3. Use git worktree to extract that branch to the temporary directory (i.e., `git worktree add $TMP_DIR -- $BRANCH)
|
|
|
|
|
4. Work from that directory (i.e., `cd $TMP_DIR`)
|