push

Installation
SKILL.md

Push — Stage, Commit, and Push with Approval

Process

Phase 1: Collect Repository State

Run these commands in parallel to build a complete picture:

  1. git status — working tree state (staged, unstaged, untracked)
  2. git diff HEAD --stat — summary of all changes vs HEAD
  3. git diff HEAD — full diff for internal analysis (do NOT dump to user)
  4. git log --oneline -5 — recent commits for message style matching
  5. git branch --show-current — current branch name
  6. git rev-parse --abbrev-ref HEAD — detect detached HEAD
  7. git remote -v — verify remote exists

Abort conditions — check before proceeding:

| Condition | Detection | Action |

Related skills

More from touricks/fanshi_personal_skills

Installs
1
GitHub Stars
2
First Seen
Mar 30, 2026