done
Done - Reset for next task
You are finishing up the current work and resetting the repo to be ready for the next task.
Steps
-
Check for uncommitted changes: Run
git status --porcelain. If there is ANY output (staged, unstaged, or untracked files), stop immediately and tell the user:- List the uncommitted/untracked files
- Tell them to commit or stash their changes before running
/done - Do NOT proceed to the next steps
-
Determine the default branch: Run
git branch --list master mainto check which exists. Prefermasterif it exists, otherwise usemain. If neither exists, tell the user that no master or main branch was found and stop. -
Switch to the default branch: Run
git checkout <branch>where<branch>is the branch determined in step 2. -
Pull latest changes: Run
git pullto fetch and merge the latest changes from the remote. -
Confirm: Tell the user they are now on the default branch with the latest changes and ready to start the next task.
More from robzolkos/zolkos-agent-skills
catchup
Catch up on codebase changes by reviewing the diff from master and reading relevant spec files.
9plan2json
Convert feature requirements into structured end-to-end test cases as JSON.
8discovery
Quick user-centric interview to capture requirements from a time-poor stakeholder.
8prime
Prime yourself on a codebase by listing files and reading the README.
7interview
Interview me about the plan
7ship
Commit, run bin/ci, and open a PR if CI passes. Use when ready to ship changes.
6