codex-commit-review
0
总安装量
1
周安装量
安装命令
npx skills add https://github.com/lploc94/codex_skill --skill codex-commit-review
Agent 安装分布
amp
1
cline
1
opencode
1
cursor
1
continue
1
kimi-cli
1
Skill 文档
Codex Commit Review
Purpose
Use this skill to review commit messages before or after committing. Codex checks message quality â not code quality.
Prerequisites
- Draft mode: user provides draft commit message text. Staged changes available for alignment check.
- Last mode: recent commits exist (
git log -n N). Repository has commit history. codexCLI is installed and authenticated.codex-reviewskill pack is installed (npx github:lploc94/codex_skill).
Runner
RUNNER="{{RUNNER_PATH}}"
Workflow
- Ask user to choose review effort level:
low,medium,high, orxhigh(default:medium). Ask input source:draft(user provides message text) orlast(review last N commits, default 1). SetEFFORTandMODE. - Gather commit message(s) and diff context. Build prompt from
references/prompts.md. - Start round 1 with
node "$RUNNER" start --working-dir "$PWD" --effort "$EFFORT". - Poll with adaptive intervals (Round 1: 60s/60s/30s/15s…, Round 2+: 30s/15s…). After each poll, report specific activities from poll output (e.g. which files Codex is reading, what topic it is analyzing). See
references/workflow.mdfor parsing guide. NEVER report generic “Codex is running” â always extract concrete details. - Parse issue list with
references/output-format.md. - Propose revised commit message for valid issues; rebut invalid findings with evidence.
- Resume debate via
--thread-iduntilAPPROVEor stalemate. - Return final revised message and review summary.
Effort Level Guide
| Level | Depth | Best for |
|---|---|---|
low |
Surface check | Quick sanity check |
medium |
Standard review | Most day-to-day work |
high |
Deep analysis | Important features |
xhigh |
Exhaustive | Critical/security-sensitive |
Required References
- Detailed execution:
references/workflow.md - Prompt templates:
references/prompts.md - Output contract:
references/output-format.md
Rules
- Safety: NEVER run
git commit --amend,git rebase, or any command that modifies commit history. Only propose revised messages â user applies manually. - Codex reviews message quality only; it does not review code.
- Every accepted issue must map to a concrete message edit.
- If stalemate persists, present both sides and defer to user.