diff --git a/opencode/commands/commit.md b/opencode/commands/commit.md index 462dae8..6d33095 100644 --- a/opencode/commands/commit.md +++ b/opencode/commands/commit.md @@ -1,9 +1,15 @@ --- description: Analyze git changes -agent: build 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. -* 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.