一键导入
commit
Stage and commit changes using project conventions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Stage and commit changes using project conventions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Review open Force Refresh support requests, assess their status, and draft replies
Curate the commit history of the current branch — either as a reviewer-friendly narrative or collapsed into clean atomic commits ready for main
Trigger a rebase on all open Dependabot pull requests
Open a pull request for the current branch using the repo's PR template
Update dependencies for the project in the current working directory
| name | commit |
| description | Stage and commit changes using project conventions |
| disable-model-invocation | true |
Stage and commit changes following these conventions:
type: Subject line (50 chars or less)
- Body line one (72 chars or less)
- Body line two (72 chars or less)
feat, fix, chore, style, refactor, testchore — ci is not a valid type; workflow, pipeline, and build config changes should use chorefix: is strictly for application code bugs — test infrastructure, CI, and tooling changes use chore: even if they "fix" something; commit subjects drive semantic versioning, so a fix: on a test retry loop would incorrectly bump the patch versiontype(scope): formatfix: Update \prepare-commit-msg` hook`)-) — no bare prose paragraphsAlways write a body. The body must explain why, not what. Git already shows exactly what changed — a reviewer can run git diff and see every line. What they cannot see is your reasoning: why this approach, why now, what problem it solves, what you considered and rejected.
Ask yourself: "What would I want to know about this change if I were reading it six months from now with no context?" Write that.
Bad body (describes what, git already shows this):
- Added error handling to fetchUser
- Updated return type to include null
Good body (explains why):
- fetchUser was silently swallowing 404s and returning an empty object,
causing downstream components to render as if the user existed
- Returning null on 404 lets callers handle the missing-user case explicitly
Commit by idea, not by file. Group changes by logical unit — a feature, a bug fix, a refactor — so each commit can be reverted independently without breaking unrelated work.
Order commits so the build passes at every step. If changes are being committed from unstaged files, sequence them so that checking out any individual commit leaves the project in a working, buildable state. Never commit a dependency before the thing it depends on.
When removing a dependency, update the consuming code first. If a script is being modernized to drop an import (e.g., swapping ramda for native array methods), commit the script change before the package.json change that removes the dep. That way, the commit that removes the dependency never has code that still needs it — each commit is self-consistent.
git status and git diff to understand all pending changesgit addgit commit -m "<message>"