What problem does it solve?
This Skill automates the process of committing code changes, ensuring code quality, documentation consistency, and adherence to project standards before a commit is finalized.
Core Features & Use Cases
- Automated Linting & Type Checking: Runs Ruff and Pyright for Python, and Biome and tsc for TypeScript/JavaScript on staged files, automatically fixing errors.
- Precommit Hook Handling: Retries commits if hooks modify files, ensuring a clean commit history.
- README & API Docs Updates: Automatically updates documentation based on code changes.
- Test Failure Handling: Fixes failing unit tests before committing.
- Use Case: When you've made several code changes, run this Skill to automatically format your code, fix type errors, update relevant documentation, and ensure all tests pass before creating a commit.
Quick Start
Use the commit skill to prepare and finalize your code changes for a git commit.