AGENT SKILL
commit
Stage changes and create a Conventional Commits compliant commit
- License 许可
- MIT
- 最近更新
- 2026-09-11
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- commit
- description
- Stage changes and create a Conventional Commits compliant commit
03 SKILL.md 正文
commit - Stage and Commit
Stage changes and create a commit following Conventional Commits. This skill does not push or create a PR.
Workflow
Step 1: Check Current State
Run the following commands to understand the current state:
git statusto list changed filesgit diffto review unstaged changesgit diff --stagedto review staged changesgit log --oneline -5to review recent commit history
If 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
Step 2: Stage and Commit
- Stage files: Add changed files individually with
git add <file>. Never stage.envfiles - Generate commit message: Read
.agents/skills/commit-conventions/SKILL.mdand follow its rules to generate the message - Execute commit: Run
git commit -m "<message>"- Lefthook hooks (commitlint on commit-msg, linters on pre-commit) run automatically
Step 3: Completion Report
Report the result:
Done:
Commit: abc1234 feat: add authentication
Next Actions
After reporting completion, ask the user which action to take next:
- Run tests - Read
.agents/skills/test/SKILL.mdand follow its workflow - Create a PR - Read
.agents/skills/pr/SKILL.mdand follow its workflow - Run lint, test, commit, and create PR - Read
.agents/skills/ship/SKILL.mdand follow its workflow - Continue with additional changes - End this skill
04 同仓库更多 Skills
test
全テストを実行し、結果を報告する
★ 0
ship
lint・テスト・コミット・PR 作成を一括実行する
★ 0
setup
開発環境のフルセットアップを行う
★ 0
review
コード変更や PR をレビューし、問題点・改善案を報告する
★ 0
pr
変更を push し、PR を作成・更新する
★ 0
lint
全リンターを自動修正付きで実行し、結果を報告する
★ 0