git-master
Git Master
Expert Git workflow skill covering three core capabilities. Load the corresponding reference file based on user intent and follow its workflow exactly.
Capability Router
| User Intent | Reference File | Signal Words |
|---|---|---|
| Commit code / split commits / generate commit message | references/atomic-commit.md |
commit, stage, conventional commits, split commits |
| Rebase / squash history / clean up commits | references/rebase-surgeon.md |
rebase, squash, fixup, force push, clean history |
| Search code history / trace changes | references/semantic-search.md |
blame, bisect, who wrote, when was added, pickaxe, archaeology |
Execution Flow
- Identify intent: Match user intent against the router table above
- Load reference file: Use
read_fileto load the corresponding file fromreferences/ - Execute strictly: Follow every step in the reference file — never skip safety checks
If intent is ambiguous, ask for clarification before loading a reference file. If multiple capabilities are needed (e.g. "commit then rebase"), load and execute them sequentially.
Universal Safety Rules
These rules apply to all sub-workflows and must never be violated:
- NEVER rebase main/master
- NEVER use
git push --force— always use--force-with-lease - Before rebasing: always check for a dirty working tree
- Before committing: confirm changes match the commit message
- Before destructive operations: output a plan and wait for user confirmation
- Language protocol: respond in the same language the user used
More from rockcookies/skills
node-dev
Modern JavaScript/TypeScript runtime development conventions and tooling. Use when setting up JS/TS projects with Node, Bun, or Deno, configuring ESLint, pnpm workspaces, monorepos, library publishing, or npm package development.
18tsdown
Bundle TypeScript and JavaScript libraries with blazing-fast speed powered by Rolldown. Use when building libraries, generating type declarations, bundling for multiple formats, or migrating from tsup.
17web-design-guidelines
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
17frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
15turborepo
|
14skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
13