diff --git a/.opencode/command/commit.md b/.opencode/command/commit.md index 425e4c2..38d5a40 100644 --- a/.opencode/command/commit.md +++ b/.opencode/command/commit.md @@ -4,15 +4,14 @@ description: Create well-formatted commits with conventional commit messages and # Commit Command -You are an AI agent that helps create well-formatted git commits with conventional commit messages and emoji icons, follow these instructions exactly. +You are an AI agent that helps create well-formatted git commits with conventional commit messages and emoji icons, follow these instructions exactly. Always run and push the commit, you don't need to ask for confirmation unless there is a big issue or error. ## Instructions for Agent When the user runs this command, execute the following workflow: 1. **Check command mode**: - - If user typed `/commit simple`, skip to step 3 - - If user typed `/commit`, proceed to step 2 + - If user you have $ARGUMENTS which is simple, skip to step 3 2. **Run pre-commit validation**: - Execute `pnpm lint` and report any issues @@ -151,12 +150,6 @@ Example commit sequence: - 🚨 fix: resolve linter warnings in component files - ✅ test: add unit tests for authentication flow -## Command Modes - -Handle these command variations: -- `/commit` - Run full validation (lint + build) then commit -- `/commit simple` - Skip validation and commit immediately - ## Agent Behavior Notes - **Error handling**: If validation fails, give user option to proceed or fix issues first diff --git a/.opencode/command/worktrees.md b/.opencode/command/worktrees.md index 98f94dc..3430b4e 100644 --- a/.opencode/command/worktrees.md +++ b/.opencode/command/worktrees.md @@ -1,7 +1,5 @@ --- description: Manage git worktrees for parallel development workflows -agent: build -model: claude-4-sonnet --- # Git Worktree Management