Sync Before Work

Safely fetch and incorporate the latest remote default branch before an AI agent starts changing code. Use before the first edit in every code-changing task, when entering an existing worktree or feature branch, when a branch may be behind main or master, and before substantial work resumes after a pause. Detect dirty trees, detached HEADs, published branches, linked worktrees, and conflicts; default to merge for shared branches and never push, reset, stash, switch branches, or guess conflict resolutions.

aiskillstore Updated

File contents

aiskillstore/marketplace/tree/main/skills/vaibhavarora14/sync-before-work commit 7055b8b79d

Frequently asked questions

npx skillmds@latest add aiskillstore/sync-before-work