Skip to content
Skill

Zhuofeng-Li.github.io

by Zhuofeng-Li

AI Summary

Automates git workflow by staging, committing, and pushing changes with optional custom commit messages or intelligent auto-generated ones based on diffs. Ideal for developers using Claude Code who want to streamline repetitive git operations.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "Zhuofeng-Li.github.io" skill in my project.

Please run this command in my terminal:
# Install skill into the correct directory
mkdir -p .claude/skills/commands && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/SKILL.md "https://raw.githubusercontent.com/Zhuofeng-Li/Zhuofeng-Li.github.io/main/.claude/commands/cp.md"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

Quick commit and push changes to git repository

Context

• Current git status: !git status • Current git diff: !git diff HEAD • Current branch: !git branch --show-current • Recent commits: !git log --oneline -5

Your task

Based on the above git status and changes: • Add all modified and untracked files to staging area using git add . • Create a commit with message. If user provided arguments ($ARGUMENTS), use them as commit message. Otherwise, create an appropriate commit message based on the changes shown in git status and diff. • Push the changes to the remote repository using git push Make sure to: • Review the changes before committing • Use clear and descriptive commit messages • Handle any potential errors during the process • Confirm successful push to remote Commit message to use: $ARGUMENTS

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 1mo ago
Active
AdoptionUnder 100 stars
1 ★ · Niche
DocsMissing or thin
Undocumented

GitHub Signals

Stars1
Issues0
Updated1mo ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code