Generate and commit code changes
commitskillsetup L1★565
ok-oldking/ok-script ↗What it does
Generate commit message and stage all changes to git
Best for
Automated commit creation when changes are ready and only a summary message is needed.
Inputs
- · Uncommitted changes (staged and unstaged)
- · git diff output
Outputs
- · Formatted commit message
- · Committed changes with message in git log
Requires
- · git
- · git add
- · git commit
Preconditions
Repository initialized with git, changes present in working tree
Failure modes
No changes to commit, commit hook fails, invalid message format
Trust signals
- · Imperative mood (Add/Fix/Refactor)
- · Clear summary + bullet points for complex changes