What problem does it solve?
This Skill solves the problem of committing code without proper review, which often leads to including debug statements, violating coding standards, or leaking sensitive information. It automates the pre-commit review process by analyzing project context, coding standards, and code diffs to produce a structured review report and commit message.
Core Features & Use Cases
- Pre-Commit Code Review: Automatically reads project documentation and coding standards, then performs a comprehensive review of code changes using integrated review skills.
- Multi-VCS Support: Detects and works with both Git and SVN repositories, handling staged, unstaged, and committed changes appropriately.
- Structured Reporting: Outputs a detailed review report with severity levels (Critical, Warning, Suggestion) and a summary of changes for commit messages.
- Use Case: A developer preparing to commit a C++ feature branch can use this Skill to catch leftover debug prints, Qt naming violations, and missing file inclusions before the code reaches the repository.
Quick Start
Use the commit-assistant skill to review my recent code changes and generate a commit message for the current branch.