home / skills / duc01226 / easyplatform / git-cp
This skill stages all files, creates a meaningful commit, and pushes the current branch to the remote using git-manager.
npx playbooks add skill duc01226/easyplatform --skill git-cpReview the files below or copy the command above to add this skill to your agents.
---
name: git-cp
description: "[Git & Release] Stage, commit and push all code in the current branch"
infer: true
---
Use `git-manager` agent to stage all files, create a meaningful commit based on the changes and push to remote repository.
## IMPORTANT Task Planning Notes
- Always plan and break many small todo tasks
- Always add a final review todo task to review the works done at the end to find any fix or enhancement needed
This skill automates staging, committing, and pushing all code on the current Git branch using the git-manager agent. It generates a meaningful commit message based on detected changes and executes a safe push to the configured remote. The workflow embeds task planning and a final review step to ensure quality and catch any needed fixes.
The agent scans the working tree to detect modified, added, and deleted files, then stages all changes and composes a descriptive commit message summarizing the edits. It creates the commit locally and pushes to the branch's remote upstream, handling basic push errors. The process is split into small, verifiable tasks and ends with a review task to validate the result.
What happens if the push fails due to remote changes?
The agent reports the error and stops; you should pull/rebase as needed, resolve conflicts, then repeat the staged commit/push flow.
Will it include untracked files?
Yes — the agent stages all added, modified, and deleted files unless explicitly excluded by .gitignore.
Can I customize the generated commit message?
You can edit the message before finalizing the commit; the agent provides a summary that you can accept or refine.