一键导入
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 页面并帮你完成安装。
| 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.