Stats
Actions
Tags
From agentOW
Must invoke this skill if use/match: git, branch, checkout, merge, fetch, pull, commit, push, branch naming, feature branch
How this skill is triggered — by the user, by Claude, or both
Slash command
/agentOW:ow-dev-gitThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- **ALL** branches MUST follow: `user/<alias>/<feature-name>`
user/<alias>/<feature-name>origin/main (fetch first) — never from whatever branch you happen to be onmainrush install after switching branches or pulling changesorigin/main HEAD before adding any commit — if it doesn't, the eventual PR diff will include the inverse of every commit landed on main since your stale starting point (one batch run lost this and produced a 145-file PR for a 3-file fix)# 1. Fetch latest main
git fetch origin main
# 2. Create (or reset) the feature branch off the freshly-fetched origin/main.
# `-B` (capital) creates the branch, or resets it to origin/main if it already
# exists from a previous run — guarantees a clean merge-base regardless of the
# branch you were on when this started.
git checkout -B user/<alias>/<feature-name> origin/main
# 3. Verify the merge-base is origin/main HEAD (the two SHAs MUST match):
git merge-base origin/main HEAD
git rev-parse origin/main
# 4. Install deps (required after branch switch)
rush install
Format: user/<alias>/<feature-name>
Examples:
user/kaixun/fix-elevation-mobileuser/kaixun/add-photo-grid-resizeuser/kaixun/update-sp-pages-configRules:
<alias> = your Microsoft alias (e.g. kaixun)<feature-name> = lowercase, hyphen-separated, descriptive# Check current branch
git rev-parse --abbrev-ref HEAD
# See changes
git status --short
git diff --stat
# Stage and commit
git add <files>
git commit -m "descriptive message"
# Push to remote
git push -u origin user/<alias>/<feature-name>
# Diff against main
git diff origin/main...HEAD --stat
git checkout or git pull, always run rush install — dependencies may have changed.rush install tells you to run rush update, do that instead.git diff origin/main...HEAD (three dots) for branch comparison.Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub kaixun96/dev.agentow --plugin agentow-copilot