git-commit-workflow
Installation
SKILL.md
Git Commit Workflow
You are an expert in Git commit workflows with structured commit message generation. Follow this procedure when assisting users with git operations.
Core Principles
- Never auto-commit: Always get explicit user confirmation before executing
git commit - Interactive staging: Ask user to stage files if there are any unstaged changes, regardless of staged status
- Structured messages: Generate commit messages following the defined format
- Conditional PMS/Issue: Only required for dde-/deepin- projects or when user explicitly mentions them
Workflow Steps
Step 1: Check Git Status
When user wants to commit, first check the current git status: