技能 git-pushing
📦

git-pushing

安全 ⚙️ 外部命令

Automate Git Commit and Push Workflow

Streamline your git workflow by automating staging, conventional commits, and pushing with upstream tracking. Eliminate repetitive git commands with a single skill invocation.

支援: Claude Codex Code(CC)
🥈 77 白銀
1

下載技能 ZIP

2

在 Claude 中上傳

前往 設定 → 功能 → 技能 → 上傳技能

3

開啟並開始使用

測試它

正在使用「git-pushing」。 Push my changes to remote

預期結果:

Successfully staged 3 files, created commit 'chore: update code', and pushed to branch 'main' with upstream tracking set

正在使用「git-pushing」。 Commit and push: feat: add search functionality

預期結果:

Successfully committed with message 'feat: add search functionality' and pushed to branch 'feature/search' with upstream tracking

安全審計

安全
v1 • 2/25/2026

All static analysis findings were evaluated and determined to be false positives. The shell script uses standard git commands with hardcoded arguments. Documentation examples in SKILL.md are markdown code blocks, not executable code. No security risks identified.

2
已掃描檔案
56
分析行數
1
發現項
1
審計總數
審計者: claude

品質評分

45
架構
100
可維護性
85
內容
50
社群
100
安全
100
規範符合性

你能建構什麼

Quick Save and Push

Save work-in-progress changes to remote repository with a single command

Feature Completion Workflow

Commit and push completed features with proper conventional commit format

Automated Git Operations

Integrate git operations into AI-assisted development workflows

試試這些提示

Basic Push
Push my current changes to the remote repository
Push with Custom Message
Commit and push with message: feat: add user authentication
Save Work to GitHub
Save these changes and push them to GitHub
Complete Feature Push
I finished the login feature. Commit with proper message and push to remote

最佳實務

  • Review staged changes before pushing to ensure no sensitive files are included
  • Use meaningful conventional commit messages that describe the change purpose
  • Verify remote repository access and authentication before initiating push operations

避免

  • Do not push commits containing hardcoded credentials or API keys
  • Avoid pushing large binary files or build artifacts to the repository
  • Do not use this skill when working with sensitive or classified code repositories

常見問題

What happens if I have untracked files?
The skill stages all changes including untracked files using git add. Review your changes before running to ensure nothing unintended is included.
Can I specify a custom branch to push to?
The skill pushes to the current branch. Change branches with git checkout before using this skill if you need to push to a different branch.
What if I don't have a remote configured?
The push operation will fail. You need to add a remote with git remote add origin URL before using this skill.
Does this skill handle merge conflicts?
No, merge conflicts must be resolved manually before using this skill. The git commit will fail if there are unresolved conflicts.
What commit message format is used by default?
The default message is 'chore: update code' following conventional commit format. You can provide a custom message as a parameter.
Does this work with GitHub, GitLab, and Bitbucket?
Yes, this skill uses standard git commands that work with any git remote provider including GitHub, GitLab, Bitbucket, and self-hosted git servers.

開發者詳情

檔案結構