What problem does it solve?
Automates safe commits and pushes by respecting a project's CLAUDE.md (or AGENTS.md) requirements, avoiding accidental pushes to protected branches and ensuring pre-commit checks are executed.
Core Features & Use Cases
- Detects the repository root and locates the nearest CLAUDE.md/AGENTS.md to extract required checks (formatting, linting, type-checking, tests, builds) before committing.
- Determines the appropriate branch behavior (switch or create) and prevents commits to main/master without explicit instruction.
- Executes pre-commit steps in a logical order (format → lint → type-check → test → build), stages only relevant changes, and commits with a descriptive message, then pushes with upstream tracking.
Quick Start
Tell the assistant to commit and push changes in the current branch while honoring the repository's CLAUDE.md or AGENTS.md requirements.