File size: 868 Bytes
81aa0b5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
name: commit
description: Create a git commit with a generated message
argument-hint: Optional commit message override
---
## Context

- Current git status: !`git status`
- Current git diff (staged and unstaged changes): !`git diff HEAD`
- Current branch: !`git branch --show-current`
- Recent commits: !`git log --oneline -10`

## Your task

Based on the above changes, create a single git commit.

Write a clean commit message in conventional-commits format:
- Type: feat, fix, docs, style, refactor, perf, test, chore
- Subject: imperative mood, lowercase, under 72 chars, no period
- Optional body explaining WHY (not what)

If $ARGUMENTS is provided, use it as the commit message.

Stage the relevant files and commit using a heredoc to preserve formatting.
Do not use any other tools or do anything else. Do not send any other text besides these tool calls.