بنقرة واحدة
code-commit
Must be invoked when the user asks to commit code, submit code, or any similar request.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Must be invoked when the user asks to commit code, submit code, or any similar request.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | code-commit |
| description | Must be invoked when the user asks to commit code, submit code, or any similar request. |
Run git status and git diff in the repository to understand all current changes.
Review all changed files. If any issues are found, report them to the user and wait for confirmation before committing.
Use your judgment to identify code that looks temporary or was clearly left in by accident -- things like debugger statements, placeholder values (test123, asdf, foo), commented-out code blocks, or anything that reads like a quick hack not meant for production. Don't be overly rigid; focus on what obviously doesn't belong.
Check whether any files that should not be committed are included in the changes:
.DS_Store, Thumbs.db, etc.*.log, *.tmp, *.bak, *.swp, etc..idea/, .vscode/, etc.node_modules/, dist/, build/, etc..env, credentials.json, private keys, etc.Ensure the code is suitable for an internationalized, open-source project:
Format:
<type>: #AI commit# <concise description>. collaboration and commit by devx
Supported types:
| type | usage |
|---|---|
| feat | New feature |
| fix | Bug fix |
| docs | Documentation changes |
| style | Code formatting (no logic changes) |
| refactor | Refactoring (no new features or bug fixes) |
| perf | Performance improvement |
| test | Test-related changes |
| chore | Build, tooling, dependency updates, etc. |
Examples:
git commit -m "feat: #AI commit# add user authentication module. collaboration and commit by devx"
git commit -m "fix: #AI commit# resolve memory leak in event listener. collaboration and commit by devx"
git add <relevant files>
git commit -m "<generated commit message>"
git add ..git status after committing to verify.git push unless the user explicitly asks.