done

Reset the working directory for the next task by ensuring no uncommitted changes exist, then switching to the main branch and pulling latest.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "done" with this command: npx skills add robzolkos/zolkos-agent-skills/robzolkos-zolkos-agent-skills-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

  1. 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
  2. Determine the default branch: Run git branch --list master main to check which exists. Prefer master if it exists, otherwise use main. If neither exists, tell the user that no master or main branch was found and stop.

  3. Switch to the default branch: Run git checkout <branch> where <branch> is the branch determined in step 2.

  4. Pull latest changes: Run git pull to fetch and merge the latest changes from the remote.

  5. Confirm: Tell the user they are now on the default branch with the latest changes and ready to start the next task.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

catchup

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

plan2json

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

discovery

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

interview

No summary provided by upstream source.

Repository SourceNeeds Review