Skip to content
cccskills
FreePublished on GitHub

git

Git workflow helpers — status, rebase, commit, amend, log, stash, branch management. Includes pre-push checklist. NEVER git push autonomously.

The English summary is being prepared. Showing the original description.

Run score Not tested

See how to install

Files included (1)

  • SKILL.md1.9 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Git Skill

Git workflow helpers for everyday operations.

Usage

/git status          # Current branch + dirty files + recent commits
/git branch          # List branches
/git rebase main     # Rebase onto main
/git commit <msg>    # Stage all + commit
/git amend           # Stage all + amend last commit
/git log             # Last 20 commits
/git stash           # Stash changes
/git stash pop       # Pop stash
/git conflicts       # Find conflict markers

⚠️ NEVER git push Autonomously

Always present the proposed command and wait for user confirmation:

Proposed: git push origin feature/my-branch
⏳ Waiting for your confirmation before pushing...

Instructions

Determine action from $ARGUMENTS:

ArgumentAction
statusgit status --short + git --no-pager log --oneline -5
branchgit branch --show-current
branchesgit --no-pager branch -a | head -30
stashgit stash
stash popgit stash pop
rebase maingit fetch origin main && git rebase origin/main
commit <message>git add -A && git commit -m "<message>"
amendgit add -A && git commit --amend --no-edit
loggit --no-pager log --oneline -20
conflictsgrep -rn '^<<<<<<<|^=======|^>>>>>>>' . 2>/dev/null | head -20

Branch Naming Convention:

  • Feature: feat/<ticket-id>-<short-description>
  • Fix: fix/<ticket-id>-<short-description>
  • Chore: chore/<description>

Pre-Push Checklist (present to user before any push):

  1. ✅ Build passes
  2. ✅ Tests pass
  3. ✅ Lint clean on changed files
  4. ✅ No conflict markers in repo
  5. ✅ Diff review complete (merge-base aware)
  6. 📋 Proposed: git push origin <branch>
  7. ⏳ Waiting for user confirmation...

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

ask

Free

Route a codebase question to the right tool — structural graph, semantic search, or risk analysis. Use when you need to find or understand code without knowing exact file names.

The English summary is being prepared. Showing the original description.

brain-bootstrap/claude-code-brain-bootstrap11Updated Apr 25, 2026

Auto-configure CLAUDE.md and claude/ knowledge docs for a new project. Use when setting up Brain Bootstrap in a new repository. Discovers the codebase, fills in templates, and writes project-specific configuration.

The English summary is being prepared. Showing the original description.

brain-bootstrap/claude-code-brain-bootstrap11Updated Apr 25, 2026

Use before any new feature, component, or behavioral change — when you need to explore requirements and design before writing code

The English summary is being prepared. Showing the original description.

brain-bootstrap/claude-code-brain-bootstrap11Updated Apr 25, 2026

Activate safety guards for the session. Use /careful before critical operations — blocks rm -rf, DROP TABLE, git push --force, kubectl delete namespace, docker system prune via PreToolUse hook.

The English summary is being prepared. Showing the original description.

brain-bootstrap/claude-code-brain-bootstrap11Updated Apr 25, 2026

Generate a user-facing changelog from git commits — categorize, filter noise, translate to user language. Runs in isolated fork context.

The English summary is being prepared. Showing the original description.

brain-bootstrap/claude-code-brain-bootstrap11Updated Apr 25, 2026

Save session state before context gets full or before ending. Writes current task state, branch, and loaded docs to claude/tasks/todo.md so the next session can resume cleanly.

The English summary is being prepared. Showing the original description.

brain-bootstrap/claude-code-brain-bootstrap11Updated Apr 25, 2026

See all skills by brain-bootstrap

Report a problem with this skill