一键导入
commit
Create a single git commit from current staged and unstaged changes with an appropriate message. Use when the user asks to commit current work.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a single git commit from current staged and unstaged changes with an appropriate message. Use when the user asks to commit current work.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run an autonomous CI/GitHub pull request review that inspects PR diffs and posts concise, high-confidence review findings to GitHub by default. Use in CI, GitHub Actions, Claude Code Routines, or other automated PR-review contexts where posting review comments is expected.
Use OpenAI Codex from AI coding agents to review code, run adversarial reviews, delegate coding tasks, and manage background jobs or sessions where supported. Use when the user wants a Codex code review, adversarial review, task delegation, session transfer, or job management (status, result, cancel).
Perform comprehensive code review on a pull request, checking for bugs, AGENTS.md/CLAUDE.md compliance, and historical context issues. Use when the user asks to review a PR or current changes.
Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Focuses on recently modified code unless instructed otherwise.
Commit staged and unstaged changes, push the branch to origin, and open a pull request using the GitHub CLI. Use when the user asks to commit, push, and create a PR in one workflow.
Perform security-focused review of code changes, diffs, commits, and pull requests for actionable vulnerabilities. Use this whenever code changes touch authentication, authorization, parsing, serialization, file or path handling, network calls, secrets, SQL or query construction, HTML or JavaScript rendering, dependencies, CI/CD workflows, infrastructure permissions, or deployment configuration.
| name | commit |
| description | Create a single git commit from current staged and unstaged changes with an appropriate message. Use when the user asks to commit current work. |
| allowed-tools | Bash(git add:*), Bash(git status:*), Bash(git commit:*), Bash(git diff:*), Bash(git branch:*), Bash(git log:*) |
Stage and commit current changes with a concise, well-formed commit message based on the diff and recent commit history.
This skill is tool-agnostic and can be executed by Claude Code, Codex CLI, or Cursor CLI.
If there are no changes to commit, report that and stop.
Do not stage or commit unrelated user changes unless the user explicitly asked to include them.
Gather context by running these commands in parallel:
git status
git diff HEAD
git branch --show-current
git log --oneline -10
Analyze changes from the diff output to understand what was modified and why. If the diff contains unrelated changes, include only the files that belong to the requested work.
Stage relevant files using git add for the appropriate files. Prefer explicit paths over git add . when the worktree contains unrelated changes.
Create a commit with a concise, descriptive message that:
Stage and commit should be executed as efficiently as possible once the relevant scope is clear.
Do not perform extra cleanup, formatting, tests, branch changes, pushes, or PR creation unless requested separately.