Task
- •Find the Repo: Check if the current directory or subdirectories contain multiple Git repositories. If it is ambiguous, ask the user.
- •Check Branch: Never commit directly to
mainormaster. If on one of these, stop and warn. - •Stage: Run
git add .in the identified repository. - •Draft: Generate a concise Conventional Commit message based on
git diff --cached. - •Commit: Execute
git commit -m "<message>".
Constraints
- •No "Generated by Claude" footer.
- •Use imperative mood.
- •Stop if there are no changes.
Optional User Context
$ARGUMENTS