| name | git-commit |
| description | Stage meaningful diffs and create commits with WHY-focused messages. Use when agent needs to commit code changes. |
INSTRUCTIONS
Use /git:commit slash command to stage meaningful diffs and create commits with WHY-focused messages.
DISCIPLINE
- Only commit when:
- ALL tests are passing
- ALL compiler/linter warnings have been resolved
- The change represents a single logical unit of work
- Commit messages clearly state whether the commit contains structural or behavioral changes
- Use small, frequent commits rather than large, infrequent ones