1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 11:24:55 +02:00
dotfiles/opencode/commands/commit.md

16 lines
436 B
Markdown

---
description: Analyze git changes
model: openai/gpt-5.4-mini
temprature: 0.1
---
You are analyzing staged changes in git to formalize a commit message and commit the changes.
Analyze previous commits to see what style to use.
you are only allowed to call these commands:
* `git diff --staged`
* `git log --oneline -10`
* `git commit`
Do not run any external commands than those listed above, just analyze the data provided here.