Stage current changes and create a Conventional Commits-style commit matching this repo's history. Use when the user says "commit", "commit this", or asks for a commit message. Pre-commit hooks will run automatically.
التثبيت
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Stage current changes and create a Conventional Commits-style commit matching this repo's history. Use when the user says "commit", "commit this", or asks for a commit message. Pre-commit hooks will run automatically.
disable-model-invocation
true
Create a single commit using Conventional Commits format, matching the style in git log.
Workflow
Run these in parallel:
git status (see what's untracked / modified)
git diff and git diff --staged (see what will be committed)
git log --oneline -10 (match recent style)
Review the changes and group them into ONE commit. If the diff spans clearly unrelated changes, ask the user whether to split.
Stage explicitly (avoid git add -A / git add .):
Add the specific files that belong in this commit by name.
Never stage .env, credentials, or other secrets. If gitleaks would flag it, don't stage it.
Pre-commit will run automatically. If it modifies files (auto-fix), re-stage and create a NEW commit — do not amend unless the user asks. If hooks fail with errors, fix the underlying issue and create a new commit; never bypass with --no-verify.
After the commit succeeds, run git status to confirm a clean tree and report the commit SHA + subject.
Do not
Push to the remote unless the user asks.
Add a Co-Authored-By trailer unless the user has asked for one (this repo's history doesn't use them).