一键导入
commit
Stage changes and create a Conventional Commits compliant commit
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Stage changes and create a Conventional Commits compliant commit
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | commit |
| description | Stage changes and create a Conventional Commits compliant commit |
Stage changes and create a commit following Conventional Commits. This skill does not push or create a PR.
Run the following commands to understand the current state:
git status to list changed filesgit diff to review unstaged changesgit diff --staged to review staged changesgit log --oneline -5 to review recent commit historyIf there are no changes: Inform the user that there is nothing to commit and end.
Present the list of changed files to the user:
Changed files:
M src/index.ts
A infra/lib/new-stack.ts
M tests/test_placeholder.py
git add <file>. Never stage .env files.agents/skills/commit-conventions/SKILL.md and follow its rules to generate the messagegit commit -m "<message>"
Report the result:
Done:
Commit: abc1234 feat: add authentication
After reporting completion, ask the user which action to take next:
.agents/skills/test/SKILL.md and follow its workflow.agents/skills/pr/SKILL.md and follow its workflow.agents/skills/ship/SKILL.md and follow its workflowSet up the development environment with all required tools and dependencies
Conventional Commits message generation rules. Referenced by other skills.
Create a feature branch and implement changes based on a GitHub issue or text instruction
Linter and formatter command reference table by file extension. Referenced by other skills.
Run all linters and formatters with auto-fix, then report results
Push committed changes and create or update a pull request