| name | flow-primitive-commit |
| description | Create focused, scoped git commits for the current task. Use when the workflow requires committing work, when only specific files should be staged, when commit messages must be clear and present-tense, or when validating the worktree state before push/archive. |
Flow Primitive Commit
Create a reliable commit snapshot that includes only files relevant to the active task.
Workflow
- Inspect status:
git status -sb
- Stage only task-relevant files:
git add <files...>
- Commit with a concise present-tense summary:
git commit -m "Add Web UI release task to workplan"
- Verify post-commit state:
git status -sb
Rules
- Keep commits scoped to one task/PRD change.
- Prefer explicit file staging over
git add ..
- Use present-tense commit subjects.
- Split mixed deliverables into multiple commits when reviewability improves.
- Do not amend or rewrite history unless explicitly requested.