Auto Commit Suggestion
Overview
Use this skill to evaluate commit readiness in the current git repository. It is a manual Codex skill, not an automatic hook.
Workflow
- Run
scripts/check_commit_threshold.shfrom the repo root or pass--repo. - Review the changed-file count, staged count, and top changed paths.
- If the threshold is exceeded, suggest a checkpoint commit and explain why.
- If the user wants to commit, help prepare a message but do not commit unless asked.
Thresholds
- Default threshold is
5. - Override with
--threshold <n>orAUTO_COMMIT_THRESHOLD=<n>. - Treat many untracked files or many staged files as stronger commit signals.
Resources
- Script:
scripts/check_commit_threshold.sh