home/claude/skills/git-commit-new-now/SKILL.md
Analyze working tree changes, plan logically minimal NEW atomic commits per hunk (no fixup), and execute them WITHOUT asking for approval
npx skillsauth add lambdalisue/dotfiles git-commit-new-nowInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
context (optional): Additional context for the commit messages (e.g., "Fix #123", "Performance improvement", "Refactor for clarity"). This context will be used to generate more accurate and meaningful commit messages for all planned commits.This is the non-interactive variant of /git-commit-new. The user invoking
/git-commit-new-now IS the explicit intent to commit — do NOT ask for
approval. It creates new atomic commits only and never maps changes into
existing commits as fixups. Use /git-commit-now when you want fixups where
appropriate, or the interactive /git-commit-new to review the plan first.
Analyze - Use the Task tool (subagent_type: "git-commit") to analyze all working tree changes and create a commit plan.
Execute - Execute the plan directly via the Bash tool (do NOT delegate to the agent for execution). Do NOT ask for approval — the /git-commit-new-now invocation is the explicit permission.
Procedure:
git backup "before commit-all" (or git branch backup/$(date +%s) HEAD if git backup alias is unavailable)git reset HEAD -- .git add <file>...); for partial hunks use git add -p <file> interactively only when truly necessary — prefer file-level staginggit diff --cached --statgit commit -m "<message>" (use a heredoc for multi-line messages)git log --oneline of the new commits to the userForbidden during execution: git add -A, git add ., git commit -a, git stash. Stage explicitly by name only.
If a commit fails (e.g., pre-commit hook), stop and report — do NOT improvise around the failure.
tools
Update the title and body of an existing pull request WITHOUT asking for approval
tools
Create a pull request with title and body based on commits WITHOUT asking for approval
tools
Create a Conventional Commit from already staged changes WITHOUT asking for approval
tools
Map staged changes to existing commits and create fixup commits for autosquash WITHOUT asking for approval