一键导入
commit-framework
Unified identify-verify-stage-commit logic reused by other skills.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Unified identify-verify-stage-commit logic reused by other skills.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
This skill should be used when the user asks to "plan a blog post", "research for blog", "draft a blog post", "critique a draft", "deformulize a post", "commit blog changes", "editorial review", "voice check", "style check", "audit blog", "content audit", "audit series", or "audit drafts".
This skill should be used when the user asks to "commit code", "review code", "fix lint/type error", "improve performance", "compare code", "shrink code", "generate spec from code", "investigate code", or "create handoff prompt".
This skill should be used when the user asks to "create documentation", "build docs", "review docs", "compare documents", "compress docs", "adversarial review docs", or "commit docs".
Semantic comparison workflow for validating equivalence between artifacts.
Pre-edit investigation workflow for understanding code and behavior before changes.
Validation-driven compression workflow that requires semantic comparison before approval.
基于 SOC 职业分类
| name | commit-framework |
| description | Unified identify-verify-stage-commit logic reused by other skills. |
Unified identify-verify-stage-commit logic for all skills.
| Parameter | Description |
|---|---|
| file_scope | How to discover files (session-modified, directory, git status filter) |
| prefix | Commit type (feat/fix/refactor/docs/test/chore) |
| verify_cmd | Pre-commit verification command(s) |
git status --porcelain {files}git diff {files}, git log --oneline -5git add {files} && git commit -m "$(cat <<'EOF'
prefix(scope): message
Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)"
git add -A — only commit discovered filesgit add and git commit in single shell command (prevents parallel agent conflicts)