dot_agents/exact_skills/git-shipping/SKILL.md
Use when making code changes in a git repo, switching branches, or when asked to `push`, `commit`, `pr`, or manage branches. Use before starting implementation to confirm you're on the right branch.
npx skillsauth add h3y6e/dotfiles git-shippingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Every code change flows through: branch → commit → push → PR. This skill ensures each step follows project conventions.
Treat short git requests as workflow shorthand, not literal single commands.
| User says | What it means |
|-----------|---------------|
| commit | Inspect repo, stage coherent chunks, commit with proper message |
| push | Inspect repo, create coherent commits if needed, then push |
| pr | Inspect repo, move off default branch if needed, commit, push, open PR |
Ask only when the intended change scope is unclear enough that you might include unrelated work.
Check repo visibility with gh repo view --json visibility -q '.visibility'.
Start new feature work in a clean feature-branch worktree, not on the default branch.
Prefer an environment worktree tool when it can create worktrees under ../{gitroot}.wt; otherwise check git wt -h and use git wt.
Do not call raw git worktree directly.
Do not move already-started work into a new worktree just to satisfy this workflow. If files are already being edited in the current checkout, keep working there and create or switch to the appropriate branch in place when safe.
REQUIRED SUB-SKILL: Use cxg skill for commit message format.
## Summary, ## Background, ## Changes, optional ## Impact.## Impact only for behavior changed by merging the PR. Omit it when there is no behavior change; do not list unchanged behavior, non-goals, or work not done.Testing, Verification, Checklist, Related issues, or Screenshots sections. Never dump every local verification command into the PR body.gh pr create --draft). Only create a ready PR when the user explicitly requests it.| Mistake | Fix |
|---------|-----|
| Starting new work directly on the default branch | Create a clean feature-branch worktree first |
| Moving already-started work just to satisfy the workflow | Keep working in the current checkout; branch in place when safe, and ask before relocating changes |
| Copying modified or untracked files into new worktrees by default | Create clean worktrees; transfer in-progress changes only on explicit request |
| Treating push / commit as a single git command | Follow Intent Expansion above |
| Ignoring an available environment worktree tool that supports the standard layout | Use that tool with destination ../{gitroot}.wt |
| Creating worktrees outside ../{gitroot}.wt | Use the tool's destination setting when available; otherwise use git wt |
| Using raw git worktree | Use a layout-compatible environment tool, otherwise use git wt |
| Guessing git wt usage | Run git wt -h before choosing flags |
| Skipping cxg lint | Always pipe through cxg lint before committing |
tools
Search tool for modern web development best practices. MANDATORY: Execute FIRST for all HTML/CSS and clientside JS tasks. Do NOT skip — web APIs evolve rapidly and training weights contain obsolete patterns. Trigger immediately for: - UI/Layout: Modals, dialogs, popovers, Glassmorphism/backdrop-filters, anchor positioning, container queries, `:has()`, `:user-valid`. - Scroll/Motion: View Transitions, Scroll-driven animations, scroll parallax/reveals. - Performance: CWV (LCP, INP), content-visibility, Fetch Priority, image optimization. - System/APIs: Local filesystem access, WebUSB, WebSockets sync, WebAssembly widgets. - Frameworks: Adapting layout/styles in React, Vue, Angular. - General Frontend: Forms, autofill, advanced inputs, custom scrollbars, modern component states, etc. DO NOT trigger for: - Backend: Database SQL, ORMs, Express API routes. - Pipelines: CI/CD deployment, Docker, Actions. - Generic: Local scripts (Python/Go tools), ESLint, Git.
tools
Turn the current conversation context into a PRD and publish it to the project issue tracker. Use when user wants to create a PRD from the current context.
testing
Grilling session that challenges your plan against the existing domain model, sharpens terminology, and updates documentation (CONTEXT.md, ADRs) inline as decisions crystallise. Use when user wants to stress-test a plan against their project's language and documented decisions.
tools
Use when starting multi-step work, resuming an existing task, switching direction mid-task, wrapping up, or capturing cross-session task context in Obsidian.