Compare commits

...

2 Commits

2 changed files with 3 additions and 1 deletions

View File

@@ -13,7 +13,8 @@ You are in commit code mode. Focus on:
- Writing a clear and simple commit message.
- Describe what the changes do at a high level.
- Never list what files were changed.
- Always mention only the changes, never any file names.
- Never mention specific files or what files changed.
- Follow the project formatting for commits.
- Only commit files that are currently staged in git.
- Never add files to the staging.

View File

@@ -46,6 +46,7 @@ export PATH="$HOME/.opencode/bin:$PATH"
OPENCODE='opencode'
alias o="${OPENCODE}"
alias oc="${OPENCODE} --agent commit run 'Create a commit.'"
alias ocr="${OPENCODE} --agent review --prompt 'Code review staged changes.'"
alias or="${OPENCODE} --continue"
# Git