Skill: Git-Sync
Purpose
Automates the staging, committing, and pushing of changes for a specific Moqui component to GitHub.
Logic
- •Target Identification: Identify the component directory from the parameter (e.g.,
huddle). - •Status Check: Run
git statusto ensure there are changes to commit. - •Staging: Execute
git add .within the component directory. - •Commit: Prompt the user for a message (or generate a summary based on the Blueprints) and execute
git commit -m "[message]". - •Push: Execute
git push origin [current-branch]. - •Verification: Report the commit hash and confirm the push was successful.