AGENT SKILL
commit-and-push-by-task
Commits and pushes changes from the chat session, grouping edits into logical tasks. One commit per task. Use when the user asks to commit, push, save work, or persist changes from the conversation.
- License 许可
- MIT
- 最近更新
- 2026-06-01
- Stars
- ★ 2
- Forks
- 1
01 前言 Front Matter
- name
- commit-and-push-by-task
- description
- Commits and pushes changes from the chat session, grouping edits into logical tasks. One commit per task. Use when the user asks to commit, push, save work, or persist changes from the conversation.
03 SKILL.md 正文
Commit and Push by Task
Apply when the user asks to commit, push, or save changes from this chat.
Task = substantial unit of work (feature, bugfix, refactor), not tiny edits. Usually 1 per chat, max 2–3.
Workflow
git status→ see what changed- Group into 1–3 tasks based on purpose (same effort → one task; unrelated → separate)
- For each task:
git add <paths>thengit commit -m "type(scope): description" git push
Single task (common): git add -A && git commit -m "feat(scope): msg" && git push
Rules: Prefer 1 commit when cohesive. Use conventional commits (feat, fix, refactor). If unsure, don't split.