roles/codex/files/skills/commit/SKILL.md
Create a conventional commit from current workspace changes. Use when the user asks to run $commit, asks to commit changes, or asks for a commit message from the current diff.
npx skillsauth add techdufus/dotfiles commitInstall 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.
Use this skill for a small, safe commit workflow. If the user only wants a commit message from the current diff, generate the message and stop before committing.
git status --short--all, stage all changes with git add -A.--all was requested.git diff --cached --stat<type>(<scope>): <summary>scope is optional.feat, fix, docs, refactor, test, chore, ci, build.-m strings.git commit -F - <<'EOF'
<type>(<scope>): <summary>
<wrapped body>
EOF
git log -1 --onelineCommit aborted: no staged changes. Stage files first or rerun with --all.git commit fails: show the git error and stop.--all is opt-in because staging unrelated work by default is unsafe in a dirty tree.testing
Preparing and creating git commits when explicitly requested; covers staged diff review, secrets checks, and conventional commit messages.
testing
Verifying implementation work before claiming completion; covers tests, affected artifacts, evidence, and unresolved risks.
testing
Aggressively remove grammatical scaffolding LLMs reconstruct while preserving meaning-carrying content. Output may be fragments. Use when compressing text for prompts, reducing token count, preparing context for LLM input, or making documentation more token-efficient. Applies LLM-aware compression rules that delete predictable grammar while preserving semantics.
testing
Use when the user explicitly invokes $work or asks for execution strategy for complex engineering work with unclear scope, dependent steps, or separable workstreams.