Triggers : When the user says "commit", "smart commit", or /commit. When to Use Triggers : When the user says "commit", "smart commit", or /commit. - Committing staged changes in any git repository - When you want a well-structured conventional commit message - When you want automatic detection of common commit issues before pushing --- Process Step 1 — Read working-tree state Run these commands and collect their output: Also check: Parse the output and assign a staging-status tag to each file: - Lines where → tag - Lines where X is , , , , or (index column non-space) → tag - If X = (rename),…