Chuyển đến nội dung
Skillpedia
Triển khai và đám mây (DevOps)33k · #8762

git-pushing

Skill này làm gì

Skill này cho phép AI của bạn lưu công việc lên một nhánh Git remote chỉ trong một bước. Nó dành cho lập trình viên muốn commit và push mà không phải gõ từng lệnh Git.

Khi nào nên dùng

  • ✓Khi bạn yêu cầu commit và push các thay đổi, hoặc đẩy cái này lên GitHub.
  • ✓Khi bạn đã hoàn thành một tính năng và muốn chia sẻ nó lên remote.
  • ✓Khi bạn nói những câu như lưu công việc hoặc đẩy cái này lên.

Liên kết skill

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/git-pushing/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/git-pushing/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Hãy commit các thay đổi của tôi và push lên GitHub.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent chạy một script có sẵn để stage mọi thay đổi, viết một conventional commit message và push kèm theo dõi upstream. Bạn cũng có thể đưa cho script một message của riêng bạn.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Git Push Workflow

Stage all changes, create a conventional commit, and push to the remote branch.

When to Use

Automatically activate when the user:

  • Explicitly asks to push changes ("push this", "commit and push")
  • Mentions saving work to remote ("save to github", "push to remote")
  • Completes a feature and wants to share it
  • Says phrases like "let's push this up" or "commit these changes"

Workflow

ALWAYS use the script - do NOT use manual git commands:

bash skills/git-pushing/scripts/smart_commit.sh

With custom message:

bash skills/git-pushing/scripts/smart_commit.sh "feat: add feature"

Script handles: staging, conventional commit message, Claude footer, push with -u flag.

Câu hỏi thường gặp

Nó có stage mọi file không?

Có. Script stage mọi thay đổi trước khi commit.

Tôi có thể viết commit message riêng không?

Có. Bạn có thể truyền một message tùy chỉnh cho script.

Vì sao dùng script thay vì lệnh Git thủ công?

Skill yêu cầu luôn dùng script, để các bước commit và push luôn nhất quán.

Chi tiết

Mô tả gốc của tác giả

Stage, commit, and push git changes with conventional commit messages. Use when user wants to commit and push changes, mentions pushing to remote, or asks to save and push their work. Also activates when user says "push changes", "commit and push", "push this", "push to github", or similar git workflow requests.

repo: davila7/claude-code-templates

Độ phổ biến

Sao GitHub
33k
Vị trí xếp hạng
#8762
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự